This application claims the priority benefit of Taiwan application serial no. 102117030, filed on May 14, 2013. The entirety of the above-mentioned patent application is hereby incorporated by reference herein and made a part of this specification.
1. Technical Field
The invention relates to an application of a touch operation. Particularly, the invention relates to a mistouch identification method of a touch panel and a device using the same.
2. Related Art
Along with development of touch control technology, input devices of a plurality of electronic products have been changed from conventional keyboards, mice or remote controllers to touch devices. For example, a mobile electronic device with a main characteristic of portability generally has a certain limitation in device volume, and by using a touch screen to serve as an input and output device, a space required by the physical keyboard is saved, which also increases the size of the screen.
When the user operates the mobile electronic device having the touch screen, the user probably mistouches the touch screen due to a device holding manner or an input pose, which results in a fact that the mobile electronic device conducts a wrong response. For example, when the user uses a tablet PC having a touch screen, and uses a stylus to draw, for the sake of input comfort, the user generally leans a side portion of the palm against the tablet PC, though the contact between the side portion of the palm and the touch screen is not a desired input actually input by the user. However, the tablet PC may draw unnecessary noise points or lines at a position corresponding to the touch operation detected by the touch screen. Predictably, the interference caused by mistouch may have a negative influence on usage experience.
Accordingly, the invention is directed to a mistouch identification method and a device using the same, which is capable of identifying a mistouch generated when a user operates an electronic device by using a stylus, so as to filter unnecessary noise points displayed on a screen and avoid enabling application programs or functions by mistake.
The invention provides a mistouch identification method, which is adapted to an electronic device having a touch panel. The method includes following steps. A first touch and a second touch detected successively by the touch panel are obtained. It is determined whether a time interval between the first and the second touches detected by the touch panel does not exceed a predetermined value. It is determined whether the second touch constitutes an invalid area according to an appearance of the second touch when the time interval does not exceed the predetermined value. It is identified whether the first touch is a mistouch according to a degree of overlap of the first touch and the invalid area when the second touch constitutes the invalid area.
The invention provides a mistouch identification device, which is adapted to an electronic device having a touch panel. The mistouch identification device includes a touch obtaining module, a time interval determination module, an invalid area determination module and a mistouch identification processing module. The touch obtaining module obtains a first touch and a second touch detected successively by the touch panel. The time interval determination module determines whether a time interval between the first and the second touches detected by the touch panel does not exceed a predetermined value. The invalid area determination module determines whether the second touch constitutes an invalid area according to an appearance of the second touch when the time interval determination module determines that the time interval does not exceed the predetermined value. The mistouch identification processing module identifies whether the first touch is a mistouch according to a degree of overlap of the first touch and the invalid area when the invalid area determination module determines that the second touch constitutes the invalid area.
According to the above descriptions, the mistouch identification method and the device using the same can effectively identify the mistouch generated when the user uses the stylus to operate on the electronic device, so as to eliminate the noise points displayed on the screen due to the mistouch, and avoid enabling unnecessary functions or application programs by mistake.
In order to make the aforementioned and other features and advantages of the invention comprehensible, several exemplary embodiments accompanied with figures are described in detail below.
The accompanying drawings are included to provide a further understanding of the invention, and are incorporated in and constitute a part of this specification. The drawings illustrate embodiments of the invention and, together with the description, serve to explain the principles of the invention.
When a user uses a stylus to perform an input operation on a touch panel, a contact area between user's hand (for example, the palm or a side portion thereof) and the touch panel is regarded as an invalid area, i.e. the system does not react in response to a touch operation in the invalid area. However, since there is a time interval between detection of a first touch and determination of constituting a palm area (the invalid area), before the palm area is constituted, the first detected touch is regarded as a valid input to display corresponding content on a screen or generate a corresponding trigger event. The invention provides a mistouch identification method and a device using the same, which may effectively identify a mistouch and decrease probability of wrong operation of the electronic device.
The touch panel 11 is, for example, a resistive touch panel, a capacitive touch panel or a touch panel composed of other types of touch sensing devices. The touch panel 11 corresponds a display area of a screen (not shown) of the electronic device 100, and the touch panel 11 receives a touch operation and the screen displays a corresponding frame. In an embodiment, the touch panel 11 and the screen are in a same module (i.e. the touch panel 11 and the screen construct a touch screen), and a size of the touch panel 11 matches a size of a display area. In another embodiment, the touch panel 11 and the screen are two independent modules, and the size of the touch panel 11 can be the same or different to the size of the display area.
The mistouch identification device 12 is, for example, a software or hardware device configured in the electronic device 100, which is used for determining whether a touch operation received by the touch panel 11 is a valid operation preformed by the user or simply a mistouch.
Modules in the mistouch identification device 12 and functions of the modules are described with reference of
In step S310, the touch obtaining module 121 obtains a first touch and a second touch detected successively by the touch panel 11. It should be noticed that the touch panel 11 does not detect other touch during the period of detecting the first touch and the second touch. In other words, each time when the touch panel 11 detects a current touch (i.e. the second touch), the touch obtaining module 121 of the present embodiment obtains a previous touch detected by the touch panel 11 to serve as the first touch. Since the touch panel 11 continually detects touches and the electronic device 100 performs corresponding processing according to the touches detected by the touch panel 11, when the touch panel 11 detects the second touch, the electronic device 100 have performed corresponding processing on the first touch detected by the touch panel 11 (for example, have drawn corresponding input points according to the touch on the display area of the screen, or have generated a corresponding trigger event according to a touch position, etc.). The mistouch identification device 12 of the present embodiment mainly identifies whether the first touch is a mistouch according to following steps, so as to determine whether a post processing procedure is required on the processed first touch.
Then, in step S320, the time interval determination module 123 determines whether a time interval between the first touch and the second touch detected by the touch panel 11 does not exceed a predetermined value. The predetermined value is, for example, 0.1 second, though the invention is not limited thereto.
If a determination result of the step S320 is negative, it represents that a relevance between the first touch and the second touch is relatively low, and the second touch can be regarded as an independent touch input, and in step S325, the mistouch identification processing module 127 identifies whether the second touch is a mistouch and performs a corresponding processing according to whether the second touch is appeared in the invalid area of the touch panel 11. In an embodiment, if the second touch is appeared in the invalid area, the touch identification processing module 127 identifies the second touch to be the mistouch, and notifies the electronic device 100 not to process the second touch. If the second touch is outside the invalid area, the touch identification processing module 127 identifies the second touch to be a normal touch, and notifies the electronic device 100 to process the second touch. In another embodiment, if the touch panel 11 does not have any invalid area, the touch identification processing module 127 identifies the second touch to be a normal touch, and notifies the electronic device 100 to process the second touch. Then, the flow of the mistouch identification method of the present embodiment returns to the step S310, and the touch obtaining module 121 re-obtains the first touch and the second touch to implement follow-up steps.
When the time interval determination module 123 determines that the time interval does not exceed the predetermined value (i.e. the determination result of the step S320 is affirmative), in step S330, the invalid area determination module 125 determines whether the second touch constitutes the invalid area according to an appearance of the second touch. In detail, the invalid area determination module 125 determines whether the second touch constitutes the invalid area according to a total area and/or a shape of the second touch. For example, when the total area of the second touch is greater than an area threshold, the second touch is probably an input caused by the palm, so that the invalid area determination module 125 determines that the second touch constitutes the invalid area. Alternatively, when the shape of the second touch is not conformed to a predetermined shape (for example, regular shapes liable to be generated by the stylus input such as a round or a near round, etc.), the invalid area determination module 125 determines that the second touch constitutes the invalid area. Further, the invalid area determination module 125 determines that the second touch constitutes the invalid area when the total area of the second touch is greater than the area threshold and the shape of the second touch is not conformed to the predetermined shape. In another embodiment, the user can change a dominant hand operation setting of the electronic device 100 according to a dominant hand. Generally, when the dominant hand of the user is the right hand, the area where the palm contacts the touch panel 11 is appeared to the right of the area where the stylus contacts the touch panel 11, so that the invalid area of the touch panel 11 has a higher chance to appear to the right of a valid area. Comparatively, when the dominant hand of the user is the left hand, the area where the palm contacts the touch panel 11 is appeared to the left of the area where the stylus contacts the touch panel 11, so that the invalid area of the touch panel 11 has a higher chance to appear to the left of the valid area. In this way, the invalid area determination module 125 further determines whether a relative position between the valid area and the second touch on the touch panel 11 corresponds to the dominant hand operation setting when the total area of the second touch is greater than the area threshold and/or the shape of the second touch is not conformed to the predetermined shape, and determines that the second touch constitutes the invalid area when the relative position corresponds to the dominant hand operation setting. It is assumed that the dominant hand operation setting of the electronic device 100 is the right hand, referring to
When the invalid area determination module 125 determines that the second touch does not constitute the invalid area. In step S335, the touch identification processing module 127 identifies the second touch to be a normal touch, and notifies the electronic device 100 to process the second touch. Then, the flow of the mistouch identification method of the present embodiment returns to the step S310, and the touch obtaining module 121 re-obtains the first touch and the second touch to implement follow-up steps.
When the invalid area determination module 125 determines that the second touch constitutes the invalid area, touches appeared in the invalid area are all filtered, so that in step S340, the touch identification processing module 127 notifies the electronic device 100 not to process the second touch.
Then, in step S350, the mistouch identification processing module 127 identifies whether the first touch is a mistouch according to a degree of overlap of the first touch and the invalid area. In detail, the mistouch identification processing module 127 identifies the first touch to be the mistouch when an area of the overlapped part of the first touch that is overlapped to the invalid area reaches a specific proportion of a total area of the first touch. It is assumed that the specific proportion is 100%, when the first touch is completely located within the invalid area, the mistouch identification processing module 127 identifies the first touch to be the mistouch. It is assumed that the specific proportion is 90%, when 90% of the first touch is located within the invalid area, the mistouch identification processing module 127 identifies the first touch to be the mistouch. The aforementioned specific proportions are only examples, and the invention is not limited thereto.
If the determination result of the step S350 is negative, the flow of the mistouch identification method of the present embodiment returns to the step S310, and the touch obtaining module 121 re-obtains the first touch and the second touch to implement follow-up steps.
If the determination result of the step S350 is affirmative, in step S360, the mistouch identification processing module 127 performs a post processing procedure on the first touch. For example, the mistouch identification processing module 127 eliminates the content displayed in the display area of the screen of the electronic device 100 in response to the first touch when the first touch is identified to be the mistouch. Moreover, the mistouch identification processing module 127 cancels the trigger event generated in response to the first touch when the first touch is identified to be the mistouch, and the trigger event can be an application program enabling event or a key selecting event, etc.
As shown in
In detail, since different application programs may provide different operating interfaces, areas capable of receiving the user's input are different. Taking
Besides, since the user has different usage habits for different types of files, the time interval determination module 123 can also define the valid area of the touch panel 11 according to the type of the file opened on the electronic device 100. For example, after a video, a music or a photo is opened, it is generally browsed by the user only, so that when the file opened on the electronic device 100 is a multimedia file, the time interval determination module 123 defines a major part of the touch panel 11 as the invalid area, and defines a minor part of the touch panel 11 as the valid area. When the file opened on the electronic device 100 is a text, a spreadsheet or a slide, etc. that requires extensive edition, the time interval determination module 123 defines a major part of the touch panel 11 as the valid area, and defines a minor part of the touch panel 11 as the invalid area.
It is assumed that a storage unit of the electronic device 100 stores an operating behavior historical record, which records usage habits of the user using various application programs, for example, areas where input operations are constantly performed after the application program is opened. After the time interval determination module 123 learns the application program executed on the electronic device 100, the time interval determination module 123 obtains the area where input operations are constantly performed according to the operating behavior historical record, and defines the area as the valid area of the touch panel 11.
In the embodiment of
If the second touch is located in the valid area, the time interval determination module 123 determines whether a time interval between the first touch and the second touch detected by the touch panel 11 does not exceed a predetermined value (step S520). The steps S520 to S560 of
In summary, the mistouch identification method and the device using the same can effectively determine the points required to be erased, so as to avoid wrong operations executed by the electronic device, and accordingly increase operation accuracy of the electronic device, and the user may have a better operating experience when operating the electronic device.
It will be apparent to those skilled in the art that various modifications and variations can be made to the structure of the invention without departing from the scope or spirit of the invention. In view of the foregoing, it is intended that the invention cover modifications and variations of this invention provided they fall within the scope of the following claims and their equivalents.
Number | Date | Country | Kind |
---|---|---|---|
102117030 | May 2013 | TW | national |