WO2020051797A1 - 防误触方法及电子装置 - Google Patents

防误触方法及电子装置 Download PDF

Info

Publication number
WO2020051797A1
WO2020051797A1 PCT/CN2018/105208 CN2018105208W WO2020051797A1 WO 2020051797 A1 WO2020051797 A1 WO 2020051797A1 CN 2018105208 W CN2018105208 W CN 2018105208W WO 2020051797 A1 WO2020051797 A1 WO 2020051797A1
Authority
WO
WIPO (PCT)
Prior art keywords
touch
display boundary
center position
distance
area
Prior art date
Application number
PCT/CN2018/105208
Other languages
English (en)
French (fr)
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 深圳市柔宇科技有限公司
Priority to CN201880094116.2A priority Critical patent/CN112639711A/zh
Priority to PCT/CN2018/105208 priority patent/WO2020051797A1/zh
Publication of WO2020051797A1 publication Critical patent/WO2020051797A1/zh

Links

Images

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/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • 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

Definitions

  • the invention belongs to the technical field of touch operation of electronic equipment, and particularly relates to a method for preventing false touch and an electronic device.
  • touch screens Due to the convenience of human-computer interaction, touch screens have been widely used in electronic devices such as smart phones and tablet computers.
  • other hand parts other than the touch finger often touch the touch screen, and then a misoperation phenomenon occurs, which affects the currently running applications, such as interrupting video playback. Or make the reading document turn pages in advance, which inconveniences the user and affects the user experience.
  • the present invention provides a method for preventing false touch to solve the above-mentioned problems.
  • the method for preventing false touch provided in this application is applied to an electronic device, the electronic device includes a touch screen, and the method for preventing false touch includes:
  • a non-touch area is determined according to the center position and the critical display boundary, and the non-touch area is set as an area that does not respond to a user touch.
  • the present invention also provides an electronic device.
  • the electronic device includes a touch screen, a plurality of infrared sensors and a processor arranged in a matrix distribution under the touch screen, and the processor is connected to the infrared sensor.
  • the touch screen includes a display boundary; the infrared sensor is configured to detect a distance of a touch object from the touch screen; and the processor is configured to detect the distance of the touch object from the touch screen according to the infrared sensor. Determines that the touch object is located within a preset distance range, determines the center position of the touch object in the projection area of the touch screen, and determines the touch point closest to the center position according to the center position.
  • the display boundary of the screen is a critical display boundary; a non-touch area is determined according to the center position and the critical display boundary, and the non-touch area is set as an area that does not respond to a user touch.
  • the anti-false touch method provided by the present invention enables a touch object to set the area between the display boundary closest to the center and the touch center as a non-touch area when touching, which can prevent a user's hand from holding the touch screen boundary At this time, a misoperation is performed on the area between the display boundary closest to the touch center and the touch center to generate a response, thereby improving the user experience.
  • FIG. 1 is a flowchart of a method for preventing false touch provided in an embodiment of the present invention
  • FIG. 2 is a schematic diagram of a touch screen of an electronic device running the above-mentioned method for preventing false touch in an embodiment of the present invention
  • FIG. 3 is a schematic diagram of a touch screen of an electronic device running a method for preventing mis-touch in another embodiment of the present invention
  • FIG. 4 is a schematic diagram of a touch screen of an electronic device running a method for preventing mis-touch in another embodiment of the present invention
  • FIG. 5 is a schematic diagram of a touch screen of an electronic device running an anti-false touch method in still another embodiment of the present invention.
  • FIG. 6 is a schematic diagram of a touch screen of an electronic device performing a method for determining a non-touch area according to an embodiment of the present invention
  • FIG. 7 is a schematic diagram of a touch screen of an electronic device performing a method for determining a non-touch area in another embodiment of the present invention.
  • FIG. 8 is a flowchart of a touch screen of an electronic device performing a method for determining a center position according to an embodiment of the present invention
  • FIG. 9 is a schematic diagram of distribution of an infrared sensor on a touch screen provided in an embodiment of the present invention.
  • FIG. 10 is a schematic diagram of a touch screen of an electronic device when a touch object is between a first preset value and a second preset value from a touch screen according to an embodiment of the present invention
  • FIG. 11 is a schematic diagram of a touch screen of an electronic device when a distance between a touch object and a touch screen is changed from between a first preset value and a second preset value to be smaller than the first preset value according to another embodiment of the present invention; ;
  • FIG. 12 is a schematic diagram of a touch screen of an electronic device when a projection position of a touch object on a touch screen is moved from point B to point B1 in another embodiment of the present invention
  • FIG. 13 is a schematic diagram of a method for determining a center position on a touch screen according to an embodiment of the present invention
  • FIG. 14 is a flowchart of a method for determining a center position according to another embodiment of the present invention.
  • FIG. 15 is a sub-flow chart of step 200 in FIG. 1.
  • an embodiment herein means that a particular feature, structure, or characteristic described in connection with the embodiment may be included in at least one embodiment of the invention.
  • the appearances of this phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are they independent or alternative embodiments that are mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.
  • an embodiment of the present invention provides a method for preventing false touch, which is applied to an electronic device 10.
  • the electronic device 10 includes a touch screen 100.
  • the method for preventing false touch includes the following steps:
  • step S100 it is determined that the touch object 200 is located within a preset distance range according to the distance of the touch object 200 from the touch screen 100, and the center position B of the projection area 300 on the touch screen 100 is determined.
  • the distance between the touch object 200 and the touch screen 100 is the distance between the touch object 200 and the projection on the touch screen 100, and further, for example, as shown in FIG. The distance from the vertex A of the object 200 to the touch screen 100.
  • the touch object 200 is a user's finger.
  • the touch object 200 may also be a stylus or other objects that can perform touch operations on the touch screen 100.
  • step S200 according to the center position B, it is determined that the display boundary 110 of the touch screen 100 closest to the center position B is a critical display boundary.
  • the touch screen 100 includes four display borders 110, and the display borders 110 are border lines surrounding the display area of the touch screen 100.
  • step S300 when the center position B is equal to the two critical display boundaries and the two critical display boundaries are parallel to each other, the following step S300 is ended, that is, the non-touch display area 400 is not determined.
  • the center position B is equal to and closest to the first display boundary 111 and the third display boundary 113, and the non-touch display area 400 is not determined at this time.
  • the distance between the central position B and the two critical display boundaries is equal, and the two display boundaries 110 are perpendicular to each other, determine the two perpendicular lines from the central position B to the two critical display boundaries and the two critical display boundaries.
  • the enclosed area is the non-touch display area 400. As shown in FIG.
  • the center position B is equal to and closest to the first display boundary 111 and the fourth display boundary 114, and the two vertical lines from the center position B to the first display boundary 111 and the fourth display boundary 114 and the first
  • the area surrounded by the display boundary 111 and the fourth display boundary 114 is a non-touch display area 400.
  • step S300 is also ended, that is, the non-touch display area 400 is not determined.
  • the center position B is equal to and closest to the first display boundary 111, the third display boundary 113, and the fourth display boundary 114, and the non-touch display area 400 is not determined at this time.
  • step S300 the non-touch area 400 is determined according to the center position B and the critical display boundary, and the non-touch area 400 is set as an area that does not respond to the user's touch.
  • the anti-false touch method provided by the present invention enables the touch object 200 to set the area between the display boundary closest to the center position B and the touch center position B as the non-touch area 400 when the touch object 200 is touched, which can avoid the user's hand
  • a misoperation is performed on the area between the display boundary closest to the center position B and the touch center position B to improve the user experience.
  • the “determining the non-touch area 400 according to the center position B and the critical display boundary” includes:
  • the non-touch area 400 is determined according to the distance between the center position B and the critical display boundary, the first preset radius r of the non-touch area 400 and the second preset radius R of the preset touch area 500, the preset touch
  • the control area 500 refers to a circular area with the center position B as the center and the second preset radius R as the radius.
  • the left display boundary 111 of the touch screen 100 is a critical display boundary.
  • the distance between the center position B and the critical display boundary is greater than 2 * r + R
  • the circular area formed by using the point r + R from the center position B as the center and the radius r is determined as the non-touch area 400, and A line M connecting the center C of the non-touch area 400 and the center position B is perpendicular to the critical display boundary 111; wherein r is a first preset radius and R is a second preset radius.
  • the touch object 200 user's finger
  • the touch screen 100 for touch operation When the user holds the electronic device, when the touch object 200 (user's finger) is placed near the boundary of the touch screen 100 for touch operation, the touch may occur due to the contact between the grip part and the touch screen.
  • the non-touch area 400 can avoid the occurrence of such a false touch situation and improve the user experience.
  • the first preset radius r is equal to the second preset radius R. This setting has better protection against false touches.
  • FIG. 8 is a sub-flow chart of step S100. As shown in FIG. 9, the step S100 may include:
  • the distance between the touch object 200 and the touch screen 100 is detected by the infrared sensor 600 (S110).
  • the control object 200 is located at the center position B of the projection area 400 of the touch screen 100 (S120).
  • the second preset value is greater than the first preset value.
  • the preset distance range refers to a distance range between a first preset value and a second preset value. It can be understood that, no processing is performed on the infrared sensor 600 that detects that the distance between the touch object 200 and the touch screen 100 is greater than the second preset value. Similarly, the second preset value can also be the longest distance that the infrared sensor 600 can sense. When the distance between the touch object 200 and the touch screen 100 is greater than the second preset value, the infrared sensor 600 cannot detect To the user's finger 200.
  • the “determining that a target infrared sensor having a distance between the touch object 200 and the touch screen 100 between a first preset value and a second preset value is detected” includes a receiving infrared sensor 600 A first sensing signal generated when a distance between the touch object 200 and the touch screen 100 is detected between a first preset value and a second preset value is detected. It is determined that the infrared sensor 600 that generates the first sensing signal is the target infrared sensor.
  • the method for preventing false touch further includes step S400.
  • Step S400 when it is determined through the infrared sensor 600 that the distance between the touch object 200 and the touch screen 100 is changed from greater than the first preset value and less than the second preset value to less than the first preset value, and the distance of the touch object 200 is When the distance of the touch screen 100 continues to be less than the first preset value for a preset time, the position of the control non-touch area 400 remains unchanged.
  • FIG. 10 indicates that the distance from the point A of the touch object 200 to the point B of the touch screen 100 at time T1 is greater than the first preset value and smaller than the second preset value.
  • 11 indicates that the distance between the point A of the touch object 200 and the point B in the touch screen 100 at time T2 is smaller than the first preset value, where T2 is greater than T1.
  • FIG. 12 indicates that the touch object 200 moves to point B1 on the touch screen at time T3, and the distance between the point A of the touch object 200 and the point B1 in the touch screen 100 is less than the first preset value.
  • the coordinate value of point B1 is different from the coordinate value of point B.
  • T3 is greater than T2, and from T2 to T3, the vertical distance from point A of touch object 200 to touch screen 100 remains less than the first preset value, and T3-T2 is greater than the preset time ,
  • the non-touch area 400 does not change, and the touch object 200 (user's finger) can operate in areas other than the non-touch area 400 without worrying about the operation being affected by accidentally touching the non-touch area.
  • the user A large-screen display device can also be stabilized by contacting some fingers with the non-touch area 400.
  • the position of the control non-touch area 400 remains unchanged.
  • the second sensing signal determines that the distance between the touch object 200 and the touch screen 100 is changed from greater than the first preset value and less than the second preset value to less than the first preset value, and the touch object 200 is away from the touch.
  • the distance of the screen 100 is generated when the distance of the screen 100 is smaller than the first preset value continuously.
  • the method for preventing false touch further includes step S500.
  • Step S500 When the non-touch area 400 senses a specific touch operation, the non-touch area 400 responds to the specific touch operation and sets the non-touch area as a touch area that can respond to a touch, and restarts A non-touch area 400 is determined.
  • the specific touch operation may be long-pressing the non-touch area 400 for more than a first preset time, double-clicking the non-touch area 400 within the second preset time, or detecting that a touch object 200 is on the touch screen.
  • the center position B of the 100 projection area 400 moves to the non-touch area 400 and stays in the non-touch area 400 for more than a third preset time.
  • the non-touch area 400 in the touch screen 100 is set as a touch area that can respond to the touch, and the non-touch area is re-determined.
  • Touch area 400 may be clicking a corresponding function button, a corresponding operation gesture, or the like.
  • the touch screen 100 includes a first display boundary 111 and a third display boundary 113 that are oppositely disposed along the first direction Y, and are relatively disposed along the second direction X.
  • the second display boundary 112 and the fourth display boundary 114 Let the first display boundary 111 of the touch screen 100 along the first direction Y be the Y axis, and the second display boundary 112 along the second direction X be the X axis, where the first display boundary 111 is perpendicular to the second display boundary 112 Intersect at the origin O, the X axis, Y axis, and origin O constitute the XOY plane coordinate system.
  • FIG. 14 is a sub-flow chart of step S100 in another embodiment.
  • step S100 may include step S111, step S112, and step S113.
  • Step S111 Acquire the abscissa value corresponding to the target infrared sensor on the X axis, and obtain an average abscissa value according to all the abscissa values.
  • the number of the target infrared sensors is n
  • the sum of the abscissa values of the n target infrared sensors is divided by n to obtain the average abscissa value.
  • Step S112 Acquire the ordinate values corresponding to the target infrared sensor on the Y axis, and obtain an average ordinate value according to all the ordinate values.
  • the number of the target infrared sensors is n
  • the sum of the ordinate values of the n target infrared sensors is divided by n to obtain the average ordinate value.
  • step S113 the coordinate position formed by the average abscissa value and the average ordinate value is determined as the center position B of the touch object 200 in the projection area 400 of the touch screen 100.
  • step S200 is a sub-flow chart of step S200.
  • the “determining the display boundary of the touch screen closest to the center position B as the critical display boundary according to the center position B” includes step S210 Step S220 and step S230.
  • step S210 the distance between the center position B and the first display boundary 111 and the third display boundary 113 is determined, and a display boundary with a smaller distance from the center position B is obtained, and recorded as the first quasi-display boundary.
  • step S220 the distance between the center position B and the second display boundary 112 and the fourth display boundary 114 is determined, and a display boundary with a smaller distance from the center position B is obtained and recorded as the second quasi-display boundary.
  • Step S230 Determine the distance between the center position B and the first quasi-display boundary and the second quasi-display boundary, and determine that the display boundary that is smaller from the center position B is the critical display boundary.
  • the horizontal sitting mark of the third display boundary 113 is W
  • the vertical sitting mark of the fourth display boundary 114 is L
  • the sitting mark of the center position B is (X1, Y1);
  • the method for determining the first quasi-display boundary includes: the distance between the center position B and the first display boundary 111 is X1, the distance between the center position B and the third display boundary 113 is W-X1, and comparing X1 and W-X1 When X1 ⁇ W-X1, the first quasi-display boundary is the first display boundary 111, and when X1> W-X1, the first quasi-display boundary is the third display boundary 113.
  • the method for determining the second quasi-display boundary includes: the distance between the center position B and the second display boundary 112 is Y1, the distance between the center position B and the fourth display boundary 114 is L-Y1, and comparing Y1 and L-Y1 When Y1 ⁇ L-Y1, the second quasi-display boundary is the second display boundary 112, and when Y1> L-Y1, the second quasi-display boundary is the fourth display boundary 114;
  • X1 ⁇ W-X1, D X1
  • the first quasi-display boundary is the first display boundary 111
  • Y1 ⁇ L-Y1, E Y1
  • the second quasi-display boundary is the third display boundary 113
  • compare the sizes of D and E Assuming X1 ⁇ Y1, that is, D ⁇ E, then the critical display boundary is the first display boundary 111, that is, the display boundary closest to the center position B is the first display boundary 111.
  • Another method for determining a critical display boundary according to the center position B includes:
  • the distance between the center position B and the first display boundary 111 is X1, the distance between the center position B and the third display boundary 113 is W-X1, the distance between the center position B and the second display boundary 112 is Y1, and the center position
  • the method for preventing accidental touch further includes displaying that the non-touch area 400 is a translucent area on the touch screen 100. Does not affect the user to view the lower interface blocked by the covered area.
  • the present invention further provides an electronic device 10, which includes a touch screen 100, a plurality of infrared sensors 600 and a processor 700 arranged in a matrix distribution under the touch screen 100.
  • the monitor 700 is connected to the infrared sensor 600, and the touch screen 100 includes a display boundary 110.
  • the infrared sensor 600 is used to detect the distance between the touch object 200 and the touch screen 100 (see FIG. 1).
  • the processor 700 is configured to determine that the touch object 200 is located within a preset distance range according to the distance between the touch object 200 and the touch screen 100 detected by the infrared sensor, and determine that the touch object 200 is within the touch screen 100.
  • the center position B of the projection area 300 determines the display boundary of the touch screen 100 closest to the center position B according to the center position B as the critical display boundary.
  • the non-touch area 400 is determined according to the center position B and the critical display boundary, and the non-touch area 400 is set as an area that does not respond to the user's touch.
  • the processor 700 ends determining the non-touch area.
  • the step is not sure about the non-touch display area 400.
  • the processor 700 determines two perpendicular lines from the central position B to the two critical display boundaries and the two The area surrounded by the critical display boundary is the non-touch display area 400.
  • the processor 700 ends the step of determining the non-touch area, that is, the non-touch area 400 is not determined.
  • the area near the touch center position B is set as a non-touch area, which can avoid the distance from the center position when the user's hand holds the touch screen 100 boundary.
  • the area between the nearest display boundary of B and the touch center position B is misoperated to improve the user experience.
  • the “determining the non-touch area 400 according to the center position B and the critical display boundary” includes:
  • the processor 700 determines the non-touch area 400 according to the distance between the center position B and the critical display boundary, the first preset radius r of the non-touch area 400, and the second preset radius R of the preset touch area.
  • the control area refers to a circular area with the center position B as the center and the second preset radius R as the radius.
  • the processor 700 determines a circular area formed by a point r + R from the center position B as the center and a radius r as a non-touch area 400, and the line connecting the center of the non-touch area 400 and the center position B is perpendicular to the critical display boundary (see FIG. 6).
  • the first preset radius is recorded as r
  • the second preset radius is recorded as R.
  • the processor 700 uses a point at a distance r as the center of the critical display boundary, a circle formed by a radius r, and a circle inside The area at is determined as the non-touch area 400, and a line formed by connecting the center of the non-touch area 400 with the center position B is perpendicular to the critical display boundary (see FIG. 7). At this time, the non-touch area 400 and the preset touch area 500 partially overlap, and the overlapped portion is not responding to touch operations.
  • the touch object 200 (user's finger) is placed near the boundary of the touch screen 100 to perform a touch operation
  • the touch may occur due to the contact between the grip part and the touch screen. Setting the non-touch area 400 can avoid this accidental touch situation and improve the user experience.
  • the first preset radius r is equal to the second preset radius R. This setting has better protection against false touches.
  • each of the infrared sensors 600 corresponds to a known coordinate, and the "determining that the touch object 200 is located within a preset distance range according to the distance of the touch object 200 from the touch screen 100, and determining the touch The control object 200 is projected onto the center position B ”of the projection area 300 on the touch screen 100 including:
  • the processor 700 detects the distance between the touch object 200 and the touch screen 100 through the infrared sensor 600, and determines that the detected distance between the touch object 200 and the touch screen 100 is at a first preset value and a second preset value.
  • the target infrared sensor between the values, and determine the center position B of the touch object 200 in the projection area of the touch screen 100 according to the known coordinates corresponding to all the target infrared sensors respectively.
  • the processor 700 controls the position of the non-touch area 400 to remain unchanged. It can be understood that, no processing is performed on the infrared sensor 600 that detects that the distance between the touch object 200 and the touch screen 100 is greater than the second preset value.
  • the processor 700 controls the non-touch area 400 to respond to the specific touch operation and is set as a touch area that can respond to a touch And control to determine the non-touch area 400 again.
  • the specific touch operation may be long-pressing the non-touch area 400 for more than a first preset time, double-clicking the non-touch area 400 within the second preset time, or detecting that a touch object 200 is on the touch screen.
  • the center position B of the 100 projection area 400 moves to the non-touch area 400 and stays in the non-touch area 400 for more than a third preset time.
  • the touch screen 100 includes a first display boundary 111 and a third display boundary 113 oppositely disposed along a first direction Y, and a second display boundary 111 oppositely disposed along a second direction X.
  • the boundary 111 and the second display boundary 112 intersect perpendicularly at the origin O, and the X axis, the Y axis, and the origin O constitute an XOY plane coordinate system.
  • the "determining the center position B of the touch object 200 in the projection area of the touch screen 100 according to the corresponding coordinates of all target infrared sensors” includes that the processor 700 obtains the corresponding abscissa value of the target infrared sensor on the X axis, And obtain an average abscissa value according to all the abscissa values, the processor 700 obtains the corresponding ordinate value of the target infrared sensor on the Y axis, and obtain an average ordinate value according to all the ordinate values, and The average abscissa value and the average ordinate value constitute the coordinate position B of the center position B of the touch object 200 in the projection area of the touch screen 100 as the center position of the touch object 200 in the projection area of the touch screen 100 B.

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)
  • Position Input By Displaying (AREA)

Abstract

一种防误触方法及电子装置,该防误触方法应用于电子装置(10)中,所述防误触方法包括根据触控物(200)距离触控屏(100)的距离确定触控物(200)位于预设距离范围内,确定触控物(200)投影到触控屏(100)上投影区域的中心位置(B)(S100);根据中心位置(B)确定距离中心位置(B)最近的触控屏(100)的显示边界为临界显示边界(S200);根据中心位置(B)及临界显示边界确定非触控区域(400),并将非触控区域(400)设置为不响应用户触摸的区域(S300)。该防误触方法使得触控物在触控时,将临界显示边界与触控中心之间的区域设置为非触控区域,可避免用户手部握住触控屏边界时,对非触控区域进行误操作而产生响应,提高用户体验。

Description

防误触方法及电子装置 技术领域
本发明属于电子设备的触控操作技术领域,具体涉及一种防误触方法及电子装置。
背景技术
触控屏因人机交互的便捷性,使其在智能手机、平板电脑等电子装置上得到了广泛的使用。但是,当用户在使用电子设备时,触控手指以外的其他手部部分经常会触碰到触控屏,继而产生误操作的现象,对当前所运行的应用程序造成影响,如使视频播放中断或者使阅读文档提前翻页等,给用户带来不便,影响用户使用感受。
发明内容
有鉴于此,本发明提供一种防误触方法,以解决上述问题。
本申请所提供的防误触方法,应用于一电子装置中,所述电子装置包括触控屏,所述防误触方法包括:
根据触控物距离所述触控屏的距离确定所述触控物位于预设距离范围内,确定所述触控物投影到所述触控屏上投影区域的中心位置;
根据所述中心位置确定距离所述中心位置最近的所述触控屏的显示边界为临界显示边界;
根据所述中心位置及所述临界显示边界确定非触控区域,并将所述非触控区域设置为不响应用户触摸的区域。
本发明还提供一种电子装置,所述电子装置包括触控屏、设置在所述触控屏下呈矩阵分布的若干红外传感器及处理器,所述处理器与所述红外传感器连接,所述触控屏包括显示边界;所述红外传感器用于检测触控物距离所述触控屏的距离;所述处理器用于根据所 述红外传感器检测到的所述触控物距离所述触控屏的距离确定所述触控物位于预设距离范围内,确定所述触控物在所述触控屏投影区域的中心位置;根据所述中心位置确定距离所述中心位置最近的所述触控屏的显示边界为临界显示边界;根据所述中心位置及所述临界显示边界确定非触控区域,并将所述非触控区域设置为不响应用户触摸的区域。
本发明提供的防误触方法使得触控物在触控时,将距离中心最近的显示边界与触控中心之间的区域设置为非触控区域,可避免用户手部握住触控屏边界时,对距离触控中心最近的显示边界与触控中心之间的区域进行误操作而产生响应,提高用户体验。
附图说明
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。
图1为本发明一实施方式中提供的防误触方法的流程图;
图2为本发明一实施方式中运行上述防误触方法的电子装置的触控屏的示意图;
图3为本发明另一实施方式中运行防误触方法的电子装置的触控屏的示意图;
图4为本发明又一实施方式中运行防误触方法的电子装置的触控屏的示意图;
图5为本发明再一实施方式中运行防误触方法的电子装置的触控屏的示意图;
图6为本发明一实施例中执行确定非触控区域的方法的电子装置的触控屏的示意图;
图7为本发明另一实施例中执行确定非触控区域的方法的电子装置的触控屏的示意图;
图8为本发明一实施例中执行确定中心位置方法的电子装置的触控屏的流程图;
图9为本发明一实施例中提供的红外传感器在触控屏上分布的示意图;
图10为本发明一实施例中触控物在距离触控屏为第一预设值和第二预设值之间时电 子装置的触控屏的示意图;
图11为本发明另一实施例中触控物与触控屏的距离从第一预设值和第二预设值之间变为小于第一预设值时电子装置的触控屏的示意图;
图12为本发明又一实施例中触控物在触控屏上投影的位置从B点处移至B1点处时电子装置的触控屏的示意图;
图13为本发明一实施例在触控屏上确定中心位置方法的示意图;
图14为本发明另一实施例提供的确定中心位置方法的流程图;
图15为图1中的步骤200的子流程图。
具体实施方式
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。
本发明的说明书和权利要求书及所述附图中的术语“第一”、“第二”等是用于区别不同对象,而不是用于描述特定顺序。此外,术语“包括”和“具有”以及它们任何变形,意图在于覆盖不排他的包含。例如包含了一系列步骤或单元的过程、方法、系统、产品或设备没有限定于已列出的步骤或单元,而是可选地还包括没有列出的步骤或单元,或可选地还包括对于这些过程、方法、产品或设备固有的其它步骤或单元。
在本文中提及“实施例”意味着,结合实施例描述的特定特征、结构或特性可以包含在本发明的至少一个实施例中。在说明书中的各个位置出现该短语并不一定均是指相同的实施例,也不是与其它实施例互斥的独立的或备选的实施例。本领域技术人员显式地和隐式地理解的是,本文所描述的实施例可以与其它实施例相结合。
请参阅图1和图2,本发明一实施例提供一种防误触方法,应用于一电子装置10中, 所述电子装置10包括触控屏100,所述防误触方法包括以下步骤:
步骤S100,根据触控物200距离触控屏100的距离确定触控物200位于预设距离范围内,确定触控物200投影到触控屏100上投影区域300的中心位置B。
在一些实施例中,所述触控物200距离触控屏100的距离为触控物200距离触控屏100上的投影的距离,且进一步的,例如,如图2所示,为触控物200的顶点A点处到触控屏100的距离。在本实施例中,触控物200为用户手指。在其他实施例中,触控物200还可以是触控笔或其他可在触控屏100上进行触控操作的物体。
步骤S200,根据中心位置B确定距离中心位置B最近的触控屏100的显示边界110为临界显示边界。
可以理解的是,触控屏100包括四个显示边界110,显示边界110为围成触控屏100显示区的边界线。
请参阅图3至图5,当中心位置B距离两条临界显示边界的距离相等时,且所述两条临界显示边界相互平行,则结束以下步骤S300,即不确定非触控显示区域400。如在图3中,中心位置B距离第一显示边界111和第三显示边界113的距离相等且距离最近,此时不确定非触控显示区域400。当中心位置B距离两条临界显示边界的距离相等时,且所述两条显示边界110相互垂直,确定中心位置B到所述两条临界显示边界的两垂线以及所述两条临界显示边界围成的区域为非触控显示区域400。如在图4中,中心位置B距离第一显示边界111和第四显示边界114的距离相等且距离最近,中心位置B到第一显示边界111和第四显示边界114的两垂线以及第一显示边界111和第四显示边界114围成的区域为非触控显示区域400。
当中心位置B距离多于两条临界显示边界的距离相等时,同样结束以下步骤S300,即不确定非触控显示区域400。如在图5中,中心位置B距离第一显示边界111、第三显示边界113和第四显示边界114的距离相等且距离最近,此时不确定非触控显示区域400。
步骤S300,根据中心位置B及临界显示边界确定非触控区域400,并将非触控区域400 设置为不响应用户触摸的区域。
本发明提供的防误触方法使得触控物200在触控时,将距离中心位置B最近的显示边界与触控中心位置B之间的区域设置为非触控区域400,可避免用户手部握住触控屏100边界时,对距离中心位置B最近的显示边界与触控中心位置B之间的区域发生误操作,提高用户体验。
请参阅图6,在进一步的实施例中,所述“根据中心位置B及临界显示边界确定非触控区域400”包括:
根据中心位置B与临界显示边界的距离、非触控区域400的第一预设半径r以及预设触控区域500的第二预设半径R来确定非触控区域400,所述预设触控区域500是指以中心位置B为圆心、第二预设半径R为半径的圆形区域。
请参阅图6,假设触控屏100的左边的显示边界111为临界显示边界。当中心位置B与临界显示边界的距离大于2*r+R时,以距离中心位置B为r+R的点为圆心、以半径为r形成的圆形区域确定为非触控区域400,且非触控区域400的圆心C与中心位置B连接形成的连线M与临界显示边界111垂直;其中,r为第一预设半径,R为第二预设半径。
请参阅图7,当中心位置B与临界显示边界的距离大于2*r且小于等于2*r+R时,以距离临界显示边界为r的点为圆心C、以半径为r形成的圆形区域确定为非触控区域400,且非触控区域400的圆心与中心位置B连接形成的连线M与临界显示边界垂直。此时,非触控区域400与预设触控区域500有部分重叠,其中重叠部分为不响应触控操作。当用户手握电子装置时,触控物200(用户手指)置于触控屏100边界附近进行触控操作时,会因为手握部分与触控屏接触而发生误触,因此通过上述方法设置非触控区域400能够避免此误触情况的发生,提高用户体验。
在进一步的实施例中,所述第一预设半径r等于第二预设半径R。这种设置下防误触效果更好。
请参阅图8和图9,在进一步的实施例中,所述触控屏100下设置有若干红外传感器 600,每一红外传感器600分别对应一已知坐标。图8为步骤S100的子流程图,如图9所示,所述步骤S100可包括:
通过红外传感器600检测触控物200距离触控屏100的距离(S110)。
确定检测到触控物200与触控屏100之间的距离在第一预设值和第二预设值之间的目标红外传感器,并根据所有目标红外传感器分别对应的已知坐标来确定触控物200在触控屏100投影区域400的中心位置B(S120)。
其中第二预设值大于第一预设值。其中预设距离范围是指第一预设值到第二预设值之间的距离范围。可以理解的是,对于检测到触控物200与触控屏100之间的距离大于第二预设值的红外传感器600不做任何处理。同样的,第二预设值也可以是红外传感器600所能感应到的最远距离,当触控物200与触控屏100之间的距离大于第二预设值时,红外传感器600无法检测到用户的手指200。
在进一步的实施例中,所述“确定检测到触控物200与触控屏100之间的距离在第一预设值和第二预设值之间的目标红外传感器”包括接收红外传感器600检测到触控物200与触控屏100之间的距离在第一预设值和第二预设值之间时产生的第一感应信号。确定产生第一感应信号的红外传感器600为所述目标红外传感器。
在进一步的实施例中,请返回参阅图1,所述防误触方法还包括步骤S400。
步骤S400,当通过红外传感器600确定触控物200距离触控屏100的距离从大于第一预设值且小于第二预设值变为小于第一预设值时,且触控物200距离触控屏100的距离持续在预设时间内小于第一预设值时,控制非触控区域400的位置保持不变。
请一并参阅图10-图12,其中图10是指在T1时刻触控物200的A点处距离触控屏100中B点处的距离为大于第一预设值且小于第二预设值,其中图11是指在T2时刻触控物200的A点处距离触控屏100中B点处的距离为小于第一预设值,其中T2大于T1。其中图12是指在T3时刻触控物200在触控屏上移动到B1点处,触控物200的A点处距离触控屏100中B1点处的距离为小于第一预设值,且其中B1点的坐标值与B点的坐标值不同,假设B 点的坐标为(X1,Y1),B1点的坐标为(X2,Y2),也就是说X1不等于X2,或者Y1不等于Y2。其中T3大于T2,且从T2时刻到T3时刻这段时间内,触控物200的A点处距离触控屏100的垂直距离保持一直小于第一预设值,且T3-T2大于预设时间,则非触控区域400不发生变化,触控物200(用户手指)可以在非触控区域400以外的区域进行操作,而不用担心因误触控到非触控区域而影响操作,另外用户还可以通过部分手指与非触控区域400接触来稳定大屏幕的显示设备。
在进一步的实施例中,所述“通过红外传感器600确定触控物200距离触控屏100的距离从大于第一预设值且小于第二预设值变为小于第一预设值时,且触控物200距离触控屏100的距离持续在预设时间内小于第一预设值时,控制非触控区域400的位置保持不变”包括:
当在预设时间内持续接收到红外传感器600产生的第二感应信号时,控制非触控区域400的位置保持不变。所述第二感应信号为确定触控物200距离触控屏100的距离从大于第一预设值且小于第二预设值变为小于第一预设值,且触控物200距离触控屏100的距离持续在预设时间内小于第一预设值时产生。
在进一步的实施例中,请返回参阅图1,所述防误触方法还包括步骤S500。
步骤S500,当所述非触控区域400感应到特定触摸操作,所述非触控区域400响应所述特定触摸操作并将所述非触控区域设置为可响应触摸的触控区域,并重新确定非触控区域400。
可以理解的是,所述特定触摸操作可以是长按非触控区域400超过第一预设时间、在第二预设时间内双击非触控区域400或检测到触控物200在触控屏100投影区域400的中心位置B移至非触控区域400并在非触控区域400内停留超过第三预设时间。
在另一实施例中,当所述触控屏100的触控区域感应到特定触摸操作时,触控屏100内的非触控区域400设置为可响应触摸的触控区域,并重新确定非触控区域400。具体的,所述特定触摸操作可以是点击对应的功能按键、对应的操作手势等。
请一并参阅图13和图14,在进一步的实施例中,触控屏100包括沿第一方向Y相对设置的第一显示边界111和第三显示边界113,以及沿第二方向X相对设置的第二显示边界112和第四显示边界114。设以触控屏100沿第一方向Y的第一显示边界111为Y轴,以沿第二方向X的第二显示边界112为X轴,其中第一显示边界111与第二显示边界112垂直相交于原点O,X轴、Y轴及原点O构成XOY平面坐标系。图14为步骤S100在另一实施例中的子流程图,在另一实施例中,步骤S100可包括步骤S111、步骤S112和步骤S113。
步骤S111,获取所述目标红外传感器在X轴上对应的横坐标值,并根据所有的横坐标值获得平均横坐标值。例如所述目标红外传感器的个数为n个,将n个目标红外传感器的横坐标值相加之和再除以n,即得到平均横坐标值。
步骤S112,获取所述目标红外传感器在Y轴上对应的纵坐标值,并根据所有的纵坐标值获得平均纵坐标值。例如所述目标红外传感器的个数为n个,将n个目标红外传感器的纵坐标值相加之和再除以n,即得到平均纵坐标值。
步骤S113,将所述平均横坐标值和所述平均纵坐标值构成的坐标位置确定为所述触控物200在触控屏100投影区域400的中心位置B。
请参阅图15,图15为步骤S200的子流程图,在进一步的实施例中,所述“根据中心位置B确定距离中心位置B最近的触控屏的显示边界为临界显示边界”包括步骤S210、步骤S220和步骤S230。
步骤S210,判断中心位置B与第一显示边界111及第三显示边界113的距离大小,获取距离中心位置B较小的显示边界,记为第一准显示边界。
步骤S220,判断中心位置B与第二显示边界112及第四显示边界114的距离大小,获取距离中心位置B较小的显示边界,记为第二准显示边界。
步骤S230,判断中心位置B与第一准显示边界及第二准显示边界的距离大小,确定距离中心位置B较小的显示边界为临界显示边界。
在进一步的实施例中,设第三显示边界113的横坐标记为W,第四显示边界114的纵坐 标记为L,中心位置B的坐标记为(X1,Y1);
所述第一准显示边界的确定方法包括:所述中心位置B与第一显示边界111的距离为X1,中心位置B与第三显示边界113的距离为W-X1,比较X1与W-X1的大小,当X1<W-X1时,第一准显示边界为第一显示边界111,当X1>W-X1时,第一准显示边界为第三显示边界113。
所述第二准显示边界的确定方法包括:所述中心位置B与第二显示边界112的距离为Y1,中心位置B与第四显示边界114的距离为L-Y1,比较Y1与L-Y1的大小,当Y1<L-Y1时,第二准显示边界为第二显示边界112,当Y1>L-Y1时,第二准显示边界为第四显示边界114;
所述确定临界显示边界的方法包括:所述中心位置B与第一准显示边界的距离记为D,所述D=MIN(X1,W-X1);所述中心位置B与第二准显示边界的距离记为E,所述E=MIN(Y1,L-Y1),比较D与E的大小获得临界显示边界;其中MIN表示在数值中取最小值。例如,当X1<W-X1时,D=X1,那么第一准显示边界为第一显示边界111,Y1<L-Y1时,E=Y1,那么第二准显示边界为第三显示边界113,然后再比较D与E的大小,假设X1<Y1,即D<E,那么临界显示边界即为第一显示边界111,也就是说距离中心位置B最近的显示边界为第一显示边界111。
在进一步的实施例中,还提供另外一种根据中心位置B确定临界显示边界的方法,其包括:
所述中心位置B与第一显示边界111的距离为X1,中心位置B与第三显示边界113的距离为W-X1,所述中心位置B与第二显示边界112的距离为Y1,中心位置B与第四显示边界114的距离为L-Y1;所述中心位置B与临界显示边界的距离为F,且F=MIN(X1,W-X1,Y1,L-Y1),当F的值与距离中心位置B的显示边界的距离的值一致时,该显示边界即为临界显示边界;其中MIN表示在数值中取最小值。例如,当F的值等于第一显示边界111与中心位置B之间的距离的值时,那么第一显示边界111即为临界显示边界。
在进一步的实施例中,所述防误触方法还包括在触控屏100中显示非触控区域400为半透明区域。不影响用户观看被盖区域遮挡的下层界面。
请再次参阅图9,本发明还提供一种电子装置10,所述电子装置10包括触控屏100、设置在触控屏100下呈矩阵分布的若干红外传感器600及处理器700,所述处理器700与所述红外传感器600连接,所述触控屏100包括显示边界110。所述红外传感器600用于检测触控物200距离触控屏100的距离(参阅图1)。所述处理器700用于根据所述红外传感器检测到的所述触控物200距离触控屏100的距离确定触控物200位于预设距离范围内,确定触控物200在触控屏100投影区域300的中心位置B,根据中心位置B确定距离中心位置B最近的触控屏100的显示边界为临界显示边界。根据中心位置B及临界显示边界确定非触控区域400,并将非触控区域400设置为不响应用户触摸的区域。
可以理解的是,请再次参阅图3至图5,当中心位置B距离两条临界显示边界的距离相等时,且所述两条临界显示边界相互平行,处理器700则结束确定非触控区域的步骤,即不确定非触控显示区域400。当中心位置B距离两条临界显示边界的距离相等时,且所述两条临界显示边界相互垂直,处理器700确定中心位置B到所述两条临界显示边界的两垂线以及所述两条临界显示边界围成的区域为非触控显示区域400。当中心位置B距离多于两条临界显示边界的距离相等时,处理器700结束确定非触控区域的步骤,即不确定非触控显示区域400。
本发明提供的电子装置10使得触控物200在触控时,触控中心位置B附近的区域设置为非触控区域,可避免用户手部握住触控屏100边界时,对距离中心位置B最近的显示边界与触控中心位置B之间的区域发生误操作,提高用户体验。
请返回参阅图6和图7,在进一步的实施例中,所述“根据中心位置B及临界显示边界确定非触控区域400”包括:
处理器700根据中心位置B与临界显示边界的距离、非触控区域400的第一预设半径r以及预设触控区域的第二预设半径R来确定非触控区域400,预设触控区域是指以中心位 置B为圆心、第二预设半径R为半径的圆形区域。
当中心位置B与临界显示边界的距离大于2*r+R时,处理器700以距离中心位置B为r+R的点为圆心、以半径为r形成的圆形区域确定为非触控区域400,且非触控区域400的圆心与中心位置B连接形成的连线与所述临界显示边界垂直(参阅图6)。其中第一预设半径记为r,第二预设半径记为R。
当中心位置B与临界显示边界的距离大于2*r且小于等于2*r+R时,处理器700以距离中临界显示边界为r的点为圆心、以半径为r形成的圆及圆内部的区域确定为非触控区域400,且非触控区域400的圆心与中心位置B连接形成的连线与所述临界显示边界垂直(参阅图7)。此时,非触控区域400与预设触控区域500有部分重叠,其中重叠部分为不响应触控操作。当用户手握电子装置时,触控物200(用户手指)置于触控屏100边界时附近进行触控操作时,会因为手握部分与触控屏接触而发生误触,因此通过上述方法设置非触控区域400能够避免此误触情况的发生,提高用户体验。
在进一步的实施例中,所述第一预设半径r等于第二预设半径R。这种设置下防误触效果更好。
在进一步的实施例中,每一所述红外传感器600分别对应一已知坐标,所述“根据触控物200距离触控屏100的距离确定触控物200位于预设距离范围内,确定触控物200投影到触控屏100上投影区域300的中心位置B”包括:
所述处理器700通过红外传感器600检测触控物200距离触控屏100的距离,并确定检测到触控物200与触控屏100之间的距离在第一预设值和第二预设值之间的目标红外传感器,并根据所有目标红外传感器分别对应的已知坐标来确定触控物200在触控屏100投影区域的中心位置B。
在进一步的实施例中,当通过红外传感器600确定触控物200距离触控屏100的距离从大于第一预设值且小于第二预设值变为小于第一预设值时,且触控物200距离触控屏100的距离持续预设时间内小于第一预设值时,所述处理器700控制所述非触控区域400的位 置保持不变。可以理解的是,对于检测到触控物200与触控屏100之间的距离大于第二预设值的红外传感器600不做任何处理。
在进一步的实施例中,当所述非触控区域400感应到特定触摸操作,所述处理器700控制所述非触控区域400响应所述特定触摸操作并设置为可响应触摸的触控区域,并控制重新确定非触控区域400。
可以理解的是,所述特定触摸操作可以是长按非触控区域400超过第一预设时间、在第二预设时间内双击非触控区域400或检测到触控物200在触控屏100投影区域400的中心位置B移至非触控区域400并在非触控区域400内停留超过第三预设时间。
请参阅图13,在进一步的实施例中,所述触控屏100包括沿第一方向Y相对设置的第一显示边界111和第三显示边界113,以及沿第二方向X相对设置的第二显示边界112和第四显示边界114;以触控屏100沿第一方向Y的第一显示边界111为Y轴,以沿第二方向X的第二显示边界112为X轴,其中第一显示边界111与第二显示边界112垂直相交于原点O,X轴、Y轴及原点O构成XOY平面坐标系。所述“根据所有目标红外传感器对应坐标来确定触控物200在触控屏100投影区域的中心位置B”包括所述处理器700获取所述目标红外传感器在X轴上对应的横坐标值,并根据所有的横坐标值获得平均横坐标值,所述处理器700获取所述目标红外传感器在Y轴上对应的纵坐标值,并根据所有的纵坐标值获得平均纵坐标值,将所述平均横坐标值和所述平均纵坐标值构成所述触控物200在触控屏100投影区域的中心位置B的坐标位置确定为所述触控物200在触控屏100投影区域的中心位置B。
以上所述实施例仅表达了本发明的几种实施方式,其描述较为具体和详细,但并不能因此而理解为对本发明专利范围的限制。应当指出的是,对于本领域的普通技术人员来说,在不脱离本发明构思的前提下,还可以做出若干变形和改进,这些都属于本发明的保护范围。因此,本发明专利的保护范围应以所附权利要求为准。

Claims (20)

  1. 一种防误触方法,其特征在于,应用于一电子装置中,所述电子装置包括触控屏,所述防误触方法包括:
    根据触控物距离所述触控屏的距离确定所述触控物位于预设距离范围内,确定所述触控物投影到所述触控屏上投影区域的中心位置;
    根据所述中心位置确定距离所述中心位置最近的所述触控屏的显示边界为临界显示边界;
    根据所述中心位置及所述临界显示边界确定非触控区域,并将所述非触控区域设置为不响应触摸的区域。
  2. 如权利要求1所述的防误触方法,其特征在于,所述“根据所述中心位置及所述临界显示边界确定非触控区域”包括:
    根据所述中心位置与所述临界显示边界的距离、非触控区域的第一预设半径以及所述预设触控区域的第二预设半径来确定非触控区域,所述预设触控区域是指以所述中心位置为圆心、第二预设半径为半径的圆形区域;
    当所述中心位置与所述临界显示边界的距离大于2*r+R时,以距离所述中心位置为r+R的点为圆心、以半径为r形成的圆形区域确定为非触控区域,且所述非触控区域的圆心与所述中心位置连接形成的连线与所述临界显示边界垂直;其中,r为第一预设半径,R为第二预设半径;
    当所述中心位置与所述临界显示边界的距离大于2*r且小于等于2*r+R时,以距离所述临界显示边界为r的点为圆心、以半径为r形成的圆形区域确定为非触控区域,且所述非触控区域的圆心与所述中心位置连接形成的连线与所述临界显示边界垂直。
  3. 如权利要求2所述的防误触方法,其特征在于,所述第一预设半径等于所述第二预设半径。
  4. 如权利要求1-3任一项所述的防误触方法,其特征在于,所述触控屏下设置有若干 红外传感器,每一所述红外传感器分别对应一已知坐标,所述“根据触控物距离所述触控屏的距离确定所述触控物位于预设距离范围内,确定所述触控物投影到所述触控屏上投影区域的中心位置”包括:
    通过所述红外传感器检测所述触控物距离所述触控屏的距离;
    确定检测到所述触控物与所述触控屏之间的距离在第一预设值和第二预设值之间的目标红外传感器,并根据所有所述目标红外传感器分别对应的已知坐标来确定所述触控物在所述触控屏投影区域的中心位置。
  5. 如权利要求4所述的防误触方法,其特征在于,所述“确定检测到所述触控物与所述触控屏之间的距离在第一预设值和第二预设值之间的目标红外传感器”,包括:
    接收所述红外传感器检测到所述触控物与所述触控屏之间的距离在第一预设值和第二预设值之间时产生的第一感应信号;
    确定产生第一感应信号的所述红外传感器为所述目标红外传感器。
  6. 如权利要求4所述的防误触方法,其特征在于,所述防误触方法还包括:
    当通过所述红外传感器确定所述触控物距离所述触控屏的距离从大于第一预设值且小于第二预设值变为小于第一预设值时,且所述触控物距离所述触控屏的距离持续在预设时间内小于第一预设值时,控制所述非触控区域的位置保持不变。
  7. 如权利要求6所述的防误触方法,其特征在于,所述“通过所述红外传感器确定所述触控物距离所述触控屏的距离从大于第一预设值且小于第二预设值变为小于第一预设值时,且所述触控物距离所述触控屏的距离持续在预设时间内小于第一预设值时,控制所述非触控区域的位置保持不变”包括:
    当在预设时间内持续接收到所述红外传感器产生的第二感应信号时,控制所述非触控区域的位置保持不变;所述第二感应信号为确定所述触控物距离所述触控屏的距离从大于第一预设值且小于第二预设值变为小于第一预设值,且所述触控物距离所述触控屏的距离持续在预设时间内小于第一预设值时产生。
  8. 如权利要求6所述的防误触方法,其特征在于,所述防误触方法还包括:
    当所述非触控区域感应到特定触摸操作,所述非触控区域响应所述特定触摸操作并将所述非触控区域设置为可响应触摸的触控区域,并重新确定非触控区域。
  9. 如权利要求4所述的防误触方法,其特征在于,所述触控屏包括沿第一方向相对设置的第一显示边界和第三显示边界,以及沿第二方向相对设置的第二显示边界和第四显示边界;设以所述触控屏沿第一方向的第一显示边界为Y轴,以沿第二方向的第二显示边界为X轴,其中所述第一显示边界与所述第二显示边界垂直相交于原点,所述X轴、Y轴及原点构成XOY平面坐标系;所述“根据所有所述目标红外传感器分别对应的已知坐标来确定所述触控物在所述触控屏投影区域的中心位置”包括:
    获取所有所述目标红外传感器在X轴上对应的横坐标值,并根据所有的横坐标值获得平均横坐标值;
    获取所有所述目标红外传感器在Y轴上对应的纵坐标值,并根据所有的纵坐标值获得平均纵坐标值;
    将所述平均横坐标值和所述平均纵坐标值构成的坐标位置确定为所述触控物在所述触控屏投影区域的中心位置。
  10. 如权利要求9所述的防误触方法,其特征在于,所述“根据所述中心位置确定距离所述中心位置最近的所述触控屏的显示边界为临界显示边界”包括:
    判断所述中心位置与所述第一显示边界及所述第三显示边界的距离大小,获取距离所述中心位置较小的显示边界,记为第一准显示边界;
    判断所述中心位置与所述第二显示边界及所述第四显示边界的距离大小,获取距离所述中心位置较小的显示边界,记为第二准显示边界;
    判断所述中心位置与所述第一准显示边界及所述第二准显示边界的距离大小,确定距离所述中心位置较小的显示边界为临界显示边界。
  11. 如权利要求10所述的防误触方法,其特征在于,设所述第三显示边界的横坐标记 为W,所述第四显示边界的纵坐标记为L,所述中心位置的坐标记为(X1,Y1);
    所述第一准显示边界的确定方法包括:所述中心位置与所述第一显示边界的距离为X1,所述中心位置与所述第三显示边界的距离为W-X1,比较X1与W-X1的大小,当X1<W-X1时,所述第一准显示边界为第一显示边界,当X1>W-X1时,所述第一准显示边界为第三显示边界:
    所述第二准显示边界的确定方法包括:所述中心位置与所述第二显示边界的距离为Y1,所述中心位置与所述第四显示边界的距离为L-Y1,比较Y1与L-Y1的大小,当Y1<L-Y1时,所述第二准显示边界为第二显示边界,当Y1>L-Y1时,所述第二准显示边界为第四显示边界;
    所述确定临界显示边界的方法包括:所述中心位置与所述第一准显示边界的距离记为D,所述D=MIN(X1,W-X1);所述中心位置与所述第二准显示边界的距离记为E,所述E=MIN(Y1,L-Y1),比较D与E的大小获得临界显示边界;其中MIN表示在数值中取最小值。
  12. 如权利要求9所述的防误触方法,其特征在于,设所述第三显示边界的横坐标记为W,所述第四显示边界的纵坐标记为L,所述中心位置的坐标记为(X1,Y1);所述“根据所述中心位置确定距离所述中心位置最近的所述触控屏的显示边界为临界显示边界”包括:
    所述中心位置与所述第一显示边界的距离为X1,所述中心位置与所述第三显示边界的距离为W-X1,所述中心位置与所述第二显示边界的距离为Y1,所述中心位置与所述第四显示边界的距离为L-Y1;所述中心位置与临界显示边界的距离为F,且F=MIN(X1,W-X1,Y1,L-Y1),当F的值与距离所述中心位置的显示边界的距离的值一致时,该显示边界即为临界显示边界;其中MIN表示在数值中取最小值。
  13. 如权利要求1所述的防误触方法,其特征在于,所述防误触方法还包括:
    在所述触控屏中显示所述非触控区域为半透明区域。
  14. 如权利要求1所述的防误触方法,其特征在于,当所述中心位置距离两条临界显示边界的距离相等时,且所述两条临界显示边界相互平行,则结束“根据所述中心位置及 所述临界显示边界确定非触控区域,并将所述非触控区域设置为不响应触摸的区域”步骤,即不确定非触控显示区域;
    当所述中心位置距离两条临界显示边界的距离相等时,且所述两条临界显示边界相互垂直,所述“根据所述中心位置及所述临界显示边界确定非触控区域,并将所述非触控区域设置为不响应触摸的区域”包括:确定所述中心位置到所述两条临界显示边界的两垂线以及所述两条临界显示边界围成的区域为非触控显示区域;
    当所述中心位置距离多于两条临界显示边界的距离相等时,则结束“根据所述中心位置及所述临界显示边界确定非触控区域,并将所述非触控区域设置为不响应触摸的区域”步骤,即不确定非触控显示区域。
  15. 一种电子装置,其特征在于,所述电子装置包括触控屏、设置在所述触控屏下呈矩阵分布的若干红外传感器及处理器,所述处理器与所述红外传感器连接,所述触控屏包括显示边界;
    所述红外传感器用于检测所述触控物距离所述触控屏的距离;
    所述处理器用于根据所述红外传感器检测到的所述触控物距离所述触控屏的距离确定所述触控物位于预设距离范围内,确定所述触控物在所述触控屏投影区域的中心位置;根据所述中心位置确定距离所述中心位置最近的所述触控屏的显示边界为临界显示边界;根据所述中心位置及所述临界显示边界确定非触控区域,并将所述非触控区域设置为不响应触摸的区域。
  16. 如权利要求15所述的电子装置,其特征在于,所述“根据所述中心位置及所述临界显示边界确定非触控区域”包括:
    所述处理器根据所述中心位置与所述临界显示边界的距离、非触控区域的第一预设半径以及所述预设触控区域的第二预设半径来确定非触控区域,所述预设触控区域是指以所述中心位置为圆心、第二预设半径为半径的圆形区域;
    当所述中心位置与所述临界显示边界的距离大于2*r+R时,所述处理器以距离所述中 心位置为r+R的点为圆心、以半径为r形成的圆形区域确定为非触控区域,且所述非触控区域的圆心与所述中心位置连接形成的连线与所述临界显示边界垂直;其中,第一预设半径记为r,第二预设半径记为R;
    当所述中心位置与所述临界显示边界的距离大于2*r且小于等于2*r+R时,所述处理器以距离所述临界显示边界为r的点为圆心、以半径为r形成的圆形区域确定为非触控区域,且所述非触控区域的圆心与所述中心位置连接形成的连线与所述临界显示边界垂直。
  17. 如权利要求16所述的电子装置,其特征在于,所述第一预设半径等于所述第二预设半径。
  18. 如权利要求15-17任一项所述的电子装置,其特征在于,每一所述红外传感器分别对应一已知坐标,所述处理器具体用于通过所述红外传感器检测所述触控物距离所述触控屏的距离,并确定检测到所述触控物与所述触控屏之间的距离在第一预设值和第二预设值之间的目标红外传感器,并根据所有所述目标红外传感器的对应坐标来确定所述触控物在所述触控屏投影区域的中心位置。
  19. 如权利要求18所述的电子装置,其特征在于,当通过所述红外传感器确定所述触控物距离所述触控屏的距离从大于第一预设值且小于第二预设值变为小于第一预设值时,且触控物距离所述触控屏的距离持续预设时间内小于第一预设值时,所述处理器控制所述非触控区域的位置保持不变。
  20. 如权利要求19所述的电子装置,其特征在于,当所述非触控区域感应到特定触摸操作,所述控制器控制所述非触控区域响应所述特定触摸操作并将所述非触控区域设置为可响应触摸的触控区域,并控制重新确定非触控区域。
PCT/CN2018/105208 2018-09-12 2018-09-12 防误触方法及电子装置 WO2020051797A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201880094116.2A CN112639711A (zh) 2018-09-12 2018-09-12 防误触方法及电子装置
PCT/CN2018/105208 WO2020051797A1 (zh) 2018-09-12 2018-09-12 防误触方法及电子装置

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2018/105208 WO2020051797A1 (zh) 2018-09-12 2018-09-12 防误触方法及电子装置

Publications (1)

Publication Number Publication Date
WO2020051797A1 true WO2020051797A1 (zh) 2020-03-19

Family

ID=69776974

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/105208 WO2020051797A1 (zh) 2018-09-12 2018-09-12 防误触方法及电子装置

Country Status (2)

Country Link
CN (1) CN112639711A (zh)
WO (1) WO2020051797A1 (zh)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140111487A1 (en) * 2012-02-22 2014-04-24 Huawei Device Co., Ltd. Processing Method for Touch Operation and Terminal
CN104615303A (zh) * 2015-01-30 2015-05-13 深圳市中兴移动通信有限公司 移动终端防误触方法及移动终端
CN104679362A (zh) * 2013-11-27 2015-06-03 纬创资通股份有限公司 触控装置及其控制方法
CN105700782A (zh) * 2014-11-25 2016-06-22 中兴通讯股份有限公司 一种调整虚拟按键布局的方法、装置及移动终端
CN106980409A (zh) * 2017-03-28 2017-07-25 北京小米移动软件有限公司 输入控制方法及装置

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI502474B (zh) * 2013-11-28 2015-10-01 Acer Inc 使用者介面的操作方法與電子裝置
CN106406633A (zh) * 2016-12-16 2017-02-15 广东欧珀移动通信有限公司 一种触摸屏边缘的防误触方法、装置及移动终端

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140111487A1 (en) * 2012-02-22 2014-04-24 Huawei Device Co., Ltd. Processing Method for Touch Operation and Terminal
CN104679362A (zh) * 2013-11-27 2015-06-03 纬创资通股份有限公司 触控装置及其控制方法
CN105700782A (zh) * 2014-11-25 2016-06-22 中兴通讯股份有限公司 一种调整虚拟按键布局的方法、装置及移动终端
CN104615303A (zh) * 2015-01-30 2015-05-13 深圳市中兴移动通信有限公司 移动终端防误触方法及移动终端
CN106980409A (zh) * 2017-03-28 2017-07-25 北京小米移动软件有限公司 输入控制方法及装置

Also Published As

Publication number Publication date
CN112639711A (zh) 2021-04-09

Similar Documents

Publication Publication Date Title
TWI608407B (zh) 觸控裝置及其控制方法
US20160299604A1 (en) Method and apparatus for controlling a mobile device based on touch operations
AU2017203910B2 (en) Glove touch detection
TWI502474B (zh) 使用者介面的操作方法與電子裝置
WO2014026633A1 (zh) 一种触摸屏防误操作方法、触摸屏及移动终端
JP2014503925A (ja) タッチスクリーンを備えた端末機及びその端末機でのタッチイベント識別方法
US10048728B2 (en) Information processing apparatus, method, and storage medium
JP2003167669A (ja) 情報処理装置、プログラム及び座標入力方法
JP2016529640A (ja) マルチタッチ仮想マウス
US9201587B2 (en) Portable device and operation method thereof
US9389781B2 (en) Information processing apparatus, method for controlling same, and recording medium
US9933895B2 (en) Electronic device, control method for the same, and non-transitory computer-readable storage medium
US9405393B2 (en) Information processing device, information processing method and computer program
US10656746B2 (en) Information processing device, information processing method, and program
CN104951213A (zh) 防止误触发边缘滑动手势的方法及手势触发方法
US20120013556A1 (en) Gesture detecting method based on proximity-sensing
US20180059806A1 (en) Information processing device, input control method for controlling input to information processing device, and computer-readable storage medium storing program for causing information processing device to perform input control method
WO2020051797A1 (zh) 防误触方法及电子装置
JP7218567B2 (ja) 情報入力装置
KR20130038785A (ko) 베젤을 이용한 터치스크린 제어방법
JP2014056519A (ja) 携帯端末装置、誤操作判定方法、制御プログラムおよび記録媒体
US9791956B2 (en) Touch panel click action
CN110262747B (zh) 控制终端的方法、装置、终端及存储介质
US9013440B2 (en) Ink control on tablet devices
WO2020097798A1 (zh) 终端设备及其触摸响应控制方法

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: 18933059

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: 18933059

Country of ref document: EP

Kind code of ref document: A1