Abstract:
A method for controlling blank screen gesture processing and a terminal are described. The method comprises: upon receiving a blank screen gesture, acquiring related information of the blank screen gesture; and determining whether the blank screen gesture is a misoperation gesture according to the acquired related information of the blank screen gesture, if the blank screen gesture is not a misoperation gesture, triggering a related operation of the blank screen gesture, and if the blank screen gesture is a misoperation gesture, making no response to the misoperation gesture.

Description:
TECHNICAL FIELD 
       [0001]    The disclosure relates to a mobile terminal application technology, and more particularly, to a method and a terminal for controlling blank screen gesture processing. 
       BACKGROUND 
       [0002]    Along with development of a mobile communication technology, functions of mobile terminals such as mobile phones and tablets are also enhanced. For facilitating use of users, many convenient and rapid functions are developed for mobile terminals, wherein a blank screen gesture is a very representative function. The blank screen gesture refers to that a user draws some specific patterns on a screen to rapidly start a certain function of a mobile terminal without turning on the screen. For example, leftward and rightward sliding can switch a song which is being played, and upward and downward sliding can activate a camera or a certain preset application. The blank screen gesture brings convenience to the user, but also causes a problem of accidental operation of the gesture. Particularly, when the mobile terminal is placed in a pocket, a contact between the mobile terminal and a human body during movement of the human body may be mistakenly recognized as the blank screen gesture of the user, thereby starting some applications and causing influence on normal use of the user over the blank screen gesture. 
         [0003]    At present, for the problem of accidental operation of the blank screen gesture, a main solution is adopting a method of disabling a blank screen gesture processing function, called as a “pocket mode”. Whether a mobile terminal is in a pocket is determined by virtue of a distance sensor or a light sensor, then the mobile terminal automatically enters the “pocket mode”, and then the problem of mistaken triggering is accordingly solved. However, the method not only requires support of new hardware (the sensor), but also inevitably brings a problem of power consumption, and is unfavourable for solving the problem of accidental operation of the blank screen gesture for the mobile terminal. 
       SUMMARY 
       [0004]    In view of this, embodiments of the disclosure provide a method and a terminal for controlling blank screen gesture processing, which can simply solve a problem of accidental operation of a blank screen gesture on the premise of no additional hardware support. 
         [0005]    To this end, an embodiment of the disclosure provides a method for controlling blank screen gesture processing, which includes that: 
         [0006]    when a blank screen gesture is received, related information of the blank screen gesture is acquired; and whether the blank screen gesture is an accidentally operated gesture is determined according to the acquired related information of the blank screen gesture, a related operation of the blank screen gesture is triggered when it is not the accidentally operated gesture, and no response is made to the accidentally operated gesture when the blank screen gesture is the accidentally operated gesture. 
         [0007]    Alternatively, the related information of the blank screen gesture may include: 
         [0008]    a touch input area, a touch input shape, a touch input length, a touch input slope, a touch input speed and a touch input time. 
         [0009]    Alternatively, the step of determining whether the blank screen gesture is the accidentally operated gesture may include that: 
         [0010]    determining whether the touch input area meets a preset requirement, if YES, continuing to determine whether the touch input shape meets a preset input shape, and if NO, determining that the blank screen gesture is the accidentally operated gesture; 
         [0011]    when the touch input shape meets the preset input shape, continuing to determine whether the touch input length meets a preset length requirement; when the touch input shape does not meet the preset input shape, determining that the blank screen gesture is the accidentally operated gesture; 
         [0012]    when the touch input length meets the preset length requirement, continuing to determine whether the touch input slope meets a preset slope requirement; if NO, determining that the blank screen gesture is the accidentally operated gesture; 
         [0013]    when the touch input slope meets the preset slope requirement, continuing to determine whether the touch input speed meets a preset speed requirement; when the touch input length does not meet the preset length requirement, determining that the blank screen gesture is the accidentally operated gesture; 
         [0014]    when the touch input speed meets the preset speed requirement, continuing to determine whether the touch input time meets a preset time requirement; when the touch input speed does not meet the preset speed requirement, determining that the blank screen gesture is the accidentally operated gesture; and 
         [0015]    when the touch input time meets the preset time requirement, determining that the blank screen gesture is not the accidentally operated gesture, and when the touch input time does not meet the preset time requirement, determining that the blank screen gesture is the accidentally operated gesture. 
         [0016]    Alternatively, before determining whether the touch input time meets the preset time requirement, the method may further include that: a latest time when determining whether the blank screen gesture is the accidentally operated gesture is recorded. 
         [0017]    Alternatively, the step of determining whether the touch input time meets the preset time requirement may include that: 
         [0018]    a current input time of the blank screen gesture is compared with the latest time when determining whether the blank screen gesture is the accidentally operated gesture, it is determined that the blank screen gesture does not meet the preset time requirement when a time difference is smaller than a preset time length, and it is determined that the blank screen gesture meets the preset time requirement when the time difference is greater than or equal to the preset time length. 
         [0019]    An embodiment of the disclosure further provides a terminal for controlling blank screen gesture processing, which includes: an acquisition unit and a determination processing unit, wherein 
         [0020]    the acquisition unit is arranged to, when a blank screen gesture is received, acquire related information of the blank screen gesture; and 
         [0021]    the determination processing unit comprises a determination module and a processing module, wherein 
         [0022]    the determination module is arranged to determine whether the blank screen gesture is an accidentally operated gesture according to the acquired related information of the blank screen gesture; and 
         [0023]    the processing module is arranged to, when the determination module determines that the blank screen gesture is not the accidentally operated gesture, trigger a related operation of the blank screen gesture, and when the determination module determines that the blank screen gesture is the accidentally operated gesture, make no response to the accidentally operated gesture. 
         [0024]    Alternatively, the acquisition unit may be arranged to: 
         [0025]    when the blank screen gesture is received, acquire a touch input area, a touch input shape, a touch input length, a touch input slope, a touch input speed and a touch input time of the blank screen gesture. 
         [0026]    Alternatively, the determination module may be arranged to: 
         [0027]    determine whether the touch input area meets a preset requirement, if YES, continue to determine whether the touch input shape meets a preset input shape, and if NO, determine that the blank screen gesture is the accidentally operated gesture; 
         [0028]    when the touch input shape meets the preset input shape, continue to determine whether the touch input length meets a preset length requirement, and when the touch input shape does not meet the preset input shape, determine that the blank screen gesture is the accidentally operated gesture; 
         [0029]    when the touch input length meets the preset length requirement, continue to determine whether the touch input slope meets a preset slope requirement, and if NO, determine that the blank screen gesture is the accidentally operated gesture; 
         [0030]    when the touch input slope meets the preset slope requirement, continue to determine whether the touch input speed meets a preset speed requirement, and when the touch input length does not meet the preset length requirement, determine that the blank screen gesture is the accidentally operated gesture; 
         [0031]    when the touch input speed meets the preset speed requirement, continue to determine whether the touch input time meets a preset time requirement, and when the touch input speed does not meet the preset speed requirement, determine that the blank screen gesture is the accidentally operated gesture; and 
         [0032]    when the touch input time meets the preset time requirement, determine that the blank screen gesture is not the accidentally operated gesture, and when the touch input time does not meet the preset time requirement, determine that the blank screen gesture is the accidentally operated gesture. 
         [0033]    Alternatively, the determination module may further be arranged to, before determining whether the touch input time meets the preset time requirement, record a latest time when determining whether the blank screen gesture is the accidentally operated gesture. 
         [0034]    Alternatively, the determination module may be arranged to determine whether the touch input time meets the preset time requirement as follows: 
         [0035]    a current input time of the blank screen gesture is compared with the latest time when determining whether the blank screen gesture is the accidentally operated gesture, it is determined that the blank screen gesture does not meet the preset time requirement when a time difference is smaller than a preset time length, and it is determined that the blank screen gesture meets the preset time requirement when the time difference is greater than or equal to the preset time length. 
         [0036]    An embodiment of the disclosure further provides a computer program, which includes a program instruction, the program instruction being executed by a terminal to enable the terminal to execute the abovementioned method. 
         [0037]    An embodiment of the disclosure further provides a computer-readable storage medium including the computer program. 
         [0038]    According to the embodiments of the disclosure, no hardware is required to be added to a mobile terminal, the related information of the blank screen gesture is acquired, and no response is made when it is determined that the blank screen gesture is the accidentally operated gesture, so that accidental operation in the blank screen gesture is effectively determined and processed, and user experience in the blank screen gesture are improved. 
     
    
     
       BRIEF DESCRIPTION OF THE DRAWINGS 
         [0039]    The drawings are adopted to provide a further understanding to the technical solutions of the disclosure, form a part of the specification, and are adopted to explain the technical solutions of the disclosure together with the embodiments of the disclosure and not intended to form limits to the technical solutions of the disclosure. 
           [0040]      FIG. 1  is a flow chart of a method for controlling blank screen gesture processing according to an embodiment of the disclosure; and 
           [0041]      FIG. 2  is a structure block diagram of a terminal for controlling blank screen gesture processing according to an embodiment of the disclosure. 
       
    
    
     DETAILED DESCRIPTION 
       [0042]    The embodiments of the disclosure will be described below with reference to the drawings in detail. It is important to note that the embodiments in the disclosure and characteristics in the embodiments may be freely combined under the condition of no conflicts. 
         [0043]      FIG. 1  is a flow chart of a method for controlling blank screen gesture processing according to an embodiment of the disclosure. As shown in  FIG. 1 , the method includes the following steps. 
         [0044]    Step  100 : when a blank screen gesture is received, related information of the blank screen gesture is acquired. 
         [0045]    In this step, the related information of the blank screen gesture may include: a touch input area, a touch input shape, a touch input length, a touch input slope, a touch input speed and a touch input time. 
         [0046]    It is important to note that acquisition of the related information of the blank screen gesture may be implemented by detecting absolute and relative positions of position coordinates of key points by a touch screen. For example, 1: the touch input area: the touch screen may detect a multipoint touch and calculate an area of a polygon formed by multiple points through the detected multipoint touch; 2: the touch input shape: in a touch input process, the touch screen may sample touch input points according to a certain time interval, calculate and isometrically match a distance between every two sampling points and a preset distance, and recognize a preset shape (which is usually an English letter) in case of successful matching; the touch input length: the touch screen may acquire a starting point and an ending point in a horizontal direction and a perpendicular direction during the touch, calculate distances between the starting point and ending point in the horizontal direction and the perpendicular direction, and determine the greater distance as the touch input length; the touch input slope: an angle between the starting point and ending point in the horizontal direction and the perpendicular direction is determined as touch input slope; the touch input speed: a number of points input within a unit time in the touch input process is calculated as the touch input speed; and the touch input time: a time, recorded by the touch screen, for finishing complete touch input. 
         [0047]    Step  101 : it is determined whether the blank screen gesture is an accidentally operated gesture according to the acquired related information of the blank screen gesture, a related operation of the blank screen gesture is triggered when it is not the accidentally operated gesture, and no response is made to the accidentally operated gesture when the blank screen gesture is the accidentally operated gesture. 
         [0048]    In this step, the step of determining whether the blank screen gesture is the accidentally operated gesture includes that: 
         [0049]    it is determined whether the touch input area meets a preset requirement, if YES, whether the touch input shape meets a preset input shape is continued to be determined otherwise, it is determined that the blank screen gesture is the accidentally operated gesture; 
         [0050]    when the touch input shape meets the preset input shape, whether the touch input length meets a preset length requirement is continued to be determined; when the touch input shape does not meet the preset input shape, it is determined that the blank screen gesture is the accidentally operated gesture; 
         [0051]    when the touch input length meets the preset length requirement, whether the touch input slope meets a preset slope requirement is continued to be determined; if NO, it is determined that the blank screen gesture is the accidentally operated gesture; 
         [0052]    when the touch input slope meets the preset slope requirement, whether the touch input speed meets a preset speed requirement is continued to be determined; when the touch input length does not meet the preset length requirement, it is determined that the blank screen gesture is the accidentally operated gesture; 
         [0053]    when the touch input speed meets the preset speed requirement, whether the touch input time meets a preset time requirement is continued to be determined; when the touch input speed does not meet the preset speed requirement, it is determined that the blank screen gesture is the accidentally operated gesture; and 
         [0054]    when the touch input time meets the preset time requirement, it is determined that the blank screen gesture is not the accidentally operated gesture; when the touch input time does not meet the preset time requirement, it is determined that the blank screen gesture is the accidentally operated gesture. 
         [0055]    It is important to note that the preset requirements may be set according to experiences of those skilled in the art. The preset input shape may be a letter o, e, s, v and the like; the preset length requirement is that the distances between the starting points and the ending points are determined as effective distances only when exceeding ¾ of the screen; the preset speed requirement is that the complete touch input is required to be completed within 100 milliseconds; and the preset slope requirement is that included angle between the starting point and the ending point in the horizontal direction and the perpendicular direction is smaller than 5 degrees. Touch input not meeting the limiting conditions is considered as ineffective input. 
         [0056]    Before whether the touch input time meets the preset time requirement is determined, a latest time when whether the blank screen gesture is an accidentally operated gesture is determined may further be recorded. 
         [0057]    Alternatively, the step of determining whether the touch input time meets the preset time requirement may include that: 
         [0058]    a current input time of the blank screen gesture is compared with the latest time when determining whether the blank screen gesture is the accidentally operated gesture, it is determined that the blank screen gesture does not meet the preset time requirement when a time difference is smaller than a preset time length, and it is determined that the blank screen gesture meets the preset time requirement when the time difference is greater than or equal to the preset time length. 
         [0059]    It is important to note that the preset time length may be a numerical value obtained by those skilled in the art according to empirical statistics. For example, the preset time length may be set to be 500 milliseconds. 
         [0060]      FIG. 2  is a structure block diagram of a terminal for controlling blank screen gesture processing according to an embodiment of the disclosure. As shown in  FIG. 2 , the terminal includes: an acquisition unit and a determination processing unit, wherein 
         [0061]    the acquisition unit is arranged to, when a blank screen gesture is received, acquire related information of the blank screen gesture. 
         [0062]    The acquisition unit may be arranged to, when the blank screen gesture is received, acquire a touch input area, a touch input shape, a touch input length, a touch input slope, a touch input speed and a touch input time of the blank screen gesture. 
         [0063]    The determination processing unit includes a determination module and a processing module, wherein 
         [0064]    the determination module is arranged to determine whether the blank screen gesture is an accidentally operated gesture according to the acquired related information of the blank screen gesture. 
         [0065]    The determination module is arranged to: 
         [0066]    determine whether the touch input area meets a preset requirement, continue determining whether the touch input shape meets a preset input shape if YES, and if NO, determine that the blank screen gesture is the accidentally operated gesture; 
         [0067]    when the touch input shape meets the preset input shape, continue determining whether the touch input length meets a preset length requirement, and when the touch input shape does not meet the preset input shape, determine that the blank screen gesture is the accidentally operated gesture; 
         [0068]    when the touch input length meets the preset length requirement, continue determining whether the touch input slope meets a preset slope requirement, and if NO, determine that the blank screen gesture is the accidentally operated gesture; 
         [0069]    when the touch input slope meets the preset slope requirement, continue determining whether the touch input speed meets a preset speed requirement, and when the touch input length does not meet the preset length requirement, determine that the blank screen gesture is the accidentally operated gesture; 
         [0070]    when the touch input speed meets the preset speed requirement, continue determining whether the touch input time meets a preset time requirement, and when the touch input speed does not meet the preset speed requirement, determine that the blank screen gesture is the accidentally operated gesture; and 
         [0071]    when the touch input time meets the preset time requirement, determine that the blank screen gesture is not the accidentally operated gesture, and when the touch input time does not meet the preset time requirement, determine that the blank screen gesture is the accidentally operated gesture. 
         [0072]    The determination module is further arranged to, before determining whether the touch input time meets the preset time requirement, record a latest time when determining whether the blank screen gesture is an accidentally operated gesture. 
         [0073]    Herein, when the touch input speed meets the preset speed requirement, a current input time of the blank screen gesture is compared with the latest time when determining whether the blank screen gesture is the accidentally operated gesture, it is determined that the blank screen gesture does not meet the preset time requirement when a time difference is smaller than a preset time length, and it is determined that the blank screen gesture meets the preset time requirement when the time difference is greater than or equal to the preset time length. 
         [0074]    The processing module is arranged to, when the determination module determines that the blank screen gesture is not the accidentally operated gesture, trigger a related operation of the blank screen gesture, and when the determination module determines that the blank screen gesture is the accidentally operated gesture, make no response to the accidentally operated gesture. 
         [0075]    Those skilled in the art should know that all or part of the steps of the abovementioned embodiments may be implemented by virtue of a flow of a computer program, the computer program may be stored in a computer-readable storage medium, the computer program is executed on a corresponding hardware platform (such as a system, equipment, a device and an apparatus), and during execution, one or combination of the steps of the method embodiment is included. 
         [0076]    Alternatively, all or part of the steps of the abovementioned embodiment may also be implemented by virtue of an integrated circuit, these steps may form multiple integrated circuit modules, or multiple modules or steps therein may form a single integrated circuit module for implementation. Therefore, the disclosure is not limited to any specific hardware and software combination. 
         [0077]    Each device, function module, and/or function unit in the abovementioned embodiments may be implemented by adopting a universal computing device, and they may be concentrated on a single computing device, and may also be distributed on a network formed by multiple computing devices. 
         [0078]    When being implemented in form of software function module and sold or used as an independent product, each device, function module, and/or function unit in the abovementioned embodiments may be stored in a computer-readable storage medium. The abovementioned computer-readable storage medium may be a read-only memory, a magnetic disk, an optical disk or the like. 
       INDUSTRIAL APPLICABILITY 
       [0079]    According to the embodiments of the disclosure, accidental operation of the blank screen gesture is effectively determined and processed, and user experience in the blank screen gesture are improved.