Patent ID: 9671895
Date: 2017-06-06
CPC Classifications: G06F,H04M

Claim:
1. A method for turning off an alarm of a mobile terminal, the method comprising: presetting an area threshold value; pre-storing graphics; automatically turning on a mobile terminal's screen when the alarm of the mobile terminal sets off; detecting a touch signal, when a touch signal is detected, calculating an area of a valid touch region in which a user touches the touchscreen, wherein the valid touch region is an irregularly shaped non-predetermined area of the mobile terminal's screen, and wherein an area equation cannot directly determine the irregularly shaped non-predetermined area; wherein the valid touch region is divided into a plurality of graphics according to the pre-stored graphics; wherein the calculating the area of the valid touch region comprises: calculating an area of each of the plurality of graphics, adding the area of each of the plurality of graphics together to produce an area sum, and calculating the area of the valid touch region based on the area sum; comparing the calculated area of the valid touch region with the area threshold value to determine an intent of a user to turn off the alarm, if the area of the valid touch region is greater than or equal to the area threshold value, controlling the mobile terminal to turn off the alarm; and if the area of the valid touch region is smaller than the area threshold value, the alarm of the mobile terminal keeps ringing, wherein the area threshold value is position independent.