Search Images Play Gmail Drive Calendar Translate Blogger More »
Sign in
Screen reader users: click this link for accessible mode. Accessible mode has the same essential features but works better with your reader.

Patents

  1. Advanced Patent Search
Publication numberCN103809865 A
Publication typeApplication
Application numberCN 201210449877
Publication dateMay 21, 2014
Filing dateNov 12, 2012
Priority dateNov 12, 2012
Publication number201210449877.X, CN 103809865 A, CN 103809865A, CN 201210449877, CN-A-103809865, CN103809865 A, CN103809865A, CN201210449877, CN201210449877.X
Inventors李智尧
Applicant国基电子(上海)有限公司, 鸿海精密工业股份有限公司
Export CitationBiBTeX, EndNote, RefMan
External Links: SIPO, Espacenet
Touch action identification method for touch screen
CN 103809865 A
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.
Claims(6)  translated from Chinese
1.一种触摸屏的触摸动作识别方法,该方法包括如下步骤: Ca)在触摸屏上接收到触摸位置; (b)计算该接触位置的面积,找出与该接触位置接触的所有可触摸项,并计算与该接触位置接触的每一可触摸项的面积; (C)计算每一可触摸项的面积与接触位置的面积的交集面积与每一可触摸项的面积的比例值,并找出最大的比例值所对应的可触摸项; Cd)记录该可触摸项为选定的可触摸项。 1. A method of identifying a touch screen touch action, the method comprising the steps of: Ca) receives the touch position on the touch screen; (b) calculation of the area of the contact position of the touch can find all items in contact with the contact position, and calculate the area of each touchable item in contact with the contact position; area (C) to calculate the area of each touchable item with the contact area of the intersection of the location area of each touchable item scale value and find the largest proportion of the value corresponding to touch items; Cd) recording the entry for the selected touch touchable items.
2.如权利要求1所述的触摸动作识别方法,其特征在于,步骤(C)之后、步骤(d)之前还包括: 将所述最大的比例值与一预设的第一最小比例值进行比较; 若该最大的比例值小于一预设的第一最小比例值,则找出具有最大交集面积的可触摸项; 选择该最大交集面积对应的可触摸项为选定的可触摸项。 2. The touch action recognition method according to claim 1, characterized in that, after step (C), further comprising prior to step (d): the ratio of the maximum value and the minimum proportion of a predetermined first value comparison; if the maximum value is less than a predetermined proportion of the first minimum scale value, identify touchable item with the largest intersection area; select the largest intersection area corresponding to the selected item can touch touchable items.
3.如权利要求1所述的触摸动作识别方法,其特征在于:在步骤(d)中,若有两个以上可触摸项的比例值相同且均为最大,则选择与所述接触位置的交集面积最大的可触摸项为选定的可触摸项。 3. The touch action recognition method according to claim 1, characterized in that: in step (d), if there are two or more touchable item scale values are the same, and the largest, is selected with the touch position the intersection of the largest touch touch entry for the selected items.
4.如权利要求1所述的触摸动作识别方法,其特征在于,在步骤(d)后还包括: 判断该接触位置是否移动; 若该接触位置移动,且该接触位置在其移动轨迹的终点处与被选定的可触摸项之间存在交集面积,则激活该可触摸项的相应功能。 If the contact position and the contact position at the end of its movement stroke; determining whether the moving contact position: The touch action recognition method according to claim 1, characterized in that, after step (d) further comprises between the Department and the selected item can touch the intersection area, activate the corresponding function that can touch the item.
5.如权利要求1所述的触摸动作识别方法,其特征在于:步骤(a)之后、步骤(b)之前还包括计算该接触位置的中心点坐标,并判断是否有与该中心点接触的可触摸项的步骤。 5. The touch action recognition method according to claim 1, characterized in that: after step (a), further comprising calculating the center coordinate of the contact position prior to step (b), and judges whether there is contact with the central point Steps can touch the item.
6.如权利要求5所述的触摸动作识别方法,其特征在于:若不存在与该中心点接触的可触摸项,则寻找该接触位置与触摸屏接触的接触点,并判断接触点的数量是否大于一预设的接触点最大值。 6. The touch action recognition method according to claim 5, characterized in that: the number of touchable items exist if contact with the center point, the contact point is to find the contact position of the contact with the touch screen, and determine whether the contact point is greater than a predetermined maximum point of contact.
Description  translated from Chinese

触摸屏的触摸动作识别方法 Touch the touch screen action recognition method

技术领域 Technical Field

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

背景技术 Background

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

[0003]目前的触摸动作的判断方法一般是计算接触位置的点坐标(如,接触位置的中心点坐标),该中心点坐标落在某一个可触摸项上,则触发该可触摸项。 [0003] The current method for determining touch action is generally calculated point coordinates (e.g., the center coordinates of the contact position) contact position, which falls on the center point coordinates of a touch of a key, which is triggered touchable 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 calculation of the center coordinates of the contact position is not accurate. 并且,若用户在触摸时手指发生偏移使接触位置的中心点坐标没有落在任何一个可触摸项上时,则无法触发所希望选择的可触摸项,造成使用的不便。 When and if the user at the touch of a finger shifted the location coordinates of the center of the contact does not fall on any one item can touch, you can not trigger the desired selection can touch items, resulting in the use of inconvenience.

发明内容 DISCLOSURE

[0005] 针对上述问题,有必要提供一种可提高信息输入准确性的触摸屏的触摸动作识别方法。 [0005] In response to these problems, it is necessary to provide an information input to improve the accuracy of the touchscreen touch action recognition.

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

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

计算该接触位置的面积,找出与该接触位置接触的所有可触摸项,并计算与该接触位置接触的每一可触摸项的面积; Calculate the position of the contact area, to find all touchable items in contact with the contact position, and calculate the area of each touch-term contact with the contact position;

计算每一可触摸项的面积与接触位置的面积的交集面积与每一可触摸项的面积的比例值,并找出最大的比例值所对应的可触摸项; Calculating the ratio of the area of each touchable item area of the contact area of the intersection area of the location and value of each touchable item, and find out the maximum ratio value corresponding touchable item;

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

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

附图说明 Brief Description

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

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

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

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

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

[0012] 步骤S4:发送触摸事件给与该中心点接触的可触摸项,以激活与该中心点接触的可触摸项的相应功能。 [0012] Step S4: Send touch event giving items that can touch the contact center to activate the corresponding function in contact with the center touchable item.

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

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

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

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

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

[0018] 步骤SlO:记录该可触摸项为选定的可触摸项。 [0018] Step SlO: to record the selected item can touch touchable items. 其中,若有两个以上可触摸项的比例Px值相同且均为最大,则选择交集面积Ix最大的可触摸项为选定的可触摸项。 Which, if more than two touch proportion Px value of the item and are the same as the maximum, then select the intersection area Ix largest touchable item is selected touchable items. 若所述的具有最大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 item.

[0019] 步骤Sll:判断该接触位置处是否被释放。 [0019] Step Sll: to determine whether the position of the contact is released. 即,判断用户手指是否已停止接触触摸屏。 That is, it is determined whether or not the user's finger has stopped touching the touch screen. 若是,则执行步骤S12;否则执行步骤S13。 If so, proceed to step S12; otherwise to step S13.

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

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

[0022] 步骤S14:判断该接触位置在其移动轨迹的终点与被选定的可触摸项是否存在交集面积。 [0022] Step S14: to judge whether the position of the contact area at the end of an intersection with the selected item can touch their mobile track. 若是,则返回步骤S12 ;否则执行步骤S18。 If so, then the process returns to step S12; otherwise, to step S18.

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

[0024] 步骤S16:判断该最大的交集面积Ix与接触位置的面积Ax的比例Ιχ/Τχ是否大于一预设的第二最小比例值。 [0024] Step S16: the judging area Ax Ix largest intersection area ratio of the contact position Ιχ / Τχ is greater than a predetermined proportion of the second minimum value. 若是,则执行步骤S17 ;否则说明没有合适的可触摸项,执行步骤S18。 If so, it proceeds to step S17; otherwise, there is no suitable explanation touchable item, step S18. [0025] 步骤S17:选择该最大的交集面积对应的可触摸项为选定的可触摸项,返回步骤Sii0其中,若有两个以上的可触摸项的面积与接触位置面积的交集面积均为最大,则选中其中任意一个可触摸项为选定的可触摸项。 [0025] Step S17: Choose the largest intersection area corresponding to the selected item can touch touchable item, return to step Sii0 wherein the contact area and the location of the area may have two or more items of the intersection of the touch area are maximum, then select any one of them can touch the item is selected touchable items.

[0026] 步骤S18:发送触摸事件给所述中心点的坐标所落入的显示区域,流程结束。 [0026] Step S18: send a touch event to the fall of the center coordinates of the display area, 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. 每一个显示区域内又可能会包含一个或多个可触摸项以及被触摸后不会触发任何相应功能的非触摸项,如一些图案或文字等。 Each display area and may contain one or more entries and touch after being touched not trigger any corresponding non-touch key functions, such as some pattern or text. 在本实施方式中,发送触摸事件给所述中心点的坐标所落入的显示区域,是指当该显示区域内没有任何一个可触摸项被选中时,则发送触摸事件给所述显示区域,以触发该显示区域,如,使该整个显示区域高亮显示。 In this embodiment, the touch event to send the coordinates of the center of the display area falls means within the display area when no one can touch the item is selected, then sent to the display area of the touch event, to trigger the display area, such as to make the entire display area is highlighted.

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

Patent Citations
Cited PatentFiling datePublication dateApplicantTitle
CN102117143A *Dec 31, 2009Jul 6, 2011深圳迈瑞生物医疗电子股份有限公司Method and device for responding a touch screen
CN102346648A *Sep 23, 2011Feb 8, 2012惠州Tcl移动通信有限公司Method and system for realizing priorities of input characters of squared up based on touch screen
US20040183833 *Mar 19, 2003Sep 23, 2004Chua Yong TongKeyboard error reduction method and apparatus
US20100066694 *Sep 9, 2009Mar 18, 2010Opera Software AsaMethod and apparatus for providing finger touch layers in a user agent
Classifications
International ClassificationG06F3/041, G06F3/0484, G06F3/0488
Legal Events
DateCodeEventDescription
May 21, 2014C06Publication
Nov 5, 2014C10Entry into substantive examination