本發明相關於一種防止手掌誤觸方法,尤指一種依據使用者手掌或書寫方式來防止手掌誤觸之方法。The invention relates to a method for preventing palm touch, especially a method for preventing palms from being touched according to a user's palm or writing manner.
在現今各式消費性電子產品市場中,由於產品設計皆以輕、薄、短、小為方向,因此無足夠空間容納如鍵盤、滑鼠等傳統輸入裝置,尤其在講求人性化設計的平板電腦需求的帶動下,搭配觸控式面板(touch panel)的顯示裝置已逐漸成為各式電子產品的關鍵零組件之一,例如應用在個人數位助理(PDA)、行動電話(mobile Phone)、智慧型手機或平板電腦等可攜式電子裝置。In today's various consumer electronics market, because the product design is light, thin, short, and small, there is not enough space to accommodate traditional input devices such as keyboards and mice, especially in the tablet design that is user-friendly. Driven by demand, display devices with touch panels have gradually become one of the key components of various electronic products, such as personal digital assistants (PDAs), mobile phones, and smart phones. Portable electronic devices such as mobile phones or tablets.
觸控式面板是使用感測器來偵測因觸碰事件而造成的電阻、電容、壓力或光強度變化以求出觸碰座標,再將觸碰座標輸出至系統。然而,當使用者以寫字型態在觸控式面板上輸入資料時,容易習慣將手掌靠在螢幕上,此時感測器會同時感應到手掌與手指的動作,進而產生無法正確偵測出使用者書寫行為的輸入資訊。The touch panel uses a sensor to detect changes in resistance, capacitance, pressure or light intensity caused by a touch event to determine the touch coordinates, and then outputs the touch coordinates to the system. However, when the user inputs data on the touch panel in the writing mode, it is easy to get used to leaning the palm on the screen. At this time, the sensor senses the movement of the palm and the finger at the same time, and the detection cannot be detected correctly. Input information about the user's writing behavior.
本發明提供一種可防止誤觸觸控面板之方法,其包含在偵測到一觸碰事件時若接收到複數個觸碰座標,記錄代表每一觸碰座標之一第一座標值和一第二座標值,其中該第一座標值相關於一第一方向,該第二座標值相關於一第二方向,且該第一方向和該第二方向彼此垂直;分別求出對應於該複數個觸碰座標之複數個判斷距離,其中該複數個判斷距離中一特定判斷距離相關於該複數個觸碰座標中一特定觸碰座標和至少一其它觸碰座標;以及當該特定判斷距離不大於一預定距離時,捨棄該特定觸碰座標。The present invention provides a method for preventing accidental touch of a touch panel, which includes receiving a plurality of touch coordinates when a touch event is detected, and recording a first coordinate value representing one of each touch coordinates and a first Two coordinate values, wherein the first coordinate value is related to onea first direction, the second coordinate value is related to a second direction, and the first direction and the second direction are perpendicular to each other; respectively, determining a plurality of determination distances corresponding to the plurality of touch coordinates, wherein the plurality of determination distances Determining a specific determination distance in the distance is related to a specific touch coordinate and at least one other touch coordinate in the plurality of touch coordinates; and discarding the specific touch coordinate when the specific determination distance is not greater than a predetermined distance.
110~160‧‧‧步驟110~160‧‧‧Steps
F0~F6‧‧‧觸碰座標F0 ~F6 ‧‧‧Touch coordinates
F0’~F6’‧‧‧參考觸碰座標F0 '~F6 '‧‧‧Reference touch coordinates
第1圖為本發明中一種防止手掌誤觸方法的流程圖。Figure 1 is a flow chart of a method for preventing palm touch by mistake in the present invention.
第2圖至第12圖為本發明實施例在執行防止手掌誤觸方法時之示意圖。2 to 12 are schematic views showing a method of preventing palm touch by mistake in the embodiment of the present invention.
第1圖為本發明中一種防止手掌誤觸(palm rejection)方法的流程圖,其包含下列步驟:Figure 1 is a flow chart of a method for preventing palm rejection in the present invention, which comprises the following steps:
步驟110:決定一預定距離R,執行步驟120。Step 110: Determine a predetermined distance R, and perform step 120.
步驟120:在偵測到觸碰事件時判斷觸碰座標的數目:若偵測到複數個觸碰座標,執行步驟130;若偵測到單一觸碰座標,執行步驟160。Step 120: Determine the number of touch coordinates when the touch event is detected: if a plurality of touch coordinates are detected, go to step 130; if a single touch coordinate is detected, go to step 160.
步驟130:記錄複數個觸碰座標之座標值並依此進行比對程序,執行步驟140。Step 130: Record the coordinate values of the plurality of touch coordinates and perform the comparison procedure accordingly, and perform step 140.
步驟140:判斷執行比對程序後是否能得到一目標座標值:若是,執行步驟150;若否,執行步驟120。Step 140: Determine whether a target coordinate value can be obtained after executing the comparison program: if yes, execute step 150; if not, execute step 120.
步驟150:輸出目標座標值,執行步驟120。Step 150: Output the target coordinate value, and perform step 120.
步驟160:輸出單一觸碰座標之座標值,執行步驟120。Step 160: Output a coordinate value of a single touch coordinate, and perform steps120.
在步驟110中,預定距離R可相關於使用者手掌大小或書寫習慣,決定預定距離R之方式在說明書後續將會詳細說明。在步驟120中,本發明會在偵測到觸碰事件時判斷是否接收到單一或複數個觸碰座標。若僅接收到單一觸碰座標,本發明會執行步驟160以輸出此單一觸碰座標之座標值;若接收到複數個觸碰座標,本發明會執行步驟130以記錄複數個觸碰座標之座標值並依此進行比對程序。In step 110, the predetermined distance R may be related to the size of the user's palm or the writing habit, and the manner of determining the predetermined distance R will be described in detail later in the specification. In step 120, the present invention determines whether a single or a plurality of touch coordinates are received when a touch event is detected. If only a single touch coordinate is received, the present invention performs step 160 to output the coordinate value of the single touch coordinate; if a plurality of touch coordinates are received, the present invention performs step 130 to record the coordinates of the plurality of touch coordinates. Value and compare the program accordingly.
第2圖至第5圖為本發明實施例在執行判斷誤觸方法時之示意圖。黑點代表在偵測到觸碰事件時接收到的所有觸碰座標,其中F0代表使用者以手指或觸控筆輸入時偵測到的觸碰座標,而F1~FN代表因使用者手掌誤觸而偵測到的觸碰座標。第2圖至第5圖顯示了N=6之實施例,但不限定本發明之範疇,N可為任意正整數。本發明在執行步驟130時,首先會記錄所有觸碰座標F0~F6的座標值(x0,y0)~(x6,y6),再依此進行比對程序。2 to 5 are schematic diagrams showing a method of determining a false touch according to an embodiment of the present invention. The black dot represents all touch coordinates received when a touch event is detected, where F0 represents the touch coordinates detected by the user when inputting with a finger or a stylus, and F1 ~FN represents the use of The touched coordinates detected by the palm of the hand. Figures 2 through 5 show an embodiment with N = 6, but without limiting the scope of the invention, N can be any positive integer. When performing the step 130, the present invention first records the coordinate values (x0 , y0 )~(x6 , y6 ) of all the touch coordinates F0 to F6 , and then performs the comparison procedure accordingly.
在第2圖和第3圖所示之實施例中,步驟130採用距離演算法來求出每一觸碰座標和其它觸碰座標之間的總距離以進行比對程序。舉例來說,針對座標平面上兩點為F1(x1,y1)和F2(x2,y2)之間的線段依照畢氏定理可求出長度為,為方便說明實施例此處將其簡化為| x1-x2|+| y1-y2|。首先求出觸碰座標F0~F6中每兩個觸碰座標之間的距離(由第2圖和第3圖中的虛線來表示),其中D01代表觸碰座標F0和F1之間的距離,D02代表觸碰座標F0和F2之間的距離,...,D56代表觸碰座標F5和F6之間的距離,其值如下所示:D01=|x0-x1|+|y0-y1|In the embodiment shown in Figures 2 and 3, step 130 uses a distance algorithm to find the total distance between each touch coordinate and other touch coordinates for the alignment procedure. For example, for a line segment between two points F1 (x1 , y1 ) and F2 (x2 , y2 ) on the coordinate plane, the length can be found according to the Bishop's theorem. For convenience of explanation, the embodiment here is simplified to | x1 -x2 |+| y1 -y2 |. First, find the distance between each of the touch coordinates of the touch coordinates F0 ~ F6 (indicated by the broken lines in Figures 2 and 3), where D01 represents the touch coordinates F0 and F1 The distance between them, D02 represents the distance between the touch coordinates F0 and F2 , ..., D56 represents the distance between the touch coordinates F5 and F6 , and the values are as follows: D01 = |x0 -x1 |+|y0 -y1 |
D02=|x0-x2|+|y0-y2|D02 =|x0 -x2 |+|y0 -y2 |
......
D56=|x5-x6|+|y5-y6|D56 =|x5 -x6 |+|y5 -y6 |
接著再分別求出每一觸碰座標和其它觸碰座標之間的總距離S0~S6,其中S0代表觸碰座標F0和觸碰座標F1~F6之間的總距離,S1代表觸碰座標F1和觸碰座標F0、F2~F6之間的總距離,...,S6代表觸碰座標F6和觸碰座標F0~F5之間的總距離,其值如下所示:S0=D01+D02+D03+D04+D05+D06Then, the total distance S0~S6 between each touch coordinate and other touch coordinates is respectively determined, where S0 represents the total distance between the touch coordinate F0 and the touch coordinates F1 ~F6 , and S1 represents the touch The total distance between the touch target F1 and the touch coordinates F0 , F2 ~F6 , ..., S6 represents the total distance between the touch coordinate F6 and the touch coordinates F0 ~ F5 , the value thereof As shown below: S0=D01 +D02 +D03 +D04 +D05 +D06
S1=D01+D12+D13+D14+D15+D16S1=D01 +D12 +D13 +D14 +D15 +D16
S3=D03+D13+D23+D34+D35+D36S3=D03 +D13 +D23 +D34 +D35 +D36
S4=D04+D14+D24+D34+D45+D46S4=D04 +D14 +D24 +D34 +D45 +D46
S5=D05+D15+D25+D35+D45+D56S5=D05 +D15 +D25 +D35 +D45 +D56
S6=D06+D16+D26+D36+D46+D56S6=D06 +D16 +D26 +D36 +D46 +D56
接著在總距離S0~S6中選取最大值,再判斷最大總距離是否大於預定距離R。當使用者誤觸觸碰面板時正在下達觸碰指令,此時偵測到的所有觸碰座標如第2圖所示,其中手掌的觸碰座標F1~F6彼此接近,而手指的觸碰座標F0和其它手掌的觸碰座標F1~F6距離較遠,因此S0為最大總距離。當使用者誤觸觸碰面板時並未下達觸碰指令,此時偵測到的所有觸碰座標如第3圖所示,其中手掌的觸碰座標F1~F6彼此接近,總距離S1~S6之值不會相差太多,因此假設S6為最大總距離。Then, the maximum value is selected from the total distances S0 to S6, and it is determined whether the maximum total distance is greater than the predetermined distance R. When the user touches the panel by mistake, the touch command is issued, and all the touch coordinates detected at this time are as shown in FIG. 2, wherein the touch coordinates F1 to F6 of the palm are close to each other, and the touch of the finger The touch coordinate F0 and the other hand's touch coordinates F1 ~F6 are far apart, so S0 is the maximum total distance. When the user accidentally touches the panel, the touch command is not released. At this time, all the touch coordinates detected are as shown in FIG. 3, wherein the touch coordinates F1 to F6 of the palm are close to each other, and the total distance S1 is The value of ~S6 does not differ too much, so S6 is assumed to be the maximum total distance.
如第2圖和第3圖所示,最大總距離對應的觸碰座標可能為實際輸入資料之處(觸碰座標F0)或是手掌誤觸點(觸碰座標F6),因此本發明另依據預定距離R來判定。本發明在步驟110中可依據使用者手掌大小或書寫習慣來決定預定距離R之值,使其能適當地描述使用者手指和手掌之間的距離。當最大總距離S0大於預定距離R時,即可判定觸碰座標F0為實際輸入資料之處,並鎖定觸碰座標F0以作為目標座標值;當最大總距離S6不大於預定距離R時,即可判定觸碰座標F6為手掌誤觸點,因此不會產生任何目標座標值。As shown in FIG. 2 and FIG. 3, the touch coordinates corresponding to the maximum total distance may be where the actual input data (touch coordinate F0 ) or the palm error contact (touch coordinate F6 ), so the present invention It is further determined based on the predetermined distance R. In the step 110, the value of the predetermined distance R can be determined according to the size of the user's palm or the writing habit, so that the distance between the user's finger and the palm can be appropriately described. When the maximum total distance S0 is greater than the predetermined distance R, it can be determined that the touch coordinate F0 is the actual input data, and the touch coordinate F0 is locked as the target coordinate value; when the maximum total distance S6 is not greater than the predetermined distance R , it can be determined that the touch coordinate F6 is the palm error contact, so no target coordinate value will be generated.
在第4圖至第7圖所示之實施例中,本發明在步驟130中依據兩相鄰觸碰座標之間的距離來進行距離比對。首先可選取在X軸方向相鄰的觸碰座標(如第4圖和第5圖中的雙箭頭虛線所示),或是選取在Y軸方向相鄰的觸碰座標(如第6圖和第7圖中的雙箭頭虛線所示),再計算兩相鄰觸碰座標之間的距離。若兩相鄰觸碰座標之間的距離不大於預定距離R,則刪除兩相鄰觸碰座標;若兩相鄰觸碰座標之間的距離大於預定距離R,則保留兩相鄰觸碰座標。當所有觸碰座標以同樣方式比對完後,若是有一個被保留的觸碰座標,此時會鎖定此觸碰座標以作為目標座標值。In the embodiment shown in Figures 4 through 7, the present invention performs a distance comparison in step 130 based on the distance between two adjacent touch coordinates. First, you can select the touch coordinates adjacent to the X-axis direction (as indicated by the double-arrow dotted lines in Figures 4 and 5), or select the touch coordinates adjacent to the Y-axis direction (as shown in Figure 6 and The double arrow in Figure 7 shows the distance between two adjacent touch coordinates. If the distance between two adjacent touch coordinates is not greater than the predetermined distance R, two adjacent touch coordinates are deleted; if the distance between two adjacent touch coordinates is greater than the predetermined distance R, two adjacent touch coordinates are retained . When all the touch coordinates are compared in the same way, if there is a reserved touch coordinate, the touch coordinate is locked as the target coordinate value.
依據大多數人的書寫習慣,以第6圖和第7圖來作說明。在第6圖和第7圖中所示之實施例中,步驟130採用距離演算法來求出在Y軸方向兩相鄰觸碰座標之間的距離D01、D12、D34和D56,其中D01代表觸碰座標F0和F1之間的距離,D12代表觸碰座標F1和F2之間的距離,D34代表觸碰座標F3和F4之間的距離,而D56代表觸碰座標F5和F6之間的距離,其值如下所示:D01=|x0-x1|+|y0-y1|According to the writing habits of most people, the figures are shown in Fig. 6 and Fig. 7. In the embodiment shown in Figures 6 and 7, step 130 uses a distance algorithm to find the distances D01 , D12 , D34 and D56 between two adjacent touch coordinates in the Y-axis direction. Where D01 represents the distance between the touch coordinates F0 and F1 , D12 represents the distance between the touch coordinates F1 and F2 , and D34 represents the distance between the touch coordinates F3 and F4 , And D56 represents the distance between the touch coordinates F5 and F6 , and its value is as follows: D01 =|x0 -x1 |+|y0 -y1 |
D12=|x1-x2|+|y1-y2|D12 =|x1 -x2 |+|y1 -y2 |
D34=|x3-x4|+|y3-y4|D34 =|x3 -x4 |+|y3 -y4 |
D56=|x5-x6|+|y5-y6|D56 =|x5 -x6 |+|y5 -y6 |
舉例而言,在第6圖所示之實施例中,若比對程序是從較大Y座標值開始,首先選取的兩相鄰觸碰座標為F0和F1,比對後得知距離D01大於預定距離R,此時會保留觸碰座標F0和F1;接著選取的兩相鄰觸碰座標為F1和F2,比對後得知距離D12不大於預定距離R,此時會刪除觸碰座標F1和F2,因此僅保留觸碰座標F0;接著選取的兩相鄰觸碰座標為F3和F4,比對後得知距離D34不大於預定距離R,此時會刪除觸碰座標F3和F4,因此僅保留觸碰座標F0;最後選取的兩相鄰觸碰座標為F5和F6,比對後得知距離D56不大於預定距離R,此時會刪除觸碰座標F5和F6,因此最後僅會保留觸碰座標F0,此時可鎖定觸碰座標F0以作為目標座標值。同理,若比對程序是從較小Y座標值開始,首先選取的兩相鄰觸碰座標為F5和F6,比對後得知距離D56不大於預定距離R,此時會刪除觸碰座標F5和F6;接著選取的兩相鄰觸碰座標為F3和F4,比對後得知距離D34不大於預定距離R,此時會刪除觸碰座標F3和F4;接著選取的兩相鄰觸碰座標為F1和F2,比對後得知距離D12不大於預定距離R,此時會刪除觸碰座標F1和F2;最後僅剩下觸碰座標F0和F6,比對後得知距離D06大於預定距離R,此時會保留觸碰座標F0和F6,由於觸碰座標F6在先前已遭刪除,因此最後僅會剩下觸碰座標F0,此時可鎖定觸碰座標F0以作為目標座標值。For example, in the embodiment shown in FIG. 6, if the comparison program starts from a larger Y coordinate value, the first two adjacent touch coordinates are selected as F0 and F1 , and the distance is known after the comparison. D01 is greater than the predetermined distance R, at which time the touch coordinates F0 and F1 are retained; then the two adjacent touch coordinates are selected as F1 and F2 , and after the comparison, the distance D12 is not greater than the predetermined distance R, At this time, the touch coordinates F1 and F2 are deleted, so only the touch coordinates F0 are retained; then the two adjacent touch coordinates selected are F3 and F4 , and the distance D34 is not greater than the predetermined distance after the comparison. R, the touch coordinates F3 and F4 will be deleted at this time, so only the touch coordinates F0 are retained; the last two adjacent touch coordinates are F5 and F6 , and the distance D56 is not greater than predetermined distance R, the touch coordinates at this time are deleted F5 and F6, thus finally retain only touch coordinates F0, this case can be locked touch coordinates F0 as the target coordinates. Similarly, if the comparison program starts from the smaller Y coordinate value, the first two adjacent touch coordinates are selected as F5 and F6 , and after the comparison, the distance D56 is not greater than the predetermined distance R, and will be deleted. Touch the coordinates F5 and F6 ; then select two adjacent touch coordinates as F3 and F4 , and after the comparison, the distance D34 is not greater than the predetermined distance R, and the touch coordinates F3 and F are deleted.4 ; then the two adjacent touch coordinates are selected as F1 and F2 , and after the comparison, the distance D12 is not greater than the predetermined distance R, and the touch coordinates F1 and F2 are deleted at this time; touch coordinates F0 and F6, the distance D ratio that is greater than a predetermined distance after06 R, the touch coordinates at this time will be retained and F0 F6, F6 since the touch coordinates previously been deleted, and therefore only the last The remaining touch coordinates F0, this case can be locked touch coordinates F0 as the target coordinates.
在第7圖所示之實施例中,無論比對程序是從較大或較小Y座標值開始,兩相鄰觸碰座標之間的距離D12、D34和D56皆不大於預定距離R,此時會刪除觸碰座標F1到F6,因此不會保留任何觸碰座標。In the embodiment shown in Figure 7, the distances D12 , D34 and D56 between two adjacent touch coordinates are no greater than a predetermined distance, regardless of whether the alignment program starts from a larger or smaller Y coordinate value. R, the touch coordinates F1 to F6 are deleted at this time, so no touch coordinates are retained.
在本發明一實施例中,可僅依據在X軸方向或Y軸方向其中之一的兩相鄰觸碰座標之間的距離來進行距離比對,亦即當一特定觸碰座標和其它在X軸或Y軸方向相鄰觸碰座標之間的距離需大於預定距離R,比對程序後才會鎖定此特定觸碰座標以提供目標座標值。在本發明另一實施例中,可同時依據在X軸方向和Y軸方向的兩相鄰觸碰座標之間的距離來進行距離比對,亦即當一特定觸碰座標和其它在X軸和Y軸方向相鄰觸碰座標之間的距離皆需大於預定距離R,比對程序後才會鎖定此特定觸碰座標以提供目標座標值。In an embodiment of the invention, the distance comparison may be performed only according to the distance between two adjacent touch coordinates in one of the X-axis direction or the Y-axis direction, that is, when a specific touch coordinate and other The distance between the adjacent touch coordinates in the X-axis or Y-axis direction needs to be greater than the predetermined distance R, and the specific touch coordinates are locked after the program is compared to provide the target coordinate value. In another embodiment of the present invention, the distance comparison can be performed simultaneously according to the distance between two adjacent touch coordinates in the X-axis direction and the Y-axis direction, that is, when a specific touch coordinate and the other are on the X-axis. The distance between the adjacent touch coordinates and the Y-axis direction needs to be greater than the predetermined distance R, and the specific touch coordinates are locked after the program is compared to provide the target coordinate value.
在第8圖至第11圖所示之實施例中,本發明在步驟130中依據兩相鄰觸碰點的X座標或Y座標進行比對。首先可選取在X軸方向相鄰的觸碰座標(如第8圖和第9圖中的雙箭頭虛線所示),或是選取在Y軸方向相鄰的觸碰座標(如第10圖和第11圖中的雙箭頭虛線所示),再計算兩相鄰觸碰座標之間X座標差值或Y座標差值。若兩相鄰觸碰座標之間的X座標差值不大於預定距離Rx或Y座標差值不大於預定距離Ry,則刪除兩相鄰觸碰座標,其中Rx為X座標向的預定距離;Ry為Y座標向的預定距離;若兩相鄰觸碰座標之間的X座標差值大於預定距離Rx或Y座標差值大於預定距離Ry,則保留兩相鄰觸碰座標。當所有觸碰座標以同樣方式比對完後,若是有一個被保留的觸碰座標,此時會鎖定此觸碰座標以作為目標座標值。In the embodiment shown in Figures 8 through 11, the present invention performs an alignment in step 130 based on the X or Y coordinates of two adjacent touch points. First, you can select the touch coordinates adjacent to the X-axis direction (as indicated by the double-arrow dotted lines in Figures 8 and 9), or select the touch coordinates adjacent to the Y-axis direction (as in Figure 10 and In the ellipse of the double arrow in Figure 11, the X coordinate difference or the Y coordinate difference between two adjacent touch coordinates is calculated. If the X coordinate difference between two adjacent touch coordinates is not greater than the predetermined distance Rx or the Y coordinate difference is not greater than the predetermined distance Ry , then the two adjacent touch coordinates are deleted, where Rx is the predetermined X coordinate Distance; Ry is a predetermined distance of the Y coordinate; if the X coordinate difference between two adjacent touch coordinates is greater than the predetermined distance Rx or the Y coordinate difference is greater than the predetermined distance Ry , then the two adjacent touch coordinates are retained . When all the touch coordinates are compared in the same way, if there is a reserved touch coordinate, the touch coordinate is locked as the target coordinate value.
依據大多數人的書寫習慣,以第10圖和第11圖來作說明。在第10圖和第11圖中所示之實施例中,會計算出在Y軸方向兩相鄰觸碰座標之間的Y座標差值△Y01、△Y12、△Y34和△Y56,其中△Y01代表觸碰座標F0和F1之間的Y座標差值,△Y12代表觸碰座標F1和F2之間的Y座標差值,△Y34代表觸碰座標F3和F4之間的Y座標差值,而△Y56代表觸碰座標F5和F6之間的Y座標差值,其值如下所示:Y01=|y0-y1|According to the writing habits of most people, the figures are shown in Fig. 10 and Fig. 11. In the embodiment shown in Figs. 10 and 11, the Y coordinate difference values ΔY01 , ΔY12 , ΔY34 and ΔY56 between two adjacent touch coordinates in the Y-axis direction are calculated. Where ΔY01 represents the Y coordinate difference between the touch coordinates F0 and F1 , ΔY12 represents the Y coordinate difference between the touch coordinates F1 and F2 , and ΔY34 represents the touch coordinate F The Y coordinate difference between3 and F4 , and ΔY56 represents the Y coordinate difference between the touch coordinates F5 and F6 , the values of which are as follows: Y01 =|y0 -y1 |
Y12=|y1-y2|Y12 =|y1 -y2 |
Y34=|y3-y4|Y34 =|y3 -y4 |
Y56=|y5-y6|Y56 =|y5 -y6 |
在第10圖所示之實施例中,若比對程序是從較大Y座標值開始,首先選取的兩相鄰觸碰座標為F0和F1,比對後得知Y座標差值△Y01大於預定距離Ry,此時會保留觸碰座標F0和F1;接著選取的兩相鄰觸碰座標為F1和F2,比對後得知Y座標差值△Y12不大於預定距離Ry,此時會刪除觸碰座標F1和F2,因此僅保留觸碰座標F0;接著選取的兩相鄰觸碰座標為F3和F4,比對後得知Y座標差值△Y34不大於預定距離Ry,此時會刪除觸碰座標F3和F4,因此僅保留觸碰座標F0;最後選取的兩相鄰觸碰座標為F5和F6,比對後得知Y座標差值△Y56不大於預定距離Ry,此時會刪除觸碰座標F5和F6,因此最後僅會保留觸碰座標F0,此時可鎖定觸碰座標F0以作為目標座標值。同理,若比對程序是從較小Y座標值開始,首先選取的兩相鄰觸碰座標為F5和F6,比對後得知Y座標差值△Y56不大於預定距離Ry,此時會刪除觸碰座標F5和F6;接著選取的兩相鄰觸碰座標為F3和F4,比對後得知Y座標差值△Y34不大於預定距離Ry,此時會刪除觸碰座標F3和F4;接著選取的兩相鄰觸碰座標為F1和F2,比對後得知Y座標差值△Y12不大於預定距離Ry,此時會刪除觸碰座標F1和F2;最後僅剩下觸碰座標F0和F6,由於先前的比對後得知Y座標差值△Y56不大於預定距離Ry,觸碰座標F5和F6已被刪除,因此最後僅會剩下觸碰座標F0,此時可鎖定觸碰座標F0以作為目標座標值。In the embodiment shown in Fig. 10, if the comparison procedure starts from a larger Y coordinate value, the first two adjacent touch coordinates are selected as F0 and F1 , and the Y coordinate difference Δ is obtained after the comparison. Y01 is greater than the predetermined distance Ry , at which time the touch coordinates F0 and F1 are retained; then the two adjacent touch coordinates are selected as F1 and F2 , and the Y coordinate difference ΔY12 is not known after the comparison. More than the predetermined distance Ry , the touch coordinates F1 and F2 are deleted at this time, so only the touch coordinates F0 are retained; then the two adjacent touch coordinates are selected as F3 and F4 , and the Y is known after the comparison. The coordinate difference ΔY34 is not greater than the predetermined distance Ry , at which point the touch coordinates F3 and F4 are deleted, so only the touch coordinates F0 are retained; the last two adjacent touch coordinates are F5 and F6 After the comparison, it is known that the Y coordinate difference value ΔY56 is not greater than the predetermined distance Ry , and the touch coordinates F5 and F6 are deleted at this time, so only the touch coordinate F0 is retained at the end, and the touch can be locked at this time. The coordinate F0 is taken as the target coordinate value. Similarly, if the comparison procedure starts from a smaller Y coordinate value, the first two adjacent touch coordinates are selected as F5 and F6 , and the Y coordinate difference ΔY56 is not greater than the predetermined distance Ry after the comparison. At this time, the touch coordinates F5 and F6 are deleted; then the two adjacent touch coordinates are selected as F3 and F4 , and the Y coordinate difference ΔY34 is not greater than the predetermined distance Ry after the comparison. The touch coordinates F3 and F4 are deleted; then the two adjacent touch coordinates are selected as F1 and F2 , and the Y coordinate difference ΔY12 is not greater than the predetermined distance Ry after the comparison. The touch coordinates F1 and F2 are deleted; only the touch coordinates F0 and F6 are left last, and since the previous comparison, it is known that the Y coordinate difference ΔY56 is not greater than the predetermined distance Ry , the touch coordinate F5 and F6 have been removed, so the final will be left only the touch coordinates F0, then you can lock the touch coordinates F0 as the target coordinates.
在第11圖所示之實施例中,無論比對程序是從較大或較小Y座標值開始,兩相鄰觸碰座標之間的Y座標差值△Y12、△Y34和△Y56皆不大於預定距離Ry,此時會刪除觸碰座標F1至F6,因此不會保留任何觸碰座標。In the embodiment shown in Fig. 11, the Y coordinate difference values ΔY12 , ΔY34 and ΔY between two adjacent touch coordinates are started regardless of whether the comparison program starts from a larger or smaller Y coordinate value.56 is not greater than the predetermined distance Ry , and the touch coordinates F1 to F6 are deleted at this time, so that no touch coordinates are retained.
在本發明一實施例中,可僅依據在X軸方向兩相鄰觸碰座標之間的X座標差值或在Y軸方向兩相鄰觸碰座標之間的Y座標差值來進行比對程序,亦即當一特定觸碰座標和其它在X軸方向相鄰觸碰座標之間的X座標差值或和其它在Y軸方向相鄰觸碰座標之間的Y座標差值需大於預定距離Ry,比對程序後才會鎖定此特定觸碰座標以提供目標座標值。在本發明其它實施例中,可同時依據在X軸方向兩相鄰觸碰座標之間的X座標差值和在Y軸方向兩相鄰觸碰座標之間的Y座標差值來進行比對程序,亦即當一特定觸碰座標和其它在X軸方向相鄰觸碰座標之間的X座標差值以及和其它在Y軸方向相鄰觸碰座標之間的Y座標差值皆需大於預定距離Ry,比對程序後才會鎖定此特定觸碰座標以提供目標座標值。In an embodiment of the invention, the comparison may be based only on the X coordinate difference between two adjacent touch coordinates in the X-axis direction or the Y coordinate difference between two adjacent touch coordinates in the Y-axis direction. The program, that is, the difference between the X coordinate difference between a specific touch coordinate and other adjacent touch coordinates in the X-axis direction or the Y coordinate difference between the adjacent touch coordinates in the Y-axis direction is greater than the predetermined Distance Ry , this specific touch coordinate is locked after the program is compared to provide the target coordinate value. In other embodiments of the present invention, the X coordinate difference between two adjacent touch coordinates in the X-axis direction and the Y coordinate difference between two adjacent touch coordinates in the Y-axis direction may be simultaneously compared. The program, that is, the X coordinate difference between a specific touch coordinate and other adjacent touch coordinates in the X-axis direction and the Y coordinate difference between the adjacent touch coordinates in the Y-axis direction are greater than The predetermined distance Ry is locked after the program is compared to provide the target coordinate value.
在本發明一實施例中,預定距離R可由使用者自行輸入,或由系統提供建議值以讓使用者選擇。在本發明另一實施例中,系統可要求使用者將手掌以寫字型態放至在觸碰面板上,再依據使用者手形來求出最佳預定距離R。In an embodiment of the invention, the predetermined distance R may be input by the user or provided by the system for the user to select. In another embodiment of the invention,The system may require the user to put the palm of the hand on the touch panel in a writing state, and then determine the optimal predetermined distance R according to the user's hand shape.
第12圖為本發明防止誤觸觸控面板之方法在執行步驟110時之示意圖。當使用者將手掌以寫字型態放至在觸碰面板上時,系統可偵測到對應於使用者手指或觸控筆之參考觸碰座標F0’,以及對應於使用者手掌區域之參考觸碰座標F1’~FM’。第12圖顯示了M=6之實施例,但不限定本發明之範疇,M可為任意正整數。FIG. 12 is a schematic diagram of the method for preventing accidental touch of the touch panel according to the present invention. When the user puts the palm of the hand on the touch panel, the system can detect the reference touch coordinate F0 ' corresponding to the user's finger or the stylus, and corresponds to the user's palm area. Refer to the touch coordinates F1 '~FM '. Fig. 12 shows an embodiment of M = 6, but does not limit the scope of the invention, and M can be any positive integer.
在本發明執行步驟110之一實施例中,可採用距離演算法來求出每一參考觸碰座標和其它參考觸碰座標之間的參考總距離,詳細方式可參閱先前相關於第2圖和第3圖的說明,在此不另加贅述。如第12圖所示,參考觸碰座標F0’和參考觸碰座標F1’~F6’之間的參考總距離S0’為最大值,此時可將預定距離R設為S0’+△R,其中△R為相關於辨識誤差之調整值。In an embodiment of the performing step 110 of the present invention, a distance algorithm may be used to find the total reference distance between each reference touch coordinate and other reference touch coordinates. For details, refer to the previous related FIG. 2 and The description of Fig. 3 is not described here. As shown in Fig. 12, the reference total distance S0' between the reference touch coordinates F0 ' and the reference touch coordinates F1 '~F6 ' is the maximum value, and the predetermined distance R can be set to S0'+ ΔR, where ΔR is an adjustment value related to the identification error.
在本發明執行步驟110之另一實施例中,可求出在X軸方向或Y軸方向兩相鄰參考觸碰座標之間的參考距離,詳細方式可參閱先前相關於第4圖至第7圖的說明,在此不另加贅述。如第12圖所示,參考觸碰座標F0’和參考觸碰座標F1’之間的參考距離D01’為最大值,此時可將預定距離R設為D01’+△R,其中△R為相關於辨識誤差之調整值。In another embodiment of the performing step 110 of the present invention, the reference distance between two adjacent reference touch coordinates in the X-axis direction or the Y-axis direction can be obtained. For details, refer to the previous FIGS. 4 to 7 The description of the figure is not described here. As shown in FIG. 12, the reference distance D01 ' between the reference touch coordinate F0 ' and the reference touch coordinate F1 ' is the maximum value, and the predetermined distance R can be set to D01 '+ΔR, Where ΔR is an adjustment value related to the identification error.
在本發明執行步驟110之另一實施例中,可求出在X軸方向兩相鄰參考觸碰座標之間的參考X座標差值或在Y軸方向兩相鄰參考觸碰座標之間的參考Y座標差值,詳細方式可參閱先前相關於第8圖至第11圖的說明,在此不另加贅述。如第12圖所示,參考觸碰座標F0’和參考觸碰座標F1’之間的參考X座標差值△X01’或參考Y座標差值△Y01’為最大值,此時可將預定距離R設為△X01’+△R或△Y01’+△R,其中△R為相關於辨識誤差之調整值。In another embodiment of the performing step 110 of the present invention, a reference X coordinate difference between two adjacent reference touch coordinates in the X-axis direction or between two adjacent reference touch coordinates in the Y-axis direction may be obtained. Refer to the description of the Y coordinate difference. For details, refer to the previous descriptions related to Figure 8 to Figure 11, and no further details are provided here. As shown in Fig. 12, the reference X coordinate difference ΔX01 ' between the reference touch coordinate F0 ' and the reference touch coordinate F1 ' or the reference Y coordinate difference ΔY01 ' is the maximum value. The predetermined distance R can be set to ΔX01 '+ΔR or ΔY01 '+ΔR, where ΔR is an adjustment value related to the identification error.
本發明提供一種防止手掌誤觸之方法,可透過軟體或韌體方式實現在使用觸控面板之裝置。當使用者以寫字型態在觸碰面板上輸入資料時,本發明可依據使用者手掌或書寫方式來區分實際觸碰座標和誤觸觸碰座標,進而提升觸控面板的辨識度。The invention provides a method for preventing the palm from being touched by mistake, and the device using the touch panel can be realized by a soft body or a firmware. When the user inputs data on the touch panel in the writing mode, the present invention can distinguish the actual touch coordinates and the accidental touch coordinates according to the user's palm or writing manner, thereby improving the recognition degree of the touch panel.
110~160‧‧‧步驟110~160‧‧‧Steps
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| TW102126340ATW201504876A (en) | 2013-07-23 | 2013-07-23 | Palm rejection method |
| CN201310357633.3ACN104345956A (en) | 2013-07-23 | 2013-08-16 | Method for preventing palm from touching by mistake |
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| TW102126340ATW201504876A (en) | 2013-07-23 | 2013-07-23 | Palm rejection method |
| Publication Number | Publication Date |
|---|---|
| TW201504876Atrue TW201504876A (en) | 2015-02-01 |
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| TW102126340ATW201504876A (en) | 2013-07-23 | 2013-07-23 | Palm rejection method |
| Country | Link |
|---|---|
| CN (1) | CN104345956A (en) |
| TW (1) | TW201504876A (en) |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| TWI552047B (en)* | 2013-12-05 | 2016-10-01 | 禾瑞亞科技股份有限公司 | Method and device for excluding line piece group corresponding to palm |
| US11449177B2 (en) | 2013-12-04 | 2022-09-20 | Egalax_Empia Technology Inc. | Method and apparatus for determining whether palm line group needs to be divided |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN104635990B (en)* | 2015-02-27 | 2017-11-14 | 上海卓易科技股份有限公司 | A method and device for identifying a user's touch screen |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| TW201203017A (en)* | 2010-07-08 | 2012-01-16 | Acer Inc | Input controlling method for a software keyboard and a device implementing the method |
| US8553001B2 (en)* | 2011-03-22 | 2013-10-08 | Adobe Systems Incorporated | Methods and apparatus for determining local coordinate frames for a human hand |
| TWI478041B (en)* | 2011-05-17 | 2015-03-21 | Elan Microelectronics Corp | Method of identifying palm area of a touch panel and a updating method thereof |
| CN103164081B (en)* | 2013-02-22 | 2016-08-03 | 苏州佳世达电通有限公司 | Contactor control device and touch point detection method thereof |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US11449177B2 (en) | 2013-12-04 | 2022-09-20 | Egalax_Empia Technology Inc. | Method and apparatus for determining whether palm line group needs to be divided |
| TWI552047B (en)* | 2013-12-05 | 2016-10-01 | 禾瑞亞科技股份有限公司 | Method and device for excluding line piece group corresponding to palm |
| Publication number | Publication date |
|---|---|
| CN104345956A (en) | 2015-02-11 |
| Publication | Publication Date | Title |
|---|---|---|
| CN103984495B (en) | Method of operation and electronic device | |
| TWI605359B (en) | Gesture identification method and apparatus applied in a touchpad | |
| US8358277B2 (en) | Virtual keyboard based activation and dismissal | |
| US20120299856A1 (en) | Mobile terminal and control method thereof | |
| US9569045B2 (en) | Stylus tilt and orientation estimation from touch sensor panel images | |
| US20100127995A1 (en) | System and method for differentiating between intended and unintended user input on a touchpad | |
| CN103914196B (en) | Electronic equipment and the method for determining the validity that the touch key-press of electronic equipment inputs | |
| US20120249448A1 (en) | Method of identifying a gesture and device using the same | |
| CN102301322A (en) | Method and electronic device for virtual handwritten input | |
| TWM341257U (en) | Touch input system and electronic device | |
| US20120249599A1 (en) | Method of identifying a multi-touch scaling gesture and device using the same | |
| TWI511012B (en) | Method of recognizing touch | |
| US20160179239A1 (en) | Information processing apparatus, input method and program | |
| TW201443763A (en) | Mistouch identification method and device using the same | |
| US8947378B2 (en) | Portable electronic apparatus and touch sensing method | |
| US20160342275A1 (en) | Method and device for processing touch signal | |
| TW201510828A (en) | Method of recognizing touch | |
| TW201445428A (en) | Palm rejection method | |
| TW201504876A (en) | Palm rejection method | |
| JP2014186530A (en) | Input device and portable terminal device | |
| WO2015081863A1 (en) | Information input method, device and terminal | |
| US20140049515A1 (en) | Virtual mouse and operating method thereof | |
| CN113407066B (en) | Touch controller of handheld device and control method thereof | |
| TW201504929A (en) | Electronic apparatus and gesture control method thereof | |
| CN103713840B (en) | Portable device and key clicking range adjusting method thereof |