1. Technical Field
Embodiments of the present disclosure generally relate to an electronic device, and more particularly to a data input method for the electronic device.
2. Description of Related Art
Often, electronic devices, such as cell phones and personal digital assistants, feature a touch screen or keypad allowing input to operate the electronic device. If a touch screen is damaged, the keypad becomes the main input device. However, frequent use thereof may lead to malfunction of the keypad.
What is needed, therefore, is a data input method for the electronic device allowing diversification of input and increase the keypad lifetime.
The invention is illustrated by way of example and not by way of limitation in the figures of the accompanying drawings in which like references indicate similar elements. It should be noted that references to “an” or “one” embodiment in this disclosure are not necessarily to the same embodiment, and such references mean at least one.
In general, the data “module,” as used herein, refers to logic embodied in hardware or firmware, or to a collection of software instructions, written in a programming language, such as, for example, Java, C, or assembly. One or more software instructions in the modules may be embedded in firmware, such as an EPROM. It will be appreciated that modules may comprised connected logic units, such as gates and flip-flops, and may comprise programmable units, such as programmable gate arrays or processors. The modules described herein may be implemented as either software and/or hardware modules and may be stored in any type of computer-readable medium or other computer storage device.
The data input unit 12 is operable to receive data input though a user-depression of the keys 100, and acquire a set of values from one or more keys 100 that have been depressed. The set of values includes serial numbers of the light sensors 102 positioned under each of the keys 100, and a current value change sequence of the one or more keys 100 that have been depressed. The data input unit 12 locates data from a database 180 of the storage system 18, and displays the located data on the display device 14. In the embodiment, the located data includes standard values that match the acquired set of values. In order to clearly illustrate the embodiment, more functions of the data input unit 12 are detailed below as shown in
The receiving module 120 is operable to receive data input though a user-depression of the keys 100. As mentioned above, the data input may be a Chinese characters, or English words, for example.
The acquiring module 122 is operable to acquire a set of values from one or more keys 100 that have been depressed. In the embodiment, the set of values includes serial numbers of the light sensors 102 positioned under each of the keys 100, and a current value of current flowing to the light sensors 102 (hereinafter reference as “current value change sequence”) related to the one or more keys 100 that have been depressed. The current value change sequence includes a low current value changing to a high current value or a high current value changing to a low current value. Further details of the current value change sequence will be provided below.
As an example, with respect to
The locating module 124 is operable to locate data from the database 180, where the data includes standard values that match the acquired set of values, by comparing the acquired set of values with the standard values of the entries in the database 180.
In the embodiment, the standard values include serial numbers of the light sensors 102 that experience a current value change sequence. It should be understood that the current value change sequence of the light sensors 102 of the keys 100 that have been depressed are related to the data input to the keys 100. For example, if the serial number of one of the light sensors 102 is set as “1” (hereinafter referenced as a first light sensor), where a low current value of the first light sensor is 0.45 microamperes and a high current value of the first light sensor is 0.55 μA, the current characteristics of the first light sensor is seen as a low current value changing to a high current value.
Serial numbers “0302” and “0706” represent a first stroke of the Chinese character serial numbers “0607” and “1011” represent a second stroke of the Chinese character serial numbers “1011” and “1415” represent a third stroke of the Chinese character serial numbers “0711151918,” “0610141814” and “0610151814” represent a fourth stroke of the Chinese character
The displaying module 126 displays the located data on the display device 14.
In one embodiment, the serial numbers of the light sensors 102 are stored in the storage system 18. In another embodiment, the storage system 18 stores the current characteristics of each of the light sensors 102.
With reference to
In block S700, the receiving module 120 receives data input though a user-depression of the keys 100. In the embodiment, the data input may be a Chinese characters, or English words, for example.
In block S702, current characteristics of the light sensors 102 positioned under the keys 100 that have been depressed may change. For example, as shown in
In block S704, the acquiring module 122 acquires a set of values from one or more keys that have been depressed. In the embodiment, the acquired set of values includes serial numbers of the light sensors 102 positioned under each of the keys 100, and a current value change sequence of the light sensors 102 related to the one or more keys 100 that have been depressed. The current value change sequence includes a low current value changing to a high current value or a high current value changing to a low current value.
In block S706, the locating module 124 compares the acquired set of values with standard values of the entries in a database 180 of the electronic device 1, to determine whether a data is located that match the acquired set of values. In the embodiment, the standard values include serial numbers of the light sensors 102 that experience a current value change sequence. It should be understood that the current value change sequence of the light sensors 102 of the keys 100 that have been depressed are related to the data input to the keys 100.
If no data in the database 180 matches the acquired set of values, the process is complete. If data is located that matches the acquired set of values, in block S710, the displaying module 126 displays the located data on the display device 14.
Although certain inventive embodiments of the present disclosure have been specifically described, the present disclosure is not to be construed as being limited thereto. Various changes or modifications may be made to the present disclosure without departing from the scope and spirit of the present disclosure.
Number | Date | Country | Kind |
---|---|---|---|
200810306404.8 | Dec 2008 | CN | national |