技术领域technical field
本发明实施例涉及移动终端技术,尤其涉及一种防止误启动移动终端中应用程序的方法及装置。Embodiments of the present invention relate to mobile terminal technology, and in particular to a method and device for preventing application programs in a mobile terminal from being activated by mistake.
背景技术Background technique
目前的移动终端为了节省功耗,通常在超过一定时间没有对移动终端进行操作的时候,移动终端会自动黑屏进入待机状态,然而,由待机状态再进入应用程序的操作比较繁琐。In order to save power consumption in current mobile terminals, usually when the mobile terminal is not operated for a certain period of time, the mobile terminal will automatically enter a standby state with a black screen.
一般情况下,用户由移动终端的待机状态到启动应用程序,以启动摄像功能为例需要进行如下步骤:唤醒移动终端→寻找应用→打开应用→开启摄像功能这四个基本步骤。该开启过程相当繁琐,对于需要立即进行拍摄或抓拍稍纵即逝的瞬间的拍摄操作等情况是不适用的。目前,还有的移动终端提供了快捷方式开启摄像头,用户只需执行唤醒移动终端→快捷键控制开启摄像头→选择摄像功能的方式即可快速启动摄像功能,但是,这种设计存在误开启的问题。例如,用户将手机放置于衣服口袋中,可能出现因用户无意识的动作而误开启摄像头的情况。由于误开启摄像头导致手机的功耗增加,直接影响手机的续航能力。而且,长时间开启摄像头必然导致手机发热给用户带来不好的应用体验。另外,对于一些用户不想他人使用的应用程序,上述方法均不能达到阻止没有权限的用户使用的目的。In general, the user needs to perform the following steps from the standby state of the mobile terminal to start the application, taking the camera function as an example: wake up the mobile terminal→find the application→open the application→start the camera function. This opening process is quite cumbersome, and it is not applicable to situations such as shooting operations that require immediate shooting or capture of fleeting moments. At present, some mobile terminals provide a shortcut to open the camera. The user only needs to execute the method of waking up the mobile terminal → controlling the opening of the camera via the shortcut key → selecting the camera function to quickly start the camera function. However, this design has the problem of false activation. . For example, if the user puts the mobile phone in the pocket of the clothes, the camera may be turned on by mistake due to the user's unconscious action. The power consumption of the mobile phone increases due to mistakenly turning on the camera, which directly affects the battery life of the mobile phone. Moreover, turning on the camera for a long time will inevitably cause the mobile phone to heat up and bring a bad application experience to the user. In addition, for some application programs that users do not want others to use, none of the above methods can achieve the purpose of preventing users without authorization from using them.
发明内容Contents of the invention
本发明提供一种防止误启动移动终端中应用程序的方法及装置,以实现有权限的用户可以快速启动应用程序的目的,解决因误启动应用导致的移动终端的续航能力下降及用户体验度不佳的问题。The present invention provides a method and device for preventing application programs in a mobile terminal from being activated by mistake, so as to achieve the purpose that authorized users can quickly start application programs, and solve the problem of decreased battery life and poor user experience of mobile terminals caused by incorrectly starting applications. good question.
第一方面,本发明实施例提供了一种防止误启动移动终端中应用程序的方法,包括:In the first aspect, the embodiment of the present invention provides a method for preventing an application program in a mobile terminal from being mistakenly started, including:
获取待机状态下用户在终端触摸屏上输入的黑屏手势;Obtain the black screen gesture input by the user on the touch screen of the terminal in the standby state;
将所述黑屏手势与预设的开启应用程序的黑屏手势进行匹配;Matching the black screen gesture with a preset black screen gesture for opening an application;
在匹配成功时,执行指纹识别操作,根据识别结果确定是否启动与当前黑屏手势对应的应用程序。When the matching is successful, perform the fingerprint recognition operation, and determine whether to start the application program corresponding to the current black screen gesture according to the recognition result.
第二方面,本发明实施例还提供了一种防止误启动移动终端中应用程序的装置,该装置包括:In the second aspect, the embodiment of the present invention also provides a device for preventing an application program in a mobile terminal from being started by mistake, the device comprising:
黑屏手势获取单元,用于获取待机状态下用户在终端触摸屏上输入的黑屏手势;A black screen gesture acquiring unit, configured to acquire a black screen gesture input by a user on a terminal touch screen in a standby state;
黑屏手势匹配单元,用于将所述黑屏手势与预设的开启应用程序的黑屏手势进行匹配;A black screen gesture matching unit, configured to match the black screen gesture with a preset black screen gesture for opening an application;
应用程序启动单元,用于在匹配成功时,执行指纹识别操作,根据识别结果确定是否启动与当前黑屏手势对应的应用程序。The application program starting unit is used to perform fingerprint identification operation when the matching is successful, and determine whether to start the application program corresponding to the current black screen gesture according to the identification result.
本发明通过获取待机状态下用户在终端触摸屏上输入的黑屏手势;将所述黑屏手势与预设的开启应用程序的黑屏手势进行匹配;在匹配成功时,执行指纹识别操作,根据识别结果确定是否启动与当前黑屏手势对应的应用程序。本发明解决因误启动应用程序导致的移动终端的续航能力下降及用户体验度不佳的问题,在确定应用程序的启动手势之外增加指纹识别的步骤,不仅降低了误启动应用程序的机率,而且达到了阻止没有权限的用户启动应用程序的目的,实现提高移动终端的续航能力及用户体验度的效果。The present invention acquires the black screen gesture input by the user on the touch screen of the terminal in the standby state; matches the black screen gesture with the preset black screen gesture for opening the application program; Launch the application corresponding to the current black screen gesture. The present invention solves the problems of decreased battery life of the mobile terminal and poor user experience caused by falsely starting the application program, and adds a step of fingerprint recognition in addition to determining the starting gesture of the application program, which not only reduces the probability of falsely starting the application program, Moreover, the purpose of preventing users without authorization from starting the application program is achieved, and the effect of improving the battery life and user experience of the mobile terminal is achieved.
附图说明Description of drawings
图1是本发明实施例一中的一种防止误启动移动终端中应用程序的方法的流程图;Fig. 1 is a flow chart of a method for preventing an application program in a mobile terminal from erroneously starting in Embodiment 1 of the present invention;
图2是本发明实施例二中的一种防止误启动移动终端中应用程序的方法的流程图;Fig. 2 is a flow chart of a method for preventing application programs in a mobile terminal from erroneously starting in Embodiment 2 of the present invention;
图3是本发明实施例三中的一种防止误启动移动终端中应用程序的装置的结构示意图。FIG. 3 is a schematic structural diagram of a device for preventing misinitiated application programs in a mobile terminal according to Embodiment 3 of the present invention.
具体实施方式detailed description
下面结合附图和实施例对本发明作进一步的详细说明。可以理解的是,此处所描述的具体实施例仅仅用于解释本发明,而非对本发明的限定。另外还需要说明的是,为了便于描述,附图中仅示出了与本发明相关的部分而非全部结构。The present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, but not to limit the present invention. In addition, it should be noted that, for the convenience of description, only some structures related to the present invention are shown in the drawings but not all structures.
实施例一Embodiment one
图1为本发明实施例一提供的一种防止误启动移动终端中应用程序的方法的流程图,本实施例可适用于移动终端待机状态下快速准确启动应用程序的情况,该方法可以由防止误启动应用程序的装置来执行,该装置被配置于移动终端内,通过硬件和/或软件的方式实现。所述防止误启动移动终端中应用程序的方法具体包括如下步骤:Fig. 1 is a flow chart of a method for preventing application programs in a mobile terminal from being started by mistake provided by Embodiment 1 of the present invention. The device is executed by means of erroneously starting the application program, which is configured in the mobile terminal and implemented by means of hardware and/or software. The method for preventing the application program in the mobile terminal from being mistakenly started specifically includes the following steps:
步骤110、获取待机状态下用户在终端触摸屏上输入的黑屏手势。Step 110, acquire the black screen gesture input by the user on the touch screen of the terminal in the standby state.
其中,所述待机状态是移动终端的后台仅运行系统关键进程的程序(根据用户的使用情况还可能包括微信、导航或游戏等程序)和触控手势处理程序,并且关闭屏幕的状态,其中,在处于待机屏幕关闭的状态时,移动终端支持检测屏幕上的触控手势的功能。所述黑屏手势为移动终端在待机状态下获取的用户滑动屏幕操作的手势轨迹,其中,所述黑屏手势包括点击终端触摸屏、从终端触摸屏的一端向另一端滑动或用户自定义的字符或图形。Wherein, the standby state is a state in which the background of the mobile terminal only runs programs of key system processes (may also include programs such as WeChat, navigation, or games according to user usage) and touch gesture processing programs, and the screen is turned off, wherein, When the standby screen is turned off, the mobile terminal supports the function of detecting touch gestures on the screen. The black screen gesture is the gesture track of the user's sliding screen operation acquired by the mobile terminal in the standby state, wherein the black screen gesture includes clicking the terminal touch screen, sliding from one end of the terminal touch screen to the other end, or user-defined characters or graphics.
移动终端在待机状态下,按照预设的周期值周期性的检测触摸屏上是否有电信号的变化。在检查到当前终端的触摸屏的电信号变化时,确定存在对终端触摸屏的按压操作,则以检测到用户开始按压终端触摸屏的触摸点为起点,跟踪检测用户在所述终端触摸屏上的触摸点,以检测到用户停止按压终端触摸屏的触摸点为终点,获取所述起点与终点之间的滑动轨迹作为用户在终端触摸屏上输入的黑屏手势。In the standby state, the mobile terminal periodically detects whether there is a change of an electrical signal on the touch screen according to a preset period value. When the electrical signal change of the touch screen of the current terminal is detected, it is determined that there is a pressing operation on the touch screen of the terminal, and then starting from the detection of the touch point where the user starts to press the touch screen of the terminal, tracking and detecting the touch point of the user on the touch screen of the terminal, Taking the touch point at which the user stops pressing the terminal touch screen as the end point, acquiring the sliding track between the start point and the end point as a black screen gesture input by the user on the terminal touch screen.
步骤120、将所述黑屏手势与预设的开启应用程序的黑屏手势进行匹配。Step 120, matching the black screen gesture with a preset black screen gesture for starting an application.
其中,预设的开启应用程序的黑屏手势为待机状态下触发移动终端启动相应的应用程序的手势。所述应用程序包括短信编辑、拍照应用、摄像应用、拨打电话应用、或游戏应用中的一种。移动终端提供黑屏手势模板供用户从中选择开启各个应用程序的黑屏手势,还提供了个性化的黑屏手势的设置功能,用户可以根据自己的使用习惯设置与应用程序对应的黑屏手势。例如,移动终端可以提供包括双击启动短信编辑功能、从触摸屏的左侧向右侧滑动启动摄像功能,从触摸屏的下侧向上侧滑动启动电话薄功能等黑屏手势模板。另外,通过移动终端提供的黑屏手势设置页面,用户可以根据使用习惯自定义黑屏手势,例如,以先单击触摸屏再长按1秒钟触摸屏启动短信编辑功能,或者在终端触摸屏上先由上至下,再由左至右滑动启动摄像功能等等。Wherein, the preset black-screen gesture for starting an application is a gesture that triggers the mobile terminal to start a corresponding application in a standby state. The application program includes one of short message editing, photographing application, camera application, calling application, or game application. The mobile terminal provides black screen gesture templates for users to select the black screen gestures for opening various applications, and also provides a personalized black screen gesture setting function. Users can set the black screen gestures corresponding to the applications according to their own usage habits. For example, the mobile terminal may provide blank screen gesture templates including double-clicking to start text message editing, sliding from the left side to the right side of the touch screen to start the camera function, and sliding from the bottom side to the top side of the touch screen to start the phonebook function. In addition, through the black screen gesture setting page provided by the mobile terminal, users can customize the black screen gesture according to their usage habits. For example, click the touch screen first and then press and hold the touch screen for 1 second to start the text message editing function, or start from top to bottom on the touch screen of the terminal. , and then slide from left to right to start the camera function and so on.
移动终端将所述黑屏手势与预先设置的待机状态下开启应用程序的黑屏手势进行匹配。例如,在检测到所述黑屏手势为双击触摸屏时,若单次点击操作的持续时间不超过预设的时间阈值,以及相邻两次点击操作的间隔时间不超过预设的时间间隔阈值,则确定所述双击终端触摸屏的手势与预设的开启短信编辑功能的黑屏手势匹配成功。The mobile terminal matches the black screen gesture with a preset black screen gesture for starting an application in a standby state. For example, when it is detected that the black screen gesture is a double-click on the touch screen, if the duration of a single click operation does not exceed the preset time threshold, and the interval between two adjacent click operations does not exceed the preset time interval threshold, then It is determined that the gesture of double-clicking the touch screen of the terminal successfully matches the preset black screen gesture for enabling the text message editing function.
或者,在检测到所述黑屏手势为由终端触摸屏一端滑向另一端的手势时,获取当前起点到终点的滑动方向。若当前起点到终点的滑动方向属于预设的开启应用程序的黑屏手势包括的运动方向,则确定由当前起点滑向终点的手势与预设的开启应用程序的黑屏手势匹配成功。若所述运动方向是从触摸屏左侧向右侧滑动,则确定当前黑屏手势与预设的开启摄像功能的黑屏手势匹配成功。Or, when it is detected that the black screen gesture is a gesture of sliding from one end of the touch screen of the terminal to the other end, acquire the sliding direction from the current start point to the end point. If the sliding direction from the current start point to the end point belongs to the movement direction included in the preset black screen gesture for opening the application program, then it is determined that the gesture of sliding from the current starting point to the end point matches the preset black screen gesture for opening the application program successfully. If the movement direction is sliding from the left side to the right side of the touch screen, it is determined that the current black screen gesture successfully matches the preset black screen gesture for enabling the camera function.
若所述黑屏手势与待机状态下开启应用的黑屏手势相匹配,则确定匹配结果为匹配成功。若所述黑屏手势与待机状态下开启应用程序的黑屏手势不匹配,则确定匹配结果为匹配失败。在匹配失败时,放弃对用户输入的手势进行响应处理。If the black screen gesture matches the black screen gesture for opening the application in the standby state, it is determined that the matching result is a successful match. If the black-screen gesture does not match the black-screen gesture for opening an application in the standby state, it is determined that the matching result is a matching failure. When the matching fails, give up responding to the gesture input by the user.
步骤130、在匹配成功时,执行指纹识别操作,根据识别结果确定是否启动与当前黑屏手势对应的应用程序。Step 130, when the matching is successful, perform a fingerprint recognition operation, and determine whether to start the application program corresponding to the current black screen gesture according to the recognition result.
在匹配成功时,移动终端启动指纹检测识别模块以获取当前输入的指纹信息。将所述指纹信息与预先设置的有开启权限的指纹确认信息进行匹配。例如,移动终端按照预设的规则从指纹检测识别模块采集的指纹信息的像素点中获取采样像素点,将所述采样像素点与所述指纹确认信息的相同位置的像素点进行匹配,若匹配成功的采样像素点的数量超过预设的数量阈值,则确定所述指纹信息与所述指纹确认信息相匹配。在所述指纹信息与所述指纹确认信息相匹配时,启动与当前黑屏手势对应的应用程序。若匹配成功的采样像素点的数量小于预设的数量阈值,则确定所述指纹信息与所述指纹确认信息不匹配,则确定当前的黑屏手势为无效手势,移动终端保持待机状态。When the matching is successful, the mobile terminal starts the fingerprint detection and identification module to obtain the currently input fingerprint information. Match the fingerprint information with the pre-set fingerprint confirmation information with the permission to open. For example, the mobile terminal obtains sampling pixels from the pixels of the fingerprint information collected by the fingerprint detection and identification module according to preset rules, and matches the sampling pixels with the pixels at the same position of the fingerprint confirmation information. If the number of successfully sampled pixels exceeds a preset number threshold, it is determined that the fingerprint information matches the fingerprint confirmation information. When the fingerprint information matches the fingerprint confirmation information, start an application program corresponding to the current black screen gesture. If the number of successfully matched sampling pixels is less than the preset number threshold, it is determined that the fingerprint information does not match the fingerprint confirmation information, then it is determined that the current black screen gesture is an invalid gesture, and the mobile terminal remains in a standby state.
本实施例的技术方案,通过获取待机状态下用户在终端触摸屏上输入的黑屏手势;将所述黑屏手势与预设的开启应用程序的黑屏手势进行匹配;在匹配成功时,执行指纹识别操作,根据识别结果确定是否启动与当前黑屏手势对应的应用程序。本实施例的技术方案解决因误启动应用程序导致的移动终端的续航能力下降及用户体验度不佳的问题,在确定应用程序的启动手势之外增加指纹识别的步骤,不仅降低了误启动应用程序的机率,而且达到了阻止没有权限的用户启动应用程序的目的,实现提高移动终端的续航能力及用户体验度的效果。In the technical solution of this embodiment, by acquiring the black screen gesture input by the user on the terminal touch screen in the standby state; matching the black screen gesture with the preset black screen gesture for opening the application program; when the matching is successful, performing the fingerprint recognition operation, Determine whether to start the application program corresponding to the current black screen gesture according to the recognition result. The technical solution of this embodiment solves the problems of decreased battery life of the mobile terminal and poor user experience caused by misinitiated application programs. The step of fingerprint recognition is added in addition to determining the application program activation gesture, which not only reduces the number of misinitiated applications. The probability of the program, and the purpose of preventing the user without permission from starting the application program is achieved, and the effect of improving the battery life and user experience of the mobile terminal is achieved.
实施例二Embodiment two
图2是本发明实施例二中的一种防止误启动移动终端中应用程序的方法的流程图。所述方法具体包括如下步骤:Fig. 2 is a flow chart of a method for preventing application programs in a mobile terminal from erroneously starting in Embodiment 2 of the present invention. Described method specifically comprises the steps:
步骤210、获取用户在终端触摸屏上输入的黑屏手势。Step 210, acquiring a black screen gesture input by the user on the touch screen of the terminal.
在待机状态下,移动终端的电容式触摸传感器检测在用户的手指接触屏幕时在终端的屏幕的电极处产生的电流变化量,根据所述电流变化量确定用户的手指在终端屏幕上的触摸点的位置。移动终端根据检测到所述触摸点的时间顺序连接所述触摸点以确定用户在终端触摸屏上输入的黑屏手势。例如,若用户在终端触摸屏上输入的黑屏手势是滑动手势,则以用户手指开始按压触摸屏的触摸点为起点,以用户手指离开触摸屏的触摸点为终点,将所述起点与终点之间的滑动轨迹为用户输入的黑屏手势。若用户在终端触摸屏上输入的黑屏手势是点击触摸屏,则以用户手指点击触摸屏的次数、单次点击触摸屏的持续时间以及相邻两次点击触摸屏的间隔时间等参数作为用户输入的黑屏手势的参数。In the standby state, the capacitive touch sensor of the mobile terminal detects the current variation generated at the electrode of the terminal screen when the user's finger touches the screen, and determines the touch point of the user's finger on the terminal screen according to the current variation s position. The mobile terminal connects the touch points according to the time sequence in which the touch points are detected to determine the black screen gesture input by the user on the touch screen of the terminal. For example, if the black screen gesture input by the user on the terminal touch screen is a sliding gesture, the touch point where the user's finger starts to press the touch screen is used as the starting point, and the touch point where the user's finger leaves the touch screen is used as the end point, and the sliding gesture between the starting point and the end point is The track is the black screen gesture input by the user. If the black screen gesture input by the user on the touch screen of the terminal is to click the touch screen, the number of times the user's fingers click on the touch screen, the duration of a single touch on the touch screen, and the interval between two adjacent touch screen touches are used as the parameters of the black screen gesture input by the user .
步骤220、检测黑屏手势是否是开启摄像功能的黑屏手势,若是,则执行步骤230,若否,则执行步骤240。Step 220 , detecting whether the black screen gesture is a black screen gesture for turning on the camera function, if yes, execute step 230 , if not, execute step 240 .
移动终端将检测到的黑屏手势与预设的开启摄像功能的黑屏手势进行匹配。若该黑屏手势与开启摄像功能的黑屏手势相匹配,则执行步骤230。若该黑屏手势与开启摄像功能的黑屏手势不匹配,则执行步骤240。例如,用户在终端触摸屏上输入的黑屏手势是由左向右的滑动手势,移动终端根据检测到的黑屏手势查询预设的开启摄像功能的黑屏手势。若所述开启摄像功能的黑屏手势是由左向右的滑动手势,则执行步骤230;若所述开启摄像功能的黑屏手势不是由左向右的滑动手势,则执行步骤240。The mobile terminal matches the detected black screen gesture with the preset black screen gesture for enabling the camera function. If the black screen gesture matches the black screen gesture for turning on the camera function, step 230 is executed. If the black screen gesture does not match the black screen gesture for enabling the camera function, step 240 is performed. For example, the black screen gesture input by the user on the touch screen of the terminal is a sliding gesture from left to right, and the mobile terminal queries the preset black screen gesture for enabling the camera function according to the detected black screen gesture. If the black screen gesture for turning on the camera function is a sliding gesture from left to right, perform step 230; if the black screen gesture for turning on the camera function is not a sliding gesture from left to right, then perform step 240.
步骤230、开启指纹检测识别模块。Step 230, start the fingerprint detection and recognition module.
在当前黑屏手势与开启摄像功能的黑屏手势相匹配时,移动终端开启指纹检测识别模块,以获取指纹传感器采集的指纹信息。When the current black screen gesture matches the black screen gesture for turning on the camera function, the mobile terminal turns on the fingerprint detection and identification module to obtain fingerprint information collected by the fingerprint sensor.
步骤240、放弃对当前黑屏手势进行响应。Step 240, give up responding to the current black screen gesture.
在移动终端检测到的黑屏手势不是预设的开启摄像功能的黑屏手势时,放弃对用户输入的手势进行响应处理。例如,用户在终端触摸屏上输入的黑屏手势是从左向右的滑动手势,但是所述开启摄像功能的黑屏手势不是从左向右的滑动手势,则移动终端放弃对检测到的黑屏手势进行响应。When the black screen gesture detected by the mobile terminal is not the preset black screen gesture for enabling the camera function, the response processing to the gesture input by the user is abandoned. For example, if the black screen gesture input by the user on the terminal touch screen is a sliding gesture from left to right, but the black screen gesture for turning on the camera function is not a sliding gesture from left to right, then the mobile terminal will give up responding to the detected black screen gesture. .
步骤250、检测是否与预设的指纹确认信息匹配,若是,则执行步骤260,若否,则执行步骤270。Step 250 , check whether it matches the preset fingerprint confirmation information, if yes, execute step 260 , if not, execute step 270 .
移动终端按照预设的从相邻的多个像素点中获取一个灰度值最高的像素点的规则从所述指纹信息的像素点中获取采样像素点,以得到包括预设数量的采样像素点集合。分别将采样像素点集合包括的各个采样像素点与所述指纹确认信息的相同位置的像素点进行匹配。若匹配成功的采样像素点的数量超过预设的数量阈值,则确定所述指纹信息与所述指纹确认信息相匹配,向移动终端的处理芯片返回确认信号,以使移动终端执行步骤260。若匹配成功的采样像素点的数量小于预设的数量阈值,则确定所述指纹信息与所述指纹确认信息不匹配,向移动终端的处理芯片返回否定信号,以使移动终端执行步骤270。The mobile terminal obtains sampling pixels from the pixels of the fingerprint information according to the preset rule of obtaining a pixel with the highest gray value from among multiple adjacent pixels, so as to obtain a preset number of sampling pixels gather. Each sampling pixel included in the sampling pixel set is matched with the pixel at the same position in the fingerprint confirmation information. If the number of successfully matched sampling pixels exceeds the preset number threshold, it is determined that the fingerprint information matches the fingerprint confirmation information, and a confirmation signal is returned to the processing chip of the mobile terminal, so that the mobile terminal executes step 260. If the number of successfully matched sampling pixels is less than the preset number threshold, it is determined that the fingerprint information does not match the fingerprint confirmation information, and a negative signal is returned to the processing chip of the mobile terminal, so that the mobile terminal executes step 270.
步骤260、开启摄像功能。Step 260, start the camera function.
移动终端在接收到指纹检测识别模块返回的确认信号时,确定所述手势为开启摄像功能的黑屏手势,根据所述黑屏手势开启摄像功能。例如,用户在终端触摸屏上输入的黑屏手势是从左向右滑动触摸屏,且所述开启摄像功能的黑屏手势为从左向右滑动触摸屏时,若指纹检测识别模块发送至移动终端的处理芯片的反馈信息是确认信号,则移动终端根据检测到的黑屏手势开启摄像功能。When the mobile terminal receives the confirmation signal returned by the fingerprint detection and identification module, it determines that the gesture is a black screen gesture for enabling the camera function, and starts the camera function according to the black screen gesture. For example, when the black screen gesture input by the user on the touch screen of the terminal is to slide the touch screen from left to right, and the black screen gesture for turning on the camera function is to slide the touch screen from left to right, if the fingerprint detection and identification module sends to the processing chip of the mobile terminal The feedback information is a confirmation signal, and the mobile terminal starts the camera function according to the detected black screen gesture.
步骤270、确定当前黑屏手势无效。Step 270, determine that the current black screen gesture is invalid.
移动终端在接收到指纹检测识别模块返回的否定信号时,确定所述手势不是开启摄像功能的黑屏手势,不执行开启摄像功能的操作。例如,用户在终端触摸屏上输入的黑屏手势是从左向右滑动触摸屏,且所述开启摄像功能的黑屏手势是从左向右滑动触摸屏时,若指纹检测识别模块发送至移动终端的处理芯片的反馈信息是否定信号,则移动终端确定当前黑屏手势无效,保持待机状态不开启摄像功能。When the mobile terminal receives the negative signal returned by the fingerprint detection and recognition module, it determines that the gesture is not a black-screen gesture for turning on the camera function, and does not perform the operation of turning on the camera function. For example, when the black screen gesture input by the user on the touch screen of the terminal is to slide the touch screen from left to right, and the black screen gesture for turning on the camera function is to slide the touch screen from left to right, if the fingerprint detection and identification module sends to the processing chip of the mobile terminal If the feedback information is a negative signal, the mobile terminal determines that the current black screen gesture is invalid, and keeps the standby state without enabling the camera function.
可以知道的是,本实施例以开启摄像功能为例具体说明在待机状态下摄像功能的开启方法,但本实施例的技术方案不限于开启移动终端的摄像功能,移动终端上安装的其他应用程序也可以按照上述方式执行启动操作。It can be known that this embodiment takes enabling the camera function as an example to specifically describe the method for enabling the camera function in the standby state, but the technical solution of this embodiment is not limited to enabling the camera function of the mobile terminal, other application programs installed on the mobile terminal The startup operation can also be performed as described above.
实施例三Embodiment three
图3是本发明实施例三中的一种防止误启动移动终端中应用程序的装置的结构示意图。所述防止误启动移动终端中应用程序的装置包括:FIG. 3 is a schematic structural diagram of a device for preventing misinitiated application programs in a mobile terminal according to Embodiment 3 of the present invention. The device for preventing the application program in the mobile terminal from being started by mistake includes:
黑屏手势获取单元310,用于获取待机状态下用户在终端触摸屏上输入的黑屏手势;A black screen gesture acquiring unit 310, configured to acquire a black screen gesture input by a user on a terminal touch screen in a standby state;
黑屏手势匹配单元320,用于将所述黑屏手势与预设的开启应用程序的黑屏手势进行匹配;A black screen gesture matching unit 320, configured to match the black screen gesture with a preset black screen gesture for opening an application;
应用程序启动单元330,用于在匹配成功时,执行指纹识别操作,根据识别结果确定是否启动与当前黑屏手势对应的应用程序。The application program launching unit 330 is configured to perform a fingerprint identification operation when the matching is successful, and determine whether to start the application program corresponding to the current black screen gesture according to the identification result.
本实施例的技术方案通过黑屏手势获取单元310获取待机状态下用户在终端触摸屏上输入的黑屏手势;并采用黑屏手势匹配单元320将所述黑屏手势与预设的开启应用程序的黑屏手势进行匹配;在匹配成功时,通过应用程序启动单元330执行指纹识别操作,根据识别结果确定是否启动与当前黑屏手势对应的应用程序。本实施例的技术方案解决因误启动应用程序导致的移动终端的续航能力下降及用户体验度不佳的问题,在确定应用程序的启动手势之外增加指纹识别的步骤,不仅降低了误启动应用程序的机率,而且达到了阻止没有权限的用户启动应用程序的目的,实现提高移动终端的续航能力及用户体验度的效果。The technical solution of this embodiment acquires the black screen gesture input by the user on the terminal touch screen in the standby state through the black screen gesture acquisition unit 310; and uses the black screen gesture matching unit 320 to match the black screen gesture with the preset black screen gesture for starting the application ; When the matching is successful, the fingerprint identification operation is performed by the application program launching unit 330, and it is determined whether to start the application program corresponding to the current black screen gesture according to the identification result. The technical solution of this embodiment solves the problems of decreased battery life of the mobile terminal and poor user experience caused by misinitiated application programs. The step of fingerprint recognition is added in addition to determining the application program activation gesture, which not only reduces the number of misinitiated applications. The probability of the program, and the purpose of preventing the user without permission from starting the application program is achieved, and the effect of improving the battery life and user experience of the mobile terminal is achieved.
进一步的,所述黑屏手势获取单元310具体用于:Further, the black screen gesture acquiring unit 310 is specifically used for:
在待机状态下,以检测到用户按压终端触摸屏的触摸点为起点,跟踪检测用户在所述终端触摸屏上的触摸点,以检测到用户停止按压终端触摸屏的触摸点为终点,获取所述起点与终点之间的滑动轨迹作为用户在终端触摸屏上输入的黑屏手势。In the standby state, starting from the detection of the touch point where the user presses the touch screen of the terminal, tracking and detecting the touch point of the user on the touch screen of the terminal, and detecting the touch point where the user stops pressing the touch screen of the terminal as the end point, and obtaining the starting point and The sliding track between the end points is used as a black screen gesture input by the user on the touch screen of the terminal.
进一步的,所述黑屏手势匹配单元320具体用于:Further, the black screen gesture matching unit 320 is specifically used for:
在所述黑屏手势为由终端触摸屏一端滑向另一端的手势时,获取当前起点到终点的滑动方向;When the black screen gesture is a gesture of sliding from one end of the terminal touch screen to the other end, obtain the sliding direction from the current start point to the end point;
若当前起点到终点的滑动方向属于预设的开启应用程序的黑屏手势包括的运动方向,则确定由当前起点滑向终点的手势与预设的开启应用程序的黑屏手势匹配成功。If the sliding direction from the current start point to the end point belongs to the movement direction included in the preset black screen gesture for opening the application program, then it is determined that the gesture of sliding from the current starting point to the end point matches the preset black screen gesture for opening the application program successfully.
进一步的,所述应用程序启动单元330包括:Further, the application program starting unit 330 includes:
指纹信息获取子单元,用于在匹配成功时,启动指纹检测识别模块以获取当前输入的指纹信息;The fingerprint information acquisition subunit is used to start the fingerprint detection and identification module to acquire the currently input fingerprint information when the matching is successful;
指纹信息匹配子单元,用于将所述指纹信息与预先设置的有开启权限的指纹确认信息进行匹配;The fingerprint information matching subunit is used to match the fingerprint information with the pre-set fingerprint confirmation information with unlocking authority;
应用程序启动子单元,用于在所述指纹信息与所述指纹确认信息相匹配时,启动与当前黑屏手势对应的应用程序。The application program launching subunit is configured to start the application program corresponding to the current black screen gesture when the fingerprint information matches the fingerprint confirmation information.
进一步的,所述指纹信息匹配子单元具体用于:Further, the fingerprint information matching subunit is specifically used for:
按照预设的规则从所述指纹信息的像素点中获取采样像素点,将所述采样像素点与所述指纹确认信息的相同位置的像素点进行匹配,若匹配成功的采样像素点的数量超过预设的数量阈值,则确定所述指纹信息与所述指纹确认信息相匹配。Acquire sampling pixels from the pixels of the fingerprint information according to preset rules, and match the sampling pixels with the pixels at the same position of the fingerprint confirmation information, if the number of successfully matched sampling pixels exceeds preset quantity threshold, it is determined that the fingerprint information matches the fingerprint confirmation information.
上述防止误启动移动终端中应用程序的装置可执行本发明任意实施例所提供的防止误启动移动终端中应用程序的方法,具备执行方法相应的功能模块和有益效果。The above-mentioned device for preventing application programs in a mobile terminal from being launched by mistake can execute the method for preventing application programs in a mobile terminal from being started by mistake provided by any embodiment of the present invention, and has corresponding functional modules and beneficial effects for executing the method.
注意,上述仅为本发明的较佳实施例及所运用技术原理。本领域技术人员会理解,本发明不限于这里所述的特定实施例,对本领域技术人员来说能够进行各种明显的变化、重新调整和替代而不会脱离本发明的保护范围。因此,虽然通过以上实施例对本发明进行了较为详细的说明,但是本发明不仅仅限于以上实施例,在不脱离本发明构思的情况下,还可以包括更多其他等效实施例,而本发明的范围由所附的权利要求范围决定。Note that the above are only preferred embodiments of the present invention and applied technical principles. Those skilled in the art will understand that the present invention is not limited to the specific embodiments described herein, and that various obvious changes, readjustments and substitutions can be made by those skilled in the art without departing from the protection scope of the present invention. Therefore, although the present invention has been described in detail through the above embodiments, the present invention is not limited to the above embodiments, and can also include more other equivalent embodiments without departing from the concept of the present invention, and the present invention The scope is determined by the scope of the appended claims.
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201510718335.1ACN105425941B (en) | 2015-10-28 | 2015-10-28 | A kind of method and device preventing application program in error starting mobile terminal |
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201510718335.1ACN105425941B (en) | 2015-10-28 | 2015-10-28 | A kind of method and device preventing application program in error starting mobile terminal |
| Publication Number | Publication Date |
|---|---|
| CN105425941Atrue CN105425941A (en) | 2016-03-23 |
| CN105425941B CN105425941B (en) | 2019-04-16 |
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201510718335.1AExpired - Fee RelatedCN105425941B (en) | 2015-10-28 | 2015-10-28 | A kind of method and device preventing application program in error starting mobile terminal |
| Country | Link |
|---|---|
| CN (1) | CN105425941B (en) |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN106020637A (en)* | 2016-05-06 | 2016-10-12 | 北京珠穆朗玛移动通信有限公司 | An application start method and a mobile terminal |
| CN106570381A (en)* | 2016-11-08 | 2017-04-19 | 北京小米移动软件有限公司 | Fingerprint unlocking method and device |
| CN106569717A (en)* | 2016-11-03 | 2017-04-19 | 努比亚技术有限公司 | Mobile terminal and application starting method |
| CN107037885A (en)* | 2017-05-24 | 2017-08-11 | 宇龙计算机通信科技(深圳)有限公司 | A kind of Terminal fingerprints unlocking method and device |
| CN107168510A (en)* | 2017-05-10 | 2017-09-15 | 深圳天珑无线科技有限公司 | A kind of method and device for extinguishing screen |
| CN107450838A (en)* | 2017-07-28 | 2017-12-08 | 广东欧珀移动通信有限公司 | Black screen gesture response method, device, storage medium and mobile terminal |
| CN107765853A (en)* | 2017-10-13 | 2018-03-06 | 广东欧珀移动通信有限公司 | Application closing method, device, storage medium and electronic equipment |
| CN108170492A (en)* | 2017-12-26 | 2018-06-15 | 上海展扬通信技术有限公司 | A kind of application program launching method, device and terminal |
| CN108256308A (en)* | 2018-02-08 | 2018-07-06 | 维沃移动通信有限公司 | A kind of recognition of face solution lock control method and mobile terminal |
| CN108596059A (en)* | 2018-04-12 | 2018-09-28 | 上海思立微电子科技有限公司 | Fingerprint identification device, portable electronic device and its method of controlling operation thereof |
| CN109284160A (en)* | 2018-08-24 | 2019-01-29 | 维沃移动通信有限公司 | Application interface display method and mobile terminal |
| WO2019019816A1 (en)* | 2017-07-28 | 2019-01-31 | Oppo广东移动通信有限公司 | Method and device for reducing power consumption of mobile terminal, storage medium and mobile terminal |
| WO2019061123A1 (en)* | 2017-09-28 | 2019-04-04 | 深圳传音通讯有限公司 | Information display method, terminal device, and computer readable storage medium |
| CN110515462A (en)* | 2019-08-27 | 2019-11-29 | 安徽华米信息科技有限公司 | It is a kind of intelligence wearable device in apply control method, device |
| CN110968355A (en)* | 2018-09-29 | 2020-04-07 | 深圳市诚壹科技有限公司 | Application program starting method and device and terminal |
| CN111949190A (en)* | 2019-05-14 | 2020-11-17 | 深圳富泰宏精密工业有限公司 | Electronic device and control method |
| CN112068947A (en)* | 2020-09-23 | 2020-12-11 | 深圳市欢太科技有限公司 | Application program entering method and device, terminal equipment and computer readable medium |
| CN112446019A (en)* | 2019-08-30 | 2021-03-05 | 北京小米移动软件有限公司 | Application operation control method and device and storage medium |
| CN113467618A (en)* | 2021-07-16 | 2021-10-01 | 支付宝(杭州)信息技术有限公司 | Method and device for collecting sliding gesture |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103345360A (en)* | 2013-06-21 | 2013-10-09 | 广东欧珀移动通信有限公司 | Method for recognizing intelligent terminal touch screen gestures |
| CN104516630A (en)* | 2014-12-15 | 2015-04-15 | 宇龙计算机通信科技(深圳)有限公司 | A lock screen interface photo album playback method and device |
| CN104899029A (en)* | 2015-05-28 | 2015-09-09 | 广东欧珀移动通信有限公司 | Screen control method and device |
| CN104951343A (en)* | 2015-06-18 | 2015-09-30 | 广东欧珀移动通信有限公司 | Starting method and system for application program |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103345360A (en)* | 2013-06-21 | 2013-10-09 | 广东欧珀移动通信有限公司 | Method for recognizing intelligent terminal touch screen gestures |
| CN104516630A (en)* | 2014-12-15 | 2015-04-15 | 宇龙计算机通信科技(深圳)有限公司 | A lock screen interface photo album playback method and device |
| CN104899029A (en)* | 2015-05-28 | 2015-09-09 | 广东欧珀移动通信有限公司 | Screen control method and device |
| CN104951343A (en)* | 2015-06-18 | 2015-09-30 | 广东欧珀移动通信有限公司 | Starting method and system for application program |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN106020637A (en)* | 2016-05-06 | 2016-10-12 | 北京珠穆朗玛移动通信有限公司 | An application start method and a mobile terminal |
| CN106569717A (en)* | 2016-11-03 | 2017-04-19 | 努比亚技术有限公司 | Mobile terminal and application starting method |
| CN106570381A (en)* | 2016-11-08 | 2017-04-19 | 北京小米移动软件有限公司 | Fingerprint unlocking method and device |
| CN107168510A (en)* | 2017-05-10 | 2017-09-15 | 深圳天珑无线科技有限公司 | A kind of method and device for extinguishing screen |
| CN107037885A (en)* | 2017-05-24 | 2017-08-11 | 宇龙计算机通信科技(深圳)有限公司 | A kind of Terminal fingerprints unlocking method and device |
| WO2019019816A1 (en)* | 2017-07-28 | 2019-01-31 | Oppo广东移动通信有限公司 | Method and device for reducing power consumption of mobile terminal, storage medium and mobile terminal |
| CN107450838A (en)* | 2017-07-28 | 2017-12-08 | 广东欧珀移动通信有限公司 | Black screen gesture response method, device, storage medium and mobile terminal |
| US10932196B2 (en) | 2017-07-28 | 2021-02-23 | Guangdong Oppo Mobile Telecommunications Corp., Ltd. | Method for reducing power consumption of mobile terminal, storage medium and mobile terminal |
| CN107450838B (en)* | 2017-07-28 | 2020-01-14 | Oppo广东移动通信有限公司 | Response method and device of black screen gesture, storage medium and mobile terminal |
| WO2019061123A1 (en)* | 2017-09-28 | 2019-04-04 | 深圳传音通讯有限公司 | Information display method, terminal device, and computer readable storage medium |
| CN107765853A (en)* | 2017-10-13 | 2018-03-06 | 广东欧珀移动通信有限公司 | Application closing method, device, storage medium and electronic equipment |
| CN108170492A (en)* | 2017-12-26 | 2018-06-15 | 上海展扬通信技术有限公司 | A kind of application program launching method, device and terminal |
| WO2019154190A1 (en)* | 2018-02-08 | 2019-08-15 | 维沃移动通信有限公司 | Face recognition-based unlocking control method and mobile terminal |
| CN108256308A (en)* | 2018-02-08 | 2018-07-06 | 维沃移动通信有限公司 | A kind of recognition of face solution lock control method and mobile terminal |
| CN108256308B (en)* | 2018-02-08 | 2021-10-01 | 维沃移动通信有限公司 | A face recognition unlocking control method and mobile terminal |
| CN108596059A (en)* | 2018-04-12 | 2018-09-28 | 上海思立微电子科技有限公司 | Fingerprint identification device, portable electronic device and its method of controlling operation thereof |
| CN109284160A (en)* | 2018-08-24 | 2019-01-29 | 维沃移动通信有限公司 | Application interface display method and mobile terminal |
| CN110968355A (en)* | 2018-09-29 | 2020-04-07 | 深圳市诚壹科技有限公司 | Application program starting method and device and terminal |
| CN111949190A (en)* | 2019-05-14 | 2020-11-17 | 深圳富泰宏精密工业有限公司 | Electronic device and control method |
| CN110515462A (en)* | 2019-08-27 | 2019-11-29 | 安徽华米信息科技有限公司 | It is a kind of intelligence wearable device in apply control method, device |
| CN112446019A (en)* | 2019-08-30 | 2021-03-05 | 北京小米移动软件有限公司 | Application operation control method and device and storage medium |
| CN112068947A (en)* | 2020-09-23 | 2020-12-11 | 深圳市欢太科技有限公司 | Application program entering method and device, terminal equipment and computer readable medium |
| CN113467618A (en)* | 2021-07-16 | 2021-10-01 | 支付宝(杭州)信息技术有限公司 | Method and device for collecting sliding gesture |
| CN113467618B (en)* | 2021-07-16 | 2024-04-23 | 支付宝(杭州)信息技术有限公司 | Method and device for acquiring sliding gesture |
| Publication number | Publication date |
|---|---|
| CN105425941B (en) | 2019-04-16 |
| Publication | Publication Date | Title |
|---|---|---|
| CN105425941A (en) | Method and apparatus for preventing erroneous start-up of application in mobile terminal | |
| CN104598134B (en) | Fingerprint operation method and system of mobile terminal | |
| CN103064620B (en) | Touch screen operation method and touch screen terminal | |
| CN104991721B (en) | A kind of fingerprint operating method and device | |
| EP2579126A1 (en) | Method for controlling state of mobile terminal and mobile terminal | |
| CN105549868A (en) | Mobile terminal operation processing method and apparatus and mobile terminal | |
| CN105426095A (en) | A method and device for enabling the camera function of a mobile terminal when the screen is off | |
| CN103412723B (en) | Mobile terminal unlocking method and mobile terminal unlocking system | |
| CN105354474A (en) | Method, device and mobile terminal for preventing misoperation by using fingerprint confirmation | |
| EP3196738B1 (en) | Method for controlling blank screen gesture processing and terminal | |
| CN105159734A (en) | Fast application starting method and device | |
| WO2015168977A1 (en) | Screen control method and device | |
| CN105824551A (en) | Electronic equipment unlocking method and electronic equipment | |
| JP2014521135A (en) | INTERACTION METHOD AND DEVICE FOR TOUCH TERMINAL, INTERACTION METHOD AND SERVER FOR NETWORK APPLICATION, COMPUTER STORAGE MEDIUM | |
| CN105528170A (en) | Method and device for starting an application program | |
| US10592023B2 (en) | Touch display assembly, touch input unit and touch input method | |
| CN106326713A (en) | Unlocking method for screen of mobile terminal and mobile terminal | |
| US20170039414A1 (en) | Electronic device | |
| CN101206594A (en) | Method for correcting touch screen | |
| CN105306821A (en) | A method and device for enabling the camera function of a mobile terminal | |
| CN106896907A (en) | A method and device for operating a terminal according to user gestures | |
| CN106874044A (en) | A kind of camera changing method and mobile terminal | |
| CN105718775A (en) | Application control method and mobile terminal | |
| CN105353967A (en) | A method and device for enabling the camera function of a mobile terminal | |
| CN108874281A (en) | A kind of application program launching method and terminal device |
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| CB02 | Change of applicant information | Address after:523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong Applicant after:GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. Address before:523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong Applicant before:GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. | |
| CB02 | Change of applicant information | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant | ||
| CF01 | Termination of patent right due to non-payment of annual fee | Granted publication date:20190416 | |
| CF01 | Termination of patent right due to non-payment of annual fee |