Patent ID: 9626532
Date: 2017-04-18
CPC Classifications: G06F

Claim:
1. A processor-implemented method for unlocking a touch screen of an electronic device, the method comprising: generating a cube for unlocking the touch screen; setting an unlocking mode of each surface of the cube; displaying the cube on the touch screen, wherein each surface of the cube is partitioned in a plurality of areas, wherein a switching mode of any one of the plurality of areas is switchable from an opening mode to a closing mode or from the closing mode to the opening mode in response to a touch signal received by the one of the plurality of areas; obtaining a touch mode of each surface of the cube, wherein the touch mode of each surface of the cube is constituted by the switching mode of each of the plurality of areas on each surface of the cube; determining, at a processor of the electronic device, whether the touch mode of each surface of the cube is in accordance with the unlocking mode of each surface of the cube; and unlocking the touch screen of the electronic device when the touch mode of each surface of the cube is in accordance with the unlocking mode of each surface of the cube; wherein the unlocking mode of each surface of the cube is set by operations comprising: identifying each surface of the cube in a default manner; partitioning each surface of the cube in a plurality of areas by using a partition rule; setting the switching mode of each of the plurality of areas on each surface of the cube; and determining the unlocking mode of each surface of the cube based on the switching mode of each of the plurality of areas on each surface of the cube.