An electronic device includes an access control module, a plurality of input areas, and a comparing module. The access control module has a predetermined password. The input areas are configured to be tapped to input characters in the electronic device. The number of the input areas is determined by the number of unique characters of the predetermined password. The comparing module is configured to compare a sequence of the characters entered with the predetermined password.

1. An electronic device comprising: an access control module having a predetermined a password; a plurality of input areas configured to be tapped to input characters in the electronic device, the number of the input areas being determined by the number of unique characters of the predetermined password; and a comparing module configured to compare a sequence of the characters entered with the predetermined password.

2. The electronic device of claim 1, wherein each of the input areas displays one of the unique characters of the predetermined password.

3. The electronic device of claim 2, wherein a plurality of sensors is corresponding to the input areas and configured to enter the corresponding characters.

4. The electronic device of claim 2, wherein the comparing module is capable of comparing the sequence of tapping each of the input areas with the order of the characters presented in the predetermined password.

5. An electronic device comprising: an access control module having a predetermined password; a plurality of password input areas, each of the input areas configured to display one of unique characters of the predetermined password and be tapped to enter the displayed character in the electronic device; and a comparing module capable of comparing the sequence of tapping each of the input areas with the order of the characters in the predetermined password.

6. The electronic device of claim 5, wherein the number of the input areas is determined by the number of the unique characters of the predetermined password.

7. The electronic device of claim 5, wherein a plurality of sensors is corresponding to the input areas and configured to enter the corresponding characters when the corresponding input area is tapped.

8. An electronic device comprising: a plurality of input areas displaying unique characters, a password comprising the characters displayed in the input areas predetermined in the electronic device; a plurality of sensors corresponding to the input areas and configured to enter the corresponding characters when the corresponding input area is tapped; and a comparing module configured to compare a sequence of the characters input from the sensors with the predetermined password.

9. The electronic device of claim 8, wherein the number of the input areas is equal to the number of the unique characters of the predetermined password.

10. The electronic device of claim 8, wherein the comparing module is capable of comparing the sequence of tapping each of the input areas with the order of the characters presented in the predetermined password.

Description:

BACKGROUND

1. Technical Field

The present disclosure relates to electronic devices, and particularly to an electronic device for conveniently entering passwords.

2. Description of Related Art

Many electronic devices, such as portable computers and portable telephones, have passwords to prevent malicious use. The password includes alphanumerical characters and/or symbols, and should be correctly entered before the electronic device can be accessed. However, given the number of passwords one has to remember (E-mails, bank accounts, the Internet, laptops, computers, etc), it is too easy to forget the password for a particular function.

BRIEF DESCRIPTION OF THE DRAWINGS

Many aspects of the embodiments can be better understood with references to the following drawings. The components in the drawings are not necessarily drawn to scale, the emphasis instead being placed upon clearly illustrating the principles of the embodiments. Moreover, in the drawings, like reference numerals designate corresponding parts throughout the several views.

FIG. 1 is a block diagram of an embodiment of an electronic device.

FIG. 2 is a front view of the electronic device of FIG. 1.

FIG. 3 is a flow chart illustrating an embodiment of a method for entering password in the electronic device of FIG. 1.

DETAILED DESCRIPTION

Referring to FIG. 1, an embodiment of an electronic device 10 includes a display module 101, an access control module 103, an input module 105, a comparing module 107, and one or more touch sensors 109.

An access password of the electronic device 10 can be predetermined via the access control module 103. The predetermined password may include alphanumerical characters, and can be inputted via the input module 105 when configuring the password. It is understood that the term alphanumerical is intended to include, but not limited to, all symbols, grammatical or otherwise, that can be entered using a keyboard. The input module 105 may be a keyboard, or a virtual keyboard, or other input devices. The access control module 103 defines a plurality of input areas shown by the display module 101 when prompting for the password. Each of the input areas further uniquely displays a hint of one of the characters. The number of the input areas is equal to the number of the unique characters of the predetermined password. The input areas are configured to be tapped, and send a character input the corresponding character displayed in the input areas to the comparing module 107. Each of the input areas can be tapped at least once. The comparing module 107 is configured to compare a sequence of the characters input from the touch sensors 109 with the predetermined password.

Referring also to FIG. 2, in the embodiment, the display module 101 may be a touch screen, and the input module 195 may be a keyboard. The input areas are designated as 12, 13, 14, 15, 16. The predetermined password is for exemplarily purpose, is 1122abc.

Referring also to FIG. 3, when prompting for the password, the input areas 12, 13, 14, 15, 16 are displayed on the display module 101, and correspondingly display the characters 1, 2, a, b, c. The input areas 12, 13, 14, 15, 16 are then tapped. The touch sensors 109, corresponding to the input areas 12, 13, 14, 15, 16, send the character inputs 1, 2, 3, a, b, c displayed in the input areas 12, 13, 14, 15, 16 to the comparing module 107 when tapped. The comparing module 107 receives the characters in the input sequence of the characters by the input areas, and compares the input characters with the predetermined password 1122abc. If the input password matches the predetermined password, the electronic device 10 can be accessed. If the characters are not the same to the predetermined password, the comparing module 107 would signal the display module 101 to prompt for the password again. In order to successfully access the electronic device 10, the number of tapping each input area is equal to the repeat times of each character in the predetermined password, i.e., the input area 12 is tapped twice, the input area 13 is tapped twice, the input area 14 is tapped once, the input area 15 is tapped once, and the input area 16 is tapped once sequentially. The touch sensor 109 sequentially sends the entered characters 1122abc to the comparing module 107. Then the electronic device 10 can be thus accessed after the comparing module 107 verifies that the entered characters match the predetermined password.

It is to be understood, however, that even though numerous characteristics and advantages have been set forth in the foregoing description of embodiments, together with details of the structures and functions of the embodiments, the disclosure is illustrative only, and changes may be made in detail, especially in matters of shape, size, and arrangement of parts within the principles of the disclosure to the full extent indicated by the broad general meaning of the terms in which the appended claims are expressed.