Patent ID: 9389782
Filing Date: 2016-07-12
CPC Classification: G06F,G06K

Claim Text:
1. An electronic device, comprising: a touch device; and a processor electrically connected to the touch device and configured to switch one of a plurality of modes of the electronic device to another when at least one continuous back-and-forth moving touch trace is formed on the touch device during a predetermined period, wherein when at least one touch signal detected by the touch device successively moves from a first position to a second position, next to a third position, and then to a fourth position, the processor defines at least one interval based on coordinates of the second and third positions, and determines whether a line directed from the first position to the second position and another line directed from the third position to the fourth position are both extended in the at least one interval; when the lines are both extended in the at least one interval, the processor determines that the at least one continuous back-and-forth moving touch trace is formed on the touch device.