New! View global litigation for patent families

CN103809865A - Touch action identification method for touch screen - Google Patents

Touch action identification method for touch screen Download PDF

Info

Publication number
CN103809865A
CN103809865A CN 201210449877 CN201210449877A CN103809865A CN 103809865 A CN103809865 A CN 103809865A CN 201210449877 CN201210449877 CN 201210449877 CN 201210449877 A CN201210449877 A CN 201210449877A CN 103809865 A CN103809865 A CN 103809865A
Authority
CN
Grant status
Application
Patent type
Prior art keywords
touch
touchable
item
position
area
Prior art date
Application number
CN 201210449877
Other languages
Chinese (zh)
Inventor
李智尧
Original Assignee
国基电子(上海)有限公司
鸿海精密工业股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date

Links

Abstract

The invention discloses a touch action identification method for a touch screen. The method comprises the following steps of receiving a touch position on the touch screen; calculating the area of the touch position, finding out all touchable items contacting with the touch position, and calculating the area of each touchable item contacting with the touch position; calculating a ratio value of the intersected area of the areas of each touchable item and the touch position and the area of each touchable item, and finding out the touchable item corresponding to the maximum ratio value; recording the touchable item as a selected touchable item.

Description

触摸屏的触摸动作识别方法 The touch operation of the touch screen recognition

技术领域 FIELD

[0001] 本发明涉及触摸屏技术领域,尤其涉及一种触摸屏的触摸动作识别方法。 [0001] The present invention relates to a touch screen technology, particularly to a touch screen touch action recognition.

背景技术 Background technique

[0002] 智能触摸手机一般是通过触摸屏进行信息输入的。 [0002] smart touch phones general information is input via the touch screen. 例如,用户可通过触摸屏对软键盘进行操作,进行信息的输入。 For example, a user may operate the software keyboard touch screen, input information. 当用户浏览网页时,也通过触摸相应的可触摸项(菜单项)进行相应的操作。 When users browse the Web, but also the corresponding operation by touching the corresponding touch key (menu item).

[0003]目前的触摸动作的判断方法一般是计算接触位置的点坐标(如,接触位置的中心点坐标),该中心点坐标落在某一个可触摸项上,则触发该可触摸项。 [0003] The method of determining the current touch action is generally calculated position coordinates of the contact point (e.g., center point coordinates of the contact position), which falls on a center point coordinates of a touch key, the touch trigger item.

[0004] 然而,由于手指与触摸屏的接触位置的形状并不规则,使得接触位置的中心点坐标的计算并不精确。 [0004] However, since the shape of the contact position of the finger with the touch screen is not the rule, so that the center point coordinates of the contact position is not accurately calculated. 并且,若用户在触摸时手指发生偏移使接触位置的中心点坐标没有落在任何一个可触摸项上时,则无法触发所希望选择的可触摸项,造成使用的不便。 And when, if the user touches the contact fingers shifted position coordinates of the center does not fall on any one item can touch, you can not select the desired trigger touchable items, causing inconvenience to use.

发明内容 SUMMARY

[0005] 针对上述问题,有必要提供一种可提高信息输入准确性的触摸屏的触摸动作识别方法。 [0005] In view of the above problems, it is necessary to provide a touch motion recognition method capable of improving the accuracy of the information input of a touch screen.

[0006] 一种触摸屏的触摸动作识别方法,该方法包括如下步骤: [0006] A method of identifying a touch operation of the touch screen, the method comprising the steps of:

在触摸屏上接收到触摸位置; Receiving a touch position on the touch screen;

计算该接触位置的面积,找出与该接触位置接触的所有可触摸项,并计算与该接触位置接触的每一可触摸项的面积; Calculating the position of the contact area, to identify all the items may be a touch contact with the contact position, and calculate the area of ​​each touchable item in contact with the contact position;

计算每一可触摸项的面积与接触位置的面积的交集面积与每一可触摸项的面积的比例值,并找出最大的比例值所对应的可触摸项; Computing the intersection area ratio of the area of ​​each touchable item area to the area of ​​contact position with each touchable item values, and identify items touch the maximum value corresponding to the ratio;

记录该可触摸项为选定的可触摸项。 The record for the selected item can touch touchable items.

[0007] 所述的触摸屏的触摸动作识别方法通过比较接触位置与各个可触摸项的接触面积来选定相应的可触摸项,如此,当接触位置的中心点没有落在任何一个可触摸项上时,仍可通过本发明的触摸屏的触摸动作识别方法选定用户欲选择地可触摸项,提高了触摸动作识别的精确性。 Recognition touch action [0007] The touch screen contact position by comparing with the respective touch area to select items corresponding touchable items, so, when the center point of the contact position does not fall within any of a touch on the item when the user is to select the selected still touchable items, improves the accuracy of recognition by a touch operation of the touch operation of the touch panel recognition method of the present invention.

附图说明 BRIEF DESCRIPTION

[0008] 图1至图3为本发明较佳实施方式的触摸屏的触摸动作识别方法的流程图。 [0008] Figures 1 to 3 is a flowchart of the operation of touch screen recognition method of the preferred embodiment of the invention. 具体实施方式 detailed description

[0009] 请参阅图1至图3,本发明较佳实施方式的触摸屏的触摸动作识别方法包括如下步骤: [0009] Please refer to FIG. 1 to FIG. 3, the touch operation of the touch screen recognition method of the present invention, the preferred embodiment includes the steps of:

步骤S1:在触摸屏上接收到接触位置。 Step S1: receiving a contact position on the touch screen.

[0010] 步骤S2:寻找触摸屏与该接触位置的接触点,计算该接触位置的中心点坐标,并寻找该中心点接触的可触摸项。 [0010] Step S2: Find the point of contact of the contact with the touchscreen location, calculating the center point coordinates of the contact position, and the center point of the item looking for a touch contact. 其中,触摸屏按照多条间隔等分的横轴与多条间隔等分的纵轴进行划分,这些横轴与纵轴之间的所有交点中被接触位置所覆盖的部分即为所述接触点。 Wherein the touch screen is divided in accordance with a plurality of spaced longitudinal horizontal axis and a plurality of aliquots spacer bisected, all the intersections between the portions of the longitudinal axis of the abscissa is in a position that is covered by the contact of the contact point. 所述可触摸项是指被正确触摸后,会激活相应的功能或事件。 The touchable item refers properly after being touched, the corresponding function is activated or event. 如,虚拟键盘的某一个按键被触发后,会进行相应的键值的输入,这种按键则为可触摸项。 For example, after a certain virtual keyboard key is triggered, the respective input keys, such touch keys may be compared item. 又如,移动电话的某一个菜单页的菜单选项被触摸选中后,会进行相应的设置或者进入下一个菜单选项列表,这种菜单选项则为可触摸项。 In another example, the menu options in a menu page of the mobile phone is touched selected, the appropriate settings or enter the next menu option list, this menu option was touchable items.

[0011] 步骤S3:判断是否有找到与该中心点接触的可触摸项。 [0011] Step S3: determining whether there is a touch key may be found in contact with the center point. 若是,则执行步骤S4 ;否则执行步骤S5。 If yes, proceed to step S4; otherwise step S5.

[0012] 步骤S4:发送触摸事件给与该中心点接触的可触摸项,以激活与该中心点接触的可触摸项的相应功能。 [0012] Step S4: send a touch event may be given to the center point of contact with the touch key, a touch to activate the corresponding function items in contact with the center point.

[0013] 步骤S5:判断接触点的数量是否大于一预设的接触点最大值。 [0013] Step S5: determining the number of contact points is greater than a predetermined maximum value of the contact point. 若是,则说明可能是手掌或者人脸等触摸触摸屏,此时返回步骤S4 ;否则执行步骤S6。 If so, it may be that people face such as palm or touching the touch screen, then return to step S4; otherwise step S6.

[0014] 步骤S6:判断接触位置是否在当前的画面层内。 [0014] Step S6: determining whether the contact position in the current picture layer. 若是,则执行步骤S7 ;否则执行步骤S18。 If yes, proceed to step S7; otherwise step S18. 其中,布满触摸屏的整个画面可能不只一个画面层,例如,可能包括第一画面层及位于第一画面层下方而被第一画面层部分覆盖的第二画面层。 Wherein the entire screen covered with the touch screen may be more than one screen layer, e.g., a screen may include a first layer and a second layer located below the first screen picture layer covered by the first picture layer portion. 所述第一画面层即为当前的画面层。 Said screen layer is the first layer of the current picture. 第一画面层可能高亮显示,第二画面层未被第一画面层覆盖的部分的显示亮度会低于第一画面层的亮度,以进行区分。 The first layer may highlight screen, the second screen display brightness level is not covered by the first picture layer portion is lower than brightness of the first picture layer, to distinguish.

[0015] 步骤S7:计算该接触位置的面积Tx,找出与该接触位置接触的所有可触摸项,并计算与该接触位置接触的每一可触摸项的面积Αχ。 [0015] Step S7: calculating the area of ​​the contact position Tx, find all items touch contact with the contact position, and calculating the area of ​​each touchable item Αχ contact with the contact position.

[0016] 步骤S8:计算每一可触摸项的面积Ax与接触位置的面积Tx的交集面积Ix占每一可触摸项的面积Ax的比例Px,即Ρχ=Ιχ/Αχ,并找出值最大的比例Px所对应的可触摸项。 [0016] Step S8: Ax calculated ratio of the area of ​​each touchable item area and the area of ​​the contact position Ax Tx representing the intersection area of ​​each touchable item Ix is Px, i.e. Ρχ = Ιχ / Αχ, and find the maximum value the ratio Px corresponding touchable items.

[0017] 步骤S9:判断该最大的比例Px是否大于一预设的第一最小比例值。 [0017] Step S9: determining whether the ratio of the maximum scale value Px is greater than a first predetermined minimum. 若是,则执行步骤SlO ;否则执行步骤S15。 If yes, go to step SlO; otherwise step S15.

[0018] 步骤SlO:记录该可触摸项为选定的可触摸项。 [0018] Step SlO: recording touchable item as the touchable item selected. 其中,若有两个以上可触摸项的比例Px值相同且均为最大,则选择交集面积Ix最大的可触摸项为选定的可触摸项。 Wherein, if more than two touches in the same proportion and Px are the maximum value of the item, the selected area of ​​the intersection of the maximum Ix touchable item as the touchable item selected. 若所述的具有最大Px值的两个以上的可触摸项的交集面积Ix也相同,则选择其中任意一个可触摸项为选定的可触摸项。 If the area of ​​the intersection of two or more touchable item Ix has the maximum value Px are the same, then select any one item of the selected touch touchable items.

[0019] 步骤Sll:判断该接触位置处是否被释放。 [0019] Step Sll: determining whether a position at which the contact is released. 即,判断用户手指是否已停止接触触摸屏。 That is, whether the user's finger has ceased contact with the touch screen. 若是,则执行步骤S12;否则执行步骤S13。 If yes, go to step S12; otherwise step S13.

[0020] 步骤S12:发送触摸事件给该选定的可触摸项,以激活该选定的可触摸项的相应功能,流程结束。 [0020] Step S12: send a touch event to the touch-selected items, the respective functions, processes to activate the selected item may touch end.

[0021] 步骤S13:判断该接触位置是否移动。 [0021] Step S13: determines whether or not the contact position moves. 若是,则说明用户手指在触摸屏上滑动,执行步骤S14;否则返回步骤S11。 If so, then the user's finger on the touch screen slides to step S14; otherwise it returns to step S11.

[0022] 步骤S14:判断该接触位置在其移动轨迹的终点与被选定的可触摸项是否存在交集面积。 [0022] Step S14: determines whether there is an intersection position of the contact area and the end point of its movement locus selected touchable items. 若是,则返回步骤S12 ;否则执行步骤S18。 If so, it returns to step S12; otherwise step S18.

[0023] 步骤S15:找出具有最大交集面积Ix的可触摸项。 [0023] Step S15: to identify touchable item Ix has the largest area of ​​intersection.

[0024] 步骤S16:判断该最大的交集面积Ix与接触位置的面积Ax的比例Ιχ/Τχ是否大于一预设的第二最小比例值。 [0024] Step S16: The determination of the maximum area Ax Ix intersection area ratio of the contact position Ιχ / Τχ whether a value greater than a second predetermined minimum scale. 若是,则执行步骤S17 ;否则说明没有合适的可触摸项,执行步骤S18。 If yes, go to step S17; otherwise, no suitable explanation touchable items, proceed to step S18. [0025] 步骤S17:选择该最大的交集面积对应的可触摸项为选定的可触摸项,返回步骤Sii0其中,若有两个以上的可触摸项的面积与接触位置面积的交集面积均为最大,则选中其中任意一个可触摸项为选定的可触摸项。 [0025] Step S17: Select the largest touchable item corresponding to the selected area of ​​the intersection of the touch key, processing returns to step Sii0 wherein the area of ​​the contact area if two or more positions touchable items are the intersection area maximum, then select either one touch entry for the selected item can touch.

[0026] 步骤S18:发送触摸事件给所述中心点的坐标所落入的显示区域,流程结束。 [0026] Step S18: send a touch event to the central point coordinates fall within the display region, the process ends. 其中,所述显示区域是指构成画面层的显示区域,每一个画面层可能会分为多个显示区域。 Wherein said display region is a region of the display screen constituting the layers, each layer may be divided into a plurality of screen display area. 每一个显示区域内又可能会包含一个或多个可触摸项以及被触摸后不会触发任何相应功能的非触摸项,如一些图案或文字等。 Within each display region and may include one or more items, and a touch will not trigger any non-touch key is touched the corresponding function, such as some of the other patterns or characters. 在本实施方式中,发送触摸事件给所述中心点的坐标所落入的显示区域,是指当该显示区域内没有任何一个可触摸项被选中时,则发送触摸事件给所述显示区域,以触发该显示区域,如,使该整个显示区域高亮显示。 In the present embodiment, send a touch event to the central point coordinates fall within display region, is when no one touch key is selected, the touch event is sent to the display area within the display area, to trigger the display area, e.g., so that the entire area of ​​the display is highlighted.

[0027] 所述的触摸屏的触摸动作识别方法通过比较接触位置与各个可触摸项的接触面积来选定相应的可触摸项,如此,当接触位置的中心点没有落在任何一个可触摸项上时,仍可通过本发明的触摸屏的触摸动作识别方法选定用户欲选择地可触摸项,提高了触摸动作识别的精确性。 Recognition touch action [0027] The touch screen contact position by comparing with the respective touch area to select items corresponding touchable items, so, when the center point of the contact position does not fall within any of a touch on the item when the user is to select the selected still touchable items, improves the accuracy of recognition by a touch operation of the touch operation of the touch panel recognition method of the present invention.

Claims (6)

  1. 1.一种触摸屏的触摸动作识别方法,该方法包括如下步骤: Ca)在触摸屏上接收到触摸位置; (b)计算该接触位置的面积,找出与该接触位置接触的所有可触摸项,并计算与该接触位置接触的每一可触摸项的面积; (C)计算每一可触摸项的面积与接触位置的面积的交集面积与每一可触摸项的面积的比例值,并找出最大的比例值所对应的可触摸项; Cd)记录该可触摸项为选定的可触摸项。 An identification method of a touch screen touch action, the method comprising the steps of: Ca) receiving a touch position on the touch screen; (b) calculating the area of ​​the contact locations, find all items touch contact with the contact position, and calculating the area of ​​each touchable item in contact with the contact position; value of the area ratio of the area of ​​the intersection area (C) calculated for each touchable item area of ​​contact position with each touch key, and identify maximum scale value corresponding touchable item; of Cd) which can be recorded for the selected item may touch the touch key.
  2. 2.如权利要求1所述的触摸动作识别方法,其特征在于,步骤(C)之后、步骤(d)之前还包括: 将所述最大的比例值与一预设的第一最小比例值进行比较; 若该最大的比例值小于一预设的第一最小比例值,则找出具有最大交集面积的可触摸项; 选择该最大交集面积对应的可触摸项为选定的可触摸项。 The touch operation recognition method according to claim 1, wherein, after step (C), prior to step (d) further comprises: the ratio of the maximum value with a predetermined first minimum value of the ratio comparison; if the ratio of the maximum value of the first minimum value is smaller than a predetermined ratio, may identify the touched key area with the largest intersection; selecting the largest area corresponding to the intersection of the selected item may be a touch touchable items.
  3. 3.如权利要求1所述的触摸动作识别方法,其特征在于:在步骤(d)中,若有两个以上可触摸项的比例值相同且均为最大,则选择与所述接触位置的交集面积最大的可触摸项为选定的可触摸项。 The touch operation recognition method according to claim 1, wherein: in step (d), the two or more touch if the same proportion and both the maximum value of the item, selecting the contact position the intersection of the largest touch touch entry for the selected item.
  4. 4.如权利要求1所述的触摸动作识别方法,其特征在于,在步骤(d)后还包括: 判断该接触位置是否移动; 若该接触位置移动,且该接触位置在其移动轨迹的终点处与被选定的可触摸项之间存在交集面积,则激活该可触摸项的相应功能。 If the contacting position, the contact position and the end point of its movement trajectory; determining whether the contact position movement: 4. The method as claimed in touch action identified in claim 1, wherein, after step (d) further comprises between and at the intersection of the selected item may be a touch area, the touch key corresponding function is activated.
  5. 5.如权利要求1所述的触摸动作识别方法,其特征在于:步骤(a)之后、步骤(b)之前还包括计算该接触位置的中心点坐标,并判断是否有与该中心点接触的可触摸项的步骤。 The touch operation recognition method according to claim 1, wherein: after step (A), prior to step (b) further comprises calculating the center point coordinates of the contact position, and determines whether there is contact with the center point step can touch items.
  6. 6.如权利要求5所述的触摸动作识别方法,其特征在于:若不存在与该中心点接触的可触摸项,则寻找该接触位置与触摸屏接触的接触点,并判断接触点的数量是否大于一预设的接触点最大值。 The touch motion recognition method as claimed in claim 5, wherein: the number of items if there may be a touch contact with the center point, the point is to find the contact position in contact with the touch screen, and determines whether or not the contact point is greater than a predetermined maximum value of the contact point.
CN 201210449877 2012-11-12 2012-11-12 Touch action identification method for touch screen CN103809865A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201210449877 CN103809865A (en) 2012-11-12 2012-11-12 Touch action identification method for touch screen

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201210449877 CN103809865A (en) 2012-11-12 2012-11-12 Touch action identification method for touch screen

Publications (1)

Publication Number Publication Date
CN103809865A true true CN103809865A (en) 2014-05-21

Family

ID=50706726

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201210449877 CN103809865A (en) 2012-11-12 2012-11-12 Touch action identification method for touch screen

Country Status (1)

Country Link
CN (1) CN103809865A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040183833A1 (en) * 2003-03-19 2004-09-23 Chua Yong Tong Keyboard error reduction method and apparatus
US20100066694A1 (en) * 2008-09-10 2010-03-18 Opera Software Asa Method and apparatus for providing finger touch layers in a user agent
CN102117143A (en) * 2009-12-31 2011-07-06 深圳迈瑞生物医疗电子股份有限公司 Method and device for responding a touch screen
CN102346648A (en) * 2011-09-23 2012-02-08 惠州Tcl移动通信有限公司 Method and system for realizing priorities of input characters of squared up based on touch screen

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040183833A1 (en) * 2003-03-19 2004-09-23 Chua Yong Tong Keyboard error reduction method and apparatus
US20100066694A1 (en) * 2008-09-10 2010-03-18 Opera Software Asa Method and apparatus for providing finger touch layers in a user agent
CN102117143A (en) * 2009-12-31 2011-07-06 深圳迈瑞生物医疗电子股份有限公司 Method and device for responding a touch screen
CN102346648A (en) * 2011-09-23 2012-02-08 惠州Tcl移动通信有限公司 Method and system for realizing priorities of input characters of squared up based on touch screen

Similar Documents

Publication Publication Date Title
US7777732B2 (en) Multi-event input system
US20070236474A1 (en) Touch Panel with a Haptically Generated Reference Key
US20100156804A1 (en) Multi-finger sub-gesture reporting for a user interface device
US20090066659A1 (en) Computer system with touch screen and separate display screen
US20120313865A1 (en) Interactive surface with a plurality of input detection technologies
US20120260207A1 (en) Dynamic text input using on and above surface sensing of hands and fingers
US20100127995A1 (en) System and method for differentiating between intended and unintended user input on a touchpad
US7907125B2 (en) Recognizing multiple input point gestures
US9389718B1 (en) Thumb touch interface
US20110083104A1 (en) Methods and devices that resize touch selection zones while selected on a touch sensitive display
US20120154313A1 (en) Multi-touch finger registration and its applications
US20100073302A1 (en) Two-thumb qwerty keyboard
US20090237361A1 (en) Virtual keyboard based activation and dismissal
CN101498979A (en) Method for implementing virtual keyboard by utilizing condenser type touch screen
CN1326564A (en) Apparatus and method for moving objects on touchscreen display
US8325150B1 (en) Integrated overlay system for mobile devices
US20110095992A1 (en) Tools with multiple contact points for use on touch panel
CN101551723A (en) Electronic device and related control method
WO2011123099A1 (en) An image of a keyboard
JP2011134271A (en) Information processor, information processing method, and program
KR20090060888A (en) Apparatus and method for providing an adaptive on-screen keyboard
US20120274567A1 (en) Touch-enabled input device
US20090231285A1 (en) Interpreting ambiguous inputs on a touch-screen
JPH11327727A (en) System and method for screen operation
CN104216657A (en) Mobile terminal and operating method thereof

Legal Events

Date Code Title Description
C06 Publication
C10 Entry into substantive examination
WD01