This application claims priority to Taiwanese Patent Application No. 104116353 filed on May 21, 2015, the contents of which are incorporated by reference herein.
The subject matter herein generally relates to electronic device security.
A portable electronic device can switch between a locked state and a unlocked state. A common unlocking technique for the portable electronic device in the locked state is to input an alpha-numeric password using a physical keypad of the electronic device or a virtual keypad displayed on a touch screen of the portable electronic device.
Many aspects of the embodiments can be better understood with reference 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 this disclosure. Moreover, in the drawings, like reference numerals designate corresponding parts throughout the views.
It will be appreciated that for simplicity and clarity of illustration, where appropriate, reference numerals have been repeated among the different figures to indicate corresponding or analogous elements. In addition, numerous specific details are set forth in order to provide a thorough understanding of the embodiments described herein. However, it will be understood by those of ordinary skill in the art that the embodiments described herein can be practiced without these specific details. In other instances, methods, procedures, and components have not been described in detail so as not to obscure the related relevant feature being described. Also, the description is not to be considered as limiting the scope of the embodiments described herein. The drawings are not necessarily to scale and the proportions of certain parts may be exaggerated to better illustrate details and features of the present disclosure.
The term “comprising” means “including, but not necessarily limited to”; it specifically indicates open-ended inclusion or membership in a so-described combination, group, series and the like.
The portable electronic device 100 includes a sensing portion 10, a display screen 20, a storage device 30, and an unlocking system 40, which can communicate with each other by wires or wirelessly.
The sensing portion 10 senses a rotating direction of the portable electronic device 100, and communicates with the unlocking system 40. In at least embodiment, the sensing portion 10 can be an acceleration transducer, an electronic compass, or a combination of the acceleration transducer and the electronic compass.
The storage device 30 stores unlocking information. The unlocking information comprises a predetermined number of specified characters and rotating directions. The storage device 30 can be an internal storage device, such as a random access memory (RAM) for temporary storage of information, and/or a read only memory (ROM) for permanent storage of information. The storage device 30 can also be an external storage device, such as an external hard disk, a storage card, or a data storage medium.
The unlocking system 40 identifies as input information a rotating direction of the portable electronic device 100 and the prompting character 513 facing the pointer 53 when the portable electronic device 100 stops rotating, and compares an input information with the unlocking information. When the total input information is identical to the unlocking information, the unlocking system 40 switches the portable electronic device 100 into the unlocked state. In at least one embodiment, the unlocking operation can unlock a display screen of the portable electronic device 100, a keyboard of the portable electronic device 100, or an encryption program of the portable electronic device 100.
The unlocking system 40 includes a controlling unit 41, an obtaining unit 42, an inputting unit 43, a counting unit 45, a determining unit 47, and a comparison unit 49.
The controlling unit 41 controls the display screen 20 to display the unlocking interface 5. In at least one embodiment, the controlling unit 41 controls the display screen 20 to display the unlocking interface 5 when a specified mechanical key or a specified virtual key of the portable electronic device is pressed.
The obtaining unit 42 obtains the rotating direction of the portable electronic device 100 sensed by the sensing portion 10.
The inputting unit 43 obtains as an input character the one of the prompting characters 513 which is facing the pointer 53 when the portable electronic device 100 stops rotating, and orderly displays the input characters on the unlocking interface 5. The inputting unit 43 further stores the input characters and the corresponding rotating direction as input information in the storage device 30. In at least one embodiment, the inputting unit 43 counts the period of time of the portable electronic device 100 being static and obtains the prompting character 513 facing the pointer 53 when the counted time equals a predetermined time. The predetermined time is 2 seconds. The predetermined time can be set by operation of user. In other embodiments, the inputting unit 43 obtains the prompting character 513 facing the pointer 53 as the input character, and orderly displays a specified symbol on the unlocking interface 5 when the portable electronic device 100 stop rotating. The specified symbol can be a block point or a “*” symbol representing a prompting character 513.
The counting unit 45 acquires a certain number of the input character and stores the acquired number in the storage device 30.
The determining unit 47 determines whether the number of the input characters is equal to a predetermined value. When the number of input characters is equal to a predetermined value, the determining unit 47 controls the comparison unit 49 to execute a comparison operation.
The comparison unit 49 compares the total input information with the unlocking information. When the total input information is identical to the unlocking information, the comparison unit 49 controls the portable electronic device 100 to be unlocked.
At block 501, the controlling unit 41 controls the display screen 20 to display an unlocking interface 500 with a compass 51 and a pointer 53. The compass 51 includes a plurality of prompting characters 513 arranged in a circle. The compass 51 or the pointer 53 can be capable of rotating with the portable electronic device 100. In at least one embodiment, the compass 51 rotates with the portable electronic device 100 to change the prompting character 513 which face the pointer 53. The pointer 53 remains pointing to a predetermined direction while the portable electronic device 100 rotates. The pointer 53 remains pointing to a top side of the portable electronic device. The prompting characters 513 can be a letter, a number, or a combination of a letter and a number. In other embodiments, the pointer 53 rotates with the portable electronic device 100 to point to a different prompting character 513. The compass 51 remains static while the portable electronic device 100 rotates.
At block 502, the obtaining unit 42 obtains the rotating direction by the sensing portion 10 when the portable electronic device 100 rotates.
At block 503, the inputting unit 43 counts a period of time after the portable electronic device 100 has stopped rotating.
At block 504, the inputting unit 43 determines whether the counted period of time reaches a predetermined time. When the counted period of time reaches the predetermined time, the procedure goes to block 505. Until the counted period reaches the predetermined time, the procedure remains in block 503.
At block 505, the inputting unit 43 obtains the prompting character 513 facing the pointer 53 as an input character, and stores the input character 513 and the rotating direction as input information, in the storage device 30. In at least one embodiment, the inputting unit 43 further controls the display screen 20 to orderly display the input character on the unlocking interface 500, as shown in
At block 506, the counting unit 45 acquires a number of the input characters.
At block 507, the determining unit 47 determines whether the acquired number of input characters is equal to a predetermined value. When the acquired number of input characters is equal to the predetermined value, the procedure goes to block 508.
At block 508, the comparison unit 49 determines whether the input information is satisfying. When the input information is identical to unlocking information, the comparison unit 49 determines that the input information is satisfactory, and the procedure goes to block 59. When the input information is not identical to unlocking information, the comparison unit 49 determines that the input information is not satisfactory, and the procedure goes back to block 53.
At block 509, the comparison unit 49 switches the portable electronic device 100 into the unlocked state.
In use, a physical rotation of the portable electronic device 100 is used to input unlocking information without touches on the display screen 20. Therefore, a privacy of the portable electronic device 100 is improved.
While various embodiments have been described, the disclosure is not to be limited thereto. Various modifications and similar arrangements (as would be apparent to those skilled in the art) are also intended to fall within this disclosure. The scope of the appended claims should be accorded the broadest interpretation so as to encompass at least all such modifications and similar arrangements.
Number | Date | Country | Kind |
---|---|---|---|
104116353 | May 2015 | TW | national |