This application claims the priority benefit of Taiwan application serial no. 102120929, filed on Jun. 13, 2013. The entirety of the above-mentioned patent application is hereby incorporated by reference herein and made a part of this specification.
1. Field of the Invention
The invention relates to an application of a touch sensing technology, and more particularly to a method of selecting a touch input source and an electronic device using the same.
2. Description of Related Art
With improvement of touch technology, touch elements have been widely used by electronic products as input device. For instance, due to restriction in device size for meeting demands of portability, touch screens have been utilized by mobile electronic devices nowadays as input and output device for saving space required for physical keyboard while increasing screen size thereof.
When a user operates a mobile electronic device having a touch screen, the touch screen is probably mistakenly touched due to manners of holding the device and gestures of inputting, such that the mobile electronic device may response incorrectly. For instance, when the user utilizes a tablet computer and a stylus for drawing, in order to improve comfort for inputting, a lateral portion of a palm is probably leaned against on the tablet computer. However, a position where the lateral portion of the palm contacting the touch screen is not of an input that the user intended to perform, yet the tablet computer will still draw unnecessary dots or lines on said position in response to a touch sensed by the touch screen. Predictably, interference caused by being mistakenly touched brings negative effects to use perception.
Accordingly, the invention is directed to a method of selecting a touch input source and an electronic device using the same, and capable of effectively distinguishing whether a user utilizes a stylus or a finger to perform operations on a touch panel, such that a touch input source may be selected properly, so to avoid unwanted operations performed by the electronic device.
The method of selecting the touch input source of the invention is suitable for an electronic device having a touch panel, and the method includes determining whether the electronic device detects an activating signal sent from the stylus. The method also includes defining the stylus as an input signal source of the electronic device when the activating signal is detected by the electronic device. The method further includes defining an electric conductive material and/or a finger as the input signal source of the electronic device when the activating signal is not detected by the electronic device.
An electronic device of the invention includes a touch panel, a communication unit and a processing unit. The processing unit is coupled to the touch panel and the communication unit. The processing unit determines whether the communication unit receives the activating signal sent from the stylus. The processing unit defines the stylus as an input signal source of the electronic device when the activating signal is detected. The processing unit defines an electric conductive material and/or a finger as the input signal source of the electronic device when the activating signal is not detected.
Based on above, the method of selecting the touch input source and the electronic device using the same in the invention may affectively determine whether the user performs operations with the stylus. When the user performs the operations with the stylus, the touch data generated by touching the touch panel with the electric conductive material and/or the finger may be filtered out and only the touch data retrieved from the stylus is processed. As a result, when the user holds the stylus for inputting, the unwanted operations performed by the electronic device due to the touch panel being mistakenly touched by the palm may be avoided.
To make the above features and advantages of the disclosure more comprehensible, several embodiments accompanied with drawings are described in detail as follows.
The touch panel 110 includes a plurality of capacitive touch sensing elements. The touch panel 110 is capable of detecting a touch performed by input tools such as a finger, an electric conductive material or a stylus, and serving as an input interface of the electronic device 100. In other embodiments, a touch screen may be constituted by combining the touch panel 110 with a display panel (not illustrated) of the electronic device 100, and served as an input and output interface of the electronic device 100.
The communication unit 120 is, for example, a radio communication module including a transmitter and a receiver for signal transmission with other devices.
The processing unit 130 is coupled to the touch panel 110 and the communication unit 120. The processing unit 130 may be a central processing unit (CPU) or other programmable devices for general purpose or special purpose such as a microprocessor and a digital signal processor (DSP), a programmable controller, an application specific integrated circuit (ASIC) or other similar elements or a combination of above-mentioned elements. The processing unit 130 is mainly responsible for controlling operations of the electronic device 100. More particularly, it is configured to identify whether the user performs operations on the touch panel 110 by using the finger or the electric conductive material, or performs the operations on the touch panel 110 by holding and using the stylus. Subsequently, a touch input source may be properly selected according to a result of said identification, so as to control the electronic device 100 to response to the operations performed by the user correctly.
When the electronic device 100 is powered on, the processing unit 130 determines whether an activating signal sent from the stylus is detected by the electronic device 100, as shown in step S210. That is, the processing unit 130 determines whether the communication unit 120 receives the activating signal sent from the stylus. The stylus of the present embodiment is an active stylus including a pen body configured with at least one sensing element, and the sensing element may be a button, a charge-variation sensing element (e.g., an indium tin oxide (ITO)) or a motion sensing element (e.g., an acceleration sensor, a vibration sensor or a gyroscope). Types of the sensing elements are not particularly limited to the above, and any elements capable of detecting whether the stylus is held and used by the user falls within the scope of the invention. The stylus sends the activating signal when the at least one sensing element configured within the stylus detects a human touch, and the activating signal is, for example, a carrier signal.
If a result of the determination in step S210 is yes, this indicates that there is the stylus held by the user approaching to the touch panel 110. In this case, the processing unit 130 defines the stylus as an input signal source of the electronic device 100, as shown in step S220.
In step S410, the processing unit 130 determines whether the input signal source currently set is the stylus, and the input signal source is, for example, a system parameter recorded in a storage unit (not illustrated) of the electronic devices 100.
If a result of the determination in step S410 is no, the processing unit 130 switches the input signal source to the stylus, as shown in step S420. If the result of the determination in step S410 is yes, the processing unit 130 does not perform any switching operation to the input signal source. Subsequently, the processing unit 130 only processes a touch data retrieved from the stylus and ignores a touch data generated by touching the touch panel 110 with the electric conductive material and/or the finger, as shown in step S430. In other words, once the stylus is defined as the input signal source of the electronic device 100, only the information sent from the stylus is deemed as a valid input, and any other touches on the touch panel 110 caused by a human body (e.g., the finger, the palm and so on) or the electric conductive material are deemed as an invalid input.
Referring back to step S210 depicted in
As shown in step S510, the processing unit 130 first determines whether the input signal source currently set is the electric conductive material and/or the finger. If yes, the processing unit 130 does not change settings of the input signal source. If no, the processing unit 130 switches the input signal source to the electric conductive material and/or the finger, as shown in step S520. Subsequently, the processing unit 130 only processes the touch data generated by touching the touch panel 110 with the electric conductive material and/or the finger and ignores the touch data retrieved from the stylus, as shown in step S530. That is, the electronic device 100 only responses properly to touching of the touch panel 110 with the human body (e.g., the finger) or the electric conductive material.
In the present embodiment, the touch data selected by the processing unit 130 is temporarily stored in a data temporary storage unit (not illustrated) of the electronic device 100, so that an operating system of the electronic device 100 may access the touch data later and response correspondingly to the touch data.
As long as the electronic device 100 is not powered off, the processing unit 130 may continue to repeat each step depicted in
In light of above, the invention provides a method of selecting a touch input source and an electronic device using the same, in which a decision is made based on detection of whether the activating signal is sent from the stylus, so as to select either the stylus or otherwise the electric conductive material and/or the finger, as a valid input device. As a result, it is ensured that the electronic device may response correctly to the operations performed by the user, so as to enhance operating accuracy of 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 present disclosure without departing from the scope or spirit of the disclosure. In view of the foregoing, it is intended that the present disclosure cover modifications and variations of this disclosure provided they fall within the scope of the following claims and their equivalents.
Number | Date | Country | Kind |
---|---|---|---|
102120929 | Jun 2013 | TW | national |