Movatterモバイル変換


[0]ホーム

URL:


CN107450839B - Control method, device, storage medium and mobile terminal based on black screen gesture - Google Patents

Control method, device, storage medium and mobile terminal based on black screen gesture
Download PDF

Info

Publication number
CN107450839B
CN107450839BCN201710633683.8ACN201710633683ACN107450839BCN 107450839 BCN107450839 BCN 107450839BCN 201710633683 ACN201710633683 ACN 201710633683ACN 107450839 BCN107450839 BCN 107450839B
Authority
CN
China
Prior art keywords
mode
target
target application
display screen
black screen
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710633683.8A
Other languages
Chinese (zh)
Other versions
CN107450839A (en
Inventor
韩通
郭明强
石仁栋
汪昊
张强
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp LtdfiledCriticalGuangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201710633683.8ApriorityCriticalpatent/CN107450839B/en
Publication of CN107450839ApublicationCriticalpatent/CN107450839A/en
Application grantedgrantedCritical
Publication of CN107450839BpublicationCriticalpatent/CN107450839B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Classifications

Landscapes

Abstract

Translated fromChinese

本发明实施例公开了一种基于黑屏手势的控制方法、装置、存储介质及移动终端。该方法包括:当显示屏处于黑屏状态时,接收用户输入的黑屏手势并检测在接收黑屏手势的过程中指纹传感器和/或预设物理按键是否被按压;根据所接收的黑屏手势确定对应的目标应用程序;根据指纹传感器和/或预设物理按键是否被按压的检测结果确定目标应用程序对应的目标开启模式,唤醒显示屏并根据目标开启模式开启目标应用程序。本发明实施例通过采用上述技术方案,丰富了黑屏手势的功能,且能够实现隐蔽输入,保护用户隐私。

The embodiments of the present invention disclose a control method, device, storage medium and mobile terminal based on black screen gesture. The method includes: when the display screen is in a black screen state, receiving a black screen gesture input by a user and detecting whether the fingerprint sensor and/or a preset physical button is pressed during the process of receiving the black screen gesture; determining the corresponding target application according to the received black screen gesture; determining the target start mode corresponding to the target application according to the detection result of whether the fingerprint sensor and/or the preset physical button is pressed, waking up the display screen and starting the target application according to the target start mode. The embodiments of the present invention enrich the functions of the black screen gesture by adopting the above technical solution, and can realize hidden input and protect user privacy.

Description

Translated fromChinese
基于黑屏手势的控制方法、装置、存储介质及移动终端Control method, device, storage medium and mobile terminal based on black screen gesture

技术领域technical field

本发明实施例涉及触控技术领域,尤其涉及一种基于黑屏手势的控制方法、装置、存储介质及移动终端。Embodiments of the present invention relate to the field of touch technology, and in particular, to a control method, device, storage medium, and mobile terminal based on a black screen gesture.

背景技术Background technique

目前,显示屏已成为移动终端的标准配置,且显示屏的尺寸越来越大,已成为移动终端中最耗电的器件之一,因此,当用户暂时不使用移动终端时,需要关闭显示屏,让显示屏处于休眠状态。At present, the display screen has become the standard configuration of the mobile terminal, and the size of the display screen is getting larger and larger, and it has become one of the most power-consuming devices in the mobile terminal. Therefore, when the user does not use the mobile terminal temporarily, the display screen needs to be turned off. to put the display to sleep.

当用户想要恢复移动终端的使用时,需要唤醒屏幕,常见的唤醒方式是按下电源键等实体按键或者按下指纹传感器等器件,频繁的按击上述部件可能会影响其寿命,所以,现在很多移动终端都支持黑屏手势的唤醒方式。When the user wants to resume the use of the mobile terminal, he needs to wake up the screen. The common wake-up method is to press a physical button such as the power button or press a device such as a fingerprint sensor. Frequent pressing of the above components may affect its life. Therefore, now Many mobile terminals support the wake-up method of the black screen gesture.

黑屏手势一般指显示屏处于黑屏状态时,移动终端检测到的作用于触摸屏上的手势动作。黑屏手势的出现丰富了移动终端的唤醒方式,然而基于黑屏手势的控制方案仅限于唤醒移动终端或开启对应的应用程序,仍然比较单一,需要进一步的优化。The black screen gesture generally refers to a gesture action acting on the touch screen detected by the mobile terminal when the display screen is in a black screen state. The appearance of the black screen gesture enriches the wake-up methods of the mobile terminal, however, the control scheme based on the black screen gesture is limited to waking up the mobile terminal or opening the corresponding application, which is still relatively simple and needs further optimization.

发明内容SUMMARY OF THE INVENTION

本发明实施例提供基于黑屏手势的控制方法、装置、存储介质及移动终端,可以优化基于黑屏手势的控制方案。Embodiments of the present invention provide a control method, device, storage medium, and mobile terminal based on a black screen gesture, which can optimize a control scheme based on a black screen gesture.

第一方面,本发明实施例提供了一种基于黑屏手势的控制方法,包括:In a first aspect, an embodiment of the present invention provides a control method based on a black screen gesture, including:

当显示屏处于黑屏状态时,接收用户输入的黑屏手势并检测在接收所述黑屏手势的过程中指纹传感器和/或预设物理按键是否被按压;When the display screen is in a black screen state, receive a black screen gesture input by the user and detect whether the fingerprint sensor and/or the preset physical button is pressed during the process of receiving the black screen gesture;

根据所接收的黑屏手势确定对应的目标应用程序;Determine the corresponding target application according to the received black screen gesture;

根据所述指纹传感器和/或所述预设物理按键是否被按压的检测结果确定对应的目标开启模式,其中,当检测结果为所述指纹传感器和/或所述预设物理按键未被按压时,目标开启模式为普通模式,当检测结果为所述指纹传感器和/或所述预设物理按键被按压时,目标开启模式为私密模式;The corresponding target activation mode is determined according to the detection result of whether the fingerprint sensor and/or the preset physical button is pressed, wherein, when the detection result is that the fingerprint sensor and/or the preset physical button is not pressed , the target opening mode is the normal mode, and when the detection result is that the fingerprint sensor and/or the preset physical key is pressed, the target opening mode is the private mode;

唤醒所述显示屏并根据所述目标开启模式开启所述目标应用程序。Wake up the display screen and start the target application according to the target activation mode.

第二方面,本发明实施例提供了一种基于黑屏手势的控制装置,包括:In a second aspect, an embodiment of the present invention provides a control device based on a black screen gesture, including:

手势接收模块,用于在显示屏处于黑屏状态时,接收用户输入的黑屏手势;The gesture receiving module is used to receive the black screen gesture input by the user when the display screen is in a black screen state;

按压检测模块,用于检测在接收所述黑屏手势的过程中指纹传感器和/或预设物理按键是否被按压;a press detection module for detecting whether the fingerprint sensor and/or the preset physical button is pressed during the process of receiving the black screen gesture;

应用确定模块,用于根据所接收的黑屏手势确定对应的目标应用程序;an application determination module for determining a corresponding target application according to the received black screen gesture;

开启模式确定模块,用于根据所述指纹传感器和/或所述预设物理按键是否被按压的检测结果确定对应的目标开启模式,其中,当检测结果为所述指纹传感器和/或所述预设物理按键未被按压时,目标开启模式为普通模式,当检测结果为所述指纹传感器和/或所述预设物理按键被按压时,目标开启模式为私密模式;The activation mode determination module is configured to determine the corresponding target activation mode according to the detection result of whether the fingerprint sensor and/or the preset physical button is pressed, wherein, when the detection result is that the fingerprint sensor and/or the preset physical button is pressed It is assumed that when the physical key is not pressed, the target opening mode is the normal mode, and when the detection result is that the fingerprint sensor and/or the preset physical key is pressed, the target opening mode is the private mode;

应用开启模块,用于唤醒所述显示屏并根据所述目标开启模式开启所述目标应用程序。An application opening module is used to wake up the display screen and start the target application program according to the target opening mode.

第三方面,本发明实施例提供了一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现如本发明实施例所述的基于黑屏手势的控制方法。In a third aspect, an embodiment of the present invention provides a computer-readable storage medium on which a computer program is stored, and when the program is executed by a processor, implements the black screen gesture-based control method according to the embodiment of the present invention.

第四方面,本发明实施例提供了一种移动终端,包括存储器,处理器及存储在存储器上并可在处理器运行的计算机程序,所述处理器执行所述计算机程序时实现如本发明实施例所述的基于黑屏手势的控制方法。In a fourth aspect, an embodiment of the present invention provides a mobile terminal, including a memory, a processor, and a computer program stored in the memory and running on the processor, and the processor executes the computer program to achieve the implementation of the present invention The control method based on the black screen gesture described in the example.

本发明实施例中提供的基于黑屏手势的控制方案,在黑屏状态时,接收用户输入的黑屏手势并确定对应的目标应用程序,根据在接收黑屏手势的过程中是否检测到指纹传感器和/或预设物理按键被按压来确定目标开启模式是普通模式还是私密模式,最后唤醒显示屏并根据目标开启模式开启目标应用程序。通过采用上述技术方案,在依照黑屏手势开启应用程序的同时还根据其他部件的按压状态确定该应用程序的开启模式,丰富了黑屏手势的功能,且在用户输入黑屏手势时,他人注意力集中在输入黑屏手势的手指和屏幕上,难以察觉到用户按压其他部件,能够实现隐蔽输入,保护用户隐私。In the black screen gesture-based control solution provided in the embodiment of the present invention, in the black screen state, the black screen gesture input by the user is received and the corresponding target application is determined, and according to whether the fingerprint sensor and/or the pre-screen gesture is detected in the process of receiving the black screen gesture It is assumed that the physical button is pressed to determine whether the target opening mode is the normal mode or the private mode, and finally wake up the display screen and open the target application according to the target opening mode. By adopting the above technical solution, when the application is opened according to the black screen gesture, the opening mode of the application is also determined according to the pressing state of other components, which enriches the functions of the black screen gesture, and when the user inputs the black screen gesture, the attention of others is focused on It is difficult to detect that the user presses other components on the finger and the screen when the black screen gesture is input, so that concealed input can be realized and user privacy can be protected.

附图说明Description of drawings

图1为本发明实施例提供的一种基于黑屏手势的控制方法的流程示意图;1 is a schematic flowchart of a control method based on a black screen gesture according to an embodiment of the present invention;

图2是本发明实施例提供的一种安卓系统框架示意图;2 is a schematic diagram of an Android system framework provided by an embodiment of the present invention;

图3为本发明实施例提供的一种黑屏手势输入示意图;3 is a schematic diagram of a black screen gesture input provided by an embodiment of the present invention;

图4为本发明实施例提供的另一种基于黑屏手势的控制方法的流程示意图;4 is a schematic flowchart of another control method based on a black screen gesture provided by an embodiment of the present invention;

图5a为本发明实施例提供的一种普通模式下桌面示意图;5a is a schematic diagram of a desktop in a normal mode according to an embodiment of the present invention;

图5b为本发明实施例提供的一种私密模式下桌面示意图;5b is a schematic diagram of a desktop in a private mode according to an embodiment of the present invention;

图6为本发明实施例提供的另一种基于黑屏手势的控制方法的流程示意图;6 is a schematic flowchart of another control method based on a black screen gesture provided by an embodiment of the present invention;

图7为本发明实施例提供的另一种基于黑屏手势的控制方法的流程示意图;7 is a schematic flowchart of another control method based on a black screen gesture provided by an embodiment of the present invention;

图8a为本发明实施例提供的一种普通模式下公用类应用界面示意图;FIG. 8a is a schematic diagram of a public class application interface in a common mode provided by an embodiment of the present invention;

图8b为本发明实施例提供的一种私密模式下公用类应用界面示意图;8b is a schematic diagram of a public application interface in a private mode provided by an embodiment of the present invention;

图9为本发明实施例提供的一种基于黑屏手势的控制装置的结构框图;9 is a structural block diagram of a control device based on a black screen gesture provided by an embodiment of the present invention;

图10为本发明实施例提供的一种移动终端的结构示意图。FIG. 10 is a schematic structural diagram of a mobile terminal according to an embodiment of the present invention.

具体实施方式Detailed ways

下面结合附图并通过具体实施方式来进一步说明本发明的技术方案。可以理解的是,此处所描述的具体实施例仅仅用于解释本发明,而非对本发明的限定。另外还需要说明的是,为了便于描述,附图中仅示出了与本发明相关的部分而非全部结构。The technical solutions of the present invention are further described below with reference to the accompanying drawings and through specific embodiments. It should be understood that the specific embodiments described herein 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, the drawings only show some but not all structures related to the present invention.

在更加详细地讨论示例性实施例之前应当提到的是,一些示例性实施例被描述成作为流程图描绘的处理或方法。虽然流程图将各步骤描述成顺序的处理,但是其中的许多步骤可以被并行地、并发地或者同时实施。此外,各步骤的顺序可以被重新安排。当其操作完成时所述处理可以被终止,但是还可以具有未包括在附图中的附加步骤。所述处理可以对应于方法、函数、规程、子例程、子程序等等。Before discussing the exemplary embodiments in greater detail, it should be mentioned that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although the flowchart depicts the steps as a sequential process, many of the steps may be performed in parallel, concurrently, or concurrently. Furthermore, the order of the steps can be rearranged. The process may be terminated when its operation is complete, but may also have additional steps not included in the figures. The processes may correspond to methods, functions, procedures, subroutines, subroutines, and the like.

图1为本发明实施例提供的一种基于黑屏手势的控制方法的流程示意图,该方法可以由基于黑屏手势的控制装置执行,其中该装置可由软件和/或硬件实现,一般可集成在移动终端中。如图1所示,该方法包括:FIG. 1 is a schematic flowchart of a control method based on a black screen gesture provided by an embodiment of the present invention. The method can be executed by a control device based on a black screen gesture, wherein the device can be implemented by software and/or hardware, and can generally be integrated in a mobile terminal. middle. As shown in Figure 1, the method includes:

步骤101、当显示屏处于黑屏状态时,接收用户输入的黑屏手势并检测在接收黑屏手势的过程中指纹传感器和/或预设物理按键是否被按压。Step 101: When the display screen is in a black screen state, receive a black screen gesture input by a user and detect whether the fingerprint sensor and/or the preset physical button is pressed during the process of receiving the black screen gesture.

示例性的,本发明实施例中的移动终端可包括手机、平板电脑以及媒体播放器等设置有触摸式显示屏的移动设备。作为移动终端的显示装置,触摸式显示屏中一般集成有触控面板、显示面板和保护玻璃盖板,同时具备触控功能及显示功能,为了便于具体场景的说明,以下将触摸式显示屏简称为触摸屏或显 示屏。Exemplarily, the mobile terminal in the embodiment of the present invention may include a mobile device, such as a mobile phone, a tablet computer, and a media player, which is provided with a touch-type display screen. As a display device of a mobile terminal, a touch screen generally integrates a touch panel, a display panel and a protective glass cover, and has both a touch function and a display function. In order to facilitate the description of specific scenarios, the touch screen is hereinafter referred to as for touch screen or display.

示例性的,当用户不需要使用移动终端时,通常会将移动终端的显示屏熄灭,如按下电源键。此外,当用户将处于亮屏状态的移动终端放置在一旁,不进行任何操作时,显示屏经过一段时间后也会自动熄灭。除以上两种情况外,还可能存在其他的情况需要显示屏熄灭,显示屏熄灭后,移动终端将处于黑屏(熄屏)状态,此时移动终端的系统一般处于休眠状态。Exemplarily, when the user does not need to use the mobile terminal, the display screen of the mobile terminal is usually turned off, such as pressing the power button. In addition, when the user puts the mobile terminal in the bright screen state aside and does not perform any operation, the display screen will also automatically turn off after a period of time. In addition to the above two situations, there may be other situations that require the display screen to be turned off. After the display screen is turned off, the mobile terminal will be in a black screen (screen off) state, and the system of the mobile terminal is generally in a dormant state.

示例性的,当显示屏处于黑屏状态时,接收用户输入的黑屏手势,也可优化为当显示屏处于黑屏状态下检测到黑屏手势事件时,接收用户输入的黑屏手势并检测在接收黑屏手势的过程中指纹传感器和/或预设物理按键是否被按压。其中,黑屏手势事件可以是驱动层与应用层预先协商好的用于代表有黑屏手势输入的事件。这样设置的好处在于,可避免移动终端在黑屏状态下持续处于手势接收状态,节省功耗。可选的,检测到黑屏手势事件可包括检测到显示屏的预设区域被触摸,还可包括检测到接近传感器的接近事件等等,本发明实施例不做限定。其中,预设区域为显示屏的部分区域,例如为位于显示屏左上角的矩形区域,矩形区域可以设置的小一些,其长度和宽度可以分别是显示屏长度的第一预设比例值和显示屏宽度的第二预设比例,例如长度是显示屏长度的1/10,宽度是显示屏宽度的1/10。Exemplarily, when the display screen is in a black screen state, receiving a black screen gesture input by the user can also be optimized to receive a black screen gesture input by the user when a black screen gesture event is detected when the display screen is in a black screen state, and detect when receiving the black screen gesture. Whether the fingerprint sensor and/or the preset physical button is pressed during the process. The black screen gesture event may be an event pre-negotiated by the driver layer and the application layer to represent a black screen gesture input. The advantage of this setting is that the mobile terminal can be prevented from continuously being in a gesture receiving state in a black screen state, thereby saving power consumption. Optionally, detecting a black screen gesture event may include detecting that a preset area of the display screen is touched, and may also include detecting a proximity event of a proximity sensor, etc., which is not limited in this embodiment of the present invention. The preset area is a partial area of the display screen, such as a rectangular area located in the upper left corner of the display screen. The rectangular area can be set to be smaller, and its length and width can be respectively the first preset ratio value of the length of the display screen and the display value of the display screen. The second preset ratio of the screen width, for example, the length is 1/10 of the length of the display screen, and the width is 1/10 of the width of the display screen.

本发明实施例中,黑屏手势可以是用户在黑屏手势功能开启后,在处于黑屏状态的显示屏上输入的触摸手势。可以理解的是黑屏手势并不限于在触摸屏上输入的触摸手势,还可以是由移动终端的传感器检测到的操作等。例如,左右摇晃移动终端的手势,从移动终端的触摸屏上空拂过的手势及按压移动终端边框的手势等等。图2是本发明实施例提供的一种安卓系统框架示意图。以图2所示的操作系统为安卓(Android)系统的移动终端为例,介绍本发明实施例提供的黑屏手势功能的执行流程。如图2所示,安卓系统框架由下至上包括内核层210、核心类库层220、框架层230及应用层240。其中,内核层210提供核心系统服务,包括安全、内存管理、进程管理、网络协议栈及硬件驱动等。其中,将内核层210中的硬件驱动记为驱动层211,该驱动层211包括触摸屏驱动、摄像头驱动等。核心类库层220包括安卓运行环境(Android Runtime)和类库(Libraries)。其中,Android Runtime提供大部分在Java编程语言核心类库中可用的功能,包括核心库(Core Libraries)和Dalvik虚拟机(Dalvik VM)。每一个安卓应用程序是Dalvik虚拟机中的实例,运行在它们自己的进程中。类 库供安卓系统的各个组件使用,包括如下功能:媒体库(Media Framework)、界面管理(Surface Manager)、SQLite(关系数据库引擎)及FreeType(位图和矢量字体渲染)等,其各个功能通过安卓系统的框架层230暴露给开发者使用。框架层230提供开发安卓应用程序所需的一系列类库,使开发人员可以进行快速的应用程序开发,方便重用组件,也可以通过继承实现个性化的扩展,其提供的服务包括组件管理服务、窗口管理服务、系统数据源组件、空间框架、资源管理服务及安装包管理服务等。应用层240上包括各类与用户直接交互的应用程序,或由Java语言编写的运行于后台的服务程序,包括桌面应用、联系人应用、通话应用、相机应用、图片浏览器、游戏、地图、web浏览器等程序,以及开发人员开发的其他应用程序。In this embodiment of the present invention, the black screen gesture may be a touch gesture input by the user on the display screen in a black screen state after the black screen gesture function is enabled. It can be understood that the black screen gesture is not limited to a touch gesture input on the touch screen, but may also be an operation detected by a sensor of the mobile terminal, and the like. For example, the gesture of shaking the mobile terminal from side to side, the gesture of flicking from the touch screen of the mobile terminal, the gesture of pressing the frame of the mobile terminal, and the like. FIG. 2 is a schematic diagram of an Android system framework provided by an embodiment of the present invention. Taking the mobile terminal whose operating system is the Android system shown in FIG. 2 as an example, the execution flow of the black screen gesture function provided by the embodiment of the present invention is introduced. As shown in FIG. 2 , the Android system framework includes a kernel layer 210 , a core class library layer 220 , a framework layer 230 and an application layer 240 from bottom to top. The kernel layer 210 provides core system services, including security, memory management, process management, network protocol stacks, and hardware drivers. The hardware driver in the kernel layer 210 is denoted as a driver layer 211 , and the driver layer 211 includes a touch screen driver, a camera driver, and the like. The core class library layer 220 includes an Android runtime environment (Android Runtime) and class libraries (Libraries). Among them, Android Runtime provides most of the functions available in the core class library of the Java programming language, including the core library (Core Libraries) and the Dalvik virtual machine (Dalvik VM). Each Android application is an instance of the Dalvik virtual machine, running in its own process. The class library is used by various components of the Android system, including the following functions: media library (Media Framework), interface management (Surface Manager), SQLite (relational database engine) and FreeType (bitmap and vector font rendering). The framework layer 230 of the Android system is exposed to developers for use. The framework layer 230 provides a series of class libraries required for developing Android applications, so that developers can develop applications quickly, reuse components easily, and can also achieve personalized expansion through inheritance. The services it provides include component management services, Window management services, system data source components, space frameworks, resource management services and installation package management services, etc. The application layer 240 includes various application programs that directly interact with users, or service programs written in the Java language that run in the background, including desktop applications, contact applications, calling applications, camera applications, picture browsers, games, maps, Programs such as web browsers, and other applications developed by developers.

示例性的,在黑屏手势功能开启后,触摸芯片在检测到黑屏手势时,生成一唤醒信号,并发送该唤醒信号至内核层。通过该唤醒信号触发内核层执行系统唤醒操作。在系统唤醒后,内核层调用驱动层中断函数执行读取触摸芯片中手势数据的操作,并将读取的手势数据存储在驱动层的预设节点内。其中,设定节点可以为文件节点,例如可以是proc-D目录下的虚拟文件节点。在数据读取完成后,驱动层判定该手势数据的有效性,有效性判定的方式有很多种,本实施例不作具体限定。例如,驱动层根据该手势数据包含的坐标信息确定黑屏手势类型,并将所确定的手势类型作为手势数据存储在该预设节点内。若该手势类型不是预设的黑屏手势,则判定手势数据无效。又如,驱动层统计该手势数据的数目,判定该数目是否满足绘制预设的黑屏手势的要求,若否,则判定手势数据无效。在数据有效时,驱动层上报黑屏手势事件。该黑屏手势事件通过核心类库层传输至框架层,并通过框架层派发,达到应用层。应用层在获取到黑屏手势事件时,由驱动层的预设节点读取手势数据。在手势数据准备完成后,根据该手势数据包含的坐标信息计算出黑屏手势的动作轨迹,将该黑屏手势轨迹绘制在显示屏上进行显示。然后,应用层基于所读取的手势数据中的手势类型,打开与该手势类型对应的应用程序。其中,手势类型可以是预先设置于移动终端中的用于实现某一功能的手势,还可以是用户自定义的手势,不同的手势类型对应即将开启的应用程序。例如,手势类型可以是O,代表打开相机。又如,手势类型可以是V,代表打开手电筒等等。图3为本发明实施例提供的一种黑屏手势输入示意图,如图3所示,用户在屏幕上输入了手势类型为V的黑屏手势。Exemplarily, after the black screen gesture function is enabled, when the touch chip detects the black screen gesture, a wake-up signal is generated, and the wake-up signal is sent to the kernel layer. The wake-up signal triggers the kernel layer to perform a system wake-up operation. After the system wakes up, the kernel layer calls the driver layer interrupt function to perform the operation of reading gesture data in the touch chip, and stores the read gesture data in the preset node of the driver layer. The set node may be a file node, for example, a virtual file node in the proc-D directory. After the data reading is completed, the driver layer determines the validity of the gesture data. There are many ways to determine the validity, which is not specifically limited in this embodiment. For example, the driver layer determines the black screen gesture type according to the coordinate information contained in the gesture data, and stores the determined gesture type in the preset node as gesture data. If the gesture type is not a preset black screen gesture, it is determined that the gesture data is invalid. For another example, the driver layer counts the number of the gesture data, and determines whether the number meets the requirements for drawing a preset black screen gesture, and if not, determines that the gesture data is invalid. When the data is valid, the driver layer reports the black screen gesture event. The black screen gesture event is transmitted to the framework layer through the core class library layer, and dispatched through the framework layer to reach the application layer. When the application layer obtains the black screen gesture event, the gesture data is read by the preset node of the driver layer. After the preparation of the gesture data is completed, the motion trajectory of the black screen gesture is calculated according to the coordinate information contained in the gesture data, and the black screen gesture trajectory is drawn on the display screen for display. Then, the application layer opens an application corresponding to the gesture type based on the gesture type in the read gesture data. The gesture type may be a gesture preset in the mobile terminal for implementing a certain function, or may be a user-defined gesture, and different gesture types correspond to applications to be opened. For example, the gesture type can be O, which means open the camera. For another example, the gesture type may be V, which represents turning on the flashlight and so on. FIG. 3 is a schematic diagram of a black screen gesture input provided by an embodiment of the present invention. As shown in FIG. 3 , a user inputs a black screen gesture whose gesture type is V on the screen.

示例性的,检测在接收黑屏手势的过程中指纹传感器是否被按压,或者检测在接收黑屏手势的过程中预设物理按键是否被按压,或者检测在接收黑屏手势的过程中指纹传感器和预设物理按键是否均被按压。可选的,检测在接收黑屏手势的过程中指纹传感器和预设物理按键是否均被按压,还可进一步优化为:检测在接收黑屏手势的过程中指纹传感器和预设物理按键是否均被按压,若被均被按压,则判断指纹传感器和预设物理按键被按压的时间间隔是否小于预设时长。相应的,后续步骤中,当检测结果为指纹传感器和预设物理按键至少一个未被按压时,目标开启模式为普通模式,当检测结果为指纹传感器和预设物理按键均被按压,且指纹传感器和预设物理按键被按压的时间间隔大于或等于预设时长,目标开启模式为普通模式,当检测结果为指纹传感器和预设物理按键均被按压,且指纹传感器和预设物理按键被按压的时间间隔小于预设时长时,目标开启模式为私密模式。除了按压间隔,还可对按压顺序进行判定,若按压顺序不符合预设要求,目标开启模式为普通模式,若按压顺序符合预设要求,目标开启模式为私密模式。Exemplarily, it is detected whether the fingerprint sensor is pressed in the process of receiving the black screen gesture, or whether the preset physical button is pressed in the process of receiving the black screen gesture, or whether the fingerprint sensor and the preset physical button are detected in the process of receiving the black screen gesture. Whether the keys are pressed. Optionally, detecting whether both the fingerprint sensor and the preset physical button are pressed during the process of receiving the black screen gesture may be further optimized as: detecting whether both the fingerprint sensor and the preset physical button are pressed during the process of receiving the black screen gesture, If both are pressed, it is determined whether the time interval between the fingerprint sensor and the preset physical key being pressed is less than the preset time period. Correspondingly, in the subsequent steps, when the detection result is that at least one of the fingerprint sensor and the preset physical button is not pressed, the target opening mode is the normal mode, and when the detection result is that both the fingerprint sensor and the preset physical button are pressed, and the fingerprint sensor is pressed. The time interval when the preset physical button is pressed is greater than or equal to the preset duration, the target opening mode is the normal mode, when the detection result is that both the fingerprint sensor and the preset physical button are pressed, and the fingerprint sensor and the preset physical button are pressed. When the time interval is less than the preset duration, the target opening mode is the private mode. In addition to the pressing interval, the pressing sequence can also be determined. If the pressing sequence does not meet the preset requirements, the target opening mode is the normal mode, and if the pressing sequence meets the preset requirements, the target opening mode is the private mode.

可选的,指纹传感器可以位于移动终端的背面或侧面,预设物理按键也可以位于移动终端的背面或侧面。这样设置的好处在于,在按压指纹传感器或预设物理按键时,按压动作更加不容易被他人发现。需要说明的是,当指纹传感器为触摸式指纹传感器时,用户触摸指纹传感器的动作也属于本发明实施例中所述的按压;当预设物理按键为触摸式按键时,用户触摸预设物理按键的动作也属于本发明实施例中所述的按压。可选的,预设物理按键可以是音量调节按键(如音量“+”按键和音量“_”按键),拍照按键,还可以是主页键、菜单键及返回键等触摸按键。Optionally, the fingerprint sensor may be located on the back or side of the mobile terminal, and the preset physical keys may also be located on the back or side of the mobile terminal. The advantage of this setting is that when the fingerprint sensor or the preset physical button is pressed, the pressing action is less likely to be discovered by others. It should be noted that when the fingerprint sensor is a touch-type fingerprint sensor, the action of the user touching the fingerprint sensor also belongs to the pressing described in the embodiment of the present invention; when the preset physical button is a touch-type button, the user touches the preset physical button The action also belongs to the pressing described in the embodiments of the present invention. Optionally, the preset physical key may be a volume adjustment key (such as a volume "+" key and a volume "_" key), a camera key, or a touch key such as a home key, a menu key, and a return key.

示例性的,可增设按压标识(如以标志位形式存在),用按压标识的取值来表示检测结果。Exemplarily, a pressing flag may be added (for example, it exists in the form of a flag bit), and the value of the pressing flag is used to represent the detection result.

步骤102、根据所接收的黑屏手势确定对应的目标应用程序。Step 102: Determine the corresponding target application according to the received black screen gesture.

示例性的,可预先设定不同类型的黑屏手势与应用程序的对应关系,如上文所述,手势类型O与相机应用对应,手势类型V与手电筒应用对应等等。可选的,本步骤可具体包括:获取所接收到的黑屏手势的动作轨迹,根据动作轨迹识别出黑屏手势的类型,根据黑屏手势的类型确定对应的目标应用程序。目标应用程序即需要在唤醒显示屏后打开的应用程序。Exemplarily, the correspondence between different types of black screen gestures and applications can be preset. As described above, gesture type O corresponds to a camera application, gesture type V corresponds to a flashlight application, and so on. Optionally, this step may specifically include: acquiring a motion trajectory of the received black screen gesture, identifying the type of the black screen gesture according to the motion trajectory, and determining a corresponding target application according to the type of the black screen gesture. The target application is the application that needs to be opened after waking up the display.

步骤103、根据指纹传感器和/或预设物理按键是否被按压的检测结果确定 目标应用程序对应的目标开启模式。Step 103: Determine the target activation mode corresponding to the target application program according to the detection result of whether the fingerprint sensor and/or the preset physical button is pressed.

其中,当检测结果为所述指纹传感器和/或所述预设物理按键未被按压时,目标开启模式为普通模式,当检测结果为所述指纹传感器和/或所述预设物理按键被按压时,目标开启模式为私密模式。Wherein, when the detection result is that the fingerprint sensor and/or the preset physical button is not pressed, the target opening mode is the normal mode, and when the detection result is that the fingerprint sensor and/or the preset physical button is pressed , the target open mode is private mode.

本发明实施例中,所述目标开启模式包括普通模式和私密模式。随着移动终端的快速普及,移动终端装载的应用程序也越来越丰富,很多用户的生活和工作越来越离不开移动终端,应用程序中包含了用户大量的隐私数据,包括聊天记录、理财数据及工作文件内容等等,这些内容需要得到有效的保护。In this embodiment of the present invention, the target activation mode includes a normal mode and a private mode. With the rapid popularization of mobile terminals, the applications loaded on mobile terminals are becoming more and more abundant, and many users' lives and work are increasingly inseparable from mobile terminals. The applications contain a large amount of users' private data, including chat records, Financial data and work documents, etc., these contents need to be effectively protected.

示例性的,本发明实施例中的私密模式可以是方便移动终端主人进行操作的模式,如自动登录目标应用程序对应的账号,又如自动进入最近操作界面等;普通模式可以是隐藏显示移动终端主人隐私信息的模式,该模式下一般不影响其他人对即将开启的目标应用程序的使用,如进入目标应用程序的账号登录页面,又如进入目标应用程序的初始界面等。Exemplarily, the private mode in this embodiment of the present invention may be a mode that is convenient for the mobile terminal owner to operate, such as automatically logging in to the account corresponding to the target application, or automatically entering the latest operation interface, etc.; the normal mode may be to hide and display the mobile terminal. The mode of the owner's private information, which generally does not affect other people's use of the target application to be opened, such as entering the account login page of the target application, or entering the initial interface of the target application, etc.

示例性的,可通过读取按压标识的数值来确定检测结果,进而确定目标开启模式。Exemplarily, the detection result may be determined by reading the value of the pressing flag, and then the target activation mode may be determined.

步骤104、唤醒显示屏并根据目标开启模式开启目标应用程序。Step 104 , wake up the display screen and start the target application according to the target start mode.

示例性的,用户在黑屏状态下输入完黑屏手势后,移动终端通过上述步骤可以确定出需要开启的目标应用程序,以及需要以哪种模式开启目标应用程序,那么唤醒显示屏,即控制显示屏亮起,并以目标开启模式开启目标应用程序,可以达到根据黑屏手势的输入过程中是否存在其他形式的输入来以不同的方式开启目标应用程序的目的,既保护了移动终端主人的隐私,又不影响其他人对目标应用程序的使用。Exemplarily, after the user inputs the black screen gesture in the black screen state, the mobile terminal can determine the target application that needs to be opened and in which mode the target application needs to be opened through the above steps, then wake up the display screen, that is, control the display screen. Lights up, and opens the target application in the target open mode, which can achieve the purpose of opening the target application in different ways according to whether there are other forms of input during the input process of the black screen gesture, which not only protects the privacy of the mobile terminal owner, but also Does not affect the use of the target application by others.

本发明实施例中提供的基于黑屏手势的控制方法,在黑屏状态时,接收用户输入的黑屏手势并确定对应的目标应用程序,根据在接收黑屏手势的过程中是否检测到指纹传感器和/或预设物理按键被按压来确定目标开启模式是普通模式还是私密模式,最后唤醒显示屏并根据目标开启模式开启目标应用程序。通过采用上述技术方案,在依照黑屏手势开启应用程序的同时还根据其他部件的按压状态确定该应用程序的开启模式,丰富了黑屏手势的功能,且在用户输入黑屏手势时,他人注意力集中在输入黑屏手势的手指和屏幕上,难以察觉到用户按压其他部件,能够实现隐蔽输入,不容易被破解私密模式的进入方式,保护用户隐私。此外,当移动终端主人在他人注视下想要打开目标应用程序时, 也可选择进入目标应用程序的普通模式,从而使私密内容不被他人看见。移动终端主人可以根据自身需求采用不同的黑屏手势的输入方式,以自己想要的模式打开目标应用程序。In the control method based on the black screen gesture provided in the embodiment of the present invention, in the black screen state, the black screen gesture input by the user is received and the corresponding target application program is determined, according to whether the fingerprint sensor and/or the pre-screen gesture is detected in the process of receiving the black screen gesture. It is assumed that the physical button is pressed to determine whether the target opening mode is the normal mode or the private mode, and finally wake up the display screen and open the target application according to the target opening mode. By adopting the above technical solution, when the application is opened according to the black screen gesture, the opening mode of the application is also determined according to the pressing state of other components, which enriches the functions of the black screen gesture, and when the user inputs the black screen gesture, the attention of others is focused on It is difficult to detect that the user presses other components on the finger and the screen when the black screen gesture is input, so that concealed input can be realized, and the entry method of the private mode cannot be easily cracked, so as to protect the user's privacy. In addition, when the mobile terminal owner wants to open the target application under the gaze of others, he can also choose to enter the normal mode of the target application, so that the private content cannot be seen by others. The mobile terminal owner can use different input methods of black screen gestures according to his own needs, and open the target application in the mode he wants.

在一个实施例中,私密模式和普通模式的具体实现形式可以由黑屏手势对应的目标应用程序来确定。具体的,所述唤醒所述显示屏并根据所述目标开启模式开启所述目标应用程序,包括:确定所述目标应用程序的类型;根据所述类型确定所述目标开启模式对应的开启策略;唤醒所述显示屏并根据所述开启策略开启所述目标应用程序。这样设置的好处在于,更加符合应用程序本身的特性,更好的方便移动终端主人的使用以及保护移动终端主人的隐私。不同类型的应用程序分别对应的普通模式的开启策略以及私密模式的开启策略可以由应用程序本身确定,如由安装包(如Android Package,简称APK)确定,也可以由移动终端的系统确定,还可以由移动终端主人自由设定。以下给出几种实现方式作为示意性说明。In one embodiment, the specific implementation forms of the private mode and the normal mode may be determined by the target application corresponding to the black screen gesture. Specifically, the waking up the display screen and opening the target application according to the target opening mode includes: determining the type of the target application; determining an opening policy corresponding to the target opening mode according to the type; Wake up the display screen and start the target application according to the start-up policy. The advantage of this setting is that it is more in line with the characteristics of the application itself, better facilitates the use of the mobile terminal owner and protects the privacy of the mobile terminal owner. The opening strategy of the normal mode and the opening strategy of the private mode corresponding to different types of applications can be determined by the application itself, such as determined by the installation package (such as Android Package, APK for short), or determined by the system of the mobile terminal. It can be freely set by the mobile terminal owner. Several implementations are given below as a schematic illustration.

第一种,所述目标应用程序的类型为桌面,所述普通模式对应的开启策略为隐藏预设私密应用的图标,所述私密模式对应的开启策略为显示桌面中所有应用程序的图标。相应的,唤醒所述显示屏并根据所述开启策略开启所述目标应用程序,包括:当所述目标开启模式为普通模式时,唤醒所述显示屏并显示桌面,在桌面中隐藏预设私密应用的图标;当所述目标开启模式为私密模式时,唤醒所述显示屏并显示桌面中所有应用程序的图标。需要说明的是,桌面可能包含多页,这里所有应用程序的图标可以是首页桌面中的所有应用程序的图标,这样符合常规的显示方式;也可以是移动终端中装载的所有应用程序的图标,这样方便用户快速进入想要开启的应用程序。示例性的,移动终端主人可预先设置不希望被别人发现或使用的应用程序(预设私密应用),那么在普通模式下将不会显示这些应用程序的图标,从而可以限制其他人对移动终端中的应用程序的使用权限。First, the type of the target application is the desktop, the opening policy corresponding to the normal mode is to hide the icons of preset private applications, and the opening policy corresponding to the private mode is to display the icons of all applications in the desktop. Correspondingly, waking up the display screen and opening the target application according to the opening policy includes: when the target opening mode is the normal mode, waking up the display screen and displaying the desktop, and hiding a preset privacy in the desktop The icon of the application; when the target opening mode is the private mode, wake up the display screen and display the icons of all applications in the desktop. It should be noted that the desktop may contain multiple pages, and the icons of all applications here can be the icons of all applications on the homepage desktop, which conforms to the conventional display method; they can also be the icons of all applications loaded in the mobile terminal. This makes it easier for users to quickly access the application they want to open. Exemplarily, the mobile terminal owner can preset application programs (preset private applications) that he does not want to be discovered or used by others, then the icons of these application programs will not be displayed in the normal mode, thereby restricting other people's access to the mobile terminal. Permission to use the application in .

第二种,所述目标应用程序的类型为账户类应用,所述普通模式对应的开启策略为进入所述目标应用程序的账户登录页面或者自动登录所述目标应用程序的普通账户,所述私密模式对应的开启策略为自动登录所述目标应用程序的私密账户。相应的,唤醒所述显示屏并根据所述开启策略开启所述目标应用程序,包括:当所述目标开启模式为普通模式时,唤醒所述显示屏并进入所述目标应用程序的账户登录页面或者自动登录所述目标应用程序的普通账户;当所 述目标开启模式为私密模式时,唤醒所述显示屏并自动登录所述目标应用程序的私密账户。账户类应用可包括移动终端主人已设置账户的账户名和密码的应用程序,账户名可以是手机号、邮箱或者其他类型的字符串,密码可以是字符密码、图形密码及指纹密码等。示例性的,账户类应用可以是微信、微博或QQ等社交类应用,可以是淘宝及京东等购物类应用,可以是浏览器及书库等阅读类应用,本发明实施例不作具体限定。可选的,为了消除他人的疑惑,更好的隐藏移动终端主人的账号,可以设置普通账户和私密账户,当他人在移动终端中输入黑屏手势而进入普通账户时,不会意识到移动终端主人还有其他的不想让他人知道的账号。进一步的,私密账户可以有多个,每个私密账户可以分别对应一种黑屏手势的输入方式,方便移动终端主人通过变更黑屏手势的输入方式来达到快速进入目标应用程序的不同私密账号的目的。具体的,唤醒所述显示屏并自动登录所述目标应用程序的私密账户可包括,分析所述触摸压力的变化规律对应的目标私密账户,唤醒所述显示屏并自动登录所述目标应用程序的目标私密账户。Second, the type of the target application is an account type application, and the opening policy corresponding to the normal mode is to enter the account login page of the target application or automatically log in to the normal account of the target application, and the private The activation policy corresponding to the mode is to automatically log in to the private account of the target application. Correspondingly, waking up the display screen and opening the target application program according to the opening policy includes: when the target opening mode is the normal mode, waking up the display screen and entering the account login page of the target application program Or automatically log in to the ordinary account of the target application; when the target startup mode is the private mode, wake up the display screen and automatically log in to the private account of the target application. Account applications may include applications in which the mobile terminal owner has set the account name and password of the account. The account name may be a mobile phone number, email address or other types of strings, and the password may be character password, graphic password and fingerprint password. Exemplarily, the account application may be a social application such as WeChat, Weibo, or QQ, a shopping application such as Taobao and JD.com, or a reading application such as a browser and a library, which is not specifically limited in the embodiment of the present invention. Optionally, in order to eliminate the doubts of others and better hide the account of the owner of the mobile terminal, a common account and a private account can be set. When others enter the common account by entering a black screen gesture in the mobile terminal, they will not be aware of the mobile terminal owner. There are other accounts that you don't want others to know about. Further, there may be multiple private accounts, and each private account may correspond to an input method of a black screen gesture, which is convenient for the mobile terminal owner to quickly enter different private accounts of the target application by changing the input method of the black screen gesture. Specifically, waking up the display screen and automatically logging in to the private account of the target application may include analyzing the target private account corresponding to the change rule of the touch pressure, waking up the display screen and automatically logging in to the private account of the target application. Target private account.

第三种,所述目标应用程序的类型为公用类应用,所述普通模式对应的开启策略为进入所述目标应用程序的初始界面,所述私密模式对应的开启策略为进入最近访问界面。相应的,唤醒所述显示屏并根据所述开启策略开启所述目标应用程序,包括:当所述目标开启模式为普通模式时,唤醒所述显示屏并进入所述目标应用程序的初始界面;当所述目标开启模式为私密模式时,唤醒所述显示屏并进入最近访问界面。公用类应用可包括不支持账户设置的应用程序,还可包括支持账户设置但移动终端主人未设置账户的应用程序。示例性的,公用类应用可包括办公软件、计算器、地图、阅读器及音视频播放器等应用程序。示例性的,初始页面可包括应用程序的默认首页或者欢迎页面等,可以与首次安装并启动应用程序时的页面相同。例如,办公软件的最近访问界面可以是上次未处理完的文档界面或者上次打开的文档界面;计算器的最近访问界面可以是显示上次运算的结果界面;地图的最近访问界面可以是上次查询的地址或路线界面;阅读器的最近访问界面可以是根据上次阅读进度显示的页面;音视频播放器的最近访问界面可以是根据上次播放进度显示的页面。进一步的,当所述目标开启模式为普通模式时,唤醒所述显示屏并进入所述目标应用程序的初始界面,还可以包括:隐藏历史使用痕迹。例如,对于浏览器来说,可以隐藏浏览记录以及隐藏收藏夹内的信息。这样,其他人在由初始界面开始继续进行 其他操作时,也不会看到移动终端主人的隐私信息,进一步保证了信息安全。Third, the type of the target application is a public application, the opening policy corresponding to the normal mode is to enter the initial interface of the target application, and the opening policy corresponding to the private mode is to enter the recently accessed interface. Correspondingly, waking up the display screen and opening the target application program according to the opening policy includes: when the target opening mode is the normal mode, waking up the display screen and entering the initial interface of the target application program; When the target open mode is the private mode, wake up the display screen and enter the recent access interface. Public applications may include applications that do not support account setting, and may also include applications that support account setting but the mobile terminal owner does not set up an account. Exemplarily, public applications may include applications such as office software, calculators, maps, readers, and audio and video players. Exemplarily, the initial page may include the default home page or welcome page of the application, etc., which may be the same as the page when the application is first installed and started. For example, the most recently accessed interface of the office software can be the last unprocessed document interface or the last opened document interface; the recently accessed interface of the calculator can be the interface that displays the result of the last calculation; the most recently accessed interface of the map can be the above The address or route interface of the next query; the recently accessed interface of the reader can be the page displayed according to the last reading progress; the recently accessed interface of the audio and video player can be the page displayed according to the last playback progress. Further, when the target opening mode is the normal mode, waking up the display screen and entering the initial interface of the target application may further include: hiding historical usage traces. For example, for the browser, you can hide the browsing history and hide the information in the favorites. In this way, when other people continue to perform other operations from the initial interface, they will not see the private information of the mobile terminal owner, which further ensures information security.

可以理解的是,上述几种类型的应用程序仅作为示例,还可以有其他类型的应用程序,此处不再一一举例。在同一个移动终端中,可同时包含上述两种以上类型的应用程序,也就是说本发明实施例中的基于黑屏手势的控制方法可同时包括以上至少两种实现方式及执行相应的步骤。It can be understood that the above several types of application programs are only used as examples, and there may also be other types of application programs, which will not be exemplified one by one here. In the same mobile terminal, the above two or more types of application programs may be simultaneously included, that is to say, the control method based on the black screen gesture in the embodiment of the present invention may simultaneously include at least two of the above implementation manners and perform corresponding steps.

在一个实施例中,唤醒显示屏并根据目标开启模式开启目标应用程序可进一步包括:唤醒显示屏并接收用户输入的解锁信息,当解锁信息验证通过时,根据目标开启模式开启目标应用程序。具体的,唤醒显示屏并接收用户输入的解锁信息可进一步包括:唤醒显示屏并进入解锁信息输入界面,接收用户输入的解锁信息。示例性的,解锁信息可以是字符密码信息或图形密码信息等,也可以是指纹信息等生物特征,可用于解锁移动终端,以获得移动终端的使用权限。此处优化尤其适用于移动终端主人被他人要求告知密码或输入密码,而移动终端主人出于特殊原因不得不告诉密码或输入密码的应用场景。特殊原因例如可以是在恶意人员的威胁下,或者不好意思拒绝亲戚或朋友等熟人的要求,又或者需要别人暂时帮忙使用自己的移动终端等情况。当其他人是通过输入正确的密码而进入黑屏手势对应的目标应用程序时,不会想到自己访问的是普通模式,消除他人的疑虑,由此,可进一步保证用户的隐私安全。此处优化还可以与上述的不同类型的应用程序结合,例如,对于桌面来说,当所述目标开启模式为普通模式时,唤醒所述显示屏并显示桌面,在桌面中隐藏预设私密应用的图标,可以具体是:当所述目标开启模式为普通模式时,唤醒所述显示屏并接收用户输入的解锁信息,当所述解锁信息验证通过时,显示桌面,在桌面中隐藏预设私密应用的图标;当所述目标开启模式为私密模式时,唤醒所述显示屏并显示桌面中所有应用程序的图标,可以具体是:当所述目标开启模式为私密模式时,唤醒所述显示屏并接收用户输入的解锁信息,当所述解锁信息验证通过时,显示桌面中所有应用程序的图标。对于其他类型的应用程序本发明实施例不再赘述。In one embodiment, waking up the display screen and opening the target application according to the target opening mode may further include: waking up the display screen and receiving unlocking information input by the user, and when the unlocking information is verified, opening the target application according to the target opening mode. Specifically, waking up the display screen and receiving the unlocking information input by the user may further include: waking up the display screen and entering the unlocking information input interface, and receiving the unlocking information input by the user. Exemplarily, the unlocking information may be character password information or graphic password information, etc., and may also be biometric features such as fingerprint information, which may be used to unlock the mobile terminal to obtain the use authority of the mobile terminal. The optimization here is especially suitable for the application scenario where the mobile terminal owner is asked to tell the password or input the password, but the mobile terminal owner has to tell the password or input the password for special reasons. The special reason may be, for example, under the threat of malicious personnel, or embarrassed to refuse the request of acquaintances such as relatives or friends, or the need for others to temporarily help to use one's own mobile terminal. When other people enter the target application corresponding to the black screen gesture by entering the correct password, they will not think that they are accessing the normal mode, so as to eliminate the doubts of others, thereby further ensuring the privacy and security of users. The optimization here can also be combined with the above-mentioned different types of applications. For example, for the desktop, when the target opening mode is the normal mode, wake up the display screen and display the desktop, and hide the preset private application in the desktop. The icon can be specifically: when the target opening mode is the normal mode, wake up the display screen and receive the unlocking information input by the user, when the unlocking information is verified, display the desktop, and hide the preset privacy in the desktop The icon of the application; when the target opening mode is the private mode, wake up the display screen and display the icons of all applications in the desktop, which may be specifically: when the target opening mode is the private mode, wake up the display screen And receive the unlocking information input by the user, when the unlocking information is verified, the icons of all application programs in the desktop are displayed. For other types of application programs, details are not repeated in this embodiment of the present invention.

示例性的,假设唤醒显示屏后提示输入的解锁信息为指纹信息,若他人通过输入黑屏手势想要打开目标应用程序,但在输入过程中未按压指纹传感器,那么唤醒显示屏后,移动终端提示需要输入指纹信息,当移动终端主人被迫进行指纹信息输入后,移动终端解锁,解锁后会根据普通模式开启目标应用程序,由于移动终端成功被解锁,所以他人无法察觉到异常,从而保护了移动终端主 人的隐私。Exemplarily, assuming that the unlock information prompted to input after waking up the display screen is fingerprint information, if someone else wants to open the target application by inputting a black screen gesture, but does not press the fingerprint sensor during the input process, after waking up the display screen, the mobile terminal prompts Fingerprint information needs to be input. When the mobile terminal owner is forced to input fingerprint information, the mobile terminal will be unlocked. After unlocking, the target application will be opened according to the normal mode. Since the mobile terminal is successfully unlocked, others cannot detect the abnormality, thus protecting the mobile terminal. The privacy of the terminal owner.

需要说明的是,在输入黑屏手势过程中,按压指纹传感器时,可以使用正确的手指,也可以使用错误的手指,该过程中指纹传感器可不获取指纹信息或者不向上层上报指纹信息等,若上层接收到指纹信息,也可不对该指纹信息进行验证。It should be noted that in the process of inputting the black screen gesture, when pressing the fingerprint sensor, you can use the correct finger or the wrong finger. During this process, the fingerprint sensor may not acquire fingerprint information or report fingerprint information to the upper layer. After receiving the fingerprint information, the fingerprint information may not be verified.

可选的,为了进一步增强安全性,若检测到在接收黑屏手势过程中指纹传感器被按压,则对采集的指纹信息进行验证,若验证通过,则目标开启模式为私密模式,若验证未通过,则目标开启模式为普通模式。可选的,本次指纹信息验证结果仅用于确定目标开启模式,而不会反馈给用户。此外,为了增强迷惑性,在唤醒显示屏后仍进入指纹信息输入界面(例如提示输入指纹信息或按压指纹传感器),接收用户再次输入的指纹信息,当本次指纹信息验证通过时,根据目标开启模式开启目标应用程序。可选的,接收黑屏手势过程中指纹信息所属的第一正确手指与唤醒显示屏后指纹信息所属的第二正确手指不相同。例如,第一正确手指为右手食指,第二正确手指为右手中指,当移动终端主人受胁迫时,可以在移动终端接收黑屏手势过程中使用右手中指,而移动终端不会反馈验证未通过的结果,移动终端主人在显示屏被唤醒后继续使用右手中指解锁,移动终端以正常模式开启目标应用程序,由于使用的是同一个手指,所以他人难以察觉异常。Optionally, in order to further enhance security, if it is detected that the fingerprint sensor is pressed during the process of receiving the black screen gesture, the collected fingerprint information is verified. If the verification is passed, the target opening mode is the private mode. Then the target open mode is the normal mode. Optionally, the fingerprint information verification result is only used to determine the target opening mode, and will not be fed back to the user. In addition, in order to enhance the confusion, after waking up the display screen, enter the fingerprint information input interface (such as prompting to input fingerprint information or pressing the fingerprint sensor), and receive the fingerprint information input by the user again. mode to open the target application. Optionally, the first correct finger to which the fingerprint information belongs in the process of receiving the black screen gesture is different from the second correct finger to which the fingerprint information belongs after waking up the display screen. For example, the first correct finger is the index finger of the right hand, and the second correct finger is the middle finger of the right hand. When the mobile terminal owner is under duress, he can use the middle finger of the right hand during the process of receiving the black screen gesture on the mobile terminal, and the mobile terminal will not feedback the result that the verification fails. , the mobile terminal owner continues to use the middle finger of the right hand to unlock after the display screen is awakened, and the mobile terminal starts the target application in the normal mode. Since the same finger is used, it is difficult for others to detect the abnormality.

图4为本发明实施例提供的另一种基于黑屏手势的控制方法的流程示意图,可适用于目标应用程序为桌面的情况,该方法包括:4 is a schematic flowchart of another control method based on a black screen gesture provided by an embodiment of the present invention, which can be applied to a situation where the target application is a desktop, and the method includes:

步骤401、当显示屏处于黑屏状态时,接收用户输入的黑屏手势并检测在接收黑屏手势的过程中指纹传感器是否被按压。Step 401: When the display screen is in a black screen state, receive a black screen gesture input by a user and detect whether the fingerprint sensor is pressed during the process of receiving the black screen gesture.

示例性的,指纹传感器位于移动终端的背面。这样设置的好处在于,用户在握持移动终端时,可以在他人不注意的情况下完成按压动作。不仅适用于一只手握持移动终端,另一只手输入黑屏手势的应用场景,还适用于同一只手握持移动终端并输入黑屏手势的应用场景。Exemplarily, the fingerprint sensor is located on the back of the mobile terminal. The advantage of this setting is that when the user holds the mobile terminal, the user can complete the pressing action without others noticing. It is not only applicable to the application scenario where one hand holds the mobile terminal and the other hand inputs the black screen gesture, but also applies to the application scenario where the same hand holds the mobile terminal and inputs the black screen gesture.

可以理解的是,本发明实施例中的指纹传感器也可被替换为预设物理按键。It can be understood that, the fingerprint sensor in the embodiment of the present invention may also be replaced with a preset physical key.

步骤402、根据所接收的黑屏手势确定对应的目标应用程序为桌面。Step 402 , according to the received black screen gesture, determine that the corresponding target application is the desktop.

步骤403、根据检测结果确定目标应用程序对应的目标开启模式,若被按压,则执行步骤404;否则,执行步骤407。Step 403: Determine the target startup mode corresponding to the target application according to the detection result, if it is pressed, go to step 404; otherwise, go to step 407.

可以理解的是,本步骤中的判定方式还可以由上文中的其他方式代替。It can be understood that, the determination manner in this step can also be replaced by other manners above.

步骤404、确定目标开启模式为私密模式。Step 404 , determining that the target activation mode is the private mode.

步骤405、确定桌面对应的私密模式的开启策略。Step 405 , determining an enabling policy of the private mode corresponding to the desktop.

步骤406、唤醒显示屏并显示桌面中所有应用程序的图标,结束流程。Step 406 , wake up the display screen and display the icons of all application programs on the desktop, and end the process.

步骤407、确定目标开启模式为普通模式。Step 407: Determine that the target startup mode is the normal mode.

步骤408、确定桌面对应的普通模式的开启策略。Step 408 , determine the opening policy of the normal mode corresponding to the desktop.

步骤409、唤醒显示屏并显示桌面,在桌面中隐藏预设私密应用的图标,结束流程。Step 409 , wake up the display screen and display the desktop, hide the icon of the preset private application on the desktop, and end the process.

示例性的,图5a为本发明实施例提供的一种普通模式下桌面示意图,图5b为本发明实施例提供的一种私密模式下桌面示意图。对比图5a和图5b可知,预设私密应用为微信,在普通模式下对微信应用的图标进行了隐藏,同时还适应性调整了桌面图标的排布,使他人难以察觉移动终端中存在隐藏的应用。Exemplarily, FIG. 5a is a schematic diagram of a desktop in a normal mode provided by an embodiment of the present invention, and FIG. 5b is a schematic diagram of a desktop in a private mode provided by an embodiment of the present invention. Comparing Figure 5a and Figure 5b, it can be seen that the default private application is WeChat, and the icons of the WeChat application are hidden in the normal mode, and the arrangement of the desktop icons is also adaptively adjusted, so that it is difficult for others to detect that there are hidden hidden objects in the mobile terminal. application.

本发明实施例中,在根据黑屏手势确定需要进入桌面时,根据输入黑屏手势过程中指纹传感器是否被按压的不同判定结果进入不同的桌面,能够安全隐蔽的保护用户的私密应用。In the embodiment of the present invention, when it is determined that the desktop needs to be entered according to the black screen gesture, different desktops are entered according to different judgment results of whether the fingerprint sensor is pressed during the input of the black screen gesture, which can safely and covertly protect the user's private application.

图6为本发明实施例提供的另一种基于黑屏手势的控制方法的流程示意图,可适用于对账户类应用的保护,以微信为例,该方法包括:6 is a schematic flowchart of another control method based on a black screen gesture provided by an embodiment of the present invention, which is applicable to the protection of account applications. Taking WeChat as an example, the method includes:

步骤601、当显示屏处于黑屏状态时,接收用户输入的黑屏手势。Step 601: When the display screen is in a black screen state, receive a black screen gesture input by a user.

步骤602、检测在接收黑屏手势的过程中指纹传感器是否被按压,若是,则执行步骤603;否则,执行步骤609。Step 602: Detect whether the fingerprint sensor is pressed in the process of receiving the black screen gesture, if yes, go to step 603; otherwise, go to step 609.

步骤603、获取指纹信息,并对指纹信息进行验证。Step 603: Obtain fingerprint information, and verify the fingerprint information.

步骤604、判断指纹信息是否通过验证,若是,则执行步骤605;否则,执行步骤609。Step 604 , determine whether the fingerprint information passes the verification, if yes, go to step 605 ; otherwise, go to step 609 .

步骤605、确定目标应用程序的目标开启模式为私密模式。Step 605: Determine that the target opening mode of the target application is the private mode.

步骤606、根据所接收的黑屏手势确定对应的目标应用程序为微信。Step 606 , according to the received black screen gesture, determine that the corresponding target application is WeChat.

步骤607、确定微信的类型为账户类应用并获取账户类应用对应的私密模式的开启策略。Step 607: Determine that the type of WeChat is an account type application, and obtain an enabling policy of the private mode corresponding to the account type application.

步骤608、唤醒显示屏并自动登录微信的私密账户b,结束流程。Step 608 , wake up the display screen and automatically log in to the private account b of WeChat, and end the process.

步骤609、确定目标应用程序的目标开启模式为普通模式。Step 609: Determine that the target startup mode of the target application is the normal mode.

步骤610、根据所接收的黑屏手势确定对应的目标应用程序为微信。Step 610: Determine the corresponding target application as WeChat according to the received black screen gesture.

步骤611、确定微信的类型为账户类应用并获取账户类应用对应的普通模式的开启策略。Step 611 , determine that the type of WeChat is an account type application, and obtain an opening policy of the normal mode corresponding to the account type application.

步骤612、唤醒显示屏并自动登录微信的普通账户a,结束流程。Step 612 , wake up the display screen and automatically log in to the ordinary account a of WeChat, and end the process.

本发明实施例在接收黑屏手势的同时根据指纹传感器是否被按压以及指纹验证结果是否正确来确定即将开启的目标应用程序的目标开启模式,根据黑屏手势确定目标应用程序为某个账户类应用时,根据不同的开启模式进入不同的账户,保证私密账户安全。In this embodiment of the present invention, the target opening mode of the target application to be opened is determined according to whether the fingerprint sensor is pressed and whether the fingerprint verification result is correct while receiving the black screen gesture, and when the target application is determined to be an account type application according to the black screen gesture, Enter different accounts according to different opening modes to ensure the security of private accounts.

此外,为了能够实现自动登录不同的私密账户,检测到在接收黑屏手势的过程中指纹传感器未被按压时,确定目标应用程序的目标开启模式为普通模式;被按压时,获取指纹信息但先不判断是否通过验证,先确定目标应用程序的目标开启模式为私密模式,根据所接收的黑屏手势确定对应的目标应用程序为微信,确定微信的类型为账户类应用并获取账户类应用对应的私密模式的开启策略,此时判断指纹信息是否通过验证,若通过,则唤醒显示屏并自动登录微信的第一私密账户c,若未通过,则唤醒显示屏并自动登录微信的第二私密账户d,而第二私密账户d的私密等级低于第一私密账户c的私密等级,可由用户根据个人需求进行设置。In addition, in order to automatically log in to different private accounts, when it is detected that the fingerprint sensor is not pressed during the process of receiving the black screen gesture, it is determined that the target opening mode of the target application is normal mode; when it is pressed, the fingerprint information is obtained but not first. To determine whether the verification is passed, first determine that the target opening mode of the target application is the private mode, determine that the corresponding target application is WeChat according to the received black screen gesture, determine that the type of WeChat is an account application, and obtain the private mode corresponding to the account application. At this time, it is judged whether the fingerprint information has passed the verification. If it passes, it will wake up the display screen and automatically log in to the first private account c of WeChat; if it fails, wake up the screen and automatically log in to the second private account d of WeChat. The privacy level of the second private account d is lower than the privacy level of the first private account c, and can be set by the user according to personal needs.

图7为本发明实施例提供的另一种基于黑屏手势的控制方法的流程示意图,可适用于对公用类应用的保护,以为WPS OFFICE(文档处理软件,以下简称WPS)为例,该方法包括如下步骤:7 is a schematic flowchart of another control method based on a black screen gesture provided by an embodiment of the present invention, which is applicable to the protection of public applications. Taking WPS OFFICE (document processing software, hereinafter referred to as WPS) as an example, the method includes: Follow the steps below:

步骤701、当显示屏处于黑屏状态时,接收用户输入的黑屏手势并检测在接收黑屏手势的过程中指纹传感器和音量+按键是否均被按压。Step 701: When the display screen is in a black screen state, receive a black screen gesture input by a user and detect whether the fingerprint sensor and the volume + button are both pressed during the process of receiving the black screen gesture.

示例性的,指纹传感器和音量+按键至少有一个位于移动终端的侧面,这样设置的好处在于,方便用户进行按压操作。可选的,可选的,本发明实施例对指纹传感器和音量+被按下的时机不做限定,也可将指纹传感器和音量+被按下的时间间隔和/或顺序作为确定目标开启模式的依据。Exemplarily, at least one of the fingerprint sensor and the volume + button is located on the side of the mobile terminal. The advantage of this arrangement is that it is convenient for the user to perform pressing operations. Optionally, optionally, the embodiment of the present invention does not limit the timing of the fingerprint sensor and the volume+ being pressed, and the time interval and/or sequence of the fingerprint sensor and the volume+ being pressed can also be used as the determined target startup mode. basis.

示例性的,可增设按压标识(如以标志位形式存在),用按压标识的数值表示检测结果,如“0”代表指纹传感器和音量+按键中的至少一个未被按压,“1”代表指纹传感器和音量+按键均被按压。Exemplarily, a pressing mark can be added (for example, it exists in the form of a flag bit), and the value of the pressing mark is used to represent the detection result. For example, "0" means that at least one of the fingerprint sensor and the volume + button is not pressed, and "1" means the fingerprint. Both the sensor and the volume + button are pressed.

步骤702、根据所接收的黑屏手势确定对应的目标应用程序为WPS。Step 702: Determine that the corresponding target application is WPS according to the received black screen gesture.

步骤703、根据是否均被按压确定WPS对应的目标开启模式,若是,则执行步骤704;否则,执行步骤707。Step 703: Determine the target start mode corresponding to the WPS according to whether all of them are pressed, if yes, go to Step 704; otherwise, go to Step 707.

步骤704、确定目标开启模式为私密模式。Step 704: Determine that the target activation mode is the private mode.

步骤705、确定WPS的类型为公用类应用并获取公用类应用对应的私密模式 的开启策略。Step 705: Determine that the type of WPS is a public application and obtain an enabling policy of the private mode corresponding to the public application.

步骤706、唤醒显示屏并接收用户输入的解锁信息,当解锁信息验证通过时并打开WPS中上次处理的文档,结束流程。Step 706 , wake up the display screen and receive the unlocking information input by the user, when the unlocking information is verified and passed, open the last processed document in the WPS, and end the process.

示例性的,当解锁信息验证未通过时,保持显示屏处于锁定状态。Exemplarily, when the unlocking information verification fails, the display screen is kept in a locked state.

步骤707、确定目标开启模式为普通模式。Step 707: Determine that the target startup mode is the normal mode.

步骤708、确定WPS的类型为公用类应用并获取公用类应用对应的普通模式的开启策略。Step 708: Determine that the type of the WPS is a public application and obtain a normal mode activation policy corresponding to the public application.

步骤709、唤醒显示屏并接收用户输入的解锁信息,当解锁信息验证通过时进入WPS的初始界面,结束流程。Step 709 , wake up the display screen and receive the unlocking information input by the user, enter the initial interface of the WPS when the unlocking information is verified, and end the process.

示例性的,当解锁信息验证未通过时,保持显示屏处于锁定状态。Exemplarily, when the unlocking information verification fails, the display screen is kept in a locked state.

示例性的,图8a为本发明实施例提供的一种普通模式下公用类应用界面示意图,图8b为本发明实施例提供的一种私密模式下公用类应用界面示意图。图8a中的界面显示的是WPS的初始界面,他人进入普通模式的WPS时,可以正常使用该应用程序,而移动终端主人进入私密模式下的WPS时,可以直接看到上次处理的XX报告的DOC格式的文档,方便用户的使用。Exemplarily, FIG. 8a is a schematic diagram of a public application interface in a normal mode provided by an embodiment of the present invention, and FIG. 8b is a schematic diagram of a public application interface in a private mode provided by an embodiment of the present invention. The interface in Figure 8a shows the initial interface of WPS. When others enter the WPS in the normal mode, they can use the application normally, and when the mobile terminal owner enters the WPS in the private mode, they can directly see the last processed XX report Documents in DOC format are convenient for users to use.

本发明实施例在根据黑屏手势确定需要进入某个公用类应用时,根据指纹传感器和音量+按键是否均被按压的不同判定结果进入应用的不同界面,能够安全隐蔽的保护用户的使用历史,并方便移动终端主人快速进入最近访问界面。此外,在唤醒显示屏后,还对解锁信息进行验证,在进一步保证移动终端信息安全的同时也能够避免他人发现私密模式的存在,为私密模式下应用程序中的数据提供更深层次的保护。In the embodiment of the present invention, when it is determined that a public application needs to be entered according to the black screen gesture, different interfaces of the application are entered according to different judgment results of whether the fingerprint sensor and the volume + button are pressed, so as to safely and covertly protect the user's use history, and It is convenient for the mobile terminal owner to quickly enter the recent access interface. In addition, after waking up the display screen, the unlocking information is also verified, which further ensures the security of the mobile terminal information and also prevents others from discovering the existence of the private mode, providing deeper protection for the data in the application in the private mode.

图9为本发明实施例提供的一种基于黑屏手势的控制装置的结构框图,该装置可由软件和/或硬件实现,一般集成在移动终端中,可通过执行基于黑屏手势的控制方法来进入应用程序的不同模式。如图9所示,该装置包括:FIG. 9 is a structural block diagram of a control device based on a black screen gesture provided by an embodiment of the present invention. The device can be implemented by software and/or hardware, and is generally integrated in a mobile terminal, and can enter an application by executing a control method based on a black screen gesture different modes of the program. As shown in Figure 9, the device includes:

手势接收模块901,用于在显示屏处于黑屏状态时,接收用户输入的黑屏手势;a gesture receiving module 901, configured to receive a black screen gesture input by a user when the display screen is in a black screen state;

按压检测模块902,用于检测在接收所述黑屏手势的过程中指纹传感器和/或预设物理按键是否被按压;A press detection module 902, configured to detect whether the fingerprint sensor and/or the preset physical button is pressed during the process of receiving the black screen gesture;

应用确定模块903,用于根据所接收的黑屏手势确定对应的目标应用程序;An application determination module 903, configured to determine a corresponding target application according to the received gesture of the black screen;

开启模式确定模块904,用于根据所述指纹传感器和/或所述预设物理按键是否被按压的检测结果确定对应的目标开启模式,其中,当检测结果为所述指 纹传感器和/或所述预设物理按键未被按压时,目标开启模式为普通模式,当检测结果为所述指纹传感器和/或所述预设物理按键被按压时,目标开启模式为私密模式;An activation mode determination module 904, configured to determine a corresponding target activation mode according to the detection result of whether the fingerprint sensor and/or the preset physical button is pressed, wherein, when the detection result is the fingerprint sensor and/or the When the preset physical key is not pressed, the target opening mode is the normal mode, and when the detection result is that the fingerprint sensor and/or the preset physical key is pressed, the target opening mode is the private mode;

应用开启模块905,用于唤醒所述显示屏并根据所述目标开启模式开启所述目标应用程序。The application opening module 905 is configured to wake up the display screen and start the target application according to the target opening mode.

本发明实施例提供的基于黑屏手势的控制装置,在依照黑屏手势开启应用程序的同时还根据其他部件的按压状态确定该应用程序的开启模式,丰富了黑屏手势的功能,且在用户输入黑屏手势时,他人注意力集中在输入黑屏手势的手指和屏幕上,难以察觉到用户按压其他部件,能够实现隐蔽输入,保护用户隐私。The black screen gesture-based control device provided by the embodiment of the present invention not only starts an application program according to the black screen gesture, but also determines the opening mode of the application program according to the pressing state of other components, thereby enriching the functions of the black screen gesture, and when the user inputs the black screen gesture When the user's attention is focused on the finger and the screen for inputting the black screen gesture, it is difficult to detect that the user presses other components, which can realize hidden input and protect user privacy.

可选的,所述唤醒所述显示屏并根据所述目标开启模式开启所述目标应用程序,包括:Optionally, the waking up the display screen and opening the target application according to the target startup mode includes:

确定所述目标应用程序的类型;determine the type of said target application;

根据所述类型确定所述目标开启模式对应的开启策略;Determine the activation strategy corresponding to the target activation mode according to the type;

唤醒所述显示屏并根据所述开启策略开启所述目标应用程序。Wake up the display screen and start the target application according to the start-up policy.

可选的,所述目标应用程序的类型为桌面,所述普通模式对应的开启策略为隐藏预设私密应用的图标,所述私密模式对应的开启策略为显示桌面中所有应用程序的图标;Optionally, the type of the target application is a desktop, the opening strategy corresponding to the normal mode is to hide the icons of preset private applications, and the opening strategy corresponding to the private mode is to display the icons of all applications in the desktop;

唤醒所述显示屏并根据所述开启策略开启所述目标应用程序,包括:Wake up the display screen and start the target application according to the start strategy, including:

当所述目标开启模式为普通模式时,唤醒所述显示屏并显示桌面,在桌面中隐藏预设私密应用的图标;When the target opening mode is the normal mode, wake up the display screen and display the desktop, and hide the icon of the preset private application in the desktop;

当所述目标开启模式为私密模式时,唤醒所述显示屏并显示桌面中所有应用程序的图标。When the target opening mode is the private mode, the display screen is woken up and the icons of all applications in the desktop are displayed.

可选的,所述目标应用程序的类型为账户类应用,所述普通模式对应的开启策略为进入所述目标应用程序的账户登录页面或者自动登录所述目标应用程序的普通账户,所述私密模式对应的开启策略为自动登录所述目标应用程序的私密账户;Optionally, the type of the target application is an account type application, and the opening policy corresponding to the normal mode is to enter the account login page of the target application or automatically log in to the normal account of the target application, and the private The opening policy corresponding to the mode is to automatically log in to the private account of the target application;

唤醒所述显示屏并根据所述开启策略开启所述目标应用程序,包括:Wake up the display screen and start the target application according to the start strategy, including:

当所述目标开启模式为普通模式时,唤醒所述显示屏并进入所述目标应用程序的账户登录页面或者自动登录所述目标应用程序的普通账户;When the target opening mode is the normal mode, wake up the display screen and enter the account login page of the target application or automatically log in to the normal account of the target application;

当所述目标开启模式为私密模式时,唤醒所述显示屏并自动登录所述目标 应用程序的私密账户。When the target opening mode is the private mode, the display screen is awakened and the private account of the target application is automatically logged in.

可选的,所述目标应用程序的类型为公用类应用,所述普通模式对应的开启策略为进入所述目标应用程序的初始界面,所述私密模式对应的开启策略为进入最近访问界面;Optionally, the type of the target application is a public application, the opening policy corresponding to the normal mode is an initial interface for entering the target application, and the opening policy corresponding to the private mode is entering a recently accessed interface;

唤醒所述显示屏并根据所述开启策略开启所述目标应用程序,包括:Wake up the display screen and start the target application according to the start strategy, including:

当所述目标开启模式为普通模式时,唤醒所述显示屏并进入所述目标应用程序的初始界面;When the target opening mode is the normal mode, wake up the display screen and enter the initial interface of the target application;

当所述目标开启模式为私密模式时,唤醒所述显示屏并进入最近访问界面。When the target open mode is the private mode, wake up the display screen and enter the recent access interface.

可选的,唤醒所述显示屏并根据所述目标开启模式开启所述目标应用程序包括:Optionally, waking up the display screen and starting the target application according to the target start mode includes:

唤醒所述显示屏并接收用户输入的解锁信息;wake up the display screen and receive the unlocking information input by the user;

当所述解锁信息验证通过时,根据所述目标开启模式开启所述目标应用程序。When the verification of the unlocking information is passed, the target application is started according to the target opening mode.

可选的,所述指纹传感器位于移动终端的背面或侧面。Optionally, the fingerprint sensor is located on the back or side of the mobile terminal.

本发明实施例还提供一种包含计算机可执行指令的存储介质,所述计算机可执行指令在由计算机处理器执行时用于执行一种基于黑屏手势的控制方法,该方法包括:Embodiments of the present invention further provide a storage medium containing computer-executable instructions, where the computer-executable instructions are used to execute a black screen gesture-based control method when executed by a computer processor, and the method includes:

当显示屏处于黑屏状态时,接收用户输入的黑屏手势并检测在接收所述黑屏手势的过程中指纹传感器和/或预设物理按键是否被按压;When the display screen is in a black screen state, receive a black screen gesture input by the user and detect whether the fingerprint sensor and/or the preset physical button is pressed during the process of receiving the black screen gesture;

根据所接收的黑屏手势确定对应的目标应用程序;Determine the corresponding target application according to the received black screen gesture;

根据所述指纹传感器和/或所述预设物理按键是否被按压的检测结果确定对应的目标开启模式,其中,当检测结果为所述指纹传感器和/或所述预设物理按键未被按压时,目标开启模式为普通模式,当检测结果为所述指纹传感器和/或所述预设物理按键被按压时,目标开启模式为私密模式;The corresponding target activation mode is determined according to the detection result of whether the fingerprint sensor and/or the preset physical button is pressed, wherein, when the detection result is that the fingerprint sensor and/or the preset physical button is not pressed , the target opening mode is the normal mode, and when the detection result is that the fingerprint sensor and/or the preset physical key is pressed, the target opening mode is the private mode;

唤醒所述显示屏并根据所述目标开启模式开启所述目标应用程序。Wake up the display screen and start the target application according to the target activation mode.

存储介质——任何的各种类型的存储器设备或存储设备。术语“存储介质”旨在包括:安装介质,例如CD-ROM、软盘或磁带装置;计算机系统存储器或随机存取存储器,诸如DRAM、DDR RAM、SRAM、EDO RAM,兰巴斯(Rambus)RAM等;非易失性存储器,诸如闪存、磁介质(例如硬盘或光存储);寄存器或其它相似类型的存储器元件等。存储介质可以还包括其它类型的存储器或其组合。另外,存储介质可以位于程序在其中被执行的第一计算机系统中,或者可以位于不同的第二计算机系统中,第二计算机系统通过网络(诸如因特网)连接到第一计算机系统。第二计算机系统可以提供程序指令给第一计算机用于执行。术语“存储介质”可以包括可以驻留在不同位置中(例如在通过网络连接的不同计算机系统中)的两个或更多存储介质。存储介质可以存储可由一个或多个处理器执行的程序指令(例如具体实现为计算机程序)。storage medium - any of various types of memory devices or storage devices. The term "storage medium" is intended to include: installation media, such as CD-ROMs, floppy disks, or tape devices; computer system memory or random access memory, such as DRAM, DDR RAM, SRAM, EDO RAM, Rambus RAM, etc. ; non-volatile memory, such as flash memory, magnetic media (eg hard disk or optical storage); registers or other similar types of memory elements, etc. The storage medium may also include other types of memory or combinations thereof. In addition, the storage medium may be located in the first computer system in which the program is executed, or may be located in a second, different computer system connected to the first computer system through a network such as the Internet. The second computer system may provide program instructions to the first computer for execution. The term "storage medium" may include two or more storage media that may reside in different locations (eg, in different computer systems connected by a network). The storage medium may store program instructions (eg, embodied as a computer program) executable by one or more processors.

当然,本发明实施例所提供的一种包含计算机可执行指令的存储介质,其计算机可执行指令不限于如上所述的基于黑屏手势的控制操作,还可以执行本发明任意实施例所提供的基于黑屏手势的控制方法中的相关操作。Of course, a storage medium containing computer-executable instructions provided by the embodiments of the present invention is not limited to the above-mentioned control operations based on black screen gestures, and can also execute any of the computer-executable instructions provided by any embodiment of the present invention. Related operations in the control method of the black screen gesture.

本发明实施例提供了一种移动终端,该移动终端中可集成本发明实施例提供的屏幕显示的控制装置。图10为本发明实施例提供的一种移动终端的结构示意图。如图10所示,该移动终端可以包括:壳体(图中未示出)、存储器1001、中央处理器(Central ProcessingUnit,CPU)1002(又称处理器,以下简称CPU)、电路板(图中未示出)、电源电路(图中未示出)、触摸屏1012指纹传感器和物理按键。所述电路板安置在所述壳体围成的空间内部;所述CPU1002和所述存储器1001设置在所述电路板上;所述电源电路,用于为所述移动终端的各个电路或器件供电;所述存储器1001,用于存储可执行程序代码;所述CPU1002通过读取所述存储器1001中存储的可执行程序代码来运行与所述可执行程序代码对应的计算机程序,以实现以下步骤:An embodiment of the present invention provides a mobile terminal, and the mobile terminal can integrate the screen display control device provided by the embodiment of the present invention. FIG. 10 is a schematic structural diagram of a mobile terminal according to an embodiment of the present invention. As shown in FIG. 10 , the mobile terminal may include: a casing (not shown in the figure), a memory 1001 , a central processing unit (Central Processing Unit, CPU) 1002 (also called a processor, hereinafter referred to as CPU), a circuit board (FIG. not shown in the figure), power supply circuit (not shown in the figure), touch screen 1012 fingerprint sensor and physical keys. The circuit board is arranged inside the space enclosed by the casing; the CPU 1002 and the memory 1001 are arranged on the circuit board; the power circuit is used to supply power to each circuit or device of the mobile terminal ; Described memory 1001 is used for storing executable program code; Described CPU1002 runs the computer program corresponding to described executable program code by reading the executable program code stored in described memory 1001, to realize the following steps:

当显示屏处于黑屏状态时,接收用户输入的黑屏手势并检测在接收所述黑屏手势的过程中指纹传感器和/或预设物理按键是否被按压;When the display screen is in a black screen state, receive a black screen gesture input by the user and detect whether the fingerprint sensor and/or the preset physical button is pressed during the process of receiving the black screen gesture;

根据所接收的黑屏手势确定对应的目标应用程序;Determine the corresponding target application according to the received black screen gesture;

根据所述指纹传感器和/或所述预设物理按键是否被按压的检测结果确定对应的目标开启模式,其中,当检测结果为所述指纹传感器和/或所述预设物理按键未被按压时,目标开启模式为普通模式,当检测结果为所述指纹传感器和/或所述预设物理按键被按压时,目标开启模式为私密模式;The corresponding target activation mode is determined according to the detection result of whether the fingerprint sensor and/or the preset physical button is pressed, wherein, when the detection result is that the fingerprint sensor and/or the preset physical button is not pressed , the target opening mode is the normal mode, and when the detection result is that the fingerprint sensor and/or the preset physical key is pressed, the target opening mode is the private mode;

唤醒所述显示屏并根据所述目标开启模式开启所述目标应用程序。Wake up the display screen and start the target application according to the target activation mode.

所述移动终端还包括:外设接口1003、RF(Radio Frequency,射频)电路1005、音频电路1006、扬声器1011、电源管理芯片1008、输入/输出(I/O)子系统其他输入/控制设备、触摸屏1012、其他输入/控制设备1010以及外部端口1004,这些部件通过一个或多个通信总线或信号线1007来通信。The mobile terminal further includes: a peripheral interface 1003, an RF (Radio Frequency, radio frequency) circuit 1005, an audio circuit 1006, a speaker 1011, a power management chip 1008, an input/output (I/O) subsystem and other input/control devices, The touch screen 1012 , other input/control devices 1010 , and external ports 1004 communicate through one or more communication buses or signal lines 1007 .

应该理解的是,图示移动终端1000仅仅是移动终端的一个范例,并且移动 终端1000可以具有比图中所示出的更多的或者更少的部件,可以组合两个或更多的部件,或者可以具有不同的部件配置。图中所示出的各种部件可以在包括一个或多个信号处理和/或专用集成电路在内的硬件、软件、或硬件和软件的组合中实现。It should be understood that the illustrated mobile terminal 1000 is merely an example of a mobile terminal, and that the mobile terminal 1000 may have more or fewer components than those shown in the figures, two or more components may be combined, Or can have different component configurations. The various components shown in the figures may be implemented in hardware, software, or a combination of hardware and software, including one or more signal processing and/or application specific integrated circuits.

下面就本实施例提供的用于屏幕显示控制的移动终端进行详细的描述,该移动终端以手机为例。The following will describe in detail the mobile terminal used for screen display control provided in this embodiment, and the mobile terminal is a mobile phone as an example.

存储器1001,所述存储器1001可以被CPU1002、外设接口1003等访问,所述存储器1001可以包括高速随机存取存储器,还可以包括非易失性存储器,例如一个或多个磁盘存储器件、闪存器件、或其他易失性固态存储器件。Memory 1001, which can be accessed by CPU 1002, peripheral interface 1003, etc., said memory 1001 can include high-speed random access memory, and can also include non-volatile memory, such as one or more disk storage devices, flash memory devices , or other volatile solid-state storage devices.

外设接口1003,所述外设接口1003可以将设备的输入和输出外设连接到CPU1002和存储器1001。A peripheral interface 1003 that can connect the input and output peripherals of the device to the CPU 1002 and the memory 1001 .

I/O子系统1009,所述I/O子系统1009可以将设备上的输入输出外设,例如触摸屏1012和其他输入/控制设备1010,连接到外设接口1003。I/O子系统1009可以包括显示控制器10091和用于控制其他输入/控制设备1010的一个或多个输入控制器10092。其中,一个或多个输入控制器10092从其他输入/控制设备1010接收电信号或者向其他输入/控制设备1010发送电信号,其他输入/控制设备1010可以包括物理按钮(按压按钮、摇臂按钮等)、拨号盘、滑动开关、操纵杆、点击滚轮。值得说明的是,输入控制器10092可以与以下任一个连接:键盘、红外端口、USB接口以及诸如鼠标的指示设备。I/O subsystem 1009, which can connect input and output peripherals on the device, such as touch screen 1012 and other input/control devices 1010, to peripheral interface 1003. The I/O subsystem 1009 may include a display controller 10091 and one or more input controllers 10092 for controlling other input/control devices 1010 . Wherein, one or more input controllers 10092 receive electrical signals from or send electrical signals to other input/control devices 1010, which may include physical buttons (push buttons, rocker buttons, etc. ), dial pad, slide switch, joystick, click wheel. Notably, the input controller 10092 can be connected to any of the following: a keyboard, an infrared port, a USB interface, and a pointing device such as a mouse.

触摸屏1012,所述触摸屏1012是用户移动终端与用户之间的输入接口和输出接口,将可视输出显示给用户,可视输出可以包括图形、文本、图标、视频等。The touch screen 1012, which is an input interface and an output interface between the user's mobile terminal and the user, displays visual output to the user, and the visual output may include graphics, text, icons, videos, and the like.

I/O子系统1009中的显示控制器10091从触摸屏1012接收电信号或者向触摸屏1012发送电信号。触摸屏1012检测触摸屏上的接触,显示控制器10091将检测到的接触转换为与显示在触摸屏1012上的用户界面对象的交互,即实现人机交互,显示在触摸屏1012上的用户界面对象可以是运行游戏的图标、联网到相应网络的图标等。值得说明的是,设备还可以包括光鼠,光鼠是不显示可视输出的触摸敏感表面,或者是由触摸屏形成的触摸敏感表面的延伸。Display controller 10091 in I/O subsystem 1009 receives electrical signals from touch screen 1012 or sends electrical signals to touch screen 1012 . The touch screen 1012 detects the contact on the touch screen, and the display controller 10091 converts the detected contact into interaction with the user interface objects displayed on the touch screen 1012, that is, to realize human-computer interaction, and the user interface objects displayed on the touch screen 1012 can be run. Icons for games, icons for connecting to the corresponding network, etc. It is worth noting that the device may also include a light mouse, which is a touch-sensitive surface that does not display visual output, or an extension of the touch-sensitive surface formed by a touch screen.

RF电路1005,主要用于建立手机与无线网络(即网络侧)的通信,实现手机与无线网络的数据接收和发送。例如收发短信息、电子邮件等。具体地,RF电路1005接收并发送RF信号,RF信号也称为电磁信号,RF电路1005将电信 号转换为电磁信号或将电磁信号转换为电信号,并且通过该电磁信号与通信网络以及其他设备进行通信。RF电路1005可以包括用于执行这些功能的已知电路,其包括但不限于天线系统、RF收发机、一个或多个放大器、调谐器、一个或多个振荡器、数字信号处理器、CODEC(COder-DECoder,编译码器)芯片组、用户标识模块(Subscriber Identity Module,SIM)等等。The RF circuit 1005 is mainly used to establish the communication between the mobile phone and the wireless network (ie, the network side), and realize the data reception and transmission between the mobile phone and the wireless network. Such as sending and receiving text messages, e-mails, etc. Specifically, the RF circuit 1005 receives and transmits RF signals, also known as electromagnetic signals, the RF circuit 1005 converts electrical signals into electromagnetic signals or converts electromagnetic signals into electrical signals, and communicates with communication networks and other devices through the electromagnetic signals to communicate. RF circuitry 1005 may include known circuitry for performing these functions including, but not limited to, antenna systems, RF transceivers, one or more amplifiers, tuners, one or more oscillators, digital signal processors, CODECs ( COder-DECoder, codec) chip set, subscriber identity module (Subscriber Identity Module, SIM) and so on.

音频电路1006,主要用于从外设接口1003接收音频数据,将该音频数据转换为电信号,并且将该电信号发送给扬声器1011。The audio circuit 1006 is mainly used for receiving audio data from the peripheral interface 1003 , converting the audio data into an electrical signal, and sending the electrical signal to the speaker 1011 .

扬声器1011,用于将手机通过RF电路1005从无线网络接收的语音信号,还原为声音并向用户播放该声音。The speaker 1011 is used to restore the voice signal received by the mobile phone from the wireless network through the RF circuit 1005 to sound and play the sound to the user.

电源管理芯片1008,用于为CPU1002、I/O子系统及外设接口所连接的硬件进行供电及电源管理。The power management chip 1008 is used for power supply and power management for the hardware connected to the CPU 1002, the I/O subsystem and the peripheral interface.

本发明实施例提供的移动终端,在依照黑屏手势开启应用程序的同时还根据其他部件的按压状态确定该应用程序的开启模式,丰富了黑屏手势的功能,且在用户输入黑屏手势时,他人注意力集中在输入黑屏手势的手指和屏幕上,难以察觉到用户按压其他部件,能够实现隐蔽输入,保护用户隐私。The mobile terminal provided by the embodiment of the present invention not only starts an application program according to the black screen gesture, but also determines the opening mode of the application program according to the pressing state of other components, which enriches the functions of the black screen gesture, and when the user inputs the black screen gesture, others pay attention to it. The force is concentrated on the finger and the screen for inputting the black screen gesture, and it is difficult to detect that the user presses other components, which can realize hidden input and protect user privacy.

上述实施例中提供的基于黑屏手势的控制装置、存储介质及移动终端可执行本发明任意实施例所提供的基于黑屏手势的控制方法,具备执行该方法相应的功能模块和有益效果。未在上述实施例中详尽描述的技术细节,可参见本发明任意实施例所提供的基于黑屏手势的控制方法。The black screen gesture-based control device, storage medium, and mobile terminal provided in the above embodiments can execute the black screen gesture-based control method provided by any embodiment of the present invention, and have corresponding functional modules and beneficial effects for executing the method. For technical details not described in detail in the foregoing embodiments, reference may be made to the control method based on a black screen gesture provided by any embodiment of the present invention.

注意,上述仅为本发明的较佳实施例及所运用技术原理。本领域技术人员会理解,本发明不限于这里所述的特定实施例,对本领域技术人员来说能够进行各种明显的变化、重新调整和替代而不会脱离本发明的保护范围。因此,虽然通过以上实施例对本发明进行了较为详细的说明,但是本发明不仅仅限于以上实施例,在不脱离本发明构思的情况下,还可以包括更多其他等效实施例,而本发明的范围由所附的权利要求范围决定。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 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. The scope is determined by the scope of the appended claims.

Claims (10)

Translated fromChinese
1.一种基于黑屏手势的控制方法,其特征在于,包括:1. a control method based on black screen gesture, is characterized in that, comprises:当显示屏处于黑屏状态时,接收用户输入的黑屏手势并检测在接收所述黑屏手势的过程中指纹传感器和/或预设物理按键是否被按压;When the display screen is in a black screen state, receive a black screen gesture input by the user and detect whether the fingerprint sensor and/or the preset physical button is pressed during the process of receiving the black screen gesture;根据所接收的黑屏手势确定对应的目标应用程序,其中,目标应用程序为在唤醒显示屏后打开的应用程序;Determine the corresponding target application program according to the received black screen gesture, wherein the target application program is the application program opened after waking up the display screen;根据所述指纹传感器和/或所述预设物理按键是否被按压的检测结果确定对应的目标开启模式,其中,当检测结果为所述指纹传感器和所述预设物理按键至少一个未被按压时,目标开启模式为普通模式,当检测结果为所述指纹传感器和所述预设物理按键均被按压,且指纹传感器和预设物理按键被按压的时间间隔大于或等于预设时长时,目标开启模式为普通模式,当检测结果为指纹传感器和预设物理按键均被按压,且指纹传感器和预设物理按键被按压的时间间隔小于预设时长时,目标开启模式为私密模式;The corresponding target activation mode is determined according to the detection result of whether the fingerprint sensor and/or the preset physical button is pressed, wherein, when the detection result is that at least one of the fingerprint sensor and the preset physical button is not pressed , the target opening mode is the normal mode. When the detection result is that both the fingerprint sensor and the preset physical button are pressed, and the time interval between the fingerprint sensor and the preset physical button is pressed is greater than or equal to the preset time period, the target is opened. The mode is the normal mode. When the detection result is that both the fingerprint sensor and the preset physical button are pressed, and the time interval between the fingerprint sensor and the preset physical button is pressed is less than the preset time period, the target opening mode is the private mode;唤醒所述显示屏并根据所述目标开启模式开启所述目标应用程序;wake up the display screen and start the target application according to the target open mode;所述唤醒所述显示屏并根据所述目标开启模式开启所述目标应用程序,包括:The waking up the display screen and opening the target application according to the target opening mode includes:唤醒所述显示屏,进入指纹信息输入界面,其中,所述指纹信息输入界面用于提示输入指纹信息或按压指纹传感器;Wake up the display screen and enter the fingerprint information input interface, wherein the fingerprint information input interface is used for prompting the input of fingerprint information or pressing the fingerprint sensor;接收用户再次输入的指纹信息;Receive the fingerprint information input by the user again;当所述再次输入的指纹信息验证通过时,根据目标开启模式开启目标应用程序,当所述接收所述黑屏手势的过程中指纹传感器接收的指纹信息与所述再次输入的指纹信息不同时,以正常模式开启目标应用程序。When the verification of the re-input fingerprint information is passed, the target application is opened according to the target open mode, and when the fingerprint information received by the fingerprint sensor during the process of receiving the black screen gesture is different from the re-input fingerprint information, the Start the target application in normal mode.2.根据权利要求1所述的方法,其特征在于,所述唤醒所述显示屏并根据所述目标开启模式开启所述目标应用程序,包括:2 . The method according to claim 1 , wherein the waking up the display screen and opening the target application according to the target startup mode comprises: 2 .确定所述目标应用程序的类型;determine the type of said target application;根据所述类型确定所述目标开启模式对应的开启策略;Determine the activation strategy corresponding to the target activation mode according to the type;唤醒所述显示屏并根据所述开启策略开启所述目标应用程序。Wake up the display screen and start the target application according to the start-up policy.3.根据权利要求2所述的方法,其特征在于,所述目标应用程序的类型为桌面,所述普通模式对应的开启策略为隐藏预设私密应用的图标,所述私密模式对应的开启策略为显示桌面中所有应用程序的图标;3. The method according to claim 2, wherein the type of the target application is a desktop, the opening policy corresponding to the normal mode is to hide an icon of a preset private application, and the opening policy corresponding to the private mode To display the icons of all applications on the desktop;唤醒所述显示屏并根据所述开启策略开启所述目标应用程序,包括:Wake up the display screen and start the target application according to the start strategy, including:当所述目标开启模式为普通模式时,唤醒所述显示屏并显示桌面,在桌面中隐藏预设私密应用的图标;When the target opening mode is the normal mode, wake up the display screen and display the desktop, and hide the icon of the preset private application in the desktop;当所述目标开启模式为私密模式时,唤醒所述显示屏并显示桌面中所有应用程序的图标。When the target opening mode is the private mode, the display screen is woken up and the icons of all applications in the desktop are displayed.4.根据权利要求2所述的方法,其特征在于,所述目标应用程序的类型为账户类应用,所述普通模式对应的开启策略为进入所述目标应用程序的账户登录页面或者自动登录所述目标应用程序的普通账户,所述私密模式对应的开启策略为自动登录所述目标应用程序的私密账户;4. The method according to claim 2, wherein the type of the target application is an account type application, and the corresponding opening policy of the normal mode is to enter an account login page of the target application or an automatic login location. the ordinary account of the target application, and the corresponding opening policy of the private mode is to automatically log in to the private account of the target application;唤醒所述显示屏并根据所述开启策略开启所述目标应用程序,包括:Wake up the display screen and start the target application according to the start strategy, including:当所述目标开启模式为普通模式时,唤醒所述显示屏并进入所述目标应用程序的账户登录页面或者自动登录所述目标应用程序的普通账户;When the target opening mode is the normal mode, wake up the display screen and enter the account login page of the target application or automatically log in to the normal account of the target application;当所述目标开启模式为私密模式时,唤醒所述显示屏并自动登录所述目标应用程序的私密账户。When the target opening mode is the private mode, the display screen is awakened and the private account of the target application is automatically logged in.5.根据权利要求2所述的方法,其特征在于,所述目标应用程序的类型为公用类应用,所述普通模式对应的开启策略为进入所述目标应用程序的初始界面,所述私密模式对应的开启策略为进入最近访问界面;5. The method according to claim 2, wherein the type of the target application is a public application, the opening policy corresponding to the normal mode is an initial interface for entering the target application, and the private mode The corresponding opening strategy is to enter the recent access interface;唤醒所述显示屏并根据所述开启策略开启所述目标应用程序,包括:Wake up the display screen and start the target application according to the start strategy, including:当所述目标开启模式为普通模式时,唤醒所述显示屏并进入所述目标应用程序的初始界面;When the target opening mode is the normal mode, wake up the display screen and enter the initial interface of the target application;当所述目标开启模式为私密模式时,唤醒所述显示屏并进入最近访问界面。When the target open mode is the private mode, wake up the display screen and enter the recent access interface.6.根据权利要求1所述的方法,其特征在于,唤醒所述显示屏并根据所述目标开启模式开启所述目标应用程序包括:6. The method according to claim 1, wherein waking up the display screen and starting the target application according to the target start mode comprises:唤醒所述显示屏并接收用户输入的解锁信息;wake up the display screen and receive the unlocking information input by the user;当所述解锁信息验证通过时,根据所述目标开启模式开启所述目标应用程序。When the verification of the unlocking information is passed, the target application is started according to the target opening mode.7.根据权利要求1-6任一所述的方法,其特征在于,所述指纹传感器位于移动终端的背面或侧面。7. The method according to any one of claims 1-6, wherein the fingerprint sensor is located on the back or side of the mobile terminal.8.一种基于黑屏手势的控制装置,其特征在于,包括:8. A control device based on a black screen gesture, comprising:手势接收模块,用于在显示屏处于黑屏状态时,接收用户输入的黑屏手势;The gesture receiving module is used to receive the black screen gesture input by the user when the display screen is in a black screen state;按压检测模块,用于检测在接收所述黑屏手势的过程中指纹传感器和/或预设物理按键是否被按压;a press detection module for detecting whether the fingerprint sensor and/or the preset physical button is pressed during the process of receiving the black screen gesture;应用确定模块,用于根据所接收的黑屏手势确定对应的目标应用程序,其中,目标应用程序为在唤醒显示屏后打开的应用程序;an application determination module, configured to determine a corresponding target application program according to the received black screen gesture, wherein the target application program is an application program opened after waking up the display screen;开启模式确定模块,用于根据所述指纹传感器和/或所述预设物理按键是否被按压的检测结果确定对应的目标开启模式,其中,当检测结果为所述指纹传感器和所述预设物理按键至少一个未被按压时,目标开启模式为普通模式,当检测结果为所述指纹传感器和所述预设物理按键均被按压,且指纹传感器和预设物理按键被按压的时间间隔大于或等于预设时长时,目标开启模式为普通模式,当检测结果为指纹传感器和预设物理按键均被按压,且指纹传感器和预设物理按键被按压的时间间隔小于预设时长时,目标开启模式为私密模式;An activation mode determination module, configured to determine a corresponding target activation mode according to the detection result of whether the fingerprint sensor and/or the preset physical button is pressed, wherein, when the detection result is the fingerprint sensor and the preset physical button When at least one button is not pressed, the target opening mode is the normal mode, when the detection result is that both the fingerprint sensor and the preset physical button are pressed, and the time interval between the fingerprint sensor and the preset physical button is pressed greater than or equal to When the preset duration is set, the target open mode is the normal mode. When the detection result is that both the fingerprint sensor and the preset physical button are pressed, and the time interval between the fingerprint sensor and the preset physical button is pressed less than the preset duration, the target open mode is private mode;应用开启模块,用于唤醒所述显示屏并根据所述目标开启模式开启所述目标应用程序;所述唤醒所述显示屏并根据所述目标开启模式开启所述目标应用程序,包括:An application opening module, used for waking up the display screen and opening the target application according to the target opening mode; the waking up the display screen and opening the target application according to the target opening mode, including:唤醒所述显示屏,进入指纹信息输入界面,其中,所述指纹信息输入界面用于提示输入指纹信息或按压指纹传感器;Wake up the display screen and enter the fingerprint information input interface, wherein the fingerprint information input interface is used for prompting the input of fingerprint information or pressing the fingerprint sensor;接收用户再次输入的指纹信息;Receive the fingerprint information input by the user again;当所述再次输入的指纹信息验证通过时,根据目标开启模式开启目标应用程序,当所述接收所述黑屏手势的过程中指纹传感器接收的指纹信息与所述再次输入的指纹信息不同时,以正常模式开启目标应用程序。When the verification of the re-input fingerprint information is passed, the target application is opened according to the target open mode, and when the fingerprint information received by the fingerprint sensor during the process of receiving the black screen gesture is different from the re-input fingerprint information, the Start the target application in normal mode.9.一种计算机可读存储介质,其上存储有计算机程序,其特征在于,该程序被处理器执行时实现如权利要求1-7中任一所述的基于黑屏手势的控制方法。9 . A computer-readable storage medium on which a computer program is stored, wherein when the program is executed by a processor, the control method based on a black screen gesture according to any one of claims 1 to 7 is implemented. 10 .10.一种移动终端,其特征在于,包括存储器,处理器及存储在存储器上并可在处理器运行的计算机程序,其特征在于,所述处理器执行所述计算机程序时实现如权利要求1-7任一所述的基于黑屏手势的控制方法。10. A mobile terminal, characterized in that, comprising a memory, a processor and a computer program stored on the memory and running on the processor, wherein the processor implements the computer program as claimed in claim 1 when executing the computer program -7 Any of the control methods based on black screen gestures.
CN201710633683.8A2017-07-282017-07-28 Control method, device, storage medium and mobile terminal based on black screen gestureActiveCN107450839B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201710633683.8ACN107450839B (en)2017-07-282017-07-28 Control method, device, storage medium and mobile terminal based on black screen gesture

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201710633683.8ACN107450839B (en)2017-07-282017-07-28 Control method, device, storage medium and mobile terminal based on black screen gesture

Publications (2)

Publication NumberPublication Date
CN107450839A CN107450839A (en)2017-12-08
CN107450839Btrue CN107450839B (en)2019-12-10

Family

ID=60490350

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201710633683.8AActiveCN107450839B (en)2017-07-282017-07-28 Control method, device, storage medium and mobile terminal based on black screen gesture

Country Status (1)

CountryLink
CN (1)CN107450839B (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN109164926B (en)*2018-08-012021-11-19广州视源电子科技股份有限公司Electromagnetic pen control method and system, readable storage medium and electromagnetic pen
WO2020037683A1 (en)2018-08-242020-02-27深圳市汇顶科技股份有限公司Backlight module, below-screen fingerprint recognition method and apparatus, and electronic device
CN109313703B (en)2018-08-152022-02-08深圳市汇顶科技股份有限公司Optical fingerprint identification system under screen, backlight module, display screen and electronic equipment
CN109597552A (en)*2018-11-272019-04-09维沃移动通信有限公司A kind of device management method and terminal device
CN111324199B (en)*2018-12-132023-04-28中国移动通信集团广西有限公司Terminal control method and device, terminal and readable storage medium
CN111131610A (en)*2019-12-182020-05-08江苏紫米电子技术有限公司Control method and device for hotspot function, mobile device and storage medium
CN111212411B (en)*2019-12-312023-11-14宇龙计算机通信科技(深圳)有限公司File transmission method, device, storage medium and terminal
CN112202793A (en)*2020-09-302021-01-08中国银行股份有限公司Method, device, equipment and medium for logging in mobile phone bank through fingerprint

Citations (5)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN103139354A (en)*2013-01-312013-06-05广东欧珀移动通信有限公司Method and device for unlocking cell phone
CN104424410A (en)*2013-09-052015-03-18深圳市艾酷通信软件有限公司Method for rapidly starting application in safety class by mobile intelligent terminal and system for rapidly starting application in safety class by mobile intelligent terminal
CN104700016A (en)*2015-03-172015-06-10上海与德通讯技术有限公司Starting method and device of application program
CN106060191A (en)*2015-04-142016-10-26Lg电子株式会社Mobile terminal
CN106570364A (en)*2016-10-282017-04-19上海斐讯数据通信技术有限公司Method and system for unlocking mobile terminal and mobile terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN103139354A (en)*2013-01-312013-06-05广东欧珀移动通信有限公司Method and device for unlocking cell phone
CN104424410A (en)*2013-09-052015-03-18深圳市艾酷通信软件有限公司Method for rapidly starting application in safety class by mobile intelligent terminal and system for rapidly starting application in safety class by mobile intelligent terminal
CN104700016A (en)*2015-03-172015-06-10上海与德通讯技术有限公司Starting method and device of application program
CN106060191A (en)*2015-04-142016-10-26Lg电子株式会社Mobile terminal
CN106570364A (en)*2016-10-282017-04-19上海斐讯数据通信技术有限公司Method and system for unlocking mobile terminal and mobile terminal

Also Published As

Publication numberPublication date
CN107450839A (en)2017-12-08

Similar Documents

PublicationPublication DateTitle
CN107450839B (en) Control method, device, storage medium and mobile terminal based on black screen gesture
CN107395889B (en)Method and device for reducing power consumption of mobile terminal, storage medium and mobile terminal
CN107483721B (en) Control method, device, storage medium and mobile terminal based on black screen gesture
CN107422860B (en)Control method and device based on black screen gesture, storage medium and mobile terminal
WO2019019817A1 (en)Control method and apparatus based on black screen gesture, storage medium, and mobile terminal
CN107463329B (en) Black screen gesture detection method, device, storage medium and mobile terminal
CN108563933A (en)Application program control method and device, storage medium and mobile terminal
CN107479816B (en)Recognition methods, device, storage medium and the mobile terminal of blank screen gesture
TWI675329B (en) Information image display method and device
CN107450837B (en)Method, device, storage medium and mobile terminal for responding to black screen gesture
KR102150778B1 (en) Information image display method and device
WO2019218886A1 (en)Application pre-loading management method, device, storage medium and smart terminal
WO2016177000A1 (en)Method for entering operating system desktop and mobile intelligent terminal
CN108292336B (en) A fingerprint collection method and terminal
EP3699789A1 (en)Method and device for security verification and mobile terminal
CN108235767B (en)Payment application isolation method and device and terminal
US20150084877A1 (en)Touch device and method for dynamically setting touch inactive area, and non-transitory recording medium
KR102320072B1 (en)Electronic device and method for controlling of information disclosure thereof
CN107402713B (en)Method and device for accelerating black screen gesture processing, storage medium and mobile terminal
CN107479700A (en)Blank screen gestural control method, device, storage medium and mobile terminal
US20190065728A1 (en)Systems and Methods for Accessing Contents
WO2017088745A1 (en)Information processing method and apparatus, and electronic device
CN107506198A (en)The display methods and mobile terminal of a kind of mobile terminal
AU2016238887B2 (en)Contextual history of computing objects
HK1246536B (en)Control method and apparatus based on black screen gesture, storage medium and mobile terminal

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
CB02Change of applicant information
CB02Change of applicant information

Address after:Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant after:OPPO Guangdong Mobile Communications Co., Ltd.

Address before:Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant before:Guangdong Opel Mobile Communications Co., Ltd.

GR01Patent grant
GR01Patent grant

[8]ページ先頭

©2009-2025 Movatter.jp