Portable electronic device and unlocking method using stylus
First Claim
Patent Images
1. A portable electronic device, comprising:
- a touch screen;
a memory;
at least one processor;
a detection circuit operable to detect a voltage indicating whether a stylus is received in a receiving space of the portable electronic device, wherein the detection circuit comprises a switch that is activated when the stylus is received in a receiving space of the portable electronic device, and is inactive when the stylus is not received in the receiving space; and
a General Purpose Input/Output (GPIO) pin that is grounded in response to the switch being active, and the GPIO pin is set at a high voltage in response to the switch being inactive;
an analog/digital converter operable to transform the voltage into a corresponding logic value;
one or more programs that are stored in the memory and are executed by the at least one processor, the one or more programs comprising;
a receiving module operable to receive the logic value;
a detection module operable to detect whether the voltage is changed from a low voltage to a high voltage according to the logic value; and
an unlocking module operable to control the at least one processor to unlock or wake up the portable electronic device if the voltage is changed from a low voltage to a high voltage.
2 Assignments
0 Petitions
Accused Products
Abstract
A method unlocks a portable electronic device using a stylus. A user can remove the stylus received in a receiving space of the portable electronic device to unlock the portable electronic device. In an unlocking procedure, a detection circuit detects whether the stylus has been removed from the portable electronic device and outputs a corresponding logic value of the portable electronic device. If the logic value of the detection circuit has changed from “0” to “1”, the locked portable electronic device is unlocked.
-
Citations
10 Claims
-
1. A portable electronic device, comprising:
-
a touch screen; a memory; at least one processor; a detection circuit operable to detect a voltage indicating whether a stylus is received in a receiving space of the portable electronic device, wherein the detection circuit comprises a switch that is activated when the stylus is received in a receiving space of the portable electronic device, and is inactive when the stylus is not received in the receiving space; and
a General Purpose Input/Output (GPIO) pin that is grounded in response to the switch being active, and the GPIO pin is set at a high voltage in response to the switch being inactive;an analog/digital converter operable to transform the voltage into a corresponding logic value; one or more programs that are stored in the memory and are executed by the at least one processor, the one or more programs comprising; a receiving module operable to receive the logic value; a detection module operable to detect whether the voltage is changed from a low voltage to a high voltage according to the logic value; and an unlocking module operable to control the at least one processor to unlock or wake up the portable electronic device if the voltage is changed from a low voltage to a high voltage. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. A method for unlocking a portable electronic device, the portable electronic device comprising a memory, a touch screen, a detection circuit, and an analog/digital converter, the method comprising:
-
detecting a voltage indicating whether a stylus is received in a receiving space of the portable electronic device with the detection circuit; activating a switch when the stylus is received in a receiving space of the portable electronic device, and grounding a General Purpose Input/Output (GPIO) pin in response to the switch being active; inactivating the switch when the stylus is not received in the receiving space, and setting the GPIO at a high voltage in response to the switch being inactive; transforming the voltage into a corresponding logic value by the analog/digital converter; receiving the logic value and saving the logic value into the memory; detecting whether the voltage is changed from a low voltage to a high voltage according to the logic value; and unlocking or waking up the portable electronic device if the voltage is changed from a low voltage to a high voltage. - View Dependent Claims (8, 9, 10)
-
Specification