Movatterモバイル変換


[0]ホーム

URL:


CN105138137B - The method and device that fingerprint and volume key are imaged is combined in the standby state - Google Patents

The method and device that fingerprint and volume key are imaged is combined in the standby state
Download PDF

Info

Publication number
CN105138137B
CN105138137BCN201510591258.8ACN201510591258ACN105138137BCN 105138137 BCN105138137 BCN 105138137BCN 201510591258 ACN201510591258 ACN 201510591258ACN 105138137 BCN105138137 BCN 105138137B
Authority
CN
China
Prior art keywords
terminal
volume
key
fingerprint
pressed
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.)
Expired - Fee Related
Application number
CN201510591258.8A
Other languages
Chinese (zh)
Other versions
CN105138137A (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 CN201510591258.8ApriorityCriticalpatent/CN105138137B/en
Publication of CN105138137ApublicationCriticalpatent/CN105138137A/en
Application grantedgrantedCritical
Publication of CN105138137BpublicationCriticalpatent/CN105138137B/en
Expired - Fee Relatedlegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Landscapes

Abstract

Translated fromChinese

本发明公开了一种在待机状态下结合指纹和音量键进行摄像的方法及装置,该方法包括:检测终端当前是否处于待机状态;若是,则检测终端是否启动了指纹识别功能;若是,则验证用户当前输入的指纹是否为预设的解锁指纹;若用户当前输入的指纹为解锁指纹,则先检测终端的音量加键和音量减键是否被按下;若是,则检测终端的音量加键和音量减键被按下的时间间隔是否小于预设的时间阈值;若是,则判定终端的音量加键和音量减键同时被按下,此时直接启动摄像头摄像。本发明在待机状态下结合指纹和音量键可快速启动摄像头进行摄像,实现了用户在待机状态下就可以直接摄像,使得用户在敏感场所、特定场合下也可以方便进行摄像,给用户带来便捷的摄像体验。

The invention discloses a method and device for taking pictures in combination with fingerprints and volume keys in a standby state. The method includes: detecting whether the terminal is currently in the standby state; if so, detecting whether the terminal has started the fingerprint identification function; Whether the fingerprint currently input by the user is the preset unlock fingerprint; if the fingerprint currently input by the user is the unlock fingerprint, first detect whether the volume up key and volume down key of the terminal are pressed; if so, then detect the volume up key and volume down key of the terminal Whether the time interval when the volume down key is pressed is less than the preset time threshold; if so, it is determined that the volume up key and the volume down key of the terminal are pressed at the same time, and the camera is directly started to take pictures at this time. The present invention combines the fingerprint and the volume key to quickly start the camera to take pictures in the standby state, and realizes that the user can directly take pictures in the standby state, so that the user can also conveniently take pictures in sensitive places and special occasions, bringing convenience to the user camera experience.

Description

Translated fromChinese
在待机状态下结合指纹和音量键进行摄像的方法及装置Method and device for taking pictures in combination with fingerprint and volume key in standby state

技术领域technical field

本发明涉及移动终端技术领域,更具体地说,是涉及一种在待机状态下结合指纹和音量键进行摄像的方法及装置。The present invention relates to the technical field of mobile terminals, and more specifically relates to a method and device for taking pictures in combination with fingerprints and volume keys in a standby state.

背景技术Background technique

目前,随着智能移动终端(如手机、平板电脑等)的快速发展,其摄像头的像素也越来越高,移动终端摄像相比相机等专业摄像仪器更加便捷,摄像越来越得到用户的广泛使用。然而,摄像时用户必须进入终端界面启动摄像功能,这给用户带来了不便,一定程度上限制了用户的使用,比如在调查取证,摄像不便的场合就不能满足用户的需求。At present, with the rapid development of smart mobile terminals (such as mobile phones, tablet computers, etc.), the pixels of their cameras are getting higher and higher. Mobile terminal cameras are more convenient than professional camera equipment such as cameras, and cameras are more and more widely used by users. use. However, when taking pictures, the user must enter the terminal interface to start the camera function, which brings inconvenience to the user and limits the use of the user to a certain extent.

发明内容Contents of the invention

本发明的目的在于克服现有技术中的上述缺陷,提供一种在待机状态下结合指纹和音量键进行摄像的方法及装置,其可满足用户在特定场合下不能通过正常摄像的方式来摄像或者为了更快捷的摄像的需求。The purpose of the present invention is to overcome the above-mentioned defects in the prior art, and provide a method and device for taking pictures in combination with fingerprints and volume keys in the standby state, which can meet the needs of users who cannot take pictures in a normal way in certain occasions or For faster camera needs.

为实现上述目的,本发明第一方面提供了一种在待机状态下结合指纹和音量键进行摄像的方法,包括以下步骤:In order to achieve the above object, the first aspect of the present invention provides a method for taking pictures in combination with fingerprints and volume keys in a standby state, including the following steps:

检测终端当前是否处于待机状态;Detect whether the terminal is currently in a standby state;

若终端当前处于待机状态,则检测终端是否启动了指纹识别功能;If the terminal is currently in a standby state, it is detected whether the terminal has activated the fingerprint recognition function;

若终端启动了指纹识别功能,则验证用户当前输入的指纹是否为预设的解锁指纹;If the terminal starts the fingerprint identification function, verify whether the fingerprint currently input by the user is the preset unlock fingerprint;

若用户当前输入的指纹为解锁指纹,则先检测终端的音量加键和音量减键是否被按下;If the fingerprint currently input by the user is an unlocking fingerprint, first detect whether the volume up key and the volume down key of the terminal are pressed;

若终端的音量加键和音量减键被按下,则检测终端的音量加键和音量减键被按下的时间间隔是否小于预设的时间阈值;If the volume up key and the volume down key of the terminal are pressed, then detecting whether the time interval between the volume up key and the volume down key of the terminal being pressed is less than a preset time threshold;

若终端的音量加键和音量减键被按下的时间间隔小于预设的时间阈值,则判定终端的音量加键和音量减键同时被按下,此时直接启动摄像头进行摄像;If the time interval between the volume up key and the volume down key of the terminal being pressed is less than the preset time threshold, it is determined that the volume up key and the volume down key of the terminal are pressed at the same time, and the camera is directly started to take pictures at this time;

其中,在摄像的过程中,终端的音量加键和音量减键保持在同时被按下状态。Wherein, during the process of taking pictures, the volume up key and the volume down key of the terminal remain in a state of being pressed simultaneously.

作为优选的,所述若终端当前处于待机状态,则检测终端是否启动了指纹识别功能的步骤具体包括:Preferably, if the terminal is currently in a standby state, the step of detecting whether the terminal has activated the fingerprint recognition function specifically includes:

若终端当前处于待机状态,则检测终端的指纹识别按键是否被按下从而产生一个中断信号;If the terminal is currently in the standby state, it is detected whether the fingerprint identification button of the terminal is pressed to generate an interrupt signal;

若检测到终端的指纹识别按键被按下从而产生一个中断信号,则判定终端启动了指纹识别功能。If it is detected that the fingerprint identification button of the terminal is pressed to generate an interrupt signal, it is determined that the terminal has activated the fingerprint identification function.

作为优选的,所述若终端的音量加键和音量减键被按下的时间间隔小于预设的时间阈值,则直接启动摄像头进行摄像的步骤之后还包括:As preferably, if the time interval between the volume up key and the volume down key of the terminal being pressed is less than the preset time threshold, the step of directly starting the camera to take pictures further includes:

在摄像的过程中,若检测到终端的音量加键和/或音量减键被松开,则停止摄像。During the shooting process, if it is detected that the volume up key and/or the volume down key of the terminal is released, the shooting is stopped.

作为优选的,当启动摄像头进行摄像时,使终端产生振动用以作为摄像开始的标志;当摄像头停止摄像时,使终端再次产生振动用以作为摄像停止的标志。Preferably, when the camera is started to take pictures, the terminal is made to vibrate as a sign of the start of the picture taking; when the camera stops taking pictures, the terminal is made to vibrate again as a sign of the stop of the picture taking.

作为优选的,所述若用户当前输入的指纹为解锁指纹,则先检测终端的音量加键和音量减键是否被按下的步骤之后还包括:As preferably, if the fingerprint currently input by the user is an unlocking fingerprint, the step of first detecting whether the volume up key and the volume down key of the terminal is pressed also includes:

若终端的音量加键和音量减键未被按下,则执行终端解锁操作,进入操作系统;If the volume up key and the volume down key of the terminal are not pressed, execute the terminal unlocking operation to enter the operating system;

作为优选的,所述若终端的音量加键和音量减键被按下,则检测终端的音量加键和音量减键被按下的时间间隔是否小于预设的时间阈值的步骤之后还包括:Preferably, if the volume up key and the volume down key of the terminal are pressed, the step of detecting whether the time interval between the volume up key and the volume down key of the terminal being pressed is less than a preset time threshold further includes:

若终端的音量加键和音量减键被按下的时间间隔大于或等于预设的时间阈值,则执行终端解锁操作,进入操作系统。If the time interval between pressing the volume up key and the volume down key of the terminal is greater than or equal to the preset time threshold, the terminal unlocking operation is performed to enter the operating system.

作为优选的,所述若终端当前处于待机状态,则检测终端是否启动了指纹识别功能的步骤之后还包括:Preferably, if the terminal is currently in the standby state, after the step of detecting whether the terminal has started the fingerprint identification function, it also includes:

若终端未启动指纹识别功能,则使终端保持在待机状态。If the terminal does not activate the fingerprint recognition function, then keep the terminal in the standby state.

本发明第二方面提供了一种在待机状态下结合指纹和音量键进行摄像的装置,包括:The second aspect of the present invention provides a device for taking pictures in combination with fingerprints and volume keys in a standby state, including:

待机检测模块,用于检测终端当前是否处于待机状态;A standby detection module, configured to detect whether the terminal is currently in a standby state;

指纹识别检测模块,用于若终端当前处于待机状态,则检测终端是否启动了指纹识别功能;The fingerprint identification detection module is used to detect whether the terminal has started the fingerprint identification function if the terminal is currently in a standby state;

指纹验证模块,用于若终端启动了指纹识别功能,则验证用户当前输入的指纹是否为预设的解锁指纹;The fingerprint verification module is used to verify whether the fingerprint currently input by the user is a preset unlocking fingerprint if the terminal starts the fingerprint recognition function;

音量键状态检测模块,用于若用户当前输入的指纹为解锁指纹,则先检测终端的音量加键和音量减键是否被按下;The volume key state detection module is used to detect whether the volume up key and the volume down key of the terminal are pressed if the fingerprint currently input by the user is an unlocking fingerprint;

时间间隔检测模块,用于若终端的音量加键和音量减键被按下,则检测终端的音量加键和音量减键被按下的时间间隔是否小于预设的时间阈值;若终端的音量加键和音量减键被按下的时间间隔小于预设的时间阈值,则判定终端的音量加键和音量减键同时被按下;The time interval detection module is used to detect whether the time interval between the volume up key and the volume down key of the terminal being pressed is less than a preset time threshold if the volume up key and the volume down key of the terminal are pressed; If the time interval between the pressing of the plus key and the volume down key is less than the preset time threshold, it is determined that the volume up key and the volume down key of the terminal are pressed at the same time;

摄像模块,用于若终端的音量加键和音量减键同时被按下,则直接启动摄像头进行摄像;The camera module is used to directly start the camera to take pictures if the volume up key and the volume down key of the terminal are pressed at the same time;

其中,在摄像的过程中,终端的音量加键和音量减键保持在同时被按下状态。Wherein, during the process of taking pictures, the volume up key and the volume down key of the terminal remain in a state of being pressed simultaneously.

作为优选的,所述指纹识别检测模块进一步用于若终端当前处于待机状态,则检测终端的指纹识别按键是否被按下从而产生一个中断信号;若检测到终端的指纹识别按键被按下从而产生一个中断信号,则判定终端启动了指纹识别功能。Preferably, the fingerprint recognition detection module is further used to detect whether the fingerprint recognition button of the terminal is pressed to generate an interrupt signal if the terminal is currently in a standby state; if it is detected that the fingerprint recognition button of the terminal is pressed to generate an interrupt signal An interrupt signal, it is determined that the terminal has started the fingerprint recognition function.

作为优选的,该装置还包括:As preferably, the device also includes:

摄像停止模块,用于在摄像的过程中,若检测到终端的音量加键和/或音量减键被松开,则停止摄像。The camera stop module is configured to stop the camera if it is detected that the volume up key and/or the volume down key of the terminal is released during the process of shooting.

作为优选的,该装置还包括:As preferably, the device also includes:

振动提示模块,用于当启动摄像头进行摄像时,使终端产生振动用以作为摄像开始的标志;当摄像头停止摄像时,使终端再次产生振动用以作为摄像停止的标志。The vibration prompt module is used to make the terminal vibrate as a sign of the start of shooting when the camera is started to take pictures; when the camera stops taking pictures, make the terminal vibrate again as a sign of stop of picture taking.

作为优选的,该装置还包括:As preferably, the device also includes:

解锁模块,用于若终端的音量加键和音量减键未被按下,则执行终端解锁操作,进入操作系统;以及若终端的音量加键和音量减键被按下的时间间隔大于或等于预设的时间阈值,则执行终端解锁操作,进入操作系统。The unlocking module is used to execute the terminal unlocking operation and enter the operating system if the volume up key and the volume down key of the terminal are not pressed; and if the time interval between the volume up key and the volume down key of the terminal is greater than or equal to If the preset time threshold is reached, the terminal unlock operation is performed to enter the operating system.

与现有技术相比,本发明的有益效果在于:Compared with prior art, the beneficial effect of the present invention is:

本发明在终端处于待机状态时能够检测终端是否启动了指纹识别功能;若终端启动了指纹识别功能,则验证用户当前输入的指纹是否为预设的解锁指纹;若用户当前输入的指纹为解锁指纹,则首先检测终端的音量加键和音量减键是否被按下且被按下的时间间隔是否小于预设的时间阈值;若终端的音量加键和音量减键被按下的时间间隔小于预设的时间阈值,则判定终端的音量加键和音量减键同时被按下,此时即可快速启动摄像头进行摄像,实现了用户在待机状态下就可以直接摄像,使得用户在敏感场所、特定场合下也可以方便进行摄像,给用户带来便捷的摄像体验。The present invention can detect whether the terminal has activated the fingerprint recognition function when the terminal is in the standby state; if the terminal has activated the fingerprint recognition function, then verify whether the fingerprint currently input by the user is the preset unlock fingerprint; if the fingerprint currently input by the user is the unlock fingerprint , then first detect whether the volume up key and volume down key of the terminal are pressed and whether the time interval of being pressed is less than the preset time threshold; if the time interval of the terminal’s volume up key and volume down key If the time threshold is set, it is determined that the volume up key and the volume down key of the terminal are pressed at the same time. At this time, the camera can be quickly started to take pictures. It is also convenient to take pictures on occasions, bringing users a convenient camera experience.

附图说明Description of drawings

为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following will briefly introduce the drawings that need to be used in the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description are For some embodiments of the present invention, those skilled in the art can also obtain other drawings based on these drawings without creative work.

图1是本发明实施例一提供的一种在待机状态下结合指纹和音量键进行摄像的方法流程图;FIG. 1 is a flow chart of a method for taking pictures in combination with fingerprints and volume keys in a standby state provided by Embodiment 1 of the present invention;

图2是本发明实施例二提供的一种在待机状态下结合指纹和音量键进行摄像的装置的结构框图;2 is a structural block diagram of a device for taking pictures in combination with fingerprints and volume keys in a standby state provided by Embodiment 2 of the present invention;

图3是本发明实施例三提供的一种在待机状态下结合指纹和音量键进行摄像的装置的结构框图。FIG. 3 is a structural block diagram of a device for taking pictures in combination with fingerprints and volume keys in a standby state provided by Embodiment 3 of the present invention.

具体实施方式detailed description

为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments It is a part of embodiments of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

实施例一Embodiment one

本发明的实施例一提供了一种在待机状态下结合指纹和音量键进行摄像的方法,下面结合附图对本实施例进行详细说明。图1是本发明实施例一的方法流程图,请参考图1,本发明实施例的方法包括以下步骤:Embodiment 1 of the present invention provides a method for taking pictures in combination with fingerprints and volume keys in a standby state, and this embodiment will be described in detail below with reference to the accompanying drawings. Fig. 1 is a method flow chart of the first embodiment of the present invention, please refer to Fig. 1, the method of the embodiment of the present invention includes the following steps:

步骤S101、检测终端当前是否处于待机状态;Step S101, detecting whether the terminal is currently in a standby state;

若终端当前处于待机状态,则执行步骤S102,否则,继续检测。If the terminal is currently in a standby state, execute step S102; otherwise, continue detection.

步骤S102、检测终端是否启动了指纹识别功能;Step S102, detecting whether the terminal has activated the fingerprint recognition function;

具体的,指纹识别按键具有按压式和非按压式两种,对于按压式指纹识别按键,该步骤S102具体包括以下步骤:Specifically, there are two types of fingerprint recognition buttons: push type and non-press type. For the push type fingerprint recognition button, the step S102 specifically includes the following steps:

检测终端的指纹识别按键是否被按下从而产生一个中断信号;Detect whether the fingerprint recognition button of the terminal is pressed to generate an interrupt signal;

若检测到终端的指纹识别按键被按下从而产生一个中断信号,则判定终端启动了指纹识别功能。If it is detected that the fingerprint identification button of the terminal is pressed to generate an interrupt signal, it is determined that the terminal has activated the fingerprint identification function.

若终端启动了指纹识别功能,则执行步骤S103,若终端未启动指纹识别功能,则使终端保持在待机状态。If the terminal has activated the fingerprint recognition function, then execute step S103; if the terminal has not activated the fingerprint recognition function, then keep the terminal in the standby state.

步骤S103、验证用户当前输入的指纹是否为预设的解锁指纹;Step S103, verifying whether the fingerprint currently input by the user is a preset unlocking fingerprint;

若用户当前输入的指纹为解锁指纹,则执行步骤S104。If the fingerprint currently input by the user is an unlocking fingerprint, step S104 is executed.

步骤S104、检测终端的音量加键和音量减键是否被按下;Step S104, detecting whether the volume up key and the volume down key of the terminal are pressed;

若终端的音量加键和音量减键被按下,则执行步骤S105;若终端的音量加键和音量减键未被按下,则执行步骤S108。If the volume up key and the volume down key of the terminal are pressed, step S105 is performed; if the volume up key and the volume down key of the terminal are not pressed, step S108 is performed.

步骤S105、检测终端的音量加键和音量减键被按下的时间间隔是否小于预设的时间阈值;Step S105, detecting whether the time interval between the volume up key and the volume down key of the terminal being pressed is less than a preset time threshold;

若终端的音量加键和音量减键被按下的时间间隔小于预设的时间阈值,则判定终端的音量加键和音量减键同时被按下,此时执行步骤S106,若终端的音量加键和音量减键被按下的时间间隔大于或等于预设的时间阈值,则执行步骤S108。If the time interval between the volume up key and the volume down key of the terminal being pressed is less than the preset time threshold, it is determined that the volume up key and the volume down key of the terminal are pressed at the same time, and step S106 is executed at this time. If the time interval between pressing the key and the volume down key is greater than or equal to the preset time threshold, step S108 is executed.

步骤S106、直接启动摄像头进行摄像;Step S106, directly start the camera to take pictures;

在现有技术中,终端正常摄像时需要进入摄像操作界面,并在接收到摄像指令后才会开始摄像,而在本发明实施例的步骤S106中,摄像头启动后会直接进行隐蔽式摄像,用户不需要进入摄像操作界面,旁人不会看到用户进行摄像操作。In the prior art, the terminal needs to enter the camera operation interface when taking a normal camera, and will start to shoot after receiving the camera command. However, in step S106 of the embodiment of the present invention, the camera will directly perform a covert camera after it is started, and the user There is no need to enter the camera operation interface, and others will not see the user performing camera operations.

实际操作时,在摄像的过程中,终端的音量加键和音量减键需要保持在同时被按下状态。In actual operation, during the recording process, the volume up key and the volume down key of the terminal need to be kept pressed at the same time.

步骤S107、在摄像的过程中,若检测到终端的音量加键和/或音量减键被松开,则停止摄像;Step S107. During the video recording process, if it is detected that the volume up key and/or the volume down key of the terminal is released, stop the video recording;

具体的,在摄像的过程中,若用户单独松开音量加键或者音量减键,则终端停止摄像。此外,若用户同时松开音量加键和音量减键,此时终端也会停止摄像。Specifically, during the shooting process, if the user releases the volume up key or the volume down key alone, the terminal stops shooting. In addition, if the user releases the volume up key and the volume down key at the same time, the terminal will also stop recording at this time.

步骤S108、执行终端解锁操作,进入操作系统;Step S108, execute the terminal unlocking operation, and enter the operating system;

作为优选的实施方式,当启动摄像头进行摄像时,使终端产生振动用以作为摄像开始的标志;当摄像头停止摄像时,使终端再次产生振动用以作为摄像停止的标志,从而提示用户。As a preferred embodiment, when the camera is started to take pictures, the terminal is made to vibrate as a sign of the start of the picture; when the camera stops taking pictures, the terminal is made to vibrate again as a sign of the stop of the picture, thereby prompting the user.

具体操作时,用户不需要进入摄像界面,可以在终端处于待机状态下通过手指按下指纹识别按键,当用户按下指纹识别按键的同时终端会验证用户的指纹,验证完成后,用户即可松开手指,然后,用户就可以同时按下音量加键和音量减键来快速启动摄像头进行摄像,直到松开音量加键和/或音量减键为止。During the specific operation, the user does not need to enter the camera interface, and can press the fingerprint identification button with the finger when the terminal is in standby mode. When the user presses the fingerprint identification button, the terminal will verify the user's fingerprint. After the verification is completed, the user can release the fingerprint. Then, the user can simultaneously press the volume up key and the volume down key to quickly start the camera for video recording until the volume up key and/or the volume down key are released.

本发明的方法在待机状态下结合指纹识别按键和音量键可快速启动摄像头进行摄像,实现了用户在待机状态下就可以直接摄像,使得用户在敏感场所、特定场合下(如:调查取证、隐蔽摄像等)也可以方便进行摄像,给用户带来便捷的摄像体验。The method of the present invention can quickly start the camera to take pictures in combination with the fingerprint identification button and the volume key in the standby state, and realizes that the user can directly take pictures in the standby state, so that the user can take pictures in sensitive places and special occasions (such as: investigation and evidence collection, concealment, etc.) camera, etc.) can also be convenient for taking pictures, bringing a convenient camera experience to the user.

实施例二Embodiment two

本发明的实施例三提供了一种在待机状态下结合指纹和音量键进行摄像的装置,请参考图2,本发明实施例的装置包括待机检测模块1、指纹识别检测模块2、指纹验证模块3、音量键状态检测模块4、时间间隔检测模块5和摄像模块6,下面将对上述模块的原理进行详细的说明。Embodiment 3 of the present invention provides a device that combines fingerprints and volume keys to take pictures in a standby state. Please refer to FIG. 2. The device in this embodiment of the present invention includes a standby detection module 1, a fingerprint identification detection module 2, and a fingerprint verification module. 3. The state detection module 4 of the volume key, the time interval detection module 5 and the camera module 6. The principles of the above modules will be described in detail below.

待机检测模块1,用于检测终端当前是否处于待机状态。The standby detection module 1 is configured to detect whether the terminal is currently in a standby state.

指纹识别检测模块2,用于若终端当前处于待机状态,则检测终端是否启动了指纹识别功能。The fingerprint identification detection module 2 is configured to detect whether the terminal has activated the fingerprint identification function if the terminal is currently in a standby state.

在本实施中,所述指纹识别检测模块2进一步用于若终端当前处于待机状态,则检测终端的指纹识别按键是否被按下从而产生一个中断信号;若检测到终端的指纹识别按键被按下从而产生一个中断信号,则判定终端启动了指纹识别功能。In this implementation, the fingerprint identification detection module 2 is further used to detect whether the fingerprint identification button of the terminal is pressed to generate an interrupt signal if the terminal is currently in a standby state; if it is detected that the fingerprint identification button of the terminal is pressed As a result, an interrupt signal is generated, and it is determined that the terminal has started the fingerprint recognition function.

指纹验证模块3,用于若终端启动了指纹识别功能,则验证用户当前输入的指纹是否为预设的解锁指纹。The fingerprint verification module 3 is configured to verify whether the fingerprint currently input by the user is a preset unlocking fingerprint if the terminal starts the fingerprint recognition function.

音量键状态检测模块4,用于若用户当前输入的指纹为解锁指纹,则先检测终端的音量加键和音量减键是否被按下。The volume key state detection module 4 is used to first detect whether the volume up key and the volume down key of the terminal are pressed if the fingerprint currently input by the user is an unlocking fingerprint.

时间间隔检测模块5,用于若终端的音量加键和音量减键被按下,则检测终端的音量加键和音量减键被按下的时间间隔是否小于预设的时间阈值;若终端的音量加键和音量减键被按下的时间间隔小于预设的时间阈值,则判定终端的音量加键和音量减键同时被按下。The time interval detection module 5 is used to detect whether the time interval between the volume up key and the volume down key of the terminal being pressed is less than a preset time threshold if the volume up key and the volume down key of the terminal are pressed; If the time interval between the pressing of the volume up key and the volume down key is less than the preset time threshold, it is determined that the volume up key and the volume down key of the terminal are simultaneously pressed.

摄像模块6,用于若终端的音量加键和音量减键同时被按下,则直接启动摄像头进行摄像。The camera module 6 is used to directly start the camera to take pictures if the volume up key and the volume down key of the terminal are pressed at the same time.

其中,在摄像的过程中,终端的音量加键和音量减键保持在同时被按下状态。Wherein, during the process of taking pictures, the volume up key and the volume down key of the terminal remain in a state of being pressed simultaneously.

实施例三Embodiment three

本发明的实施例三提供了一种在待机状态下结合指纹和音量键进行摄像的装置,请参考图3,本发明实施例三的装置与上述实施例二的装置的区别在于,本发明实施例三的装置还包括摄像停止模块7、振动提示模块8和解锁模块9,下面仅对不同的模块进行描述,相同的模块在此不再赘述。Embodiment 3 of the present invention provides a device that combines fingerprints and volume keys to take pictures in a standby state. Please refer to FIG. 3. The difference between the device in Embodiment 3 of the present invention and the device in Embodiment 2 above is that The device in Example 3 also includes a camera stop module 7, a vibration prompt module 8 and an unlock module 9, and only the different modules will be described below, and the same modules will not be repeated here.

摄像停止模块7,用于在摄像的过程中,若检测到终端的音量加键和/或音量减键被松开,则停止摄像。The imaging stop module 7 is configured to stop the imaging if it is detected that the volume up key and/or the volume down key of the terminal is released during the imaging process.

振动提示模块8,用于当启动摄像头进行摄像时,使终端产生振动用以作为摄像开始的标志;当摄像头停止摄像时,使终端再次产生振动用以作为摄像停止的标志,从而提示用户。Vibration prompt module 8 is used to make the terminal vibrate as a sign of the start of shooting when the camera is started to take pictures; when the camera stops taking pictures, make the terminal vibrate again as a sign of stop of picture taking, thereby prompting the user.

解锁模块9,用于若终端的音量加键和音量减键未被按下,则执行终端解锁操作,进入操作系统;以及若终端的音量加键和音量减键被按下的时间间隔大于或等于预设的时间阈值,则执行终端解锁操作,进入操作系统。Unlocking module 9, for if the volume up key and the volume down key of the terminal are not pressed, then perform terminal unlocking operation, enter the operating system; is equal to the preset time threshold, the terminal unlock operation is performed to enter the operating system.

本发明的装置在待机状态下结合指纹识别按键和音量键可快速启动摄像头进行摄像,实现了用户在待机状态下就可以直接摄像,使得用户在敏感场所、特定场合下(如:调查取证、隐蔽摄像等)也可以方便进行摄像,给用户带来便捷的摄像体验。The device of the present invention can quickly start the camera to take pictures in combination with the fingerprint recognition button and the volume button in the standby state, so that the user can directly take pictures in the standby state, so that the user can take pictures in sensitive places and special occasions (such as: investigation and evidence collection, concealment, etc.) camera, etc.) can also be convenient for taking pictures, bringing a convenient camera experience to the user.

需要说明的是,上述实施例提供的一种在待机状态下结合指纹和音量键进行摄像的装置,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将系统的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。此外,该移动终端包括手机、平板电脑、PDA、智能穿戴设备或其他具有指纹按键和音量键的移动终端设备。It should be noted that the device for taking pictures in combination with fingerprints and volume keys in the standby state provided by the above embodiment is only illustrated by the division of the above functional modules. In practical applications, the above functions can be allocated according to needs. It is completed by different functional modules, that is, the internal structure of the system is divided into different functional modules to complete all or part of the functions described above. In addition, the mobile terminal includes a mobile phone, a tablet computer, a PDA, a smart wearable device or other mobile terminal devices with fingerprint buttons and volume buttons.

本领域普通技术人员可以理解实现上述实施例方法中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,所述的程序可以在存储于一计算机可读取存储介质中,所述的存储介质,如ROM/RAM、磁盘、光盘等。Those of ordinary skill in the art can understand that all or part of the steps in the method of the above embodiments can be completed by instructing related hardware through a program, and the program can be stored in a computer-readable storage medium, and the described Storage media, such as ROM/RAM, magnetic disk, optical disk, etc.

上述实施例为本发明较佳的实施方式,但本发明的实施方式并不受上述实施例的限制,其他的任何未背离本发明的精神实质与原理下所作的改变、修饰、替代、组合、简化,均应为等效的置换方式,都包含在本发明的保护范围之内。The above-mentioned embodiment is a preferred embodiment of the present invention, but the embodiment of the present invention is not limited by the above-mentioned embodiment, and any other changes, modifications, substitutions, combinations, Simplifications should be equivalent replacement methods, and all are included in the protection scope of the present invention.

Claims (8)

Translated fromChinese
1.一种在待机状态下结合指纹和音量键进行摄像的方法,其特征在于,该方法包括以下步骤:1. A method for taking pictures in combination with fingerprints and volume keys in standby mode, characterized in that the method may further comprise the steps:检测终端当前是否处于待机状态;Detect whether the terminal is currently in a standby state;若终端当前处于待机状态,则检测终端是否启动了指纹识别功能;If the terminal is currently in a standby state, it is detected whether the terminal has activated the fingerprint identification function;若终端启动了指纹识别功能,则验证用户当前输入的指纹是否为预设的解锁指纹;If the terminal starts the fingerprint identification function, verify whether the fingerprint currently input by the user is the preset unlock fingerprint;若用户当前输入的指纹为解锁指纹,则先检测终端的音量加键和音量减键是否被按下;If the fingerprint currently input by the user is an unlocking fingerprint, first detect whether the volume up key and the volume down key of the terminal are pressed;若终端的音量加键和音量减键被按下,则检测终端的音量加键和音量减键被按下的时间间隔是否小于预设的时间阈值;If the volume up key and the volume down key of the terminal are pressed, then detecting whether the time interval between the volume up key and the volume down key of the terminal being pressed is less than a preset time threshold;若终端的音量加键和音量减键被按下的时间间隔小于预设的时间阈值,则判定终端的音量加键和音量减键同时被按下,此时直接启动摄像头进行摄像;If the time interval between the volume up key and the volume down key of the terminal being pressed is less than the preset time threshold, it is determined that the volume up key and the volume down key of the terminal are pressed at the same time, and the camera is directly started to take pictures at this time;其中,在摄像的过程中,终端的音量加键和音量减键保持在同时被按下状态;Wherein, in the process of taking pictures, the volume up key and the volume down key of the terminal remain in the state of being pressed at the same time;所述若用户当前输入的指纹为解锁指纹,则先检测终端的音量加键和音量减键是否被按下的步骤之后还包括:If the fingerprint currently input by the user is an unlocking fingerprint, the step of first detecting whether the volume up key and the volume down key of the terminal is pressed also includes:若终端的音量加键和音量减键未被按下,则执行终端解锁操作,进入操作系统;If the volume up key and the volume down key of the terminal are not pressed, execute the terminal unlocking operation to enter the operating system;所述若终端的音量加键和音量减键被按下,则检测终端的音量加键和音量减键被按下的时间间隔是否小于预设的时间阈值的步骤之后还包括:If the volume up key and the volume down key of the terminal are pressed, the step of detecting whether the time interval between the volume up key and the volume down key of the terminal being pressed is less than a preset time threshold further includes:若终端的音量加键和音量减键被按下的时间间隔大于或等于预设的时间阈值,则执行终端解锁操作,进入操作系统;If the time interval between the volume up key and the volume down key of the terminal is greater than or equal to the preset time threshold, the terminal unlock operation is performed to enter the operating system;所述若终端当前处于待机状态,则检测终端是否启动了指纹识别功能的步骤之后还包括:If the terminal is currently in a standby state, the step of detecting whether the terminal has started the fingerprint recognition function further includes:若终端未启动指纹识别功能,则使终端保持在待机状态。If the terminal does not activate the fingerprint recognition function, then keep the terminal in the standby state.2.根据权利要求1所述的在待机状态下结合指纹和音量键进行摄像的方法,其特征在于,所述若终端当前处于待机状态,则检测终端是否启动了指纹识别功能的步骤具体包括:2. The method for taking pictures in combination with fingerprints and volume keys in the standby state according to claim 1, wherein if the terminal is currently in the standby state, the step of detecting whether the terminal has activated the fingerprint recognition function specifically comprises:若终端当前处于待机状态,则检测终端的指纹识别按键是否被按下从而产生一个中断信号;If the terminal is currently in the standby state, it is detected whether the fingerprint identification button of the terminal is pressed to generate an interrupt signal;若检测到终端的指纹识别按键被按下从而产生一个中断信号,则判定终端启动了指纹识别功能。If it is detected that the fingerprint identification button of the terminal is pressed to generate an interrupt signal, it is determined that the terminal has activated the fingerprint identification function.3.根据权利要求1所述的在待机状态下结合指纹和音量键进行摄像的方法,其特征在于,所述若终端的音量加键和音量减键被按下的时间间隔小于预设的时间阈值,则直接启动摄像头进行摄像的步骤之后还包括:3. The method for taking pictures in combination with fingerprints and volume keys in a standby state according to claim 1, wherein if the time interval between pressing the volume up key and the volume down key of the terminal is less than the preset time threshold, then the step of directly starting the camera for video recording also includes:在摄像的过程中,若检测到终端的音量加键和/或音量减键被松开,则停止摄像。During the shooting process, if it is detected that the volume up key and/or the volume down key of the terminal is released, the shooting is stopped.4.根据权利要求3所述的在待机状态下结合指纹和音量键进行摄像的方法,其特征在于,当启动摄像头进行摄像时,使终端产生振动用以作为摄像开始的标志;当摄像头停止摄像时,使终端再次产生振动用以作为摄像停止的标志。4. The method for taking pictures in combination with fingerprints and volume keys in standby mode according to claim 3, characterized in that, when the camera is started to take pictures, the terminal is made to vibrate as a sign of starting the picture; when the camera stops taking pictures , make the terminal vibrate again as a sign that the camera stops.5.一种在待机状态下结合指纹和音量键进行摄像的装置,其特征在于,该装置包括:5. A device for taking pictures in combination with fingerprints and volume keys in a standby state, characterized in that the device comprises:待机检测模块,用于检测终端当前是否处于待机状态;A standby detection module, configured to detect whether the terminal is currently in a standby state;指纹识别检测模块,用于若终端当前处于待机状态,则检测终端是否启动了指纹识别功能;The fingerprint identification detection module is used to detect whether the terminal has started the fingerprint identification function if the terminal is currently in a standby state;指纹验证模块,用于若终端启动了指纹识别功能,则验证用户当前输入的指纹是否为预设的解锁指纹;The fingerprint verification module is used to verify whether the fingerprint currently input by the user is a preset unlocking fingerprint if the terminal starts the fingerprint recognition function;音量键状态检测模块,用于若用户当前输入的指纹为解锁指纹,则先检测终端的音量加键和音量减键是否被按下;The volume key state detection module is used to detect whether the volume up key and the volume down key of the terminal are pressed if the fingerprint currently input by the user is an unlocking fingerprint;时间间隔检测模块,用于若终端的音量加键和音量减键被按下,则检测终端的音量加键和音量减键被按下的时间间隔是否小于预设的时间阈值;若终端的音量加键和音量减键被按下的时间间隔小于预设的时间阈值,则判定终端的音量加键和音量减键同时被按下;The time interval detection module is used to detect whether the time interval between the volume up key and the volume down key of the terminal being pressed is less than a preset time threshold if the volume up key and the volume down key of the terminal are pressed; If the time interval between the pressing of the plus key and the volume down key is less than the preset time threshold, it is determined that the volume up key and the volume down key of the terminal are pressed at the same time;摄像模块,用于若终端的音量加键和音量减键同时被按下,则直接启动摄像头进行摄像;The camera module is used to directly start the camera to take pictures if the volume up key and the volume down key of the terminal are pressed at the same time;其中,在摄像的过程中,终端的音量加键和音量减键保持在同时被按下状态;Wherein, in the process of taking pictures, the volume up key and the volume down key of the terminal remain in the state of being pressed at the same time;该装置还包括:The unit also includes:解锁模块,用于若终端的音量加键和音量减键未被按下,则执行终端解锁操作,进入操作系统;以及若终端的音量加键和音量减键被按下的时间间隔大于或等于预设的时间阈值,则执行终端解锁操作,进入操作系统;The unlocking module is used to execute the terminal unlocking operation and enter the operating system if the volume up key and the volume down key of the terminal are not pressed; and if the time interval between the volume up key and the volume down key of the terminal is greater than or equal to If the preset time threshold is reached, the terminal unlock operation is performed to enter the operating system;所述若终端当前处于待机状态,则检测终端是否启动了指纹识别功能的步骤之后还包括:If the terminal is currently in a standby state, the step of detecting whether the terminal has started the fingerprint recognition function further includes:若终端未启动指纹识别功能,则使终端保持在待机状态。If the terminal does not activate the fingerprint recognition function, then keep the terminal in the standby state.6.根据权利要求5所述的在待机状态下结合指纹和音量键进行摄像的装置,其特征在于,所述指纹识别检测模块进一步用于若终端当前处于待机状态,则检测终端的指纹识别按键是否被按下从而产生一个中断信号;若检测到终端的指纹识别按键被按下从而产生一个中断信号,则判定终端启动了指纹识别功能。6. The device for taking pictures in combination with fingerprints and volume keys in the standby state according to claim 5, wherein the fingerprint recognition detection module is further used to detect the fingerprint recognition button of the terminal if the terminal is currently in the standby state Whether it is pressed to generate an interrupt signal; if it is detected that the fingerprint recognition button of the terminal is pressed to generate an interrupt signal, it is determined that the terminal has started the fingerprint recognition function.7.根据权利要求5所述的在待机状态下结合指纹和音量键进行摄像的装置,其特征在于,该装置还包括:7. The device for taking pictures in combination with fingerprints and volume keys in a standby state according to claim 5, characterized in that the device further comprises:摄像停止模块,用于在摄像的过程中,若检测到终端的音量加键和/或音量减键被松开,则停止摄像。The camera stop module is configured to stop the camera if it is detected that the volume up key and/or the volume down key of the terminal is released during the process of shooting.8.根据权利要求7所述的在待机状态下结合指纹和音量键进行摄像的装置,其特征在于,该装置还包括:8. The device for taking pictures in combination with fingerprints and volume keys in a standby state according to claim 7, characterized in that the device further comprises:振动提示模块,用于当启动摄像头进行摄像时,使终端产生振动用以作为摄像开始的标志;当摄像头停止摄像时,使终端再次产生振动用以作为摄像停止的标志。The vibration prompt module is used to make the terminal vibrate as a sign of the start of shooting when the camera is started to take pictures; when the camera stops taking pictures, make the terminal vibrate again as a sign of stop of picture taking.
CN201510591258.8A2015-09-162015-09-16The method and device that fingerprint and volume key are imaged is combined in the standby stateExpired - Fee RelatedCN105138137B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201510591258.8ACN105138137B (en)2015-09-162015-09-16The method and device that fingerprint and volume key are imaged is combined in the standby state

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201510591258.8ACN105138137B (en)2015-09-162015-09-16The method and device that fingerprint and volume key are imaged is combined in the standby state

Publications (2)

Publication NumberPublication Date
CN105138137A CN105138137A (en)2015-12-09
CN105138137Btrue CN105138137B (en)2017-12-15

Family

ID=54723508

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201510591258.8AExpired - Fee RelatedCN105138137B (en)2015-09-162015-09-16The method and device that fingerprint and volume key are imaged is combined in the standby state

Country Status (1)

CountryLink
CN (1)CN105138137B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN105120181B (en)*2015-09-252018-04-20广东欧珀移动通信有限公司The image capture method and device of mobile terminal
CN105516495A (en)*2015-12-112016-04-20惠州Tcl移动通信有限公司Method for quickly starting camera and mobile terminal
CN105872424A (en)*2015-12-252016-08-17乐视致新电子科技(天津)有限公司Video recording method of mobile terminal and the mobile terminal
CN106843564A (en)*2016-12-262017-06-13普联技术有限公司The control method and device of gloves pattern, touch control device

Citations (3)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN104683597A (en)*2015-03-172015-06-03广东欧珀移动通信有限公司 Method and system for adjusting screen brightness of mobile terminal
CN104767846A (en)*2015-03-182015-07-08广东欧珀移动通信有限公司 touch mobile terminal
CN104935688A (en)*2015-03-182015-09-23广东欧珀移动通信有限公司 touch mobile terminal

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN104683597A (en)*2015-03-172015-06-03广东欧珀移动通信有限公司 Method and system for adjusting screen brightness of mobile terminal
CN104767846A (en)*2015-03-182015-07-08广东欧珀移动通信有限公司 touch mobile terminal
CN104935688A (en)*2015-03-182015-09-23广东欧珀移动通信有限公司 touch mobile terminal

Also Published As

Publication numberPublication date
CN105138137A (en)2015-12-09

Similar Documents

PublicationPublication DateTitle
JP6360558B2 (en) File locking method, file locking device, program, and recording medium
RU2669063C2 (en)Method and device for image acquisition
CN105117137A (en) A method and device for taking pictures when a terminal is in standby, and a mobile terminal
CN108319886B (en)Fingerprint identification method and device
WO2017031888A1 (en)Fingerprint recognition method and device
CN108197450B (en)Face recognition method, face recognition device, storage medium and electronic equipment
CN105159726A (en) A method and device for quickly starting to take pictures
CN105138137B (en)The method and device that fingerprint and volume key are imaged is combined in the standby state
CN106228054A (en)Auth method and device
CN109344589A (en) Fingerprint unlocking method, device and storage medium
CN107643818B (en) Function opening method and device
CN105117135A (en) A camera method and device when a terminal is in standby
US20170061109A1 (en)Electronic apparatus, recording medium, and operating method of electronic apparatus
EP3407256A1 (en)Recognizing biological feature
CN112241652A (en)Fingerprint identification method and device
CN102981726A (en) Method and system for preventing accidental unlocking of mobile terminal
CN107025041B (en)Fingerprint input method and terminal
CN104317512B (en)Terminal unlock method and device
CN105141739B (en)The method and device that fingerprint and volume key are recorded is combined in the standby state
CN106503628A (en)method and device for fingerprint matching
CN105187654A (en) A recording method and device when a terminal is in standby
CN107133550B (en)Fingerprint authentication method and device
RU2669632C2 (en)Fingerprint authentication method and device
CN111079467B (en)Fingerprint identification method and device, electronic equipment and storage medium
CN109726695B (en) Optical fingerprint icon display method, electronic device and computer-readable storage medium

Legal Events

DateCodeTitleDescription
C06Publication
PB01Publication
C10Entry into substantive examination
SE01Entry into force of request for substantive examination
GR01Patent grant
GR01Patent grant
CP01Change in the name or title of a patent holder
CP01Change in the name or title of a patent holder

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

Patentee after:GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

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

Patentee before:GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

CF01Termination of patent right due to non-payment of annual fee
CF01Termination of patent right due to non-payment of annual fee

Granted publication date:20171215


[8]ページ先頭

©2009-2025 Movatter.jp