CN103257729B - Touch signal processing method and electronic device - Google Patents
Touch signal processing method and electronic device Download PDFInfo
- Publication number
- CN103257729B CN103257729B CN201210036666.3A CN201210036666A CN103257729B CN 103257729 B CN103257729 B CN 103257729B CN 201210036666 A CN201210036666 A CN 201210036666A CN 103257729 B CN103257729 B CN 103257729B
- Authority
- CN
- China
- Prior art keywords
- signal
- time point
- touch signal
- touch
- abnormal
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Landscapes
- Position Input By Displaying (AREA)
Abstract
Description
技术领域technical field
本发明是有关于一种触控电子装置,且特别是有关于一种对于异常输入的触控讯号的处理方法及电子装置。The present invention relates to a touch electronic device, and in particular to a processing method for an abnormally input touch signal and an electronic device.
背景技术Background technique
随着触控技术的精进,人类对电子装置的依赖性亦与日俱增,而触控屏幕也逐渐取代传统屏幕而成为电子装置的输入与输出工具。目前市面上电子装置,许多是利用触控面板(touchpanel)来进行操作。许多消费型电子产品为符合使用者对外观轻巧的要求,也纷纷利用触控面板以节省实体按键的空间。With the advancement of touch technology, human beings are increasingly dependent on electronic devices, and touch screens are gradually replacing traditional screens as input and output tools for electronic devices. Currently, many electronic devices on the market are operated by using a touch panel. Many consumer electronic products also use touch panels to save space for physical buttons in order to meet users' requirements for light and compact appearance.
然而,在使用具有触控式屏幕的电子装置时,使用者往往会因为误触电子装置的触控面板,而导致输入错误的触控讯号。举例而言,当使用者以过多的力量触及触控面板的时候,此时触控面板可能会发生异常移动或晃动而导致使用者输入错误的触控讯号。如此一来,在输入触控讯号时,将无法得到准确的输入结果,且也不便于执行电子装置的操作。However, when using an electronic device with a touch screen, users often input wrong touch signals by mistakenly touching the touch panel of the electronic device. For example, when the user touches the touch panel with too much force, the touch panel may move or shake abnormally at this time, causing the user to input wrong touch signals. As a result, accurate input results cannot be obtained when inputting touch signals, and it is also inconvenient to perform operations on the electronic device.
发明内容Contents of the invention
本发明提供一种触控讯号的处理方法及电子装置,当显示面板读取异常输入的触控讯号时,可以补偿/处理在异常输入期间内的触控讯号,进而避免输入错误的触控讯号,以及可提高输入触控讯号时的流畅度。The present invention provides a touch signal processing method and an electronic device. When a display panel reads an abnormally input touch signal, it can compensate/process the touch signal during the abnormal input period, thereby avoiding the input of wrong touch signals. , and can improve the smoothness of inputting touch signals.
本发明提出一种触控讯号的处理方法,包括以下步骤。在接收触控面板的触控讯号时,判断触控面板的移动向量是否异常。当移动向量为异常时,记录第一时间点。判断移动向量是否由异常恢复为正常。当移动向量恢复为正常时,记录第二时间点。执行触控讯号在第一时间点至第二时间点期间的讯号补偿动作。The present invention provides a touch signal processing method, which includes the following steps. When receiving the touch signal of the touch panel, it is judged whether the motion vector of the touch panel is abnormal. When the motion vector is abnormal, the first time point is recorded. Determine whether the motion vector is restored from abnormal to normal. When the motion vector returned to normal, a second time point was recorded. Executing a signal compensation operation of the touch signal during the period from the first time point to the second time point.
本发明提出一种电子装置,包括触控面板、至少一个感应装置及讯号补偿单元。触控面板读取触控讯号。感应装置耦接在触控面板,感应装置感应该触控面板的移动向量。讯号补偿单元耦接在触控面板以及感应装置,在触控面板读取该触控讯号时,讯号补偿单元判断移动向量是否异常,以及判断移动向量是否由异常恢复为正常。当移动向量为异常时,讯号补偿单元记录第一时间点。当移动向量恢复为正常时,讯号补偿单元记录第二时间点,以及讯号补偿单元执行触控讯号在第一时间点至第二时间点期间的讯号补偿动作。The invention provides an electronic device including a touch panel, at least one sensing device and a signal compensation unit. The touch panel reads touch signals. The sensing device is coupled to the touch panel, and the sensing device senses a movement vector of the touch panel. The signal compensation unit is coupled to the touch panel and the sensing device. When the touch panel reads the touch signal, the signal compensation unit judges whether the motion vector is abnormal, and judges whether the motion vector returns from abnormal to normal. When the motion vector is abnormal, the signal compensation unit records the first time point. When the motion vector returns to normal, the signal compensation unit records the second time point, and the signal compensation unit executes the signal compensation action of the touch signal during the period from the first time point to the second time point.
在本发明的一实施例中,上述的讯号补偿动作包括触控面板提示触控异常信息。In an embodiment of the present invention, the above-mentioned signal compensation operation includes the touch panel prompting abnormal touch information.
在本发明的一实施例中,上述的讯号补偿动作包括删除在第一时间点至第二时间点期间触控面板所读取的触控讯号。In an embodiment of the present invention, the above-mentioned signal compensation operation includes deleting the touch signal read by the touch panel between the first time point and the second time point.
在本发明的一实施例中,当触控讯号为线性输入讯号时,上述的讯号补偿动作包括在第一时间点,触控面板停止显示触控讯号,以及触控面板在第二时间点恢复显示触控讯号。In an embodiment of the present invention, when the touch signal is a linear input signal, the above-mentioned signal compensation operation includes stopping displaying the touch signal on the touch panel at the first time point, and restoring the touch panel at the second time point. Display touch signals.
在本发明的一实施例中,上述的讯号补偿动作更包括依据在第一时间点前的触控讯号,补偿在第一时间点至第二时间点期间的触控讯号。In an embodiment of the present invention, the above signal compensation operation further includes compensating the touch signal during the period from the first time point to the second time point according to the touch signal before the first time point.
在本发明的一实施例中,当触控讯号为按键输入讯号时,上述的讯号补偿动作包括忽略在第一时间点至第二时间点期间的触控讯号,以及要求重新输入触控讯号。In an embodiment of the present invention, when the touch signal is a key input signal, the above-mentioned signal compensation operation includes ignoring the touch signal between the first time point and the second time point, and requesting to re-input the touch signal.
在本发明的一实施例中,当触控讯号为手势输入讯号时,上述的讯号补偿动作包括忽略在第二时间点前的触控讯号,以及触控面板重新读取触控讯号。In an embodiment of the present invention, when the touch signal is a gesture input signal, the above signal compensation operation includes ignoring the touch signal before the second time point, and re-reading the touch signal by the touch panel.
在本发明的一实施例中,上述的感应装置包括重力感应器(G-sensor)、陀螺仪感应器(gyrosensor)或罗盘感应器(compasssensor)。In an embodiment of the present invention, the sensing device includes a gravity sensor (G-sensor), a gyro sensor (gyro sensor) or a compass sensor (compass sensor).
在本发明的一实施例中,当触控面板处于静止状态时,上述的讯号补偿单元判断移动向量由异常恢复为正常。In an embodiment of the present invention, when the touch panel is in a static state, the signal compensation unit determines that the motion vector returns from abnormal to normal.
基于上述,当触控面板读取触控讯号时,电子装置可判断触控面板的移动向量是否为异常,以及判断触控面板处的移动向量是否恢复为正常,而电子装置可补偿在触控面板的移动向量为异常期间所接收的触控讯号。如此一来,若触控面板发生异常移动或晃动而导致使用者误触触控面板而输入错误的触控讯号时,电子装置可补偿/处理错误的触控讯号,进而可避免输入异常的触控讯号,以及可提高输入触控讯号时的流畅度。Based on the above, when the touch panel reads the touch signal, the electronic device can judge whether the motion vector of the touch panel is abnormal, and judge whether the motion vector at the touch panel returns to normal, and the electronic device can compensate for the The movement vector of the panel is the touch signal received during the abnormal period. In this way, if the touch panel moves or shakes abnormally and causes the user to accidentally touch the touch panel and input a wrong touch signal, the electronic device can compensate/process the wrong touch signal, thereby avoiding inputting an abnormal touch signal. control signals, and can improve the fluency of inputting touch signals.
为让本发明的上述特征和优点能更明显易懂,下文特举实施例,并配合所附图式作详细说明如下。In order to make the above-mentioned features and advantages of the present invention more comprehensible, the following specific embodiments are described in detail together with the accompanying drawings.
附图说明Description of drawings
图1是依照本发明一实施例的一种触控讯号的处理方法的流程示意图;FIG. 1 is a schematic flowchart of a method for processing a touch signal according to an embodiment of the present invention;
图2是依照本发明一实施例的一种触控讯号的处理方法中电子装置触控面板读取触控讯号时的示意图;2 is a schematic diagram of a touch signal processing method according to an embodiment of the present invention when the touch panel of the electronic device reads the touch signal;
图3A是依照本发明一实施例的一种触控讯号的处理方法中触控讯号为线性输入讯号时的讯号补偿动作示意图;3A is a schematic diagram of a signal compensation operation when the touch signal is a linear input signal in a touch signal processing method according to an embodiment of the present invention;
图3B是依照本发明一实施例的一种触控讯号的处理方法中触控讯号为线性输入讯号时的讯号补偿动作示意图;3B is a schematic diagram of a signal compensation operation when the touch signal is a linear input signal in a touch signal processing method according to an embodiment of the present invention;
图3C是依照本发明一实施例的一种触控讯号的处理方法中触控讯号为线性输入讯号时的讯号补偿动作示意图;3C is a schematic diagram of a signal compensation operation when the touch signal is a linear input signal in a touch signal processing method according to an embodiment of the present invention;
图4是依照本发明一实施例的一种触控讯号的处理方法中触控讯号为按键输入讯号时的讯号补偿动作示意图;4 is a schematic diagram of a signal compensation operation when the touch signal is a key input signal in a touch signal processing method according to an embodiment of the present invention;
图5是依照本发明一实施例的一种触控讯号的处理方法中触控讯号为手势输入讯号时的讯号补偿动作示意图;5 is a schematic diagram of a signal compensation operation when the touch signal is a gesture input signal in a touch signal processing method according to an embodiment of the present invention;
图6是依照本发明一实施例的一种电子装置的示意简图。FIG. 6 is a schematic diagram of an electronic device according to an embodiment of the present invention.
其中,主要元件符号说明如下:Among them, the main component symbols are explained as follows:
200:电子装置;200: electronic device;
210:触控面板;210: touch panel;
20:手;20: hand;
30、32:线性输入讯号;30, 32: linear input signal;
31:异常线性输入讯号;31: Abnormal linear input signal;
35、45、55:触控异常信息;35, 45, 55: Touch abnormal information;
301、302:箭头;301, 302: arrows;
42、44、46:选项;42, 44, 46: options;
50:手势输入讯号;50: Gesture input signal;
620:感应装置;620: induction device;
630:讯号补偿单元;630: signal compensation unit;
u:移动向量;u: moving vector;
S101~S121:步骤。S101-S121: steps.
具体实施方式Detailed ways
图1是依照本发明一实施例说明一种触控讯号的处理方法的流程示意图。本实施例所述触控讯号的处理方法适用于一电子装置,其中此电子装置包括一触控面板。例如,图2是依照本发明一实施例说明电子装置200的触控面板210读取触控讯号的示意图。请同时参照图1与图2,电子装置200例如是笔记型电脑、平板电脑、个人数位助理(personaldigitalassistant,PDA)、手机、数码相机、电子书、游戏机或是其他具有触控面板的电子装置。触控面板210可读取以及/或是显示使用者输入的触控讯号。此外,电子装置200具有至少一个感应装置,用以侦测电子装置200的移动。例如,每个感应装置的侦测结果加总起来后,可计算出电子装置200在每个时间的移动向量。所述感应装置可包括重力感应器(G-sensor)、陀螺仪感应器(gyrosensor)、罗盘感应器(compasssensor)或其他用以侦测电子装置200的移动的感应器。FIG. 1 is a schematic flowchart illustrating a touch signal processing method according to an embodiment of the present invention. The touch signal processing method described in this embodiment is applicable to an electronic device, wherein the electronic device includes a touch panel. For example, FIG. 2 is a schematic diagram illustrating how the touch panel 210 of the electronic device 200 reads touch signals according to an embodiment of the present invention. Please refer to FIG. 1 and FIG. 2 at the same time. The electronic device 200 is, for example, a notebook computer, a tablet computer, a personal digital assistant (PDA), a mobile phone, a digital camera, an e-book, a game console, or other electronic devices with a touch panel. . The touch panel 210 can read and/or display a touch signal input by a user. In addition, the electronic device 200 has at least one sensing device for detecting the movement of the electronic device 200 . For example, after summing up the detection results of each sensing device, the movement vector of the electronic device 200 at each time can be calculated. The sensing device may include a gravity sensor (G-sensor), a gyro sensor (gyro sensor), a compass sensor (compass sensor) or other sensors for detecting the movement of the electronic device 200 .
在步骤S101,在电子装置200接收触控面板210所读取的触控讯号时,电子装置200将会判断触控面板210的移动向量是否异常。当电子装置200中的触控面板210读取使用者所输入的触控讯号时,如图2绘示手20触碰(按、推)触控面板210,电子装置200中的感应装置(未绘示)将可计算电子装置200的移动向量u,且电子装置200可进而判断触控面板210的移动向量u是否异常。举例而言,若使用者以过多的力量触按触控面板210而导致触控面板210发生异常移动或晃动,则异常移动的触控面板210可能会让使用者误触到触控面板210的非预期位置。电子装置200可以藉由判断触控面板210的移动向量u是否异常,来决定是否执行触控讯号的讯号补偿动作。也就是说,根据移动向量u,电子装置200可判断触控面板210的触控讯号是否异常。In step S101 , when the electronic device 200 receives the touch signal read by the touch panel 210 , the electronic device 200 will determine whether the motion vector of the touch panel 210 is abnormal. When the touch panel 210 in the electronic device 200 reads the touch signal input by the user, as shown in FIG. As shown), the motion vector u of the electronic device 200 can be calculated, and the electronic device 200 can further determine whether the motion vector u of the touch panel 210 is abnormal. For example, if the user touches the touch panel 210 with too much force and causes the touch panel 210 to move or shake abnormally, the abnormally moving touch panel 210 may cause the user to touch the touch panel 210 by mistake. unexpected location. The electronic device 200 can determine whether to execute the signal compensation operation of the touch signal by judging whether the motion vector u of the touch panel 210 is abnormal. That is to say, according to the movement vector u, the electronic device 200 can determine whether the touch signal of the touch panel 210 is abnormal.
例如,若移动向量u大于某一预设的第一临界值,则电子装置200可以判断触控面板210发生异常移动或晃动。若移动向量u小于某一预设的第二临界值,则电子装置200可以判断触控面板210为静止状态。上述第二临界值小于第一临界值。For example, if the motion vector u is greater than a certain preset first critical value, the electronic device 200 may determine that the touch panel 210 moves or shakes abnormally. If the motion vector u is smaller than a predetermined second critical value, the electronic device 200 may determine that the touch panel 210 is in a static state. The above-mentioned second critical value is smaller than the first critical value.
在步骤S105,当图2中的移动向量u为异常时,电子装置200将会记录为第一时间点。在步骤S111中,电子装置200会判断移动向量u是否由异常恢复为正常。移动向量u恢复为正常时,电子装置200将进行步骤S115,以记录第二时间点。换言之,电子装置200可侦测出触控面板210的移动向量u为异常的期间(即第一时间点至第二时间点)。In step S105, when the motion vector u in FIG. 2 is abnormal, the electronic device 200 will record it as the first time point. In step S111 , the electronic device 200 determines whether the motion vector u returns to normal from abnormal. When the motion vector u returns to normal, the electronic device 200 will proceed to step S115 to record the second time point. In other words, the electronic device 200 can detect the period when the motion vector u of the touch panel 210 is abnormal (ie, from the first time point to the second time point).
在步骤S121,电子装置200将会执行触控讯号在第一时间点至第二时间点期间的讯号补偿动作。在本实施例中,电子装置200执行的讯号补偿动作,可依据触控讯号所输入的形式而不同,其中触控讯号包括线性输入(linearinput)讯号、按键输入(push-buttoninput)讯号及手势输入(gestureinput)讯号。按键输入讯号也可以是选择(choose)讯号。以下分别详述电子装置200在不同触控讯号下执行的讯号补偿动作。In step S121 , the electronic device 200 will perform a signal compensation operation of the touch signal during the period from the first time point to the second time point. In this embodiment, the signal compensation action performed by the electronic device 200 can be different according to the input form of the touch signal, wherein the touch signal includes linear input (linear input) signal, key input (push-button input) signal and gesture input. (gestureinput) signal. The key input signal may also be a choose signal. The signal compensation operations performed by the electronic device 200 under different touch signals are described in detail below.
图3A是依照本发明一实施例说明当触控讯号为线性输入讯号时的讯号补偿动作示意图。请参照图3A,在此假设使用者的手20在触控面板210上移动,而在触控面板210绘示出直线、曲线或其他线性输入。在触控面板210为静止状态时,电子装置200可以通过触控面板210读取正常的触控讯号,即图3A所示线性输入讯号30。当电子装置200判断触控面板210的移动向量为异常的时候,电子装置200将会记录第一时间点,例如箭头301所标示的时间点。当触控面板210从异常移动状态恢复至静止状态时,也就是触控面板210的移动向量由异常恢复正常的时候,电子装置200将会记录第二时间点,例如箭头302所标示的时间点。也就是说,藉由判断触控面板210的移动向量是否为异常,电子装置200可侦测出线性输入讯号30在第一时间点与第二时间点之间的异常线性输入讯号31。接下来,电子装置200将会对第一时间点与第二时间点之间的异常线性输入讯号31执行讯号补偿动作。FIG. 3A is a schematic diagram illustrating a signal compensation operation when the touch signal is a linear input signal according to an embodiment of the present invention. Referring to FIG. 3A , it is assumed that the user's hand 20 moves on the touch panel 210 , and a straight line, curve or other linear input is drawn on the touch panel 210 . When the touch panel 210 is in a static state, the electronic device 200 can read normal touch signals through the touch panel 210 , that is, the linear input signal 30 shown in FIG. 3A . When the electronic device 200 determines that the movement vector of the touch panel 210 is abnormal, the electronic device 200 will record the first time point, such as the time point indicated by the arrow 301 . When the touch panel 210 recovers from the abnormal movement state to the static state, that is, when the movement vector of the touch panel 210 returns to normal from the abnormality, the electronic device 200 will record the second time point, such as the time point indicated by the arrow 302 . That is to say, by judging whether the motion vector of the touch panel 210 is abnormal, the electronic device 200 can detect the abnormal linear input signal 31 between the first time point and the second time point of the linear input signal 30 . Next, the electronic device 200 will perform a signal compensation operation on the abnormal linear input signal 31 between the first time point and the second time point.
详细而言,电子装置200可在触控面板210上提供/显示触控异常信息35,用以提示使用者在第一时间点与第二时间点之间的输入为异常线性输入讯号31,并且执行讯号补偿动作。上述触控异常信息35的内容例如为“发生异常晃动”或是其他提示信息。In detail, the electronic device 200 may provide/display the abnormal touch information 35 on the touch panel 210 to remind the user that the input between the first time point and the second time point is an abnormal linear input signal 31, and Execute signal compensation action. The content of the touch abnormality information 35 is, for example, "abnormal shaking occurs" or other prompt information.
本实施例并不限制对于在第一时间点与第二时间点之间的异常线性输入讯号31所进行的讯号补偿动作。上述讯号补偿动作可以视实际产品的设计需求来决定。例如,图3B是依照本发明实施例说明触控讯号为线性输入讯号时的讯号补偿动作示意图。如图3B所示,上述讯号补偿动作可在第一时间点(如箭头301所标示处)停止显示线性输入讯号30,以及在第二时间点(如箭头302所标示)恢复显示线性输入讯号30。在另一实施例中,讯号补偿动作包括删除在第一时间点至第二时间点期间所读取的触控讯号。在其他实施例中,讯号补偿动作也可让使用者选择性地删除或保留在第一时间点与第二时间点之间的此异常线性输入讯号31。This embodiment does not limit the signal compensation action performed on the abnormal linear input signal 31 between the first time point and the second time point. The above signal compensation actions can be determined according to actual product design requirements. For example, FIG. 3B is a schematic diagram illustrating a signal compensation operation when the touch signal is a linear input signal according to an embodiment of the present invention. As shown in FIG. 3B , the above signal compensation action can stop displaying the linear input signal 30 at the first time point (as indicated by the arrow 301 ), and resume displaying the linear input signal 30 at the second time point (as indicated by the arrow 302 ). . In another embodiment, the signal compensation action includes deleting the touch signal read during the period from the first time point to the second time point. In other embodiments, the signal compensation action also allows the user to selectively delete or retain the abnormal linear input signal 31 between the first time point and the second time point.
在另一实施例中,电子装置200可以计算/补偿在第一时间点与第二时间点之间的触控讯号。例如,图3C是依照本发明另一实施例说明触控讯号为线性输入讯号时的讯号补偿动作示意图。如图3C所示,讯号补偿动作可以依据在第一时间点之前的触控讯号(即线性输入讯号30),以及/或是依据在第二时间点之后的触控讯号,补偿在第一时间点至第二时间点期间的触控讯号。此时电子装置200可根据第一时间点(如箭头301所标示)之前的线性输入讯号30,透过计算以模拟出线性输入讯号30在第一时间点至第二时间点(如箭头302所标示)之间的触控讯号,亦即线性输入讯号32。上述计算线性输入讯号32的方式可以是外推法(extrapolation)、内插法(interpolation)、惯性法则或是其他预估(projection)演算法则。在另一实施例中,所述讯号补偿动作可让使用者重新输入在第一时间点至第二时间点期间的触控讯号以取代异常线性输入讯号31。如此一来,电子装置200可补偿在触控面板210的移动向量为异常的期间内所接收的触控讯号,进而避免得到错误的输入结果。In another embodiment, the electronic device 200 may calculate/compensate the touch signal between the first time point and the second time point. For example, FIG. 3C is a schematic diagram illustrating a signal compensation operation when the touch signal is a linear input signal according to another embodiment of the present invention. As shown in FIG. 3C , the signal compensation action can be based on the touch signal before the first time point (ie, the linear input signal 30 ), and/or based on the touch signal after the second time point, to compensate the signal at the first time point. Touch signals during the period from the point to the second time point. At this time, the electronic device 200 can simulate the linear input signal 30 from the first time point to the second time point (as indicated by the arrow 302) through calculation according to the linear input signal 30 before the first time point (as indicated by the arrow 301). mark), that is, the linear input signal 32 . The aforementioned method for calculating the linear input signal 32 may be extrapolation, interpolation, inertial law or other projection algorithms. In another embodiment, the signal compensation action allows the user to re-input the touch signal between the first time point and the second time point to replace the abnormal linear input signal 31 . In this way, the electronic device 200 can compensate the touch signal received during the period when the motion vector of the touch panel 210 is abnormal, thereby avoiding wrong input results.
图4是依照本发明另一实施例说明当触控讯号为按键输入讯号时的讯号补偿动作示意图。请参照图4,使用者可藉由触碰在触控面板210所显示的选项(或虚拟按键,例如选项42、44及46)以输入按键输入讯号。在此假设使用者的手20希望压按在触控面板210的选项42上。在正常状况下,电子装置200所读取触控面板210的触控讯号应该在选项42所占区域范围内,因此电子装置200可以毫无疑问地执行选项42所对应的功能。当在触控面板210发生异常移动或晃动的状况下,若使用者的手20欲点选触控面板210的选项42,则触控面板210的触控讯号可能会超出选项42所占区域范围,甚至可能会误触发非预期选项(例如选项44或46)。此时,电子装置200无法确认是否应执行选项42所对应的功能,甚至可能发生误动作(例如触发非预期选项)。FIG. 4 is a schematic diagram illustrating a signal compensation operation when the touch signal is a key input signal according to another embodiment of the present invention. Referring to FIG. 4 , the user can input key input signals by touching the options (or virtual keys, such as options 42 , 44 and 46 ) displayed on the touch panel 210 . Here, it is assumed that the user's hand 20 wants to press the option 42 on the touch panel 210 . Under normal conditions, the touch signal of the touch panel 210 read by the electronic device 200 should be within the area occupied by the option 42 , so the electronic device 200 can undoubtedly execute the function corresponding to the option 42 . When the touch panel 210 moves or shakes abnormally, if the user's hand 20 wants to click option 42 on the touch panel 210, the touch signal of the touch panel 210 may exceed the area occupied by option 42. , and may even accidentally trigger unintended options (such as options 44 or 46). At this time, the electronic device 200 cannot confirm whether the function corresponding to the option 42 should be executed, or even malfunction (such as triggering an unexpected option) may even occur.
因此,当电子装置200判断触控面板210的移动向量为异常时,电子装置200将会记第一时间点。当电子装置200判断触控面板210的移动向量由异常恢复为正常时,电子装置200将会记录第二时间点。当触控面板210的触控讯号为按键输入讯号时,电子装置200所进行的讯号补偿动作包括忽略在该第一时间至该第二时间点期间的触控讯号,以及要求使用者重新输入触控讯号(例如重新点选选项42、44或46)。详言之,讯号补偿动作可忽略在第一时间点至第二时间点期间的按键输入讯号,并且提供触控异常信息45以要求重新输入按键输入讯号。如此一来,使用者可藉由触控异常信息45的提示,选择是否重新输入触控讯号而避免得到错误的输入结果。Therefore, when the electronic device 200 determines that the motion vector of the touch panel 210 is abnormal, the electronic device 200 will record the first time point. When the electronic device 200 determines that the motion vector of the touch panel 210 returns to normal from abnormal, the electronic device 200 will record the second time point. When the touch signal of the touch panel 210 is a key input signal, the signal compensation action performed by the electronic device 200 includes ignoring the touch signal between the first time point and the second time point, and requiring the user to re-input the touch signal. control signal (for example, re-click option 42, 44 or 46). In detail, the signal compensation action can ignore the key input signal during the period from the first time point to the second time point, and provide touch abnormality information 45 to request re-input of the key input signal. In this way, the user can choose whether to re-input the touch signal according to the prompt of the touch abnormality information 45 to avoid getting a wrong input result.
图5是依照本发明又一实施例说明当触控讯号为手势输入讯号时的讯号补偿动作示意图。请参照图5,触控面板210可读取使用者所输入的手势输入讯号50,例如使用者的手20在触控面板210上做一滑动、托拉、按压或捏夹的手势动作。在触控面板210读取手势输入讯号50的时候,若电子装置200判断触控面板210的移动向量为异常时,电子装置200将会记录第一时间点。当电子装置200判断触控面板210的移动向量由异常恢复为正常时,电子装置200将会记录第二时间点。也就是说,手势输入讯号50在第一时间点与第二时间点之间为异常的手势输入讯号,而电子装置200将会执行第一时间点与第二时间点的讯号补偿动作。详言之,讯号补偿动作可忽略在第二时间点前的手势输入讯号50,并且提供触控异常信息55以提示使用者重新作一手势动作,使触控面板210重新读取手势输入讯号而避免得到错误的输入结果。FIG. 5 is a schematic diagram illustrating a signal compensation operation when the touch signal is a gesture input signal according to another embodiment of the present invention. Referring to FIG. 5 , the touch panel 210 can read the gesture input signal 50 input by the user, for example, the user's hand 20 makes a gesture of sliding, pulling, pressing or pinching on the touch panel 210 . When the touch panel 210 reads the gesture input signal 50 , if the electronic device 200 determines that the movement vector of the touch panel 210 is abnormal, the electronic device 200 will record the first time point. When the electronic device 200 determines that the motion vector of the touch panel 210 returns to normal from abnormal, the electronic device 200 will record the second time point. That is to say, the gesture input signal 50 is an abnormal gesture input signal between the first time point and the second time point, and the electronic device 200 will execute the signal compensation operation between the first time point and the second time point. In detail, the signal compensation action can ignore the gesture input signal 50 before the second time point, and provide touch abnormality information 55 to remind the user to perform a gesture action again, so that the touch panel 210 reads the gesture input signal again and Avoid getting wrong input results.
图6是依照本发明一实施例的一种电子装置的示意简图。本实施例所示电子装置200可以参照图1至图5的相关说明。请参照图6,本实施例的电子装置200包括触控面板210、至少一个感应装置620、讯号补偿单元630。触控面板210用以读取触控讯号,而此触控讯号例如是使用者在触控面板210上所输入的线性输入讯号、按键输入讯号或手势输入讯号。感应装置620耦接在触控面板210,以感应触控面板210的移动向量。感应装置620例如是重力感应器(G-sensor)、陀螺仪感应器(gyrosensor)、罗盘感应器(compasssensor)或其他感应器的至少其中之一。FIG. 6 is a schematic diagram of an electronic device according to an embodiment of the present invention. For the electronic device 200 shown in this embodiment, reference may be made to the related descriptions of FIG. 1 to FIG. 5 . Referring to FIG. 6 , the electronic device 200 of this embodiment includes a touch panel 210 , at least one sensing device 620 , and a signal compensation unit 630 . The touch panel 210 is used for reading a touch signal, and the touch signal is, for example, a linear input signal, a key input signal or a gesture input signal input by a user on the touch panel 210 . The sensing device 620 is coupled to the touch panel 210 to sense the movement vector of the touch panel 210 . The sensing device 620 is, for example, at least one of a gravity sensor (G-sensor), a gyro sensor (gyro sensor), a compass sensor (compass sensor) or other sensors.
讯号补偿单元630耦接在触控面板210以及感应装置620。在触控面板210读取触控讯号时,讯号补偿单元630依据感应装置620的感测结果而判断触控面板210的移动向量是否异常,且可判断移动向量是否由异常恢复为正常。在本实施例中,当移动向量为异常时,讯号补偿单元630将会记录第一时间点。当讯号补偿单元630判断移动向量恢复为正常时,讯号补偿单元630记录第二时间点,以及执行触控讯号在第一时间点至第二时间点期间的讯号补偿动作。而本发明的触控讯号的处理方法,已在前述实施例中详述,请参照图1、图2、图3A-3C、图4与图5以及相关的描述段落,因此不在此作赘述。The signal compensation unit 630 is coupled to the touch panel 210 and the sensing device 620 . When the touch panel 210 reads the touch signal, the signal compensation unit 630 judges whether the motion vector of the touch panel 210 is abnormal according to the sensing result of the sensing device 620 , and can judge whether the motion vector returns from abnormal to normal. In this embodiment, when the motion vector is abnormal, the signal compensation unit 630 will record the first time point. When the signal compensation unit 630 determines that the motion vector returns to normal, the signal compensation unit 630 records the second time point, and performs a signal compensation operation of the touch signal from the first time point to the second time point. The touch signal processing method of the present invention has been described in detail in the foregoing embodiments, please refer to FIG. 1 , FIG. 2 , FIGS. 3A-3C , FIG. 4 and FIG. 5 and related description paragraphs, so details are not repeated here.
综上所述,本发明的触控讯号的处理方法与电子装置,在电子装置接收触控面板的触控讯号时,电子装置将会判断触控面板的移动向量是否异常,以及判断触控面板的移动向量是否恢复为正常,并且分别记录触控讯号输入时所对应的时间点。电子装置则可补偿当移动向量为异常时所接收的触控讯号。如此一来,电子装置可判断出错误的触控讯号,藉此,使用者可避免输入错误的触控讯号,并且进而提高输入触控讯号时的流畅度。To sum up, the touch signal processing method and the electronic device of the present invention, when the electronic device receives the touch signal of the touch panel, the electronic device will judge whether the movement vector of the touch panel is abnormal, and determine whether the touch panel Whether the motion vector of the device returns to normal, and record the corresponding time point when the touch signal is input. The electronic device can compensate the touch signal received when the motion vector is abnormal. In this way, the electronic device can determine the wrong touch signal, so that the user can avoid inputting the wrong touch signal, and further improve the smoothness of inputting the touch signal.
最后应说明的是:以上各实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述各实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分或者全部技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的范围。Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present invention, rather than limiting them; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: It is still possible to modify the technical solutions described in the foregoing embodiments, or perform equivalent replacements for some or all of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the technical solutions of the various embodiments of the present invention. scope.
Claims (16)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210036666.3A CN103257729B (en) | 2012-02-17 | 2012-02-17 | Touch signal processing method and electronic device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210036666.3A CN103257729B (en) | 2012-02-17 | 2012-02-17 | Touch signal processing method and electronic device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103257729A CN103257729A (en) | 2013-08-21 |
CN103257729B true CN103257729B (en) | 2015-12-02 |
Family
ID=48961685
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201210036666.3A Active CN103257729B (en) | 2012-02-17 | 2012-02-17 | Touch signal processing method and electronic device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103257729B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107704126A (en) * | 2017-09-22 | 2018-02-16 | 广州视源电子科技股份有限公司 | Touch data separation method, device, equipment and storage medium |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6417845B1 (en) * | 1999-11-10 | 2002-07-09 | Et & T Technology Co., Ltd. | Touch controlled device with pressure sensing electronic input pen |
US7277087B2 (en) * | 2003-12-31 | 2007-10-02 | 3M Innovative Properties Company | Touch sensing with touch down and lift off sensitivity |
CN101464749A (en) * | 2008-10-03 | 2009-06-24 | 友达光电股份有限公司 | Method for processing touch input signal, processing device and computer system thereof |
CN101650597A (en) * | 2008-08-13 | 2010-02-17 | 义隆电子股份有限公司 | Signal processing method of multi-finger touch input device with physical keys |
TW201030566A (en) * | 2009-02-04 | 2010-08-16 | Mstar Semiconductor Inc | Signal processing apparatus, signal processing method and selecting method of user-interface icon for multi-touch interface |
TW201118679A (en) * | 2009-11-30 | 2011-06-01 | Kye Systems Corp | Signal processing method of complex touch panel |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20120038557A1 (en) * | 2010-08-12 | 2012-02-16 | Research In Motion Limited | Method and Electronic Device With Motion Compensation |
-
2012
- 2012-02-17 CN CN201210036666.3A patent/CN103257729B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6417845B1 (en) * | 1999-11-10 | 2002-07-09 | Et & T Technology Co., Ltd. | Touch controlled device with pressure sensing electronic input pen |
US7277087B2 (en) * | 2003-12-31 | 2007-10-02 | 3M Innovative Properties Company | Touch sensing with touch down and lift off sensitivity |
CN101650597A (en) * | 2008-08-13 | 2010-02-17 | 义隆电子股份有限公司 | Signal processing method of multi-finger touch input device with physical keys |
CN101464749A (en) * | 2008-10-03 | 2009-06-24 | 友达光电股份有限公司 | Method for processing touch input signal, processing device and computer system thereof |
TW201030566A (en) * | 2009-02-04 | 2010-08-16 | Mstar Semiconductor Inc | Signal processing apparatus, signal processing method and selecting method of user-interface icon for multi-touch interface |
TW201118679A (en) * | 2009-11-30 | 2011-06-01 | Kye Systems Corp | Signal processing method of complex touch panel |
Also Published As
Publication number | Publication date |
---|---|
CN103257729A (en) | 2013-08-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10296136B2 (en) | Touch-sensitive button with two levels | |
US8982045B2 (en) | Using movement of a computing device to enhance interpretation of input events produced when interacting with the computing device | |
EP2652579B1 (en) | Detecting gestures involving movement of a computing device | |
EP2917814B1 (en) | Touch-sensitive bezel techniques | |
US8842087B2 (en) | Method for processing touch signal and electronic device using the same | |
US20070002027A1 (en) | Smart control method for cursor movement using a touchpad | |
CN106775259A (en) | An information processing method, device and terminal | |
JP5968588B2 (en) | Electronics | |
CN103257729B (en) | Touch signal processing method and electronic device | |
EP3433713B1 (en) | Selecting first digital input behavior based on presence of a second, concurrent, input | |
JPWO2013121649A1 (en) | Information processing device | |
US20120133603A1 (en) | Finger recognition methods and systems | |
CN100397316C (en) | Intelligent movement control method for touch pad | |
KR20120005979A (en) | How to Track Electronic Devices and Displayed Information | |
JP2015011675A (en) | Terminal and input button display method on touch panel included in the same | |
KR20110092554A (en) | Method and device for controlling operation of device equipped with touch screen | |
CN103455252A (en) | Integrated input device and automatic switching method for key input and cursor control |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |