WO2011124069A1 - Touch screen triggering method, touch apparatus and handheld device - Google Patents

Touch screen triggering method, touch apparatus and handheld device Download PDF

Info

Publication number
WO2011124069A1
WO2011124069A1 PCT/CN2010/078858 CN2010078858W WO2011124069A1 WO 2011124069 A1 WO2011124069 A1 WO 2011124069A1 CN 2010078858 W CN2010078858 W CN 2010078858W WO 2011124069 A1 WO2011124069 A1 WO 2011124069A1
Authority
WO
WIPO (PCT)
Prior art keywords
graphic
random
standard
pattern
area
Prior art date
Application number
PCT/CN2010/078858
Other languages
French (fr)
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
Application filed by 华为终端有限公司 filed Critical 华为终端有限公司
Publication of WO2011124069A1 publication Critical patent/WO2011124069A1/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/31User authentication
    • G06F21/36User authentication by graphic or iconic representation

Definitions

  • the present invention relates to the field of information input technologies, and in particular, to a touch screen triggering method, a touch device, and a handheld device. Background technique
  • the touch screen has been widely used as an input device that is small in size, convenient to use, and capable of accepting multi-point input (such as simultaneously pressing the shift key and the letter key to achieve case switching).
  • the touch input is typically generated by the pressing of a finger or a stylus.
  • the input screen requires less power, especially for capacitive touch screens (where touch screens include resistive touch screens and capacitive touch screens, etc.), fingers or touch pens (touch pens) Need to be a conductor) or even a capacitive touch screen, just touch the capacitive touch screen to generate a touch input. This makes the use of the touch screen easier and more convenient.
  • the touch screen In the process of input using the touch screen, when a large area of the palm or face contacts the resistive touch screen or is close to the capacitive touch screen, the touch screen is easily triggered, thereby causing the handheld device to generate an erroneous operation without the user's knowledge. For example, when answering a call, if the mobile communication terminal is too close to the face, it is possible to cause the face to trigger the hang up button on the touch screen, so that the user does not know In the case of the call hang up, the result is the normal call of the user.
  • An object of the embodiments of the present invention is to provide a touch screen triggering method, a touch device, and a handheld device to better prevent false triggering of the touch screen.
  • a touch screen triggering method includes:
  • the touch screen is locked when the comparison result of the random graphic parameter and the standard graphic parameter exceeds a preset range.
  • a touch device includes:
  • a comparison unit configured to compare a random graphic parameter generated by the touch input with a pre-stored standard graphic parameter
  • An operation unit configured to accept the touch input when the comparison result of the random graphic parameter and the standard graphic parameter is within a preset range, and perform a corresponding operation according to the touch input; When the comparison result of the random graphic parameter and the standard graphic parameter exceeds the preset range, the touch screen is locked.
  • a handheld device includes the touch device.
  • the touch screen triggering method, the touch device and the handheld device provided by the embodiments of the present invention can compare the random graphic parameters generated by the touch input with the pre-stored standard graphic parameters, and the random graphic parameters and the standard graphic parameters. When the comparison result exceeds the preset range, the touch screen is locked, and the touch input is rejected, so that the false trigger of the touch screen is well prevented.
  • FIG. 1 is a schematic diagram of a method for triggering a touch screen according to an embodiment of the present invention
  • FIG. 2 is a schematic flow chart of a method for triggering a touch screen according to an embodiment of the present invention
  • 3( a ) to 3 ( d ) are schematic diagrams of processes for determining the random pattern parameters
  • FIG. 4 ( a ) to FIG. 4 ( b ) are a group of determining that the random pattern does not coincide with the standard pattern.
  • FIG. 5 is a schematic diagram of another group determining the degree of non-coincidence between the random pattern and the standard pattern;
  • FIG. 6 is a schematic diagram of a touch device according to an embodiment of the present invention.
  • FIG. 7 is a detailed structural diagram of the touch device shown in FIG. 6.
  • the touch screen triggering method provided by the embodiment of the present invention can better prevent the touch screen from being triggered by mistake.
  • the method includes:
  • the touch screen triggering method provided by the embodiment of the present invention can compare the random graphic parameter generated by the touch input with the pre-stored standard graphic parameter, and the comparison result of the random graphic parameter and the standard graphic parameter exceeds a preset range. When the touch screen is locked, the touch input is rejected, so that the false trigger of the touch screen is well prevented.
  • the parameter includes a shape and an area size of the graphic. That is, it is necessary to store the outline (representing the shape) of the standard figure and the area value when the standard pattern parameters are stored in advance. After the user performs a touch input to generate a random pattern, the random pattern is processed to obtain a contour of the random pattern And area values (this will be explained in detail later).
  • comparing the random pattern with the standard graphic in terms of shape and area size, and comparing the shape and the area size of the random graphic with the shape and the area size of the standard graphic are all preset In the range, accepting the touch input; when one of the comparison results of the shape and the area size of the random graphic and the shape and the area size of the standard graphic exceeds a preset range, the touch screen is locked, and the rejection is accepted The touch input.
  • the degree of coincidence (or non-coincidence) of the random pattern and the standard pattern may be compared.
  • the preset range may be set to 20%, that is, When the non-coincidence degree of the random pattern and the standard pattern is greater than 20%, the comparison result is considered to be out of the preset range, and the touch screen is locked, and the touch input is rejected.
  • the area of the random pattern can be compared with the area of the standard figure. When the ratio is not between 80% and 120%, the comparison result can be considered to be out of the preset range, and the screen is also locked. , refuse to accept the touch input.
  • the values of the preset ranges described herein are merely examples. In other embodiments of the present invention, other different preset range values may also be set.
  • the triggering method includes:
  • Figure 3 (a) is a random pattern generated after the user touches the touch screen.
  • the random pattern can be discretized first, and the random pattern is decomposed into discrete points.
  • the discretized random pattern is shown in Figure 3 (b). Show. Then, as shown in Figure 3 (c), find the outermost discrete points in the random graph, as shown in Figure 3 (c), point 1, point 2, and point 3, etc. These outermost discrete points are the boundaries of the random graph. point.
  • S202 Connect all or part of the boundary points by a straight line or a curve to generate an outline of the random pattern.
  • the polygon formed by connecting all the boundary points by straight lines in step S202 is the outline of the random pattern
  • the area size of the polygon is the area size of the random pattern.
  • the reference coordinate system is a Cartesian coordinate system (not limited thereto, and a polar coordinate system may be established), the abscissa is X, and the ordinate is y.
  • the standard pattern described in this embodiment is a circle, and the position of the center of the standard figure (i.e., centroid) in the Cartesian coordinate system is used as a reference point.
  • S205 Perform a translation coordinate transformation on the random graphic in the reference coordinate system, so that a centroid of the random graphic coincides with the reference point.
  • centroid of the random pattern can be determined using methods commonly used in the prior art.
  • the case where the centroid of the random pattern coincides with the centroid of the standard pattern is as shown in Fig. 4(b).
  • step S207 is performed; when the non-coincidence is greater than the preset range, step S209 is performed.
  • the method for determining the non-coincidence in step S206 includes:
  • S2061 Determine a first area of the random pattern that is outside the outline of the standard figure after the centroid coincidence, and a second area where the standard figure is outside the outline of the random figure.
  • the random pattern (polygon) is located in the standard figure (circular)
  • the first area outside the contour is represented by a grid line
  • the second area of the standard pattern outside the outline of the random pattern is indicated by hatching.
  • the area size of the first area of the grid line and the area of the second area of the hatched line are calculated separately.
  • the larger one of the ratio of the first area to the standard pattern area and the ratio of the second area to the standard pattern area is used as the shape of the random pattern and the standard pattern.
  • the random figure (polygon, which is generated when the touch screen is triggered by the palm or the face) has a larger area and completely covers the standard figure, so that the first area is larger and exceeds the preset range.
  • the second area is zero.
  • the coincidence degree of the random pattern and the standard pattern at this time is not within the preset range, but if the smaller of the two is taken, the mismatch is determined.
  • step S207 Compare an area size of the random graphic with an area size of the standard graphic. When the ratio is within a preset range, perform step S208. When the ratio exceeds the preset range, execute step S209.
  • the preset range may be 80% to 120%, that is, the random pattern may be smaller than the standard graphic or larger than the standard graphic.
  • embodiments of the present invention are not limited to directly comparing the area size of the random pattern with the area size of the standard pattern. In other embodiments of the present invention, the difference between the area size of the random pattern and the area size of the standard pattern may also be used to compare with the area size of the standard pattern.
  • the random pattern and the standard pattern are first compared in terms of shape in the embodiment, in other embodiments of the present invention, the size may be firstly used in terms of area size.
  • the random pattern is compared to the standard pattern.
  • the standard pattern parameters include not only standard pattern parameters corresponding to the user's fingers but also standard pattern parameters corresponding to the touch pen.
  • the process of comparing the random pattern parameters with the standard pattern parameters corresponding to the touch pen is the same as the embodiment shown in Fig. 2.
  • the touch input can be accepted as long as the random graphic parameter can match one of a standard graphic parameter corresponding to a user's finger and a standard graphic parameter corresponding to the touch pen.
  • the touch screen triggering method in this embodiment can be applied not only to a resistive touch screen but also to a capacitive touch screen.
  • a capacitive touch screen For example, in the case of a touch screen on a mobile phone, when the user answers the call, the user's face may only be too close to the touch screen, and the touch screen is not pressed, but this is too close for the capacitive touch screen. It can be caused to be falsely triggered, so that the touch screen triggering method in the embodiment can be applied to the capacitive touch screen to achieve a better effect.
  • the embodiment of the present invention further provides a touch device, where the touch device includes: a comparing unit 601, configured to compare a random graphic parameter generated by a touch input with a pre-stored standard graphic parameter;
  • the operation unit 602 is configured to: when the comparison result of the random graphic parameter and the standard graphic parameter is within a preset range, accept the touch input, and perform a corresponding operation according to the touch input; and the locking unit 603 is configured to: The touch screen is locked when the comparison result of the random graphic parameter and the standard graphic parameter exceeds a preset range.
  • the touch device provided by the embodiment of the present invention can compare the random graphic parameter generated by the touch input with the pre-stored standard graphic parameter, and when the comparison result of the random graphic parameter and the standard graphic parameter exceeds a preset range The touch screen is locked and the touch input is rejected, so that false triggering of the touch screen is preferably prevented.
  • the parameter includes a shape and an area size of the graphic. That is, it is necessary to store the outline (representing the shape) of the standard figure and the area value when the standard pattern parameters are stored in advance. After the user makes a touch input to generate a random pattern, the random pattern is processed to obtain contour and area values of the random pattern. Then, the random pattern and the standard graphic are entered into two aspects of shape and area size.
  • the touch device may further include:
  • a boundary point obtaining unit 604 configured to acquire a boundary point of the random graphic
  • a random graphic contour generating unit 605 configured to connect all or part of the boundary points by a straight line or a curved line to generate an outline of the random graphic
  • the parameter determining unit 606 is configured to determine a shape and an area size of the random pattern according to a contour generated when the boundary point is connected.
  • the random pattern and the standard pattern can be compared in terms of both shape and area size.
  • the comparing unit 601 When comparing the random pattern and the standard pattern in terms of shape, the comparing unit 601 includes:
  • a reference point determining module 6011 configured to establish a reference coordinate system, and use a position of the centroid of the standard graphic in the reference coordinate system as a reference point;
  • a centroid coincidence module 6012 configured to perform a translation coordinate transformation on the random graphic in the reference coordinate system, so that a centroid of the random graphic coincides with the reference point;
  • a calculating module 6013 configured to calculate a non-coincidence degree between the random pattern and the standard graphic after the centroid coincidence
  • the touch screen of the touch device is directly applied to avoid erroneously triggering the touch screen.
  • the non-coincidence degree of the random pattern and the standard pattern is within a preset range, the random pattern and the standard pattern are compared in terms of area size.
  • the calculating module 6013 includes: a non-coincidence area determining sub-module 60131, configured to determine a first area after the centroid coincidence that the random pattern is outside a contour of the standard figure, and a second figure that is outside the outline of the random pattern area;
  • a non-coincidence determining sub-module 10132 configured to use a larger one of a ratio of the first area to a standard graphic area and a ratio of the second area to a standard graphic area as the random graphic and the standard graphic The shape coincides.
  • the comparing unit 601 further includes:
  • the area size comparison module 6014 is configured to calculate a ratio of an area size of the random pattern to an area size of the standard pattern. When the ratio exceeds a preset range, the touch screen of the touch device is locked to prevent the touch screen from being triggered by mistake; when the ratio is within a preset range, the touch input is accepted, and according to the touch input Perform the appropriate action.
  • the area size comparison module 601 may be further configured to calculate a difference between an area size of the random pattern and an area size of the standard graphic, and an area size of the standard graphic. ratio.
  • the embodiment of the invention further provides a handheld device.
  • the handheld device includes a touch device as described above. It should be noted that the structure and function of the touch device in the embodiment of the handheld device are the same as those of the touch device in the embodiment of the touch device, and details are not described herein.
  • the handheld device in this embodiment may be a mobile communication terminal (such as a mobile phone), a media player, a digital camera, a digital camera, a digital photo frame, a personal digital assistant, or a game machine.
  • the touch screen triggering method, the touch device, and the handheld device provided by the embodiments of the present invention can compare the random graphic parameters generated by the touch input with the pre-stored standard graphic parameters, and the random graphic parameters and the When the comparison result of the standard graphic parameters exceeds the preset range, the touch screen is locked, and the touch input is rejected, so that the false trigger of the touch screen is well prevented.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Software Systems (AREA)
  • Human Computer Interaction (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

A touch screen triggering method, a touch apparatus and a handheld device are provided, which relate to the information input technology field. The touch screen triggering method includes: comparing a random graphic parameter generated by a touch input with a pre-stored standard graphic parameter(S101); when the compared result of the random graphic parameter and the standard graphic parameter is within a predetermined range, accepting the touch input and executing the corresponding operation according to the touch input(S102); when the compared result of the random graphic parameter and the standard graphic parameter exceeds the predetermined range, locking the touch screen(S103). Malfunction in triggering the touch screen can be prevented.

Description

触摸屏触发方法、 触摸装置及手持设备 本申请要求于 2010年 4月 6日提交中国专利局、 申请号为  Touch screen triggering method, touch device and handheld device The application is submitted to the Chinese Patent Office on April 6, 2010, and the application number is
201010139577.2、 发明名称为"触摸屏触发方法、 触摸装置及手持设备"的中国 专利申请的优先权, 其全部内容通过引用结合在本申请中。 201010139577.2, the entire disclosure of which is incorporated herein by reference in its entirety in its entirety in the the the the the the the the the the the
技术领域 Technical field
本发明涉及信息输入技术领域, 尤其涉及一种触摸屏触发方法、 触摸装 置及手持设备。 背景技术  The present invention relates to the field of information input technologies, and in particular, to a touch screen triggering method, a touch device, and a handheld device. Background technique
随着手持设备便捷化和小型化, 用户对手持设备的输入配置提出了更高 的要求。 其中, 触摸屏作为一种占用体积小、 使用方便以及能够接受多点输 入(如同时按下 shift键和字母键以实现大小写切换) 的输入设备而取得了广 泛的应用。  With the convenience and miniaturization of handheld devices, users have placed higher demands on the input configuration of handheld devices. Among them, the touch screen has been widely used as an input device that is small in size, convenient to use, and capable of accepting multi-point input (such as simultaneously pressing the shift key and the letter key to achieve case switching).
在具有触摸屏的手持设备中, 一般通过手指或触摸笔的按压来产生触摸 输入。 与使用按键输入相比, 使用触摸屏进行输入时需要的力量更小, 尤其 是对于电容式触摸屏而言 (其中触摸屏包括电阻式触摸屏以及电容式触摸屏 等几种类型), 手指或者触摸笔(触摸笔需要为导体)甚至可以不和电容式触 摸屏接触, 只需要靠近电容式触摸屏就可以产生触摸输入。 这样就使得利用 触摸屏的输入更加简单便捷。  In a handheld device with a touch screen, the touch input is typically generated by the pressing of a finger or a stylus. Compared to using the key input, the input screen requires less power, especially for capacitive touch screens (where touch screens include resistive touch screens and capacitive touch screens, etc.), fingers or touch pens (touch pens) Need to be a conductor) or even a capacitive touch screen, just touch the capacitive touch screen to generate a touch input. This makes the use of the touch screen easier and more convenient.
但是在使用上述触摸屏的过程中, 发明人发现现有技术中至少存在如下 问题:  However, in the process of using the above touch screen, the inventors found that at least the following problems exist in the prior art:
在使用触摸屏进行输入的过程中, 当较大面积的手掌或面部接触电阻式 触摸屏或贴近电容式触摸屏时, 容易触发触摸屏, 从而使手持设备在用户不 知情的情况下产生误操作。 例如, 在接听电话时, 如果移动通信终端过于贴 近面部, 则有可能使面部触发该触摸屏上的挂断键, 这样就在用户不知情的 情况下使通话挂断, 结果是影响了用户的正常通话。 In the process of input using the touch screen, when a large area of the palm or face contacts the resistive touch screen or is close to the capacitive touch screen, the touch screen is easily triggered, thereby causing the handheld device to generate an erroneous operation without the user's knowledge. For example, when answering a call, if the mobile communication terminal is too close to the face, it is possible to cause the face to trigger the hang up button on the touch screen, so that the user does not know In the case of the call hang up, the result is the normal call of the user.
发明内容 Summary of the invention
本发明实施例的目的在于提供一种触摸屏触发方法、 触摸装置及手持设 备, 以较好地防止误触发触摸屏。  An object of the embodiments of the present invention is to provide a touch screen triggering method, a touch device, and a handheld device to better prevent false triggering of the touch screen.
为达到上述目的, 本发明实施例釆用如下技术方案:  In order to achieve the above object, the following technical solutions are used in the embodiments of the present invention:
一种触摸屏触发方法, 包括:  A touch screen triggering method includes:
将触摸输入产生的随机图形参数与预先存储的标准图形参数进行比较; 在所述随机图形参数与所述标准图形参数的比较结果在预设范围内时, 接受所述触摸输入, 并根据所述触摸输入执行相应操作;  Comparing the random graphic parameter generated by the touch input with a pre-stored standard graphic parameter; when the comparison result of the random graphic parameter and the standard graphic parameter is within a preset range, accepting the touch input, and according to the Touch the input to perform the corresponding operation;
在所述随机图形参数与所述标准图形参数的比较结果超出预设范围时, 锁定所述触摸屏。  The touch screen is locked when the comparison result of the random graphic parameter and the standard graphic parameter exceeds a preset range.
一种触摸装置, 包括:  A touch device includes:
比较单元, 用于将触摸输入产生的随机图形参数与预先存储的标准图形 参数进行比较;  a comparison unit, configured to compare a random graphic parameter generated by the touch input with a pre-stored standard graphic parameter;
操作单元, 用于在所述随机图形参数与所述标准图形参数的比较结果在 预设范围内时, 接受所述触摸输入, 并根据所述触摸输入执行相应操作; 锁定单元, 用于在所述随机图形参数与所述标准图形参数的比较结果超 出预设范围时, 锁定触摸屏。  An operation unit, configured to accept the touch input when the comparison result of the random graphic parameter and the standard graphic parameter is within a preset range, and perform a corresponding operation according to the touch input; When the comparison result of the random graphic parameter and the standard graphic parameter exceeds the preset range, the touch screen is locked.
一种手持设备, 包括所述触摸装置。  A handheld device includes the touch device.
本发明实施例提供的触摸屏触发方法、 触摸装置及手持设备, 由于能够 将触摸输入产生的随机图形参数与预先存储的标准图形参数进行比较, 并在 所述随机图形参数与所述标准图形参数的比较结果超出预设范围时锁定触摸 屏, 拒绝接受所述触摸输入, 因此较好地防止了触摸屏的误触发。  The touch screen triggering method, the touch device and the handheld device provided by the embodiments of the present invention can compare the random graphic parameters generated by the touch input with the pre-stored standard graphic parameters, and the random graphic parameters and the standard graphic parameters. When the comparison result exceeds the preset range, the touch screen is locked, and the touch input is rejected, so that the false trigger of the touch screen is well prevented.
附图说明 DRAWINGS
图 1为本发明实施例触摸屏触发方法的示意图;  1 is a schematic diagram of a method for triggering a touch screen according to an embodiment of the present invention;
图 2为本发明实施例触摸屏触发方法的详细流程示意图; 图 3 ( a )〜图 3 ( d )为确定所述随机图形参数的过程示意图; 图 4 ( a )〜图 4 ( b )为一组确定所述随机图形与所述标准图形不重合度 的过程示意图; 2 is a schematic flow chart of a method for triggering a touch screen according to an embodiment of the present invention; 3( a ) to 3 ( d ) are schematic diagrams of processes for determining the random pattern parameters; FIG. 4 ( a ) to FIG. 4 ( b ) are a group of determining that the random pattern does not coincide with the standard pattern. Process schematic
图 5为另一组确定所述随机图形与所述标准图形不重合度的示意图; 图 6为本发明实施例触摸装置的示意图;  5 is a schematic diagram of another group determining the degree of non-coincidence between the random pattern and the standard pattern; FIG. 6 is a schematic diagram of a touch device according to an embodiment of the present invention;
图 7为图 6所示触摸装置的详细结构示意图。  FIG. 7 is a detailed structural diagram of the touch device shown in FIG. 6.
具体实施方式 detailed description
下面结合附图对本发明实施例触摸屏触发方法、 触摸装置及手持设备进 行详细描述。  The touch screen triggering method, the touch device and the handheld device of the embodiment of the present invention are described in detail below with reference to the accompanying drawings.
应当明确, 所描述的实施例仅仅是本发明的一部分实施例, 而不是全部 的实施例。 基于本发明中的实施例, 本领域普通技术人员在没有作出创造性 劳动前提下所获得的所有其它实施例, 都属于本发明保护的范围。  It should be understood that the described embodiments are only a part of the embodiments of the invention, and not all of the embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
如图 1 所示, 本发明实施例提供的触摸屏触发方法, 能够较好地防止误 触发触摸屏, 所述方法包括:  As shown in FIG. 1 , the touch screen triggering method provided by the embodiment of the present invention can better prevent the touch screen from being triggered by mistake. The method includes:
S101 , 将触摸输入产生的随机图形参数与预先存储的标准图形参数进行 比较;  S101, comparing random graphic parameters generated by the touch input with pre-stored standard graphic parameters;
5102 , 在所述随机图形参数与所述标准图形参数的比较结果在预设范围 内时, 接受所述触摸输入, 并根据所述触摸输入执行相应操作;  5102: When the comparison result of the random graphic parameter and the standard graphic parameter is within a preset range, accept the touch input, and perform a corresponding operation according to the touch input;
5103 , 在所述随机图形参数与所述标准图形参数的比较结果超出预设范 围时, 锁定所述触摸屏。  5103. Lock the touch screen when a comparison result of the random graphic parameter and the standard graphic parameter exceeds a preset range.
本发明实施例提供的触摸屏触发方法, 由于能够将触摸输入产生的随机 图形参数与预先存储的标准图形参数进行比较, 并在所述随机图形参数与所 述标准图形参数的比较结果超出预设范围时锁定触摸屏, 拒绝接受所述触摸 输入, 因此较好地防止了触摸屏的误触发。  The touch screen triggering method provided by the embodiment of the present invention can compare the random graphic parameter generated by the touch input with the pre-stored standard graphic parameter, and the comparison result of the random graphic parameter and the standard graphic parameter exceeds a preset range. When the touch screen is locked, the touch input is rejected, so that the false trigger of the touch screen is well prevented.
其中, 所述参数包括图形的形状和面积大小。 即, 在预先存储标准图形 参数时需要存储标准图形的轮廓 (表示形状) 以及面积值。 在用户进行触摸 输入产生随机图形后, 对所述随机图形进行处理以获得所述随机图形的轮廓 和面积值(这将在后续做详细说明)。 之后就形状和面积大小两方面将所述随 机图形与所述标准图形进行比较, 并在所述随机图形的形状和面积大小与所 述标准图形的形状和面积大小的对应比较结果均在预设范围内时, 接受所述 触摸输入; 在所述随机图形的形状和面积大小与所述标准图形的形状和面积 大小的对应比较结果中的一个超出预设范围时, 锁定所述触摸屏, 拒绝接受 所述触摸输入。 Wherein, the parameter includes a shape and an area size of the graphic. That is, it is necessary to store the outline (representing the shape) of the standard figure and the area value when the standard pattern parameters are stored in advance. After the user performs a touch input to generate a random pattern, the random pattern is processed to obtain a contour of the random pattern And area values (this will be explained in detail later). Then, comparing the random pattern with the standard graphic in terms of shape and area size, and comparing the shape and the area size of the random graphic with the shape and the area size of the standard graphic are all preset In the range, accepting the touch input; when one of the comparison results of the shape and the area size of the random graphic and the shape and the area size of the standard graphic exceeds a preset range, the touch screen is locked, and the rejection is accepted The touch input.
需要说明的是, 在形状方面, 可以比较所述随机图形和所述标准图形的 重合度(或不重合度), 例如对于不重合度而言, 所述预设范围可以设置为 20%, 即当所述随机图形与所述标准图形的不重合度大于 20%时, 就认为比 较结果超出预设范围, 这时要锁定触摸屏, 拒绝接受所述触摸输入。 在面积 大小方面, 可以将所述随机图形的面积和所述标准图形的面积相比, 当比值 不在 80%~120%之间时, 可以认为比较结果超出预设范围, 这时也要锁定屏 幕, 拒绝接受所述触摸输入。 需要说明的是, 这里所述的预设范围的值仅是 举例, 在本发明的其他实施例中, 也可以设定其他不同的预设范围值。  It should be noted that, in terms of shape, the degree of coincidence (or non-coincidence) of the random pattern and the standard pattern may be compared. For example, for the degree of non-coincidence, the preset range may be set to 20%, that is, When the non-coincidence degree of the random pattern and the standard pattern is greater than 20%, the comparison result is considered to be out of the preset range, and the touch screen is locked, and the touch input is rejected. In terms of the size of the area, the area of the random pattern can be compared with the area of the standard figure. When the ratio is not between 80% and 120%, the comparison result can be considered to be out of the preset range, and the screen is also locked. , refuse to accept the touch input. It should be noted that the values of the preset ranges described herein are merely examples. In other embodiments of the present invention, other different preset range values may also be set.
下面就详细说明本实施例中所述的触摸屏触发方法。 如图 2所示, 所述 触发方法包括:  The touch screen triggering method described in this embodiment will be described in detail below. As shown in FIG. 2, the triggering method includes:
S201 , 获取随机图形的边界点。  S201. Obtain a boundary point of the random graphic.
在用户的触摸输入产生随机图形后, 获取随机图形的边界点, 以备后续 使用。 现有技术中已有多种获取图形边界点的方法, 本实施例可以借鉴使用。 例如, 图 3 ( a )为用户手指触发触摸屏后产生的随机图形, 可以首先对随机 图形进行离散化, 将随机图形分解为各个离散的点, 离散化后的随机图形如 图 3 ( b )所示。 然后如图 3 ( c )所示, 找到随机图形中处于最外侧的离散点, 如图 3 ( c ) 中的点 1、 点 2和点 3等, 这些最外侧的离散点就是随机图形的 边界点。  After the user's touch input produces a random graph, the boundary points of the random graph are obtained for later use. There are a variety of methods for obtaining graphic boundary points in the prior art, and this embodiment can be used for reference. For example, Figure 3 (a) is a random pattern generated after the user touches the touch screen. The random pattern can be discretized first, and the random pattern is decomposed into discrete points. The discretized random pattern is shown in Figure 3 (b). Show. Then, as shown in Figure 3 (c), find the outermost discrete points in the random graph, as shown in Figure 3 (c), point 1, point 2, and point 3, etc. These outermost discrete points are the boundaries of the random graph. point.
S202 , 通过直线或曲线连接全部或部分所述边界点, 产生所述随机图形 的轮廓。  S202: Connect all or part of the boundary points by a straight line or a curve to generate an outline of the random pattern.
如图 3 ( d )所示, 可以通过直线连接在图 3 ( c ) 中找到的全部边界点以 形成所述随机图形的轮廓, 图 3 ( d ) 中所述随机图形的轮廓为多边形。 在本 发明的其他实施例中, 也可以使用平滑的曲线连接全部所述边界点。 或者在 本发明的其他实施例中, 可以仅连接部分的所述边界点 (而不必连接全部所 述边界点 )。 As shown in Figure 3 (d), all the boundary points found in Figure 3 (c) can be connected by a straight line. The outline of the random pattern is formed, and the outline of the random pattern in FIG. 3(d) is a polygon. In other embodiments of the invention, all of the boundary points may also be connected using a smooth curve. Or in other embodiments of the invention, only the boundary points of the portions may be connected (without having to connect all of the boundary points).
S203 , 根据连接所述边界点时产生的轮廓确定所述随机图形的形状和面 积大小。  S203. Determine a shape and an area size of the random pattern according to a contour generated when the boundary point is connected.
具体而言, 在步骤 S202中通过直线连接全部所述边界点后形成的多边形 就是所述随机图形的轮廓, 所述多边形的面积大小就是所述随机图形的面积 大小。 其中, 现有技术中已经存在很多计算图形面积大小的方法, 在此不再 详述。  Specifically, the polygon formed by connecting all the boundary points by straight lines in step S202 is the outline of the random pattern, and the area size of the polygon is the area size of the random pattern. Among them, there are many methods for calculating the size of a graphic area in the prior art, which will not be described in detail herein.
5204 , 建立基准坐标系, 并将所述标准图形的形心在所述基准坐标系中 的位置作为基准点。  5204. Establish a reference coordinate system, and use a position of the centroid of the standard graphic in the reference coordinate system as a reference point.
本实施例中, 如图 4 ( a ) 所示, 所述基准坐标系为直角坐标系 (并不局 限于此, 也可以建立极坐标系), 横坐标为 X, 纵坐标为 y。 且本实施例中所 述标准图形为圓形, 以所述标准图形的圓心 (即形心)在直角坐标系中的位 置为基准点。  In the present embodiment, as shown in Fig. 4 (a), the reference coordinate system is a Cartesian coordinate system (not limited thereto, and a polar coordinate system may be established), the abscissa is X, and the ordinate is y. Moreover, the standard pattern described in this embodiment is a circle, and the position of the center of the standard figure (i.e., centroid) in the Cartesian coordinate system is used as a reference point.
5205 , 在所述基准坐标系中对所述随机图形进行平移坐标变换, 使所述 随机图形的形心与所述基准点重合。  S205: Perform a translation coordinate transformation on the random graphic in the reference coordinate system, so that a centroid of the random graphic coincides with the reference point.
可以使用现有技术中常用的方法确定所述随机图形的形心。 所述随机图 形的形心和所述标准图形的形心重合后的情况如图 4 ( b )所示。  The centroid of the random pattern can be determined using methods commonly used in the prior art. The case where the centroid of the random pattern coincides with the centroid of the standard pattern is as shown in Fig. 4(b).
5206 , 计算形心重合后所述随机图形与所述标准图形的不重合度。 在所 述不重合度处于预设范围之内时, 执行步骤 S207; 在所述不重合度大于预设 范围时, 执行步骤 S209。 具体而言, 步骤 S206中确定所述不重合度的方法包 括:  5206. Calculate a non-coincidence degree between the random pattern and the standard graphic after the centroid coincidence. When the non-coincidence is within the preset range, step S207 is performed; when the non-coincidence is greater than the preset range, step S209 is performed. Specifically, the method for determining the non-coincidence in step S206 includes:
S2061 , 确定形心重合后所述随机图形位于所述标准图形的轮廓之外的第 一面积、 以及所述标准图形位于所述随机图形的轮廓之外的第二面积。  S2061: Determine a first area of the random pattern that is outside the outline of the standard figure after the centroid coincidence, and a second area where the standard figure is outside the outline of the random figure.
在图 4 ( b ) 中, 所述随机图形 (多边形)位于所述标准图形 (圓形) 的 轮廓之外的第一面积使用网格线表示, 所述标准图形位于所述随机图形的轮 廓之外的第二面积使用阴影线表示。 分别计算出打网格线的第一面积的面积 大小以及打阴影线的第二面积的面积大小。 In FIG. 4(b), the random pattern (polygon) is located in the standard figure (circular) The first area outside the contour is represented by a grid line, and the second area of the standard pattern outside the outline of the random pattern is indicated by hatching. The area size of the first area of the grid line and the area of the second area of the hatched line are calculated separately.
S2062, 将所述第一面积与标准图形面积的比值、 及所述第二面积与标准 图形面积的比值中较大的一个作为所述随机图形与所述标准图形的形状不重 合度。  S2062. The larger one of the ratio of the first area to the standard pattern area and the ratio of the second area to the standard pattern area is used as the shape of the random pattern and the standard pattern.
计算所述第一面积与所述标准图形面积的比值, 以及计算所述第二面积 与所述标准图形面积的比值, 取其中较大者作为所述随机图形与所述标准图 形的形状不重合度。 这样可以避免在发生如下极端情况时错误确定所述不重 合度。 如图 5 所示, 所述随机图形 (多边形, 由手掌或脸部触发触摸屏时产 生) 的面积较大, 且完全覆盖所述标准图形, 这样所述第一面积就比较大并 超出预设范围, 所述第二面积为 0。 实际上此时所述随机图形与所述标准图形 的重合度不在预设范围之内, 但是如果取二者之中的较小者则会导致错误确 定所述不重合度。  Calculating a ratio of the first area to the standard graphic area, and calculating a ratio of the second area to the standard graphic area, wherein the larger one is not coincident with the shape of the standard graphic as the random graphic degree. This avoids erroneous determination of the mismatch when the following extremes occur. As shown in FIG. 5, the random figure (polygon, which is generated when the touch screen is triggered by the palm or the face) has a larger area and completely covers the standard figure, so that the first area is larger and exceeds the preset range. The second area is zero. Actually, the coincidence degree of the random pattern and the standard pattern at this time is not within the preset range, but if the smaller of the two is taken, the mismatch is determined.
S207 , 将所述随机图形的面积大小与所述标准图形的面积大小进行比较, 当比值在预设范围之内时, 执行步骤 S208; 当比值超出所述预设范围时, 执 行步骤 S209。  S207. Compare an area size of the random graphic with an area size of the standard graphic. When the ratio is within a preset range, perform step S208. When the ratio exceeds the preset range, execute step S209.
其中, 所述预设范围可以为 80%~120%, 即所述随机图形可以小于所述 标准图形、 也可以大于所述标准图形。 而且本发明实施例并不局限于使所述 随机图形的面积大小与所述标准图形的面积大小直接相比。 在本发明的其他 实施例中, 也可以使用所述随机图形的面积大小与所述标准图形的面积大小 的差值来与所述标准图形的面积大小进行相比。  The preset range may be 80% to 120%, that is, the random pattern may be smaller than the standard graphic or larger than the standard graphic. Moreover, embodiments of the present invention are not limited to directly comparing the area size of the random pattern with the area size of the standard pattern. In other embodiments of the present invention, the difference between the area size of the random pattern and the area size of the standard pattern may also be used to compare with the area size of the standard pattern.
5208, 接受所述触摸输入, 并根据所述触摸输入执行相应操作。  5208, accept the touch input, and perform a corresponding operation according to the touch input.
5209, 锁定触摸屏, 拒绝接受所述触摸输入, 以免误触发所述触摸屏。 这里需要说明如下两个问题:  5209. Lock the touch screen and refuse to accept the touch input to avoid false triggering of the touch screen. Here are two questions to explain:
第一, 虽然本实施例中首先在形状方面对所述随机图形与所述标准图形 进行了比较, 但在本发明的其他实施例中, 也可以首先在面积大小方面对所 述随机图形和所述标准图形进行比较。 First, although the random pattern and the standard pattern are first compared in terms of shape in the embodiment, in other embodiments of the present invention, the size may be firstly used in terms of area size. The random pattern is compared to the standard pattern.
第二, 虽然本实施例中并未说明, 但应当理解的是, 所述标准图形参数 不仅包括与用户手指相对应的标准图形参数, 还包括与触摸笔相对应的标准 图形参数。 其中将所述随机图形参数与触摸笔相对应的所述标准图形参数进 行比较的过程与图 2所示实施例相同。 而且, 只要所述随机图形参数能够与 用户手指相对应的标准图形参数以及与触摸笔相对应的标准图形参数中的一 个相匹配, 就可以接受所述触摸输入。  Second, although not illustrated in the embodiment, it should be understood that the standard pattern parameters include not only standard pattern parameters corresponding to the user's fingers but also standard pattern parameters corresponding to the touch pen. The process of comparing the random pattern parameters with the standard pattern parameters corresponding to the touch pen is the same as the embodiment shown in Fig. 2. Moreover, the touch input can be accepted as long as the random graphic parameter can match one of a standard graphic parameter corresponding to a user's finger and a standard graphic parameter corresponding to the touch pen.
而且, 本实施例中的触摸屏触发方法不仅可以适用于电阻式触摸屏, 更 加适用于电容式触摸屏。 因为以手机上的触摸屏为例而言, 在用户接听电话 时, 用户的脸部也许只会过于贴近触摸屏, 而不会按压所述触摸屏, 但这种 过于贴近对于所述电容式触摸屏而言已经能够对其造成误触发, 因此将本实 施例中的触摸屏触发方法应用到所述电容式触摸屏中能够达到更好的效果。  Moreover, the touch screen triggering method in this embodiment can be applied not only to a resistive touch screen but also to a capacitive touch screen. For example, in the case of a touch screen on a mobile phone, when the user answers the call, the user's face may only be too close to the touch screen, and the touch screen is not pressed, but this is too close for the capacitive touch screen. It can be caused to be falsely triggered, so that the touch screen triggering method in the embodiment can be applied to the capacitive touch screen to achieve a better effect.
如图 6所示, 本发明实施例还提供了一种触摸装置, 所述触摸装置包括: 比较单元 601 ,用于将触摸输入产生的随机图形参数与预先存储的标准图 形参数进行比较;  As shown in FIG. 6, the embodiment of the present invention further provides a touch device, where the touch device includes: a comparing unit 601, configured to compare a random graphic parameter generated by a touch input with a pre-stored standard graphic parameter;
操作单元 602 ,用于在所述随机图形参数与所述标准图形参数的比较结果 在预设范围内时, 接受所述触摸输入, 并根据所述触摸输入执行相应操作; 锁定单元 603 ,用于在所述随机图形参数与所述标准图形参数的比较结果 超出预设范围时, 锁定触摸屏。  The operation unit 602 is configured to: when the comparison result of the random graphic parameter and the standard graphic parameter is within a preset range, accept the touch input, and perform a corresponding operation according to the touch input; and the locking unit 603 is configured to: The touch screen is locked when the comparison result of the random graphic parameter and the standard graphic parameter exceeds a preset range.
本发明实施例提供的触摸装置, 由于能够将触摸输入产生的随机图形参 数与预先存储的标准图形参数进行比较, 并在所述随机图形参数与所述标准 图形参数的比较结果超出预设范围时锁定触摸屏, 拒绝接受所述触摸输入, 因此较好地防止了触摸屏的误触发。  The touch device provided by the embodiment of the present invention can compare the random graphic parameter generated by the touch input with the pre-stored standard graphic parameter, and when the comparison result of the random graphic parameter and the standard graphic parameter exceeds a preset range The touch screen is locked and the touch input is rejected, so that false triggering of the touch screen is preferably prevented.
其中, 所述参数包括图形的形状和面积大小。 即, 在预先存储标准图形 参数时需要存储标准图形的轮廓 (表示形状) 以及面积值。 在用户进行触摸 输入产生随机图形后, 对所述随机图形进行处理以获得所述随机图形的轮廓 和面积值。 之后就形状和面积大小两方面将所述随机图形与所述标准图形进 行比较, 并在所述随机图形的形状和面积大小与所述标准图形的形状和面积 大小的对应比较结果均在预设范围内时, 接受所述触摸输入; 在所述随机图 形的形状和面积大小与所述标准图形的形状和面积大小的对应比较结果中的 一个超出预设范围时, 锁定所述触摸屏, 拒绝接受所述触摸输入。 Wherein, the parameter includes a shape and an area size of the graphic. That is, it is necessary to store the outline (representing the shape) of the standard figure and the area value when the standard pattern parameters are stored in advance. After the user makes a touch input to generate a random pattern, the random pattern is processed to obtain contour and area values of the random pattern. Then, the random pattern and the standard graphic are entered into two aspects of shape and area size. Comparing, and accepting the touch input when the comparison result of the shape and the area size of the random pattern and the shape and the area size of the standard graphic are within a preset range; in the shape of the random graphic and When one of the comparison results of the area size and the shape and the area size of the standard figure exceeds the preset range, the touch screen is locked, and the touch input is rejected.
具体而言, 如图 7 所示, 为了获取所述随机图形的形状和面积大小, 所 述触摸装置还可以包括:  Specifically, as shown in FIG. 7, in order to obtain the shape and the size of the random graphic, the touch device may further include:
边界点获取单元 604 , 用于获取所述随机图形的边界点;  a boundary point obtaining unit 604, configured to acquire a boundary point of the random graphic;
随机图形轮廓产生单元 605 ,用于通过直线或曲线连接全部或部分所述边 界点, 产生所述随机图形的轮廓;  a random graphic contour generating unit 605, configured to connect all or part of the boundary points by a straight line or a curved line to generate an outline of the random graphic;
参数确定单元 606,用于根据连接所述边界点时产生的轮廓确定所述随机 图形的形状和面积大小。  The parameter determining unit 606 is configured to determine a shape and an area size of the random pattern according to a contour generated when the boundary point is connected.
在获取所述随机图形的形状和面积大小之后, 就可以在形状和面积大小 两方面对所述随机图形和所述标准图形进行比较了。  After acquiring the shape and area size of the random pattern, the random pattern and the standard pattern can be compared in terms of both shape and area size.
首先在形状方面对所述随机图形和所述标准图形进行比较时, 所述比较 单元 601包括:  When comparing the random pattern and the standard pattern in terms of shape, the comparing unit 601 includes:
基准点确定模块 6011 , 用于建立基准坐标系, 并将所述标准图形的形心 在所述基准坐标系中的位置作为基准点;  a reference point determining module 6011, configured to establish a reference coordinate system, and use a position of the centroid of the standard graphic in the reference coordinate system as a reference point;
形心重合模块 6012 , 用于在所述基准坐标系中对所述随机图形进行平移 坐标变换, 使所述随机图形的形心与所述基准点重合;  a centroid coincidence module 6012, configured to perform a translation coordinate transformation on the random graphic in the reference coordinate system, so that a centroid of the random graphic coincides with the reference point;
计算模块 6013 , 用于计算形心重合后所述随机图形与所述标准图形的不 重合度; 和  a calculating module 6013, configured to calculate a non-coincidence degree between the random pattern and the standard graphic after the centroid coincidence;
一个用于对所述不重合度与所述预设范围进行比较的模块。  A module for comparing the non-coincidence degree with the preset range.
当所述随机图形与所述标准图形的不重合度超出预设范围时, 就直接应 用所述触摸装置的触摸屏, 以避免误触发所述触摸屏。 当所述随机图形与所 述标准图形的不重合度位于预设范围之内时, 再在面积大小方面对所述随机 图形和所述标准图形进行比较。  When the non-coincidence degree of the random pattern and the standard pattern exceeds a preset range, the touch screen of the touch device is directly applied to avoid erroneously triggering the touch screen. When the non-coincidence degree of the random pattern and the standard pattern is within a preset range, the random pattern and the standard pattern are compared in terms of area size.
具体而言, 为计算所述不重合度, 所述计算模块 6013包括: 不重合面积确定子模块 60131 ,用于确定形心重合后所述随机图形位于所 述标准图形的轮廓之外的第一面积、 以及所述标准图形位于所述随机图形的 轮廓之外的第二面积; Specifically, to calculate the non-coincidence degree, the calculating module 6013 includes: a non-coincidence area determining sub-module 60131, configured to determine a first area after the centroid coincidence that the random pattern is outside a contour of the standard figure, and a second figure that is outside the outline of the random pattern area;
不重合度确定子模块 10132 , 用于将所述第一面积与标准图形面积的比 值、 及所述第二面积与标准图形面积的比值中较大的一个作为所述随机图形 与所述标准图形的形状重合度。  a non-coincidence determining sub-module 10132, configured to use a larger one of a ratio of the first area to a standard graphic area and a ratio of the second area to a standard graphic area as the random graphic and the standard graphic The shape coincides.
其次在面积大小方面对所述随机图形和所述标准图形进行比较时, 所述 比较单元 601还包括:  When the random pattern and the standard pattern are compared in terms of area size, the comparing unit 601 further includes:
面积大小比较模块 6014, 用于计算所述随机图形的面积大小和所述标准 图形的面积大小的比值。 当所述比值超出预设范围时, 锁定应用所述触摸装 置的触摸屏, 以免误触发所述触摸屏; 当所述比值位于预设范围之内时, 接 受所述触摸输入, 并根据所述触摸输入执行相应的操作。  The area size comparison module 6014 is configured to calculate a ratio of an area size of the random pattern to an area size of the standard pattern. When the ratio exceeds a preset range, the touch screen of the touch device is locked to prevent the touch screen from being triggered by mistake; when the ratio is within a preset range, the touch input is accepted, and according to the touch input Perform the appropriate action.
或者, 在本发明的其他实施例中, 所述面积大小比较模块 601 还可用于 计算所述随机图形的面积大小与所述标准图形的面积大小的差值、 与所述标 准图形的面积大小的比值。  Alternatively, in other embodiments of the present invention, the area size comparison module 601 may be further configured to calculate a difference between an area size of the random pattern and an area size of the standard graphic, and an area size of the standard graphic. ratio.
除此之外, 本发明实施例还提供了一种手持设备。 所述手持设备包括如 上所述的触摸装置。 需要说明的是, 所述手持设备实施例中的触摸装置的结 构和功能与所述触摸装置实施例中的触摸装置的结构和功能相同, 在此不再 赘述。  In addition, the embodiment of the invention further provides a handheld device. The handheld device includes a touch device as described above. It should be noted that the structure and function of the touch device in the embodiment of the handheld device are the same as those of the touch device in the embodiment of the touch device, and details are not described herein.
举例而言, 本实施例中所述手持设备可以为移动通信终端(如手机)、 媒 体播放器、 数码相机、 数码相机、 数码相框、 个人数字助理或游戏机等。  For example, the handheld device in this embodiment may be a mobile communication terminal (such as a mobile phone), a media player, a digital camera, a digital camera, a digital photo frame, a personal digital assistant, or a game machine.
综上所述, 本发明实施例提供的触摸屏触发方法、 触摸装置及手持设备, 由于能够将触摸输入产生的随机图形参数与预先存储的标准图形参数进行比 较, 并在所述随机图形参数与所述标准图形参数的比较结果超出预设范围时 锁定触摸屏, 拒绝接受所述触摸输入, 因此较好地防止了触摸屏的误触发。  In summary, the touch screen triggering method, the touch device, and the handheld device provided by the embodiments of the present invention can compare the random graphic parameters generated by the touch input with the pre-stored standard graphic parameters, and the random graphic parameters and the When the comparison result of the standard graphic parameters exceeds the preset range, the touch screen is locked, and the touch input is rejected, so that the false trigger of the touch screen is well prevented.
以上所述, 仅为本发明的具体实施方式, 但本发明的保护范围并不局限 于此, 任何熟悉本技术领域的技术人员在本发明揭露的技术范围内, 可轻易 想到变化或替换, 都应涵盖在本发明的保护范围之内。 因此, 本发明的保护 范围应以权利要求所述的保护范围为准。 The above is only a specific embodiment of the present invention, but the scope of protection of the present invention is not limited thereto, and any person skilled in the art can easily within the technical scope disclosed by the present invention. Any changes or substitutions are contemplated as being within the scope of the invention. Therefore, the scope of the invention should be determined by the scope of the claims.

Claims

权 利 要求 Rights request
1、 一种触摸屏触发方法, 其特征在于, 包括:  A touch screen triggering method, comprising:
将触摸输入产生的随机图形参数与预先存储的标准图形参数进行比较; 在所述随机图形参数与所述标准图形参数的比较结果在预设范围内时, 接受所述触摸输入, 并根据所述触摸输入执行相应操作;  Comparing the random graphic parameter generated by the touch input with a pre-stored standard graphic parameter; when the comparison result of the random graphic parameter and the standard graphic parameter is within a preset range, accepting the touch input, and according to the Touch the input to perform the corresponding operation;
在所述随机图形参数与所述标准图形参数的比较结果超出预设范围时, 锁定所述触摸屏。  The touch screen is locked when the comparison result of the random graphic parameter and the standard graphic parameter exceeds a preset range.
2、 根据权利要求 1所述的触摸屏触发方法, 其特征在于, 所述参数包括 图形的形状和面积大小;  2. The touch screen triggering method according to claim 1, wherein the parameter comprises a shape and an area size of the graphic;
在所述随机图形的形状和面积大小与所述标准图形的形状和面积大小的 对应比较结果均在预设范围内时, 接受所述触摸输入;  Receiving the touch input when a comparison result of a shape and an area size of the random pattern and a shape and an area size of the standard graphic are within a preset range;
在所述随机图形的形状和面积大小与所述标准图形的形状和面积大小的 对应比较结果中的一个超出预设范围时, 锁定所述触摸屏。  The touch screen is locked when one of the comparison results of the shape and the area size of the random pattern and the shape and the area size of the standard pattern exceeds a preset range.
3、 根据权利要求 2所述的触摸屏触发方法, 其特征在于, 在将触摸输入 产生的随机图形参数与预先存储的标准图形参数进行比较之前, 所述方法还 包括:  The touch screen triggering method according to claim 2, wherein before the comparing the random graphic parameters generated by the touch input with the pre-stored standard graphic parameters, the method further comprises:
获取所述随机图形的边界点;  Obtaining a boundary point of the random graphic;
通过直线或曲线连接全部或部分所述边界点, 产生所述随机图形的轮廓; 根据连接所述边界点时产生的轮廓确定所述随机图形的形状和面积大 小。  The boundary of the random pattern is generated by connecting all or part of the boundary points by a straight line or a curve; and the shape and the area size of the random pattern are determined according to the contour generated when the boundary points are connected.
4、 根据权利要求 2所述的触摸屏触发方法, 其特征在于, 将所述随机图 形的形状与所述标准图形的形状进行比较包括:  4. The touch screen triggering method according to claim 2, wherein comparing the shape of the random pattern with the shape of the standard graphic comprises:
建立基准坐标系, 并将所述标准图形的形心在所述基准坐标系中的位置 作为基准点;  Establishing a reference coordinate system, and using a position of the centroid of the standard figure in the reference coordinate system as a reference point;
在所述基准坐标系中对所述随机图形进行平移坐标变换, 使所述随机图 形的形心与所述基准点重合;  Performing translation coordinate transformation on the random graphic in the reference coordinate system, so that the centroid of the random pattern coincides with the reference point;
计算形心重合后所述随机图形与所述标准图形的不重合度, 将所述不重 合度与所述预设范围进行比较。 Calculating a degree of non-coincidence between the random pattern and the standard pattern after centroid coincidence, The degree of fit is compared to the preset range.
5、 根据权利要求 4所述的触摸屏触发方法, 其特征在于, 计算形心重合 后所述随机图形与所述标准图形的不重合度包括:  The touch screen triggering method according to claim 4, wherein calculating the mismatch between the random pattern and the standard pattern after centroid coincidence comprises:
确定形心重合后所述随机图形位于所述标准图形的轮廓之外的第一面 积、 以及所述标准图形位于所述随机图形的轮廓之外的第二面积;  Determining a first area of the random pattern that is outside the outline of the standard pattern after the centroid coincidence, and a second area in which the standard pattern is outside the outline of the random pattern;
将所述第一面积与标准图形面积的比值、 及所述第二面积与标准图形面 积的比值中较大的一个作为所述随机图形与所述标准图形的形状不重合度。  The larger one of the ratio of the first area to the standard pattern area and the ratio of the second area to the standard pattern area is used as the shape of the random pattern and the standard pattern.
6、 一种触摸装置, 其特征在于, 包括:  6. A touch device, comprising:
比较单元, 用于将触摸输入产生的随机图形参数与预先存储的标准图形 参数进行比较;  a comparison unit, configured to compare a random graphic parameter generated by the touch input with a pre-stored standard graphic parameter;
操作单元, 用于在所述随机图形参数与所述标准图形参数的比较结果在 预设范围内时, 接受所述触摸输入, 并根据所述触摸输入执行相应操作; 锁定单元, 用于在所述随机图形参数与所述标准图形参数的比较结果超 出预设范围时, 锁定触摸屏。  An operation unit, configured to accept the touch input when the comparison result of the random graphic parameter and the standard graphic parameter is within a preset range, and perform a corresponding operation according to the touch input; When the comparison result of the random graphic parameter and the standard graphic parameter exceeds the preset range, the touch screen is locked.
7、 根据权利要求 6所述的触摸装置, 其特征在于, 所述参数包括图形的 形状和面积大小;  7. The touch device according to claim 6, wherein the parameter comprises a shape and an area size of the graphic;
所述操作单元具体用于在所述随机图形的形状和面积大小与所述标准图 形的形状和面积大小的对应比较结果均在预设范围内时, 接受所述触摸输入; 所述锁定单元具体用于在所述随机图形的形状和面积大小与所述标准图 形的形状和面积大小的对应比较结果中的一个超出预设范围时, 锁定所述触 摸屏。  The operation unit is specifically configured to: when the comparison result of the shape and the area size of the random graphic and the shape and the area size of the standard graphic are within a preset range, accept the touch input; The touch screen is locked when one of a comparison result of the shape and the area size of the random pattern and the shape and the area size of the standard pattern exceeds a preset range.
8、根据权利要求 7所述的触摸装置, 其特征在于, 所述触摸装置还包括: 边界点获取单元, 用于获取所述随机图形的边界点;  The touch device according to claim 7, wherein the touch device further includes: a boundary point acquiring unit, configured to acquire a boundary point of the random graphic;
随机图形轮廓产生单元, 用于通过直线或曲线连接全部或部分所述边界 点, 产生所述随机图形的轮廓;  a random pattern contour generating unit, configured to connect all or part of the boundary points by a straight line or a curve to generate an outline of the random pattern;
参数确定单元, 用于根据连接所述边界点时产生的轮廓确定所述随机图 形的形状和面积大小。 And a parameter determining unit, configured to determine a shape and an area size of the random graphic according to a contour generated when the boundary point is connected.
9、 根据权利要求 8所述的触摸装置, 其特征在于, 所述比较单元包括: 基准点确定模块, 用于建立基准坐标系, 并将所述标准图形的形心在所 述基准坐标系中的位置作为基准点; The touch device according to claim 8, wherein the comparing unit comprises: a reference point determining module, configured to establish a reference coordinate system, and the centroid of the standard graphic is in the reference coordinate system Position as a reference point;
形心重合模块, 用于在所述基准坐标系中对所述随机图形进行平移坐标 变换, 使所述随机图形的形心与所述基准点重合;  a centroid coincidence module, configured to perform a translation coordinate transformation on the random graphic in the reference coordinate system, so that a centroid of the random graphic coincides with the reference point;
计算模块, 用于计算形心重合后所述随机图形与所述标准图形的不重合 度; 和  a calculation module, configured to calculate a non-coincidence degree between the random pattern and the standard graphic after centroid coincidence;
一个用于对所述不重合度与所述预设范围进行比较的模块。  A module for comparing the non-coincidence degree with the preset range.
10、 根据权利要求 9所述的触摸装置, 其特征在于, 所述计算模块包括: 不重合面积确定子模块, 用于确定形心重合后所述随机图形位于所述标 准图形的轮廓之外的第一面积、 以及所述标准图形位于所述随机图形的轮廓 之外的第二面积;  The touch device according to claim 9, wherein the calculation module comprises: a non-coincidence area determining sub-module, configured to determine that the random pattern is outside the outline of the standard graphic after the centroid coincidence a first area, and a second area of the standard pattern outside the outline of the random pattern;
不重合度确定子模块, 用于将所述第一面积与标准图形面积的比值、 及 所述第二面积与标准图形面积的比值中较大的一个作为所述随机图形与所述 标准图形的形状重合度。  a non-coincidence determining submodule, wherein a larger one of a ratio of the first area to a standard graphic area and a ratio of the second area to a standard graphic area is used as the random graphic and the standard graphic Shape coincidence.
11、 一种手持设备, 其特征在于, 包括如权利要求 6至 10任一项所述的 触摸装置。  A handheld device, comprising the touch device according to any one of claims 6 to 10.
PCT/CN2010/078858 2010-04-06 2010-11-18 Touch screen triggering method, touch apparatus and handheld device WO2011124069A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201010139577.2 2010-04-06
CN2010101395772A CN101794197B (en) 2010-04-06 2010-04-06 Triggering method of touch screen, touch device and handheld device

Publications (1)

Publication Number Publication Date
WO2011124069A1 true WO2011124069A1 (en) 2011-10-13

Family

ID=42586923

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2010/078858 WO2011124069A1 (en) 2010-04-06 2010-11-18 Touch screen triggering method, touch apparatus and handheld device

Country Status (2)

Country Link
CN (1) CN101794197B (en)
WO (1) WO2011124069A1 (en)

Families Citing this family (21)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101794197B (en) * 2010-04-06 2012-11-07 华为终端有限公司 Triggering method of touch screen, touch device and handheld device
CN102387252A (en) * 2011-10-11 2012-03-21 惠州Tcl移动通信有限公司 Handheld equipment and method for preventing touch screen from spurious triggering in call process of handheld equipment
CN102761670A (en) * 2012-07-26 2012-10-31 江西联创电子有限公司 Method for preventing misoperation of capacitive touch screen during phone call
CN102946472A (en) * 2012-10-24 2013-02-27 广东欧珀移动通信有限公司 Incoming call processing method and mobile terminal
CN103995661A (en) * 2013-02-20 2014-08-20 腾讯科技(深圳)有限公司 Method for triggering application programs or application program functions through gestures, and terminal
CN103442134B (en) * 2013-08-19 2016-12-28 惠州Tcl移动通信有限公司 Realize the method and system of mobile terminal touch screen switching function
CN104423656B (en) 2013-08-20 2018-08-17 南京中兴新软件有限责任公司 Mistaken touch recognition methods and device
CN104423681A (en) * 2013-09-10 2015-03-18 中兴通讯股份有限公司 Method and system for preventing touch screen from false triggering
CN103870158B (en) * 2014-03-10 2017-12-29 联想(北京)有限公司 Information processing method and electronic equipment
CN104679429A (en) * 2015-02-12 2015-06-03 深圳市中兴移动通信有限公司 Accidental-touch-prevention method and device
US10254881B2 (en) * 2015-06-29 2019-04-09 Qualcomm Incorporated Ultrasonic touch sensor-based virtual button
CN106446643B (en) * 2015-08-12 2022-01-28 中兴通讯股份有限公司 Terminal control method and device
CN106470265A (en) * 2015-08-18 2017-03-01 中兴通讯股份有限公司 Call handling method and device
CN106547381B (en) * 2015-09-22 2019-08-02 中移(杭州)信息技术有限公司 A kind of method and apparatus of mobile terminal false-touch prevention
CN106775367A (en) * 2015-11-24 2017-05-31 中兴通讯股份有限公司 The operating method and device of terminal touch-control
CN106095317B (en) * 2016-06-15 2020-07-10 海信视像科技股份有限公司 Touch screen response method and terminal
CN106297049B (en) * 2016-07-29 2020-02-21 广州麦海企业管理有限公司 False touch prevention method based on contact number detection and intelligent express cabinet thereof
CN107040657B (en) * 2017-04-06 2020-04-14 普联技术有限公司 Method and device for preventing touch screen from being triggered mistakenly
CN109634450A (en) 2017-10-09 2019-04-16 华为技术有限公司 False-touch prevention detection method, device and terminal
CN109521906A (en) * 2018-10-31 2019-03-26 上海与德通讯技术有限公司 The method and device of false-touch prevention, equipment, readable storage medium storing program for executing
CN109697086B (en) * 2018-12-28 2022-07-08 Tcl移动通信科技(宁波)有限公司 Mobile terminal application program starting processing method, mobile terminal and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000347787A (en) * 1999-06-09 2000-12-15 Victor Co Of Japan Ltd Touch panel display device
CN1912819A (en) * 2005-08-12 2007-02-14 乐金电子(中国)研究开发中心有限公司 Touch input recognition method for terminal provided with touch screen and terminal thereof
CN101377711A (en) * 2007-08-28 2009-03-04 Lg电子株式会社 Mobile terminal
CN101436109A (en) * 2007-11-13 2009-05-20 英华达(上海)科技有限公司 Improved method of touch control apparatus fixed point test
WO2009109014A1 (en) * 2008-03-05 2009-09-11 Rpo Pty Limited Methods for operation of a touch input device
CN101794197A (en) * 2010-04-06 2010-08-04 华为终端有限公司 Triggering method of touch screen, touch device and handheld device

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5398310A (en) * 1992-04-13 1995-03-14 Apple Computer, Incorporated Pointing gesture based computer note pad paging and scrolling interface
CN101581991B (en) * 2008-05-15 2011-12-07 宏达国际电子股份有限公司 Operating method, system and storage media

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000347787A (en) * 1999-06-09 2000-12-15 Victor Co Of Japan Ltd Touch panel display device
CN1912819A (en) * 2005-08-12 2007-02-14 乐金电子(中国)研究开发中心有限公司 Touch input recognition method for terminal provided with touch screen and terminal thereof
CN101377711A (en) * 2007-08-28 2009-03-04 Lg电子株式会社 Mobile terminal
CN101436109A (en) * 2007-11-13 2009-05-20 英华达(上海)科技有限公司 Improved method of touch control apparatus fixed point test
WO2009109014A1 (en) * 2008-03-05 2009-09-11 Rpo Pty Limited Methods for operation of a touch input device
CN101794197A (en) * 2010-04-06 2010-08-04 华为终端有限公司 Triggering method of touch screen, touch device and handheld device

Also Published As

Publication number Publication date
CN101794197B (en) 2012-11-07
CN101794197A (en) 2010-08-04

Similar Documents

Publication Publication Date Title
WO2011124069A1 (en) Touch screen triggering method, touch apparatus and handheld device
JP6790259B2 (en) Methods and terminals to prevent accidental touches
US10228844B2 (en) Mobile terminal
US10198109B2 (en) Supplementing a touch input mechanism with fingerprint detection
US9007314B2 (en) Method for touch processing and mobile terminal
TWI481248B (en) Mobile phone control method
WO2012155428A1 (en) Method and portable terminal equipment for unlocking terminal screen lock
US20170083219A1 (en) Touchscreen Apparatus User Interface Processing Method and Touchscreen Apparatus
US20160054815A1 (en) Method and mobile terminal for processing touch input
WO2018119732A1 (en) Information processing method and apparatus
WO2017005020A1 (en) Mobile terminal, and method therefor for realizing automatic answering
WO2016078504A1 (en) Identity authentication method and device
WO2018148902A1 (en) Button detection method and device
AU2019203256B2 (en) Fingerprint event processing method, apparatus, and terminal
CN109117619A (en) Unlocked by fingerprint method and Related product
US9894522B2 (en) Methods of automatically answering a phone call with a mobile terminal and associated mobile terminals
WO2014173327A1 (en) Method and device for adjusting a button identification region
KR20090131757A (en) Method of recognizing valid touch of video processing apparatus with touch input device and video processing apparatus performing the same
KR20140049705A (en) Fingerprint locking system
WO2015192490A1 (en) Method, device, and terminal for removing jittering on touchscreen
CN103543933A (en) Method for selecting files and touch terminal
WO2019071571A1 (en) Information processing method, related device, and computer storage medium
CN110162372B (en) Virtual key creation method and related equipment
WO2017000343A1 (en) Fingerprint unlocking method and terminal
CN107480499B (en) Child lock control method and device in working of touch screen equipment and terminal

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 10849305

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 10849305

Country of ref document: EP

Kind code of ref document: A1