摘要 |
本发明提供一种线性切割解锁方法及系统,该方法包括步骤:设置解锁规则所对应的线段数量、区块数量、及解锁区块在切割而得的区块中的面积序号;当操作物件需要解锁时,接收用户在电子装置的触摸屏上的切割操作,并获取该切割操作切割而得的线段数量及区块数量;接收用户在切割而得的区块中选择的解锁区块,并计算该解锁区块在切割而得的区块中的面积序号;根据获取的线段数量及区块数量、计算而得的解锁区块的面积序号、以及设置的解锁规则,判断是否有对操作物件解锁的许可权;及当有对操作物件解锁的许可权时,触发操作物件解锁成功。; when the operation object needs to be unlocked, receiving a division operation on the touch screen by a user, and obtaining the number of segments and the number of blocks that divides by the division operation; receiving an unlocking block that is selected by the user in the divided blocks, and calculating an area number of the selected unlocking block in the divided blocks; determining whether the user has a permission to unlock the operation object according to the obtained number of segments, the obtained number of blocks, the calculated area number of the selected unlocking block, and the unlocking rule; when the user has the permission to unlock the operation object, triggering the operation object to unlock. |