技术领域technical field
本发明涉及通信技术领域,具体涉及一种拍照实现方法及终端。The present invention relates to the technical field of communication, in particular to a method for realizing taking pictures and a terminal.
背景技术Background technique
拍照作为移动设备等终端设备提供的一种极具竞争力的服务,由于移动设备随身携带方便的优势,移动设备拍照慢慢取代数码相机成为生活的必需品。随着大屏触摸屏移动设备的出现,拍照快门键已经由实体健改为虚拟按键。Taking photos is a very competitive service provided by mobile devices and other terminal devices. Due to the convenience of carrying mobile devices, taking photos with mobile devices has gradually replaced digital cameras and become a necessity of life. With the emergence of large-screen touch-screen mobile devices, the camera shutter button has been changed from a physical button to a virtual button.
在使用手机拍照过程中,由于人体的生理特性,按下快门键的瞬间往往形成一定的抖动,影响了照片的拍摄效果。防抖技术在一定程度解决了这个问题,但是不同厂家的手持设备性能千差万别,防抖效果也不尽理想。在用户生活习惯中,自拍成为一种潮流,目前手机前置摄像头普遍配置差于后置摄像头,用户使用后置摄像头自拍时,往往找不到快门键形成剧烈的震动,给用户造成了困惑。索尼推出过一款“笑脸”数码相机,可以识别笑脸自动拍照,但用户使用手持设备拍照场景不只限于笑脸,加上笑脸识别技术的难度导致准确率不是很高,因而并不实用。In the process of using a mobile phone to take pictures, due to the physiological characteristics of the human body, a certain amount of shaking is often formed at the moment when the shutter button is pressed, which affects the shooting effect of the photo. Anti-shake technology solves this problem to a certain extent, but the performance of handheld devices from different manufacturers varies widely, and the anti-shake effect is not ideal. Self-portraits have become a trend in users' living habits. At present, the configuration of the front-facing camera of mobile phones is generally inferior to that of the rear-facing camera. Sony has launched a "smiling face" digital camera, which can recognize smiling faces and take pictures automatically. However, the scene where users use handheld devices to take pictures is not limited to smiling faces. In addition, the difficulty of smiling face recognition technology makes the accuracy rate not very high, so it is not practical.
发明内容Contents of the invention
本发明实施例提供一种拍照实现方法及终端,能够根据用户按压设置在终端的背板上的按键的压力控制摄像头聚焦,提高终端拍照的稳定性和准确率。Embodiments of the present invention provide a method for realizing photographing and a terminal, which can control the focus of a camera according to the pressure of a user pressing a button arranged on the back panel of the terminal, and improve the stability and accuracy of photographing by the terminal.
本发明实施例第一方面公开了一种拍照实现方法,包括:The first aspect of the embodiment of the present invention discloses a method for taking pictures, including:
终端获取用户按压设置于所述终端的背板上的按键的按压动作对应的压力;The terminal acquires the pressure corresponding to the pressing action of the user pressing the button set on the back panel of the terminal;
所述终端将所述压力与第一预设压力阈值进行比较;The terminal compares the pressure with a first preset pressure threshold;
若比较出所述压力大于或等于第一预设压力阈值,则所述终端控制所述终端的摄像头聚焦,在所述终端的显示屏幕上显示拍照功能界面。If the comparison shows that the pressure is greater than or equal to the first preset pressure threshold, the terminal controls the camera of the terminal to focus, and displays a camera function interface on the display screen of the terminal.
本发明实施例第二方面公开了一种终端,包括:The second aspect of the embodiment of the present invention discloses a terminal, including:
获取单元,用于获取用户按压设置于所述终端的背板上的按键的按压动作对应的压力;an acquisition unit, configured to acquire the pressure corresponding to the pressing action of the user pressing the button arranged on the back panel of the terminal;
比较单元,用于将所述压力与第一预设压力阈值进行比较;a comparison unit, configured to compare the pressure with a first preset pressure threshold;
控制单元,用于所述比较单元比较出所述压力大于或等于第一预设压力阈值时,控制所述终端的摄像头聚焦,在所述终端的显示屏幕上显示拍照功能界面。The control unit is configured to control the camera of the terminal to focus and display the camera function interface on the display screen of the terminal when the comparison unit finds that the pressure is greater than or equal to a first preset pressure threshold.
本发明实施例中,通过获取用户按压设置于终端的背板上的按键的按压动作对应的压力;并将所述压力与第一预设压力阈值进行比较;若比较出所述压力大于或等于第一预设压力阈值,则所述终端控制所述终端的摄像头聚焦,在所述终端的显示屏幕上显示拍照功能界面。通过实施本发明实施例,能够根据用户按压设置在终端的背板上的按键的压力控制摄像头聚焦,提高终端拍照的稳定性和准确率。In the embodiment of the present invention, the pressure corresponding to the press action of the user pressing the button set on the back panel of the terminal is obtained; and the pressure is compared with the first preset pressure threshold; if the comparison shows that the pressure is greater than or equal to The first preset pressure threshold, the terminal controls the camera of the terminal to focus, and displays the camera function interface on the display screen of the terminal. By implementing the embodiments of the present invention, it is possible to control the focus of the camera according to the pressure of the user pressing the button arranged on the back panel of the terminal, and improve the stability and accuracy of taking pictures of the terminal.
附图说明Description of drawings
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention or 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 only These are 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 schematic flow chart of a first embodiment of a method for taking pictures disclosed in the present invention;
图2a是本发明公开的一种拍照实现方法的第二实施例的流程示意图;Fig. 2a is a schematic flowchart of a second embodiment of a method for realizing taking pictures disclosed by the present invention;
图2b是本发明公开的一种拍照实现方法的第三实施例的流程示意图;Fig. 2b is a schematic flow chart of a third embodiment of a method for realizing photographing disclosed by the present invention;
图2c是本发明公开的一种拍照实现方法的第四实施例的流程示意图;Fig. 2c is a schematic flowchart of a fourth embodiment of a method for realizing taking pictures disclosed in the present invention;
图2d是本发明公开的一种拍照实现方法的第五实施例的流程示意图;Fig. 2d is a schematic flow chart of a fifth embodiment of a method for realizing photographing disclosed by the present invention;
图2e是本发明公开的一种拍照实现方法的第六实施例的流程示意图;Fig. 2e is a schematic flow diagram of the sixth embodiment of a method for realizing photographing disclosed by the present invention;
图3是本发明公开的一种终端的第一实施例的结构示意图;FIG. 3 is a schematic structural diagram of a first embodiment of a terminal disclosed in the present invention;
图4a是本发明公开的一种终端的第二实施例的结构示意图;Fig. 4a is a schematic structural diagram of a second embodiment of a terminal disclosed in the present invention;
图4b是本发明公开的一种终端的第三实施例的结构示意图;Fig. 4b is a schematic structural diagram of a third embodiment of a terminal disclosed in the present invention;
图4c是本发明公开的一种终端的第四实施例的结构示意图;Fig. 4c is a schematic structural diagram of a fourth embodiment of a terminal disclosed in the present invention;
图4d是本发明公开的一种终端的第五实施例的结构示意图;Fig. 4d is a schematic structural diagram of a fifth embodiment of a terminal disclosed in the present invention;
图4e是本发明公开的一种终端的第六实施例的结构示意图;FIG. 4e is a schematic structural diagram of a sixth embodiment of a terminal disclosed in the present invention;
图5是本发明公开的一种终端的另一实施例的结构示意图;FIG. 5 is a schematic structural diagram of another embodiment of a terminal disclosed in the present invention;
具体实施方式detailed description
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.
本发明实施例公开了一种拍照实现方法,该方法包括:终端获取用户按压设置于所述终端的背板上的按键的按压动作对应的压力;所述终端将所述压力与第一预设压力阈值进行比较;若比较出所述压力大于或等于第一预设压力阈值,则所述终端控制所述终端的摄像头聚焦,在所述终端的显示屏幕上显示拍照功能界面。实施本发明实施例,能够根据用户按压设置在终端的背板上的按键的压力控制摄像头聚焦,提高终端拍照的稳定性和准确率。The embodiment of the present invention discloses a method for realizing photographing. The method includes: the terminal acquires the pressure corresponding to the pressing action of the user pressing the button set on the back panel of the terminal; the terminal compares the pressure with the first preset The pressure threshold is compared; if the comparison shows that the pressure is greater than or equal to the first preset pressure threshold, the terminal controls the camera of the terminal to focus, and displays a camera function interface on the display screen of the terminal. By implementing the embodiments of the present invention, the focus of the camera can be controlled according to the pressure that the user presses on the buttons arranged on the back panel of the terminal, and the stability and accuracy of taking pictures of the terminal can be improved.
下面结合附图及具体实施方式,对本发明实施例的技术方案进行详细说明。The technical solutions of the embodiments of the present invention will be described in detail below in conjunction with the accompanying drawings and specific implementation methods.
请参阅图1,图1为本发明公开的一种拍照实现方法的第一实施例的流程示意图。如图1所示,本实施例闹钟实现方法可以包括以下步骤:Please refer to FIG. 1 . FIG. 1 is a schematic flowchart of a first embodiment of a method for taking pictures disclosed in the present invention. As shown in Figure 1, the alarm clock implementation method of this embodiment may include the following steps:
步骤S101,终端获取用户按压设置于终端的背板上的按键的按压动作对应的压力。In step S101, the terminal acquires the pressure corresponding to the pressing action of the user pressing the button arranged on the back panel of the terminal.
步骤S102,终端将压力与第一预设压力阈值进行比较。Step S102, the terminal compares the pressure with a first preset pressure threshold.
步骤S103,若比较出压力大于或等于第一预设压力阈值,则终端控制终端的摄像头聚焦,在终端的显示屏幕上显示拍照功能界面。Step S103 , if the comparison shows that the pressure is greater than or equal to the first preset pressure threshold, the terminal controls the camera of the terminal to focus, and displays the camera function interface on the display screen of the terminal.
本发明实施例中,上述摄像头包括安装在终端的背板上的后置摄像头或安装在终端的面板上的前置摄像头,上述终端可以包括但不限于:移动设备、平板电脑、可穿戴设备,等等,上述终端均设置有显示屏和触控屏,终端能够将与摄像头功能相关的用户交互界面(如拍照功能界面、录像功能界面)显示在上述显示屏上,上述终端背板上的按键中内置压力传感器,该压力传感器连接信号处理电路,终端可以通过上述压力传感器和信号处理电路检测用户按压按键时的压力的数值。In the embodiment of the present invention, the aforementioned camera includes a rear camera installed on the back panel of the terminal or a front camera installed on the panel of the terminal, and the aforementioned terminal may include but not limited to: mobile devices, tablet computers, wearable devices, etc., the above-mentioned terminals are all provided with a display screen and a touch screen, and the terminal can display user interaction interfaces related to the camera function (such as a camera function interface and a video recording function interface) on the above-mentioned display screen, and the buttons on the back panel of the above-mentioned terminal A built-in pressure sensor is connected to the signal processing circuit, and the terminal can detect the pressure value when the user presses the button through the above pressure sensor and signal processing circuit.
进一步可选地,本发明实施例中,上述步骤S101终端获取用户按压设置于终端的背板上的按键的按压动作对应的压力的具体实施方式可以包括:用户按压设置在终端的背板上的按键,终端通过该按键内的压力传感器及信号处理电路检测到用户的按压动作,并通过终端的处理器计算获取用户的按压动作对应的压力值,该压力值可以是预设时间段内采样到的压力的平均值,例如,终端的信号处理电路1ms采样压力信号10次,终端的处理器根据上述10次采样压力值,计算得到1ms内的压力平均值,并将该压力平均值作为终端获取的用户按压动作在上述1ms内的压力值。Further optionally, in the embodiment of the present invention, the specific implementation manner in which the terminal obtains the pressure corresponding to the pressing action of the user pressing the button set on the back panel of the terminal in the above step S101 may include: the user presses the button set on the back panel of the terminal button, the terminal detects the user's pressing action through the pressure sensor and signal processing circuit in the key, and calculates and obtains the pressure value corresponding to the user's pressing action through the processor of the terminal. The pressure value can be sampled within a preset time period For example, the signal processing circuit of the terminal samples the pressure signal 10 times per 1 ms, and the processor of the terminal calculates the average pressure value within 1 ms based on the above 10 sampled pressure values, and uses the average pressure value as the terminal to acquire The pressure value of the user's pressing action within the above 1ms.
进一步可选地,本发明实施例中,上述步骤S102终端将压力与第一预设压力阈值进行比较的具体实施方式可以包括:终端通过上述步骤S101获取用户按压动作的压力后,将该压力与第一预设压力阈值进行比较,该第一预设压力阈值用于终端安装的摄像头的拍照功能和摄像功能两种工作模式的切换,该第一预设压力阈值可以由终端设备生产商预先录入终端的存储器中,也可以由用户预先进行设置,但该第一预设压力阈值应不小于人手稳定握持物体时候手指对该物体的压力,从而保证用户“用力”按压终端的按键模块进行拍照,例如,设置上述第一预设压力阈值为2N。进一步地,考虑到用户的差异化,该终端也可以根据用户的历史握持数据和拍照的成像质量智能的调整该第一预设压力阈值,上述拍照的成像质量可以通过用户的图片分享记录、删除记录来判断,例如,终端检测到图片1被用户分享了3次,而图片2直接被用户删除,则终端可以确认图片1的成像质量较高,图片2的成像质量较低。终端可以获取成像质量较高的图片对应的用户按压动作的历史压力记录,并根据该历史压力记录计算第一预设压力阈值,实现智能调整第一压力预设阈值。Further optionally, in the embodiment of the present invention, the specific implementation method for the terminal to compare the pressure with the first preset pressure threshold in the above step S102 may include: after the terminal obtains the pressure of the user's pressing action through the above step S101, compare the pressure with the first preset pressure threshold. Compared with the first preset pressure threshold, the first preset pressure threshold is used to switch between the camera function and camera function of the camera installed on the terminal. The first preset pressure threshold can be pre-entered by the terminal equipment manufacturer. In the memory of the terminal, it can also be set in advance by the user, but the first preset pressure threshold should not be less than the pressure of the finger on the object when the object is held stably by the human hand, so as to ensure that the user presses the button module of the terminal "forcibly" to take pictures For example, set the above-mentioned first preset pressure threshold to 2N. Further, taking into account the differences of users, the terminal can also intelligently adjust the first preset pressure threshold according to the user's historical grip data and the imaging quality of the photos. The imaging quality of the photos can be recorded through the user's picture sharing, For example, if the terminal detects that picture 1 has been shared 3 times by the user, and picture 2 is directly deleted by the user, the terminal can confirm that the image quality of picture 1 is higher and the image quality of picture 2 is lower. The terminal can acquire the historical pressure record of the user's pressing action corresponding to the picture with high imaging quality, and calculate the first preset pressure threshold according to the historical pressure record, so as to realize intelligent adjustment of the first preset pressure threshold.
进一步可选地,本发明实施例中,上述步骤S103比较出压力大于或等于第一预设压力阈值,则终端控制终端的摄像头聚焦,在终端的显示屏幕上显示拍照功能界面的具体实施方式可以包括:终端通过步骤S102将获取的压力与第一预设压力阈值进行比较,比较出用户按压动作对应的上述压力大于或等于第一预设压力阈值后,上述终端确定用户需要拍照服务,控制终端的摄像头聚焦,并将聚焦的图像显示在终端的显示屏幕所展示的拍照功能界面中,该拍照功能界面还可以显示终端在拍照工作模式先的一些提示信息,例如,终端在拍照功能界面中显示“短按按键为单次拍照”、“长按按键为连续拍照”等提示信息。当然,该拍照功能界面也可以包括拍照的场景设置菜单、当前摄像头聚焦的画面、闪光灯是否开启等设置信息。Further optionally, in the embodiment of the present invention, if the pressure in the above step S103 is greater than or equal to the first preset pressure threshold, the terminal controls the camera of the terminal to focus, and the specific implementation manner of displaying the camera function interface on the display screen of the terminal can be It includes: the terminal compares the obtained pressure with the first preset pressure threshold through step S102, and after comparing the above-mentioned pressure corresponding to the user's pressing action is greater than or equal to the first preset pressure threshold, the above-mentioned terminal determines that the user needs to take pictures, and controls the terminal The camera focuses and displays the focused image on the camera function interface displayed on the display screen of the terminal. The camera function interface can also display some prompt information of the terminal in the camera mode. For example, the terminal displays in the camera function interface Prompt information such as "short press the button to take a single photo", "long press the button to take a continuous photo". Certainly, the photographing function interface may also include setting information such as a photographing scene setting menu, a picture currently focused on by the camera, whether the flash is turned on, or the like.
本发明实施例通过获取用户按压设置于终端的背板上的按键的按压动作对应的压力;将压力与第一预设压力阈值进行比较;比较出压力大于或等于第一预设压力阈值,则终端控制终端的摄像头聚焦,在终端的显示屏幕上显示拍照功能界面。实施本发明实施例,能够根据用户按压设置在终端的背板上的按键的压力控制摄像头聚焦,提高终端拍照的稳定性和准确率。In the embodiment of the present invention, the pressure corresponding to the pressing action of the user pressing the key set on the back panel of the terminal is obtained; the pressure is compared with the first preset pressure threshold; if the pressure is greater than or equal to the first preset pressure threshold, then The terminal controls the camera of the terminal to focus, and displays the camera function interface on the display screen of the terminal. By implementing the embodiments of the present invention, the focus of the camera can be controlled according to the pressure that the user presses on the buttons arranged on the back panel of the terminal, and the stability and accuracy of taking pictures of the terminal can be improved.
请参阅图2a,图2a为本发明公开的一种拍照实现方法的第二实施例的流程示意图。如图2a所示,本实施例闹钟实现方法可以包括以下步骤:Please refer to FIG. 2a, which is a schematic flow chart of a second embodiment of a method for taking pictures disclosed in the present invention. As shown in Figure 2a, the method for realizing the alarm clock in this embodiment may include the following steps:
步骤S201,终端通过按键内置的指纹识别传感器接收用户指纹信息。In step S201, the terminal receives user fingerprint information through a fingerprint recognition sensor built in a button.
步骤S202,终端将用户指纹信息与模板库中预先录入的指纹信息进行比较。In step S202, the terminal compares the user's fingerprint information with the pre-registered fingerprint information in the template library.
步骤S203,若比较出用户指纹信息与模板库中预先录入的指纹信息一致,则终端开启摄像头。Step S203, if it is compared that the user's fingerprint information is consistent with the pre-registered fingerprint information in the template library, the terminal turns on the camera.
步骤S204,终端获取用户按压设置于终端的背板上的按键的按压动作对应的压力。In step S204, the terminal obtains the pressure corresponding to the user's pressing action of pressing the button arranged on the back panel of the terminal.
步骤S205,终端将压力与第一预设压力阈值进行比较。Step S205, the terminal compares the pressure with a first preset pressure threshold.
步骤S206,若比较出压力大于或等于第一预设压力阈值,则终端控制终端的摄像头聚焦,在终端的显示屏幕上显示拍照功能界面。Step S206, if the comparison shows that the pressure is greater than or equal to the first preset pressure threshold, the terminal controls the camera of the terminal to focus, and displays the camera function interface on the display screen of the terminal.
步骤S207,终端获取按压动作的第一持续时间。Step S207, the terminal obtains the first duration of the pressing action.
步骤S208,终端将第一持续时间与第一预设时间阈值进行比较。Step S208, the terminal compares the first duration with a first preset time threshold.
步骤S209,若比较出第一持续时间小于第一预设时间阈值,则终端控制摄像头进行单次相片拍摄。Step S209, if it is compared that the first duration is less than the first preset time threshold, the terminal controls the camera to take a single photo.
本发明实施例中,上述摄像头包括安装在终端的背板上的后置摄像头或安装在终端的面板上的前置摄像头,上述终端可以包括但不限于:移动设备、平板电脑、可穿戴设备,等等,上述终端均设置有显示屏和触控屏,终端能够将与摄像头功能相关的用户交互界面(如拍照功能界面、录像功能界面)显示在上述显示屏上,上述终端背板上的按键中内置压力传感器,该压力传感器连接信号处理电路,终端可以通过上述压力传感器和信号处理电路检测用户按压按键时的压力的数值。In the embodiment of the present invention, the aforementioned camera includes a rear camera installed on the back panel of the terminal or a front camera installed on the panel of the terminal, and the aforementioned terminal may include but not limited to: mobile devices, tablet computers, wearable devices, etc., the above-mentioned terminals are all provided with a display screen and a touch screen, and the terminal can display user interaction interfaces related to the camera function (such as a camera function interface and a video recording function interface) on the above-mentioned display screen, and the buttons on the back panel of the above-mentioned terminal A built-in pressure sensor is connected to the signal processing circuit, and the terminal can detect the pressure value when the user presses the button through the above pressure sensor and signal processing circuit.
进一步可选地,本发明实施例中,上述步骤S201终端通过按键内置的指纹识别传感器接收用户指纹信息的具体实施方式可以包括:上述用户指纹信息可以包括用户的手指的指纹图像,终端通过电容式传感器、光感式传感器或其他能够感测手指指纹的传感器及连接传感器的信号处理电路,形成用户手指的原始指纹图像,还可以进一步通过模式识别算法对用户手指的原始指纹图像进行图像增强,计算方向图,二值化处理,得到增强指纹图像。Further optionally, in the embodiment of the present invention, the specific implementation manner in which the terminal receives user fingerprint information through the fingerprint recognition sensor built in the button in step S201 above may include: the above user fingerprint information may include the fingerprint image of the user's finger, and the terminal uses a capacitive Sensors, light-sensitive sensors or other sensors capable of sensing fingerprints and signal processing circuits connected to the sensors form the original fingerprint image of the user's finger, and can further perform image enhancement on the original fingerprint image of the user's finger through a pattern recognition algorithm, and calculate Orientation map, binarization processing, get enhanced fingerprint image.
进一步可选地,本发明实施例中,上述步骤S202终端将用户指纹信息与模板库中预先录入的指纹信息进行比较的具体实施方式可以包括:终端获取用户指纹信息后,该指纹信息可以是步骤S101中所描述的指纹图像,将该指纹信息与模板库中存储的指纹图像模板进行比较,可以计算用户指纹信息与模板库中的指纹信息的相似度。Further optionally, in the embodiment of the present invention, the specific implementation manner of the above step S202 that the terminal compares the user fingerprint information with the fingerprint information pre-entered in the template library may include: after the terminal obtains the user fingerprint information, the fingerprint information may be a step For the fingerprint image described in S101, the fingerprint information is compared with the fingerprint image templates stored in the template library, and the similarity between the user fingerprint information and the fingerprint information in the template library can be calculated.
进一步可选地,本发明实施例中,上述步骤S203比较出用户指纹信息与模板库中预先录入的指纹信息一致,则终端开启摄像头的具体实施方式可以包括:终端将上述步骤S202计算的相似度与预设相似度进行比较,如上述相似度大于或等于该预设相似度,则终端控制摄像头开启。Further optionally, in the embodiment of the present invention, the above step S203 compares that the user fingerprint information is consistent with the pre-entered fingerprint information in the template library, then the specific implementation manner for the terminal to turn on the camera may include: the terminal calculates the similarity degree calculated in the above step S202 Compared with the preset similarity, if the above similarity is greater than or equal to the preset similarity, the terminal controls the camera to turn on.
进一步可选地,本发明实施例中,上述步骤S204终端获取用户按压设置于终端的背板上的按键的按压动作对应的压力的具体实施方式可以包括:终端识别用户的指纹开启摄像头后(上述步骤S201-步骤S203),终端通过该按键内的压力传感器及信号处理电路检测用户再次按压按键的按压动作,并通过终端的处理器计算获取用户的按压动作对应的压力值,该压力值可以是预设时间段内采样到的压力的平均值,例如,终端的信号处理电路1ms采样压力信号10次,终端的处理器根据上述10次采样压力值,计算得到1ms内的压力平均值,并将该压力平均值作为终端获取的用户按压动作在上述1ms内的压力值。Further optionally, in the embodiment of the present invention, the specific implementation manner in which the terminal obtains the pressure corresponding to the pressing action of the user pressing the button set on the back panel of the terminal in the above step S204 may include: after the terminal recognizes the user's fingerprint and turns on the camera (the above-mentioned Step S201-Step S203), the terminal detects the pressing action of the user pressing the key again through the pressure sensor and the signal processing circuit in the key, and calculates and obtains the pressure value corresponding to the user's pressing action through the processor of the terminal. The pressure value can be The average value of the pressure sampled within the preset time period, for example, the signal processing circuit of the terminal samples the pressure signal 10 times in 1ms, and the processor of the terminal calculates the average pressure value within 1ms according to the above 10 sampled pressure values, and The average pressure value is used as the pressure value obtained by the terminal within the above 1 ms of the user's pressing action.
进一步可选地,本发明实施例中,上述步骤S205终端将压力与第一预设压力阈值进行比较的具体实施方式可以包括:终端通过上述步骤S204获取用户按压动作的压力后,将该压力与第一预设压力阈值进行比较,该第一预设压力阈值用于终端安装的摄像头的拍照功能和摄像功能两种工作模式的切换,该第一预设压力阈值可以由终端设备生产商预先录入终端的存储器中,也可以由用户预先进行设置,但该第一预设压力阈值应不小于人手稳定握持物体时候手指对该物体的压力,从而保证用户“用力”按压终端的按键模块进行拍照,例如,设置上述第一预设压力阈值为2N。进一步地,考虑到用户的差异化,该终端也可以根据用户的历史握持数据和拍照的成像质量智能的调整该第一预设压力阈值,上述拍照的成像质量可以通过用户的图片分享记录、删除记录来判断,例如,终端检测到图片1被用户分享了3次,而图片2直接被用户删除,则终端可以确认图片1的成像质量较高,图片2的成像质量较低。终端可以获取成像质量较高的图片对应的用户按压动作的历史压力记录,并根据该历史压力记录计算第一预设压力阈值,实现智能调整第一压力预设阈值。Further optionally, in the embodiment of the present invention, the specific implementation method for the terminal to compare the pressure with the first preset pressure threshold in step S205 above may include: after the terminal obtains the pressure of the user's pressing action through the above step S204, compare the pressure with Compared with the first preset pressure threshold, the first preset pressure threshold is used to switch between the camera function and camera function of the camera installed on the terminal. The first preset pressure threshold can be pre-entered by the terminal equipment manufacturer. In the memory of the terminal, it can also be set in advance by the user, but the first preset pressure threshold should not be less than the pressure of the finger on the object when the object is held stably by the human hand, so as to ensure that the user presses the button module of the terminal "forcibly" to take pictures For example, set the above-mentioned first preset pressure threshold to 2N. Further, taking into account the differences of users, the terminal can also intelligently adjust the first preset pressure threshold according to the user's historical grip data and the imaging quality of the photos. The imaging quality of the photos can be recorded through the user's picture sharing, For example, if the terminal detects that picture 1 has been shared 3 times by the user, and picture 2 is directly deleted by the user, the terminal can confirm that the image quality of picture 1 is higher and the image quality of picture 2 is lower. The terminal can acquire the historical pressure record of the user's pressing action corresponding to the picture with high imaging quality, and calculate the first preset pressure threshold according to the historical pressure record, so as to realize intelligent adjustment of the first preset pressure threshold.
进一步可选地,本发明实施例中,上述步骤S206比较出压力大于或等于第一预设压力阈值,则终端控制终端的摄像头聚焦,在终端的显示屏幕上显示拍照功能界面的具体实施方式可以包括:终端通过步骤S205将获取的压力与第一预设压力阈值进行比较,比较出用户按压动作对应的上述压力大于或等于第一预设压力阈值后,上述终端确定用户需要拍照服务,控制终端的摄像头聚焦,并将聚焦的图像显示在终端的显示屏幕所展示的拍照功能界面中,该拍照功能界面还可以显示终端在拍照工作模式先的一些提示信息,例如,终端在拍照功能界面中显示“短按按键为单次拍照”、“长按按键为连续拍照”等提示信息。当然,该拍照功能界面也可以包括拍照的场景设置菜单、当前摄像头聚焦的画面、闪光灯是否开启等设置信息。Further optionally, in the embodiment of the present invention, if the pressure in the above step S206 is greater than or equal to the first preset pressure threshold, the terminal controls the camera of the terminal to focus, and the specific implementation manner of displaying the camera function interface on the display screen of the terminal can be It includes: the terminal compares the acquired pressure with the first preset pressure threshold through step S205, and after comparing the above-mentioned pressure corresponding to the user's pressing action is greater than or equal to the first preset pressure threshold, the above-mentioned terminal determines that the user needs to take pictures, and controls the terminal The camera focuses and displays the focused image on the camera function interface displayed on the display screen of the terminal. The camera function interface can also display some prompt information of the terminal in the camera mode. For example, the terminal displays in the camera function interface Prompt information such as "short press the button to take a single photo", "long press the button to take a continuous photo". Certainly, the photographing function interface may also include setting information such as a photographing scene setting menu, a picture currently focused on by the camera, whether the flash is turned on, or the like.
进一步可选地,本发明实施例中,上述步骤S207终端获取按压动作的第一持续时间的具体实施方式可以包括:终端通过上述步骤S206显示拍照功能界面后,该终端进一步获取上述用户按压按键的按压动作对应的第一持续时间,该第一持续时间是用户开启摄像头后,再次按压按键时,从接触按键到松开按键按压动作对应的时长。Further optionally, in the embodiment of the present invention, the specific implementation method for the terminal to obtain the first duration of the pressing action in the above step S207 may include: after the terminal displays the camera function interface in the above step S206, the terminal further obtains the time of the user pressing the button The first duration corresponding to the pressing action, the first duration is the time period corresponding to the pressing action from touching the key to releasing the key when the user presses the key again after turning on the camera.
进一步可选地,本发明实施例中,上述步骤S208终端将第一持续时间与第一预设时间阈值进行比较的具体实施方式可以包括:终端根据上述步骤S207获取的第一持续时间,将该第一持续时间与第一预设时间阈值进行比较。Further optionally, in the embodiment of the present invention, the specific implementation manner in which the terminal compares the first duration with the first preset time threshold in the above step S208 may include: according to the first duration acquired by the terminal in the above step S207, the The first duration is compared with a first preset time threshold.
进一步可选地,本发明实施例中,上述步骤S209比较出第一持续时间小于第一预设时间阈值,则终端控制摄像头进行单次相片拍摄的具体实施方式可以包括:终端比较出第一持续时间小于第一预设时间阈值,则控制摄像头进行单次相片拍摄,上述第一预设时间阈值的取值一般不超过3s,终端在进行单次相片拍摄时,可以按照用户预先设置的单次拍照模式进行拍照,其中,终端可以在终端进行单次照片拍摄时,根据环境光强控制闪光灯的开启和关闭,例如,当环境光强小于预设环境光强时,则终端在单次相片拍摄的同时开启闪光灯,并在预设时间后关闭,保证拍照质量。Further optionally, in the embodiment of the present invention, if the above-mentioned step S209 compares that the first duration is less than the first preset time threshold, the specific implementation manner for the terminal to control the camera to take a single photo may include: the terminal compares the first duration If the time is less than the first preset time threshold, the camera is controlled to take a single photo. The value of the first preset time threshold generally does not exceed 3s. Photo mode to take pictures, wherein the terminal can control the flashlight on and off according to the ambient light intensity when the terminal takes a single photo shoot, for example, when the ambient light intensity is less than the preset ambient light intensity, the terminal takes a single photo Turn on the flash at the same time, and turn off after the preset time to ensure the quality of the photo.
本发明实施例通过获取用户按压设置于终端的背板上的按键的按压动作对应的压力;将压力与第一预设压力阈值进行比较;比较出压力大于或等于第一预设压力阈值,则终端控制终端的摄像头聚焦,在终端的显示屏幕上显示拍照功能界面。实施本发明实施例,能够根据用户按压设置在终端的背板上的按键的压力控制摄像头聚焦,提高终端拍照的稳定性和准确率。In the embodiment of the present invention, the pressure corresponding to the pressing action of the user pressing the key set on the back panel of the terminal is obtained; the pressure is compared with the first preset pressure threshold; if the pressure is greater than or equal to the first preset pressure threshold, then The terminal controls the camera of the terminal to focus, and displays the camera function interface on the display screen of the terminal. By implementing the embodiments of the present invention, the focus of the camera can be controlled according to the pressure that the user presses on the buttons arranged on the back panel of the terminal, and the stability and accuracy of taking pictures of the terminal can be improved.
请参阅图2b,图2b为本发明公开的一种拍照实现方法的第三实施例的流程示意图。如图2b所示,本实施例闹钟实现方法可以包括以下步骤:Please refer to FIG. 2b. FIG. 2b is a schematic flowchart of a third embodiment of a method for taking pictures disclosed in the present invention. As shown in Figure 2b, the method for realizing the alarm clock in this embodiment may include the following steps:
步骤S301,终端获取穿戴式设备发送的摄像头开启控制指令,并基于摄像头开启控制指令开启摄像头。In step S301, the terminal acquires a camera opening control instruction sent by a wearable device, and turns on the camera based on the camera opening control instruction.
步骤S302,终端获取用户按压设置于终端的背板上的按键的按压动作对应的压力。In step S302, the terminal acquires the pressure corresponding to the user's pressing action of pressing the button arranged on the back panel of the terminal.
步骤S303,终端将压力与第一预设压力阈值进行比较。Step S303, the terminal compares the pressure with a first preset pressure threshold.
步骤S304,比较出压力大于或等于第一预设压力阈值,则终端控制终端的摄像头聚焦,在终端的显示屏幕上显示拍照功能界面。Step S304, if the pressure is greater than or equal to the first preset pressure threshold, the terminal controls the camera of the terminal to focus, and displays the camera function interface on the display screen of the terminal.
步骤S305,终端获取按压动作的第一持续时间。Step S305, the terminal obtains the first duration of the pressing action.
步骤S306,终端将第一持续时间与第一预设时间阈值进行比较。Step S306, the terminal compares the first duration with a first preset time threshold.
步骤S307,比较出第一持续时间小于第一预设时间阈值,则终端控制摄像头进行单次相片拍摄。In step S307, if the comparison shows that the first duration is less than the first preset time threshold, the terminal controls the camera to take a single photo.
本发明实施例中,上述摄像头包括安装在终端的背板上的后置摄像头或安装在终端的面板上的前置摄像头,上述终端可以包括但不限于:移动设备、平板电脑、可穿戴设备,等等,上述终端均设置有显示屏和触控屏,终端能够将与摄像头功能相关的用户交互界面(如拍照功能界面、录像功能界面)显示在上述显示屏上,上述终端背板上的按键中内置压力传感器,该压力传感器连接信号处理电路,终端可以通过上述压力传感器和信号处理电路检测用户按压按键时的压力的数值。In the embodiment of the present invention, the aforementioned camera includes a rear camera installed on the back panel of the terminal or a front camera installed on the panel of the terminal, and the aforementioned terminal may include but not limited to: mobile devices, tablet computers, wearable devices, etc., the above-mentioned terminals are all provided with a display screen and a touch screen, and the terminal can display user interaction interfaces related to the camera function (such as a camera function interface and a video recording function interface) on the above-mentioned display screen, and the buttons on the back panel of the above-mentioned terminal A built-in pressure sensor is connected to the signal processing circuit, and the terminal can detect the pressure value when the user presses the button through the above pressure sensor and signal processing circuit.
进一步可选地,本发明实施例中,上述步骤S301终端获取穿戴式设备发送的摄像头开启控制指令,并基于摄像头开启控制指令开启摄像头的具体实施方式可以包括:终端接收用户通过穿戴式设备发送的摄像头开启控制指令,并基于该摄像头开启控制指令开启摄像头。上述穿戴式设备可以包括但不限于:智能手表、智能手环、智能鞋、智能衣服,等等。Further optionally, in the embodiment of the present invention, the terminal obtains the camera opening control instruction sent by the wearable device in the above step S301, and the specific implementation manner of turning on the camera based on the camera opening control instruction may include: the terminal receives the user's information sent by the wearable device A camera opening control instruction, and the camera is turned on based on the camera opening control instruction. The aforementioned wearable devices may include, but are not limited to: smart watches, smart bracelets, smart shoes, smart clothes, and so on.
进一步可选地,本发明实施例中,上述步骤S302至步骤S307与本发明第二实施例中的步骤S204至步骤S209相同,本实施例不再赘述。Further optionally, in this embodiment of the present invention, the foregoing steps S302 to S307 are the same as steps S204 to S209 in the second embodiment of the present invention, and details are not repeated in this embodiment.
本发明实施例通过获取用户按压设置于终端的背板上的按键的按压动作对应的压力;将压力与第一预设压力阈值进行比较;比较出压力大于或等于第一预设压力阈值,则终端控制终端的摄像头聚焦,在终端的显示屏幕上显示拍照功能界面。实施本发明实施例,能够根据用户按压设置在终端的背板上的按键的压力控制摄像头聚焦,提高终端拍照的稳定性和准确率。In the embodiment of the present invention, the pressure corresponding to the pressing action of the user pressing the key set on the back panel of the terminal is obtained; the pressure is compared with the first preset pressure threshold; if the pressure is greater than or equal to the first preset pressure threshold, then The terminal controls the camera of the terminal to focus, and displays the camera function interface on the display screen of the terminal. By implementing the embodiments of the present invention, the focus of the camera can be controlled according to the pressure that the user presses on the buttons arranged on the back panel of the terminal, and the stability and accuracy of taking pictures of the terminal can be improved.
请参阅图2c,图2c为本发明公开的一种拍照实现方法的第四实施例的流程示意图。如图2c所示,本实施例闹钟实现方法可以包括以下步骤:Please refer to FIG. 2c. FIG. 2c is a schematic flowchart of a fourth embodiment of a method for taking pictures disclosed in the present invention. As shown in Figure 2c, the method for realizing the alarm clock in this embodiment may include the following steps:
步骤S401,终端获取用户按压设置于终端的背板上的按键的按压动作对应的压力。In step S401, the terminal obtains the pressure corresponding to the user's pressing action of pressing a key arranged on the back panel of the terminal.
步骤S402,终端将压力与第一预设压力阈值进行比较。Step S402, the terminal compares the pressure with a first preset pressure threshold.
步骤S403,若比较出压力大于或等于第一预设压力阈值,则终端控制终端的摄像头聚焦,在终端的显示屏幕上显示拍照功能界面。Step S403, if the comparison shows that the pressure is greater than or equal to the first preset pressure threshold, the terminal controls the camera of the terminal to focus, and displays the camera function interface on the display screen of the terminal.
步骤S404,终端获取按压动作的第一持续时间。Step S404, the terminal acquires the first duration of the pressing action.
步骤S405,终端将第一持续时间与第一预设时间阈值进行比较。Step S405, the terminal compares the first duration with a first preset time threshold.
步骤S406,比较出第一持续时间大于或等于第一预设时间阈值,则终端控制摄像头进行连续拍照。Step S406, after comparing the first duration is greater than or equal to the first preset time threshold, then the terminal controls the camera to take pictures continuously.
本发明实施例中,上述摄像头包括安装在终端的背板上的后置摄像头或安装在终端的面板上的前置摄像头,上述终端可以包括但不限于:移动设备、平板电脑、可穿戴设备,等等,上述终端均设置有显示屏和触控屏,终端能够将与摄像头功能相关的用户交互界面(如拍照功能界面、录像功能界面)显示在上述显示屏上,上述终端背板上的按键中内置压力传感器,该压力传感器连接信号处理电路,终端可以通过上述压力传感器和信号处理电路检测用户按压按键时的压力的数值。In the embodiment of the present invention, the aforementioned camera includes a rear camera installed on the back panel of the terminal or a front camera installed on the panel of the terminal, and the aforementioned terminal may include but not limited to: mobile devices, tablet computers, wearable devices, etc., the above-mentioned terminals are all provided with a display screen and a touch screen, and the terminal can display user interaction interfaces related to the camera function (such as a camera function interface and a video recording function interface) on the above-mentioned display screen, and the buttons on the back panel of the above-mentioned terminal A built-in pressure sensor is connected to the signal processing circuit, and the terminal can detect the pressure value when the user presses the button through the above pressure sensor and signal processing circuit.
进一步可选地,本发明实施例中,上述步骤S401至步骤S405与本发明第三实施例中的步骤S302至步骤S306相同,本实施例不再赘述。Further optionally, in the embodiment of the present invention, the foregoing steps S401 to S405 are the same as steps S302 to S306 in the third embodiment of the present invention, and details are not repeated in this embodiment.
进一步可选地,本发明实施例中,上述步骤S406比较出第一持续时间大于或等于第一预设时间阈值,则终端控制摄像头进行连续拍照的具体实施方式可以包括:终端比较出第一持续时间大于或等于第一预设时间阈值后,控制摄像头进行连续拍照,连续拍照的时间可以预先设定为固定时长,如联系拍照2s,或者根据用户按压按键的按压动作进行连续拍照。Further optionally, in the embodiment of the present invention, if the above step S406 compares that the first duration is greater than or equal to the first preset time threshold, the specific implementation manner for the terminal to control the camera to take continuous pictures may include: the terminal compares the first duration After the time is greater than or equal to the first preset time threshold, the camera is controlled to take continuous pictures. The time for continuous pictures can be preset to a fixed duration, such as 2s for contact pictures, or to take continuous pictures according to the pressing action of the user pressing the button.
本发明实施例通过获取用户按压设置于终端的背板上的按键的按压动作对应的压力;将压力与第一预设压力阈值进行比较;比较出压力大于或等于第一预设压力阈值,则终端控制终端的摄像头聚焦,在终端的显示屏幕上显示拍照功能界面。实施本发明实施例,能够根据用户按压设置在终端的背板上的按键的压力控制摄像头聚焦,提高终端拍照的稳定性和准确率。In the embodiment of the present invention, the pressure corresponding to the pressing action of the user pressing the key set on the back panel of the terminal is obtained; the pressure is compared with the first preset pressure threshold; if the pressure is greater than or equal to the first preset pressure threshold, then The terminal controls the camera of the terminal to focus, and displays the camera function interface on the display screen of the terminal. By implementing the embodiments of the present invention, the focus of the camera can be controlled according to the pressure that the user presses on the buttons arranged on the back panel of the terminal, and the stability and accuracy of taking pictures of the terminal can be improved.
请参阅图2d,图2d为本发明公开的一种拍照实现方法的第五实施例的流程示意图。如图2d所示,本实施例闹钟实现方法可以包括以下步骤:Please refer to FIG. 2d . FIG. 2d is a schematic flowchart of a fifth embodiment of a method for taking pictures disclosed in the present invention. As shown in Figure 2d, the method for realizing the alarm clock in this embodiment may include the following steps:
步骤S501,终端获取用户按压设置于终端的背板上的按键的按压动作对应的压力。In step S501, the terminal acquires the pressure corresponding to the user's pressing action of pressing a button arranged on the back panel of the terminal.
步骤S502,终端将压力与第一预设压力阈值进行比较。Step S502, the terminal compares the pressure with a first preset pressure threshold.
步骤S503,比较出压力小于第一预设压力阈值,则终端控制摄像头聚焦,在终端的显示屏幕上显示录像功能界面。Step S503, if the pressure is found to be lower than the first preset pressure threshold, the terminal controls the camera to focus, and displays a video recording function interface on the display screen of the terminal.
步骤S504,终端通过光敏元件获取环境光强。Step S504, the terminal obtains the ambient light intensity through the photosensitive element.
步骤S505,终端将环境光强与预设光强阈值进行比较。Step S505, the terminal compares the ambient light intensity with a preset light intensity threshold.
步骤S506,比较出环境光强小于预设光强阈值,则终端开启闪光灯。Step S506, comparing the ambient light intensity is less than the preset light intensity threshold, then the terminal turns on the flashlight.
本发明实施例中,上述摄像头包括安装在终端的背板上的后置摄像头或安装在终端的面板上的前置摄像头,上述终端可以包括但不限于:移动设备、平板电脑、可穿戴设备,等等,上述终端均设置有显示屏和触控屏,终端能够将与摄像头功能相关的用户交互界面(如拍照功能界面、录像功能界面)显示在上述显示屏上,上述终端背板上的按键中内置压力传感器,该压力传感器连接信号处理电路,终端可以通过上述压力传感器和信号处理电路检测用户按压按键时的压力的数值。In the embodiment of the present invention, the aforementioned camera includes a rear camera installed on the back panel of the terminal or a front camera installed on the panel of the terminal, and the aforementioned terminal may include but not limited to: mobile devices, tablet computers, wearable devices, etc., the above-mentioned terminals are all provided with a display screen and a touch screen, and the terminal can display user interaction interfaces related to the camera function (such as a camera function interface and a video recording function interface) on the above-mentioned display screen, and the buttons on the back panel of the above-mentioned terminal A built-in pressure sensor is connected to the signal processing circuit, and the terminal can detect the pressure value when the user presses the button through the above pressure sensor and signal processing circuit.
进一步可选地,本发明实施例中,上述步骤S501至步骤S502与第四实施例中的步骤S401至步骤S402相同,此处不再赘述。Further optionally, in this embodiment of the present invention, the foregoing steps S501 to S502 are the same as steps S401 to S402 in the fourth embodiment, and details are not repeated here.
进一步可选地,本发明实施例中,上述步骤S503比较出压力小于第一预设压力阈值,则终端控制摄像头聚焦,在终端的显示屏幕上显示录像功能界面的具体实施方式可以包括:终端比较出压力小于第一预设压力阈值,控制摄像头聚焦,在终端的显示屏幕上显示录像功能界面,该录像功能界面用于输出显示摄像头当前获取的图像。Further optionally, in the embodiment of the present invention, if the pressure in the above step S503 is compared to be less than the first preset pressure threshold, the terminal controls the camera to focus, and the specific implementation manner of displaying the video recording function interface on the display screen of the terminal may include: terminal comparison When the output pressure is less than the first preset pressure threshold, the camera is controlled to focus, and the video recording function interface is displayed on the display screen of the terminal, and the video recording function interface is used to output and display the image currently acquired by the camera.
进一步可选地,本发明实施例中,上述步骤S504终端通过光敏元件获取环境光强的具体实施方式可以包括:终端通过光敏元件及终端的主电路板上的与该光敏元件电连接的第一信号处理电路,获取当前环境光强。Further optionally, in the embodiment of the present invention, the above step S504 that the terminal obtains the ambient light intensity through the photosensitive element may include: the terminal passes through the photosensitive element and the first device electrically connected to the photosensitive element on the main circuit board of the terminal The signal processing circuit obtains the current ambient light intensity.
进一步可选地,本发明实施例中,上述步骤S505终端将环境光强与预设光强阈值进行比较,及上述步骤S506比较出环境光强小于预设光强阈值,则终端开启闪光灯的具体实施方式可以包括:终端通过步骤S504获取当前环境光强后,将该环境光强与预设光强阈值进行比较,比较出该环境光强小于预设光强阈值后,开启闪光灯。Further optionally, in the embodiment of the present invention, the terminal compares the ambient light intensity with the preset light intensity threshold in the above step S505, and if the ambient light intensity is less than the preset light intensity threshold in the above step S506, the terminal turns on the flashlight. The implementation manner may include: after the terminal acquires the current ambient light intensity in step S504, comparing the ambient light intensity with a preset light intensity threshold, and turning on the flash after comparing the ambient light intensity is less than the preset light intensity threshold.
本发明实施例通过获取用户按压设置于终端的背板上的按键的按压动作对应的压力;将压力与第一预设压力阈值进行比较;比较出压力大于或等于第一预设压力阈值,则终端控制终端的摄像头聚焦,在终端的显示屏幕上显示拍照功能界面。实施本发明实施例,能够根据用户按压设置在终端的背板上的按键的压力控制摄像头聚焦,提高终端拍照的稳定性和准确率。In the embodiment of the present invention, the pressure corresponding to the pressing action of the user pressing the key set on the back panel of the terminal is obtained; the pressure is compared with the first preset pressure threshold; if the pressure is greater than or equal to the first preset pressure threshold, then The terminal controls the camera of the terminal to focus, and displays the camera function interface on the display screen of the terminal. By implementing the embodiments of the present invention, the focus of the camera can be controlled according to the pressure that the user presses on the buttons arranged on the back panel of the terminal, and the stability and accuracy of taking pictures of the terminal can be improved.
请参阅图2e,图2e为本发明公开的一种拍照实现方法的第六实施例的流程示意图。如图2e所示,本实施例闹钟实现方法可以包括以下步骤:Please refer to FIG. 2e . FIG. 2e is a schematic flowchart of a sixth embodiment of a method for taking pictures disclosed in the present invention. As shown in Figure 2e, the method for realizing the alarm clock in this embodiment may include the following steps:
步骤S601,终端获取用户按压设置于终端的背板上的按键的按压动作对应的压力;Step S601, the terminal acquires the pressure corresponding to the pressing action of the user pressing the button set on the back panel of the terminal;
步骤S602,终端将压力与第一预设压力阈值进行比较;Step S602, the terminal compares the pressure with a first preset pressure threshold;
步骤S603,若比较出压力大于或等于第一预设压力阈值,则终端控制终端的摄像头聚焦,在终端的显示屏幕上显示拍照功能界面。Step S603, if the comparison shows that the pressure is greater than or equal to the first preset pressure threshold, the terminal controls the camera of the terminal to focus, and displays the camera function interface on the display screen of the terminal.
步骤S604,终端获取用户连续多次按压按键的动作时长。In step S604, the terminal acquires the action duration of the user pressing the button multiple times in succession.
步骤S605,终端将动作时长与第三预设时间阈值进行比较。Step S605, the terminal compares the action duration with a third preset time threshold.
步骤S606,比较出动作时长小于第三预设时间阈值,则终端关闭摄像头。Step S606, if it is compared that the action duration is less than the third preset time threshold, then the terminal turns off the camera.
本发明实施例中,上述摄像头包括安装在终端的背板上的后置摄像头或安装在终端的面板上的前置摄像头,上述终端可以包括但不限于:移动设备、平板电脑、可穿戴设备,等等,上述终端均设置有显示屏和触控屏,终端能够将与摄像头功能相关的用户交互界面(如拍照功能界面、录像功能界面)显示在上述显示屏上,上述终端背板上的按键中内置压力传感器,该压力传感器连接信号处理电路,终端可以通过上述压力传感器和信号处理电路检测用户按压按键时的压力的数值。In the embodiment of the present invention, the aforementioned camera includes a rear camera installed on the back panel of the terminal or a front camera installed on the panel of the terminal, and the aforementioned terminal may include but not limited to: mobile devices, tablet computers, wearable devices, etc., the above-mentioned terminals are all provided with a display screen and a touch screen, and the terminal can display user interaction interfaces related to the camera function (such as a camera function interface and a video recording function interface) on the above-mentioned display screen, and the buttons on the back panel of the above-mentioned terminal A built-in pressure sensor is connected to the signal processing circuit, and the terminal can detect the pressure value when the user presses the button through the above pressure sensor and signal processing circuit.
进一步可选地,本发明实施例中,上述步骤S601至步骤S603与第一实施例中的步骤S101至步骤S103相同,此处不再赘述。Further optionally, in this embodiment of the present invention, the foregoing steps S601 to S603 are the same as steps S101 to S103 in the first embodiment, and details are not repeated here.
进一步可选地,本发明实施例中,上述步骤S604终端获取用户连续多次按压按键的动作时长的具体实施方式可以包括:终端获取用户连续多次按压按键的动作的时长,该连续按压动作的持续时间一般较短,如1秒内按压按键2次,或2秒内按压按键次。终端也可以获取用户按压按键的频率,如1秒内按压2次,则确定频率为2次/秒。Further optionally, in the embodiment of the present invention, the specific implementation manner in which the terminal obtains the duration of the user's multiple consecutive presses of the button in the above step S604 may include: the terminal obtains the duration of the user's continuous multiple presses of the button, and the duration of the continuous presses The duration is generally short, such as pressing the button twice within 1 second, or pressing the button once within 2 seconds. The terminal may also obtain the frequency at which the user presses the button, for example, if the user presses the button twice within 1 second, then the determined frequency is 2 times/second.
进一步可选地,本发明实施例中,上述步骤S605终端将动作时长与第三预设时间阈值进行比较的具体实施方式可以包括:终端将上述步骤S604获取的动作时长与第三预设时间阈值进行比较,该第三预设时间阈值可以由终端设备生产商预先存储在终端的存储器中,例如设置该第三预设阈值为1s,该1秒对应用户至少按压按键2次,或者设置该第三预设阈值为2秒,该2秒对应用户至少按压按键3次或4次。Further optionally, in the embodiment of the present invention, the specific implementation manner in which the terminal compares the action duration with the third preset time threshold in the above step S605 may include: the terminal compares the action duration obtained in the above step S604 with the third preset time threshold For comparison, the third preset time threshold may be pre-stored in the terminal memory by the terminal equipment manufacturer, for example, the third preset threshold is set to 1s, and the 1 second corresponds to the user pressing the button at least twice, or the second The three preset thresholds are 2 seconds, and the 2 seconds correspond to the user pressing the button at least 3 times or 4 times.
进一步可选地,本发明实施例中,上述步骤S606比较出动作时长小于第三预设时间阈值,则终端关闭摄像头的具体实施方式可以包括:终端比较出动作时长小于第三预设时间阈值,关闭摄像头;此外,终端也可以根据用户按压按键的频率,将该频率与预设频率阈值进行比较,例如终端获取2秒内用户按压按键的次数为3次,计算出频率为1.5次/秒,预设频率阈值为0.8次/秒,由于1.5>0.8,终端根据上述对比结果,控制摄像头关闭。Further optionally, in the embodiment of the present invention, if the above-mentioned step S606 compares that the action duration is less than the third preset time threshold, the specific implementation manner for the terminal to turn off the camera may include: the terminal compares that the action duration is less than the third preset time threshold, Turn off the camera; in addition, the terminal can also compare the frequency with the preset frequency threshold according to the frequency of the user pressing the button. For example, the terminal obtains that the number of times the user presses the button within 2 seconds is 3 times, and the calculated frequency is 1.5 times/second. The preset frequency threshold is 0.8 times per second. Since 1.5>0.8, the terminal controls the camera to turn off according to the above comparison result.
本发明实施例通过获取用户按压设置于终端的背板上的按键的按压动作对应的压力;将压力与第一预设压力阈值进行比较;比较出压力大于或等于第一预设压力阈值,则终端控制终端的摄像头聚焦,在终端的显示屏幕上显示拍照功能界面。实施本发明实施例,能够根据用户按压设置在终端的背板上的按键的压力控制摄像头聚焦,提高终端拍照的稳定性和准确率。In the embodiment of the present invention, the pressure corresponding to the pressing action of the user pressing the key set on the back panel of the terminal is obtained; the pressure is compared with the first preset pressure threshold; if the pressure is greater than or equal to the first preset pressure threshold, then The terminal controls the camera of the terminal to focus, and displays the camera function interface on the display screen of the terminal. By implementing the embodiments of the present invention, the focus of the camera can be controlled according to the pressure that the user presses on the buttons arranged on the back panel of the terminal, and the stability and accuracy of taking pictures of the terminal can be improved.
请参阅图3,图3是本发明公开的一种终端的第一实施例的结构示意图,用于执行本发明实施例公开的拍照实现方法。本发明实施例中,终端可以包括但不限于:智能手机、PC、平板电脑、个人数字助理(Personal Digital Assistant,PAD)、媒体播放器以及可穿戴便捷式设备等。如图3所示,该终端具体可以包括:Please refer to FIG. 3 . FIG. 3 is a schematic structural diagram of a first embodiment of a terminal disclosed in the present invention, which is used to execute the method for realizing photographing disclosed in the embodiment of the present invention. In the embodiment of the present invention, the terminal may include, but is not limited to: a smart phone, a PC, a tablet computer, a personal digital assistant (Personal Digital Assistant, PAD), a media player, a wearable portable device, and the like. As shown in Figure 3, the terminal specifically may include:
获取单元301,用于获取用户按压设置于终端的背板上的按键的按压动作对应的压力。The obtaining unit 301 is configured to obtain the pressure corresponding to the pressing action of the user pressing the key arranged on the back panel of the terminal.
比较单元302,用于将压力与第一预设压力阈值进行比较。A comparing unit 302, configured to compare the pressure with a first preset pressure threshold.
控制单元303,用于比较单元比较出压力大于或等于第一预设压力阈值时,控制终端的摄像头聚焦,在终端的显示屏幕上显示拍照功能界面。The control unit 303 is configured to control the camera of the terminal to focus and display the camera function interface on the display screen of the terminal when the comparison unit compares that the pressure is greater than or equal to the first preset pressure threshold.
本发明实施例中,上述摄像头包括安装在终端的背板上的后置摄像头或安装在终端的面板上的前置摄像头,上述终端均设置有显示屏和触控屏,终端能够将与摄像头功能相关的用户交互界面(如拍照功能界面、录像功能界面)显示在上述显示屏上,上述终端背板上的按键中内置压力传感器,该压力传感器连接信号处理电路,终端可以通过上述压力传感器和信号处理电路检测用户按压按键时的压力的数值。In the embodiment of the present invention, the camera includes a rear camera installed on the back panel of the terminal or a front camera installed on the panel of the terminal. Relevant user interaction interfaces (such as camera function interface and video recording function interface) are displayed on the above-mentioned display screen, and a pressure sensor is built in the button on the back panel of the above-mentioned terminal. The processing circuit detects the value of the pressure when the user presses the key.
进一步可选地,本发明实施例中,上述获取单元301终端获取用户按压设置于终端的背板上的按键的按压动作对应的压力的具体实施方式可以包括:用户按压设置在终端的背板上的按键,获取单元301通过该按键内的压力传感器及信号处理电路检测到用户的按压动作,并通过终端的处理器计算获取用户的按压动作对应的压力值,该压力值可以是预设时间段内采样到的压力的平均值,例如,终端的信号处理电路1ms采样压力信号10次,终端的处理器根据上述10次采样压力值,计算得到1ms内的压力平均值,并将该压力平均值作为获取单元301获取的用户按压动作在上述1ms内的压力值。Further optionally, in the embodiment of the present invention, the above-mentioned acquiring unit 301 terminal acquires the pressure corresponding to the press action of the user pressing the button set on the back panel of the terminal may include: the user presses the button set on the back panel of the terminal button, the acquisition unit 301 detects the user's pressing action through the pressure sensor and signal processing circuit in the key, and calculates and acquires the pressure value corresponding to the user's pressing action through the processor of the terminal. The pressure value can be a preset time period For example, the signal processing circuit of the terminal samples the pressure signal 10 times in 1 ms, and the processor of the terminal calculates the average pressure value within 1 ms based on the above 10 sampled pressure values, and calculates the average value of the pressure It is used as the pressure value of the user's pressing action acquired by the acquiring unit 301 within the aforementioned 1 ms.
进一步可选地,本发明实施例中,上述比较单元302将压力与第一预设压力阈值进行比较的具体实施方式可以包括:比较单元302通过上述获取单元301获取用户按压动作的压力后,将该压力与第一预设压力阈值进行比较,该第一预设压力阈值用于终端安装的摄像头的拍照功能和摄像功能两种工作模式的切换,该第一预设压力阈值可以由终端设备生产商预先录入终端的存储器中,也可以由用户预先进行设置,但该第一预设压力阈值应不小于人手稳定握持物体时候手指对该物体的压力,从而保证用户“用力”按压终端的按键模块进行拍照,例如,设置上述第一预设压力阈值为2N。进一步地,考虑到用户的差异化,该终端也可以根据用户的历史握持数据和拍照的成像质量智能的调整该第一预设压力阈值,上述拍照的成像质量可以通过用户的图片分享记录、删除记录来判断,例如,终端检测到图片1被用户分享了3次,而图片2直接被用户删除,则终端可以确认图片1的成像质量较高,图片2的成像质量较低。终端可以获取成像质量较高的图片对应的用户按压动作的历史压力记录,并根据该历史压力记录计算第一预设压力阈值,实现智能调整第一预设压力阈值。Further optionally, in the embodiment of the present invention, the specific implementation manner in which the comparison unit 302 compares the pressure with the first preset pressure threshold may include: after the comparison unit 302 acquires the pressure of the user's pressing action through the acquisition unit 301, The pressure is compared with the first preset pressure threshold, the first preset pressure threshold is used to switch between the camera function and camera function of the camera installed on the terminal, and the first preset pressure threshold can be produced by the terminal device The quotient can be pre-entered into the memory of the terminal, and can also be pre-set by the user, but the first preset pressure threshold should not be less than the pressure of the finger on the object when the object is stably held by the human hand, so as to ensure that the user presses the terminal's key "forcibly". The module takes pictures, for example, setting the above-mentioned first preset pressure threshold to 2N. Further, taking into account the differences of users, the terminal can also intelligently adjust the first preset pressure threshold according to the user's historical grip data and the imaging quality of the photos. The imaging quality of the photos can be recorded through the user's picture sharing, For example, if the terminal detects that picture 1 has been shared 3 times by the user, and picture 2 is directly deleted by the user, the terminal can confirm that the image quality of picture 1 is higher and the image quality of picture 2 is lower. The terminal can obtain the historical pressure record of the user's pressing action corresponding to the picture with high imaging quality, and calculate the first preset pressure threshold according to the historical pressure record, so as to realize intelligent adjustment of the first preset pressure threshold.
进一步可选地,本发明实施例中,上述控制单元303在上述比较单元302比较出压力大于或等于第一预设压力阈值后,则控制终端的摄像头聚焦,并在终端的显示屏幕上显示拍照功能界面的具体实施方式可以包括:上述比较单元302将获取的压力与第一预设压力阈值进行比较,比较出用户按压动作对应的上述压力大于或等于第一预设压力阈值后,上述控制单元303确定用户需要拍照服务,控制终端的摄像头聚焦,并将聚焦的图像显示在终端的显示屏幕所展示的拍照功能界面中,该拍照功能界面还可以显示终端在拍照工作模式先的一些提示信息,例如,终端在拍照功能界面中显示“短按按键为单次拍照”、“长按按键为连续拍照”等提示信息。当然,该拍照功能界面也可以包括拍照的场景设置菜单、当前摄像头聚焦的画面、闪光灯是否开启等设置信息。Further optionally, in the embodiment of the present invention, after the comparison unit 302 finds that the pressure is greater than or equal to the first preset pressure threshold, the control unit 303 controls the camera of the terminal to focus, and displays the picture taken on the display screen of the terminal. The specific implementation of the functional interface may include: the comparison unit 302 compares the acquired pressure with the first preset pressure threshold, and after comparing the above-mentioned pressure corresponding to the user's pressing action is greater than or equal to the first preset pressure threshold, the above-mentioned control unit 303 Determine that the user needs a photo service, control the terminal's camera to focus, and display the focused image on the camera function interface displayed on the display screen of the terminal. The camera function interface can also display some prompt information when the terminal is in the camera mode, For example, the terminal displays prompt information such as "short press the button to take a single photo" and "long press the button to take continuous photos" in the camera function interface. Certainly, the photographing function interface may also include setting information such as a photographing scene setting menu, a picture currently focused on by the camera, whether the flash is turned on, or the like.
本发明实施例通过获取用户按压设置于终端的背板上的按键的按压动作对应的压力;将压力与第一预设压力阈值进行比较;比较出压力大于或等于第一预设压力阈值,则终端控制终端的摄像头聚焦,在终端的显示屏幕上显示拍照功能界面。实施本发明实施例,能够根据用户按压设置在终端的背板上的按键的压力控制摄像头聚焦,提高终端拍照的稳定性和准确率。In the embodiment of the present invention, the pressure corresponding to the pressing action of the user pressing the key set on the back panel of the terminal is obtained; the pressure is compared with the first preset pressure threshold; if the pressure is greater than or equal to the first preset pressure threshold, then The terminal controls the camera of the terminal to focus, and displays the camera function interface on the display screen of the terminal. By implementing the embodiments of the present invention, the focus of the camera can be controlled according to the pressure that the user presses on the buttons arranged on the back panel of the terminal, and the stability and accuracy of taking pictures of the terminal can be improved.
请参阅图4a,图4a是本发明公开的一种终端的第二实施例的结构示意图,用于执行本发明实施例公开的拍照实现方法。本发明实施例中,终端可以包括但不限于:智能手机、PC、平板电脑、个人数字助理(Personal Digital Assistant,PAD)、媒体播放器以及可穿戴便捷式设备等。如图4a所示,该终端具体可以包括:Please refer to FIG. 4a. FIG. 4a is a schematic structural diagram of a second embodiment of a terminal disclosed in the present invention, which is used to execute the method for realizing photographing disclosed in the embodiment of the present invention. In the embodiment of the present invention, the terminal may include, but is not limited to: a smart phone, a PC, a tablet computer, a personal digital assistant (Personal Digital Assistant, PAD), a media player, a wearable portable device, and the like. As shown in Figure 4a, the terminal specifically may include:
接收单元401,用于通过按键内置的指纹识别传感器接收用户指纹信息。The receiving unit 401 is configured to receive user fingerprint information through a fingerprint recognition sensor built in the key.
第四比较单元402,用于将用户指纹信息与模板库中预先录入的指纹信息进行比较。The fourth comparison unit 402 is configured to compare the user fingerprint information with the fingerprint information pre-registered in the template library.
开启单元403,用于比较出用户指纹信息与模板库中预先录入的指纹信息一致时,开启摄像头。The opening unit 403 is used to open the camera when it is compared that the user fingerprint information is consistent with the pre-registered fingerprint information in the template library.
获取单元301,用于获取用户按压设置于终端的背板上的按键的按压动作对应的压力。The obtaining unit 301 is configured to obtain the pressure corresponding to the pressing action of the user pressing the key arranged on the back panel of the terminal.
比较单元302,用于将压力与第一预设压力阈值进行比较。A comparing unit 302, configured to compare the pressure with a first preset pressure threshold.
控制单元303,用于比较单元比较出压力大于或等于第一预设压力阈值时,控制终端的摄像头聚焦,在终端的显示屏幕上显示拍照功能界面。The control unit 303 is configured to control the camera of the terminal to focus and display the camera function interface on the display screen of the terminal when the comparison unit compares that the pressure is greater than or equal to the first preset pressure threshold.
第一获取单元404,用于获取按压动作的第一持续时间。The first acquiring unit 404 is configured to acquire a first duration of the pressing action.
第一比较单元405,用于将第一持续时间与第一预设时间阈值进行比较。The first comparison unit 405 is configured to compare the first duration with a first preset time threshold.
第一控制单元406,用于第一比较单元比较出第一持续时间小于第一预设时间阈值时,控制摄像头进行单次相片拍摄。The first control unit 406 is configured to control the camera to take a single photo when the first comparison unit finds that the first duration is less than a first preset time threshold.
本发明实施例中,上述摄像头包括安装在终端的背板上的后置摄像头或安装在终端的面板上的前置摄像头,上述终端均设置有显示屏和触控屏,终端能够将与摄像头功能相关的用户交互界面(如拍照功能界面、录像功能界面)显示在上述显示屏上,上述终端背板上的按键中内置压力传感器,该压力传感器连接信号处理电路,终端可以通过上述压力传感器和信号处理电路检测用户按压按键时的压力的数值。In the embodiment of the present invention, the camera includes a rear camera installed on the back panel of the terminal or a front camera installed on the panel of the terminal. Relevant user interaction interfaces (such as camera function interface and video recording function interface) are displayed on the above-mentioned display screen, and a pressure sensor is built in the button on the back panel of the above-mentioned terminal. The processing circuit detects the value of the pressure when the user presses the key.
进一步可选地,本发明实施例中,上述接收单元401通过按键内置的指纹识别传感器接收用户指纹信息的具体实施方式可以包括:上述用户指纹信息可以包括用户的手指的指纹图像,上述接收单元401通过电容式传感器、光感式传感器或其他能够感测手指指纹的传感器及连接传感器的信号处理电路,形成用户手指的原始指纹图像,还可以进一步通过模式识别算法对用户手指的原始指纹图像进行图像增强,计算方向图,二值化处理,得到增强指纹图像。Further optionally, in the embodiment of the present invention, the specific implementation manner in which the receiving unit 401 receives the user fingerprint information through the fingerprint recognition sensor built in the button may include: the user fingerprint information may include a fingerprint image of the user's finger, and the receiving unit 401 The original fingerprint image of the user's finger is formed through a capacitive sensor, a photosensitive sensor or other sensors capable of sensing finger fingerprints and a signal processing circuit connected to the sensor, and the original fingerprint image of the user's finger can be further imaged by a pattern recognition algorithm Enhance, calculate the orientation map, binarize, and obtain the enhanced fingerprint image.
进一步可选地,本发明实施例中,上述第四比较单元402将用户指纹信息与模板库中预先录入的指纹信息进行比较的具体实施方式可以包括:终端的上述接收单元401获取用户指纹信息后,上述第四比较单元402将该指纹信息与模板库中存储的指纹图像模板进行比较,具体可以计算用户指纹信息与模板库中的指纹信息的相似度。Further optionally, in the embodiment of the present invention, the specific implementation manner in which the fourth comparing unit 402 compares the user fingerprint information with the fingerprint information pre-entered in the template library may include: after the receiving unit 401 of the terminal obtains the user fingerprint information, , the fourth comparison unit 402 compares the fingerprint information with the fingerprint image templates stored in the template library, and specifically may calculate the similarity between the user fingerprint information and the fingerprint information in the template library.
进一步可选地,本发明实施例中,上述开启单元403在上述第四比较单元402比较出用户指纹信息与模板库中预先录入的指纹信息一致时,开启摄像头的具体实施方式可以包括:终端将上述第四比较单元402计算的相似度与预设相似度进行比较,如上述相似度大于或等于该预设相似度,则终端控制摄像头开启。Further optionally, in the embodiment of the present invention, when the above-mentioned opening unit 403 compares the user fingerprint information by the above-mentioned fourth comparison unit 402 to be consistent with the fingerprint information pre-entered in the template library, the specific implementation manner of opening the camera may include: the terminal will The similarity calculated by the fourth comparison unit 402 is compared with a preset similarity, and if the similarity is greater than or equal to the preset similarity, the terminal controls the camera to be turned on.
进一步可选地,本发明实施例中,上述获取单元301获取用户按压设置于终端的背板上的按键的按压动作对应的压力的具体实施方式可以包括:终端通过上述接收单元401、上述第四比较单元402及上述开启单元403识别用户的指纹开启摄像头后,终端的上述获取单元301通过该按键内的压力传感器及信号处理电路检测用户再次按压按键的按压动作,并通过终端的处理器计算获取用户的按压动作对应的压力至,该压力值可以是预设时间段内采样到的压力的平均值,例如,终端的信号处理电路1ms采样压力信号10次,终端的处理器根据上述10次采样压力值,计算得到1ms内的压力平均值,上述获取单元301获取该压力平均值,并将其作为终端用户按压动作在上述1ms内的压力值。Further optionally, in the embodiment of the present invention, the above-mentioned obtaining unit 301 obtains the specific implementation manner of the pressure corresponding to the pressing action of the user pressing the button set on the back panel of the terminal may include: the terminal uses the above-mentioned receiving unit 401, the above-mentioned fourth After the comparison unit 402 and the above-mentioned opening unit 403 identify the user's fingerprint to open the camera, the above-mentioned acquisition unit 301 of the terminal detects the pressing action of the user pressing the button again through the pressure sensor and the signal processing circuit in the button, and calculates and obtains it through the processor of the terminal. The pressure corresponding to the user's pressing action is up to, and the pressure value can be the average value of the pressure sampled within a preset period of time. For example, the signal processing circuit of the terminal samples the pressure signal 10 times in 1 ms, and the processor of the terminal samples the pressure signal 10 times according to the above 10 times of sampling. The pressure value is calculated to obtain an average pressure value within 1 ms. The acquisition unit 301 obtains the average pressure value and uses it as the pressure value of the end user's pressing action within the above 1 ms.
进一步可选地,本发明实施例中,上述比较单元302将压力与第一预设压力阈值进行比较的具体实施方式可以包括:比较单元302通过上述获取单元301获取用户按压动作的压力后,将该压力与第一预设压力阈值进行比较,该第一预设压力阈值用于终端安装的摄像头的拍照功能和摄像功能两种工作模式的切换,该第一预设压力阈值可以由终端设备生产商预先录入终端的存储器中,也可以由用户预先进行设置,但该第一预设压力阈值应不小于人手稳定握持物体时候手指对该物体的压力,从而保证用户“用力”按压终端的按键模块进行拍照,例如,设置上述第一预设压力阈值为2N。进一步地,考虑到用户的差异化,该终端也可以根据用户的历史握持数据和拍照的成像质量智能的调整该第一预设压力阈值,上述拍照的成像质量可以通过用户的图片分享记录、删除记录来判断,例如,终端检测到图片1被用户分享了3次,而图片2直接被用户删除,则终端可以确认图片1的成像质量较高,图片2的成像质量较低。终端可以获取成像质量较高的图片对应的用户按压动作的历史压力记录,并根据该历史压力记录计算第一预设压力阈值,实现智能调整第一预设压力阈值。Further optionally, in the embodiment of the present invention, the specific implementation manner in which the comparison unit 302 compares the pressure with the first preset pressure threshold may include: after the comparison unit 302 acquires the pressure of the user's pressing action through the acquisition unit 301, The pressure is compared with the first preset pressure threshold, the first preset pressure threshold is used to switch between the camera function and camera function of the camera installed on the terminal, and the first preset pressure threshold can be produced by the terminal device The quotient can be pre-entered into the memory of the terminal, and can also be pre-set by the user, but the first preset pressure threshold should not be less than the pressure of the finger on the object when the object is stably held by the human hand, so as to ensure that the user presses the terminal's key "forcibly". The module takes pictures, for example, setting the above-mentioned first preset pressure threshold to 2N. Further, taking into account the differences of users, the terminal can also intelligently adjust the first preset pressure threshold according to the user's historical grip data and the imaging quality of the photos. The imaging quality of the photos can be recorded through the user's picture sharing, For example, if the terminal detects that picture 1 has been shared 3 times by the user, and picture 2 is directly deleted by the user, the terminal can confirm that the image quality of picture 1 is higher and the image quality of picture 2 is lower. The terminal can obtain the historical pressure record of the user's pressing action corresponding to the picture with high imaging quality, and calculate the first preset pressure threshold according to the historical pressure record, so as to realize intelligent adjustment of the first preset pressure threshold.
进一步可选地,本发明实施例中,上述控制单元303在上述比较单元302比较出压力大于或等于第一预设压力阈值后,则控制终端的摄像头聚焦,并在终端的显示屏幕上显示拍照功能界面的具体实施方式可以包括:上述比较单元302将获取的压力与第一预设压力阈值进行比较,比较出用户按压动作对应的上述压力大于或等于第一预设压力阈值后,上述控制单元303确定用户需要拍照服务,控制终端的摄像头聚焦,并将聚焦的图像显示在终端的显示屏幕所展示的拍照功能界面中,该拍照功能界面还可以显示终端在拍照工作模式先的一些提示信息,例如,终端在拍照功能界面中显示“短按按键为单次拍照”、“长按按键为连续拍照”等提示信息。当然,该拍照功能界面也可以包括拍照的场景设置菜单、当前摄像头聚焦的画面、闪光灯是否开启等设置信息。Further optionally, in the embodiment of the present invention, after the comparison unit 302 finds that the pressure is greater than or equal to the first preset pressure threshold, the control unit 303 controls the camera of the terminal to focus, and displays the picture taken on the display screen of the terminal. The specific implementation of the functional interface may include: the comparison unit 302 compares the acquired pressure with the first preset pressure threshold, and after comparing the above-mentioned pressure corresponding to the user's pressing action is greater than or equal to the first preset pressure threshold, the above-mentioned control unit 303 Determine that the user needs a photo service, control the terminal's camera to focus, and display the focused image on the camera function interface displayed on the display screen of the terminal. The camera function interface can also display some prompt information when the terminal is in the camera mode, For example, the terminal displays prompt information such as "short press the button to take a single photo" and "long press the button to take continuous photos" in the camera function interface. Certainly, the photographing function interface may also include setting information such as a photographing scene setting menu, a picture currently focused on by the camera, whether the flash is turned on, or the like.
进一步可选地,本发明实施例中,上述第一获取单元404获取按压动作的第一持续时间的具体实施方式可以包括:终端的上述控制单元303显示拍照功能界面后,上述第一获取单元404进一步获取上述用户按压按键的按压动作对应的第一持续时间,该第一持续时间是用户开启摄像头后,再次按压按键时,从接触按键到松开按键按压动作对应的时长。Further optionally, in the embodiment of the present invention, the specific implementation manner for the above-mentioned first obtaining unit 404 to obtain the first duration of the pressing action may include: after the above-mentioned control unit 303 of the terminal displays the camera function interface, the above-mentioned first obtaining unit 404 The first duration corresponding to the press action of pressing the button by the user is further obtained. The first duration is the time period corresponding to the press action from touching the button to releasing the button when the user presses the button again after turning on the camera.
进一步可选地,本发明实施例中,上述第一比较单元405将第一持续时间与第一预设时间阈值进行比较的具体实施方式可以包括:上述第一比较单元405将上述第一获取单元404获取的第一持续时间与第一预设时间阈值进行比较。Further optionally, in the embodiment of the present invention, the specific implementation manner in which the first comparison unit 405 compares the first duration with the first preset time threshold may include: the first comparison unit 405 compares the first acquisition unit 404 Compare the acquired first duration with a first preset time threshold.
进一步可选地,本发明实施例中,上述第一控制单元406在第一比较单元405比较出第一持续时间小于第一预设时间阈值时,控制摄像头进行单次相片拍摄的具体实施方式可以包括:上述第一比较单元405比较出第一持续时间小于第一预设时间阈值,则上述第一控制单元406控制摄像头进行单次相片拍摄,上述第一预设时间阈值的取值一般不超过3s,终端在进行单次相片拍摄时,可以按照用户预先设置的单次拍照模式进行拍照,其中,终端可以在终端进行单次照片拍摄时,根据环境光强控制闪光灯的开启和关闭,例如,当环境光强小于预设环境光强时,则终端在单次相片拍摄的同时开启闪光灯,并在预设时间后关闭,保证拍照质量。Further optionally, in the embodiment of the present invention, when the first comparison unit 405 finds that the first duration is less than the first preset time threshold, the first control unit 406 controls the camera to take a single photo. Including: the above-mentioned first comparison unit 405 compares that the first duration is less than the first preset time threshold, then the above-mentioned first control unit 406 controls the camera to take a single photo, and the value of the above-mentioned first preset time threshold generally does not exceed 3s, when the terminal is taking a single photo, it can take a photo according to the single photo mode preset by the user, wherein the terminal can control the flash on and off according to the ambient light intensity when the terminal is taking a single photo, for example, When the ambient light intensity is less than the preset ambient light intensity, the terminal will turn on the flash when taking a single photo, and turn it off after a preset time to ensure the quality of the photo.
本发明实施例通过获取用户按压设置于终端的背板上的按键的按压动作对应的压力;将压力与第一预设压力阈值进行比较;比较出压力大于或等于第一预设压力阈值,则终端控制终端的摄像头聚焦,在终端的显示屏幕上显示拍照功能界面。实施本发明实施例,能够根据用户按压设置在终端的背板上的按键的压力控制摄像头聚焦,提高终端拍照的稳定性和准确率。In the embodiment of the present invention, the pressure corresponding to the pressing action of the user pressing the key set on the back panel of the terminal is obtained; the pressure is compared with the first preset pressure threshold; if the pressure is greater than or equal to the first preset pressure threshold, then The terminal controls the camera of the terminal to focus, and displays the camera function interface on the display screen of the terminal. By implementing the embodiments of the present invention, the focus of the camera can be controlled according to the pressure that the user presses on the buttons arranged on the back panel of the terminal, and the stability and accuracy of taking pictures of the terminal can be improved.
请参阅图4b,图4b是本发明公开的一种终端的第三实施例的结构示意图,用于执行本发明实施例公开的拍照实现方法。本发明实施例中,终端可以包括但不限于:智能手机、PC、平板电脑、个人数字助理(Personal Digital Assistant,PAD)、媒体播放器以及可穿戴便捷式设备等。如图4b所示,该终端具体可以包括:Please refer to FIG. 4b . FIG. 4b is a schematic structural diagram of a third embodiment of a terminal disclosed in the present invention, which is used to execute the method for realizing photographing disclosed in the embodiment of the present invention. In the embodiment of the present invention, the terminal may include, but is not limited to: a smart phone, a PC, a tablet computer, a personal digital assistant (Personal Digital Assistant, PAD), a media player, a wearable portable device, and the like. As shown in Figure 4b, the terminal specifically may include:
第四获取单元501,用于获取穿戴式设备发送的摄像头开启控制指令。The fourth obtaining unit 501 is configured to obtain the camera opening control instruction sent by the wearable device.
第一开启单元502,用于基于第四获取单元获取的摄像头开启控制指令,开启摄像头。The first opening unit 502 is configured to open the camera based on the camera opening control instruction obtained by the fourth obtaining unit.
获取单元301,用于获取用户按压设置于终端的背板上的按键的按压动作对应的压力。The obtaining unit 301 is configured to obtain the pressure corresponding to the pressing action of the user pressing the key arranged on the back panel of the terminal.
比较单元302,用于将压力与第一预设压力阈值进行比较。A comparing unit 302, configured to compare the pressure with a first preset pressure threshold.
控制单元303,用于比较单元比较出压力大于或等于第一预设压力阈值时,控制终端的摄像头聚焦,在终端的显示屏幕上显示拍照功能界面。The control unit 303 is configured to control the camera of the terminal to focus and display the camera function interface on the display screen of the terminal when the comparison unit compares that the pressure is greater than or equal to the first preset pressure threshold.
第一获取单元404,用于获取按压动作的第一持续时间。The first acquiring unit 404 is configured to acquire a first duration of the pressing action.
第一比较单元405,用于将第一持续时间与第一预设时间阈值进行比较。The first comparison unit 405 is configured to compare the first duration with a first preset time threshold.
第一控制单元406,用于第一比较单元比较出第一持续时间小于第一预设时间阈值时,控制摄像头进行单次相片拍摄。The first control unit 406 is configured to control the camera to take a single photo when the first comparison unit finds that the first duration is less than a first preset time threshold.
本发明实施例中,上述摄像头包括安装在终端的背板上的后置摄像头或安装在终端的面板上的前置摄像头,上述终端均设置有显示屏和触控屏,终端能够将与摄像头功能相关的用户交互界面(如拍照功能界面、录像功能界面)显示在上述显示屏上,上述终端背板上的按键中内置压力传感器,该压力传感器连接信号处理电路,终端可以通过上述压力传感器和信号处理电路检测用户按压按键时的压力的数值。In the embodiment of the present invention, the camera includes a rear camera installed on the back panel of the terminal or a front camera installed on the panel of the terminal. Relevant user interaction interfaces (such as camera function interface and video recording function interface) are displayed on the above-mentioned display screen, and a pressure sensor is built in the button on the back panel of the above-mentioned terminal. The processing circuit detects the value of the pressure when the user presses the key.
进一步可选地,本发明实施例中,上述第四获取单元501获取穿戴式设备发送的摄像头开启控制指令的具体实施方式可以包括:终端的上述第四获取单元501接收用户通过穿戴式设备发送的摄像头开启控制指令,上述穿戴式设备可以包括但不限于:智能手表、智能手环、智能鞋、智能衣服,等等。Further optionally, in the embodiment of the present invention, the above-mentioned fourth obtaining unit 501 obtains the camera turn-on control instruction sent by the wearable device. The above-mentioned wearable devices may include but not limited to: smart watches, smart bracelets, smart shoes, smart clothes, and so on.
进一步可选地,本发明实施例中,上述第一开启单元502基于第四获取单元获取的摄像头开启控制指令,开启摄像头的具体实施方式可以包括:上述第一开启单元502基于上述第四获取单元501获取的摄像头开启控制指令开启终端的摄像头。Further optionally, in the embodiment of the present invention, the above-mentioned first opening unit 502 is based on the camera opening control instruction obtained by the fourth acquisition unit. 501. The acquired camera start control command turns on the camera of the terminal.
进一步可选地,本发明实施例中,上述获取单元301、上述比较单元302、上述控制单元303、上述第一获取单元404、上述第一比较单元405及上述第一控制单元406与本发明公开的一种终端的第二实施例的结构示意图中的获取单元301、比较单元302、控制单元303、第一获取单元404、第一比较单元405及第一控制单元406相同,此处不再赘述。Further optionally, in the embodiment of the present invention, the above-mentioned acquisition unit 301, the above-mentioned comparison unit 302, the above-mentioned control unit 303, the above-mentioned first acquisition unit 404, the above-mentioned first comparison unit 405, and the above-mentioned first control unit 406 are consistent with the disclosure of the present invention The acquisition unit 301, the comparison unit 302, the control unit 303, the first acquisition unit 404, the first comparison unit 405, and the first control unit 406 in the schematic structural diagram of the second embodiment of a terminal are the same, and will not be repeated here. .
本发明实施例通过获取用户按压设置于终端的背板上的按键的按压动作对应的压力;将压力与第一预设压力阈值进行比较;比较出压力大于或等于第一预设压力阈值,则终端控制终端的摄像头聚焦,在终端的显示屏幕上显示拍照功能界面。实施本发明实施例,能够根据用户按压设置在终端的背板上的按键的压力控制摄像头聚焦,提高终端拍照的稳定性和准确率。In the embodiment of the present invention, the pressure corresponding to the pressing action of the user pressing the key set on the back panel of the terminal is obtained; the pressure is compared with the first preset pressure threshold; if the pressure is greater than or equal to the first preset pressure threshold, then The terminal controls the camera of the terminal to focus, and displays the camera function interface on the display screen of the terminal. By implementing the embodiments of the present invention, the focus of the camera can be controlled according to the pressure that the user presses on the buttons arranged on the back panel of the terminal, and the stability and accuracy of taking pictures of the terminal can be improved.
请参阅图4c,图4c是本发明公开的一种终端的第四实施例的结构示意图,用于执行本发明实施例公开的拍照实现方法。本发明实施例中,终端可以包括但不限于:智能手机、PC、平板电脑、个人数字助理(Personal Digital Assistant,PAD)、媒体播放器以及可穿戴便捷式设备等。如图4c所示,该终端具体可以包括:Please refer to FIG. 4c. FIG. 4c is a schematic structural diagram of a fourth embodiment of a terminal disclosed in the present invention, which is used to implement the method for implementing photographing disclosed in the embodiment of the present invention. In the embodiment of the present invention, the terminal may include, but is not limited to: a smart phone, a PC, a tablet computer, a personal digital assistant (Personal Digital Assistant, PAD), a media player, a wearable portable device, and the like. As shown in Figure 4c, the terminal specifically may include:
获取单元301,用于获取用户按压设置于终端的背板上的按键的按压动作对应的压力。The obtaining unit 301 is configured to obtain the pressure corresponding to the pressing action of the user pressing the key arranged on the back panel of the terminal.
比较单元302,用于将压力与第一预设压力阈值进行比较。A comparing unit 302, configured to compare the pressure with a first preset pressure threshold.
控制单元303,用于比较单元比较出压力大于或等于第一预设压力阈值时,控制终端的摄像头聚焦,在终端的显示屏幕上显示拍照功能界面。The control unit 303 is configured to control the camera of the terminal to focus and display the camera function interface on the display screen of the terminal when the comparison unit compares that the pressure is greater than or equal to the first preset pressure threshold.
第一获取单元404,用于获取按压动作的第一持续时间。The first acquiring unit 404 is configured to acquire a first duration of the pressing action.
第一比较单元405,用于将第一持续时间与第一预设时间阈值进行比较。The first comparison unit 405 is configured to compare the first duration with a first preset time threshold.
第二控制单元601,用于第一比较单元比较出第一持续时间大于或等于第一预设时间阈值时,控制摄像头进行连续拍照。The second control unit 601 is configured to control the camera to take pictures continuously when the first comparison unit finds that the first duration is greater than or equal to the first preset time threshold.
本发明实施例中,上述摄像头包括安装在终端的背板上的后置摄像头或安装在终端的面板上的前置摄像头,上述终端均设置有显示屏和触控屏,终端能够将与摄像头功能相关的用户交互界面(如拍照功能界面、录像功能界面)显示在上述显示屏上,上述终端背板上的按键中内置压力传感器,该压力传感器连接信号处理电路,终端可以通过上述压力传感器和信号处理电路检测用户按压按键时的压力的数值。In the embodiment of the present invention, the camera includes a rear camera installed on the back panel of the terminal or a front camera installed on the panel of the terminal. Relevant user interaction interfaces (such as camera function interface and video recording function interface) are displayed on the above-mentioned display screen, and a pressure sensor is built in the button on the back panel of the above-mentioned terminal. The processing circuit detects the value of the pressure when the user presses the key.
进一步可选地,本发明实施例中,上述获取单元301、上述比较单元302、上述控制单元303、上述第一获取单元404及上述第一比较单元405与本发明公开的一种终端的第二实施例的结构示意图中的获取单元301、比较单元302、控制单元303、第一获取单元404及第一比较单元405相同,此处不再赘述。Further optionally, in the embodiment of the present invention, the above-mentioned obtaining unit 301, the above-mentioned comparing unit 302, the above-mentioned control unit 303, the above-mentioned first obtaining unit 404, and the above-mentioned first comparing unit 405 are the same as the second The acquisition unit 301 , the comparison unit 302 , the control unit 303 , the first acquisition unit 404 and the first comparison unit 405 in the schematic structural diagram of the embodiment are the same, and will not be repeated here.
进一步可选地,本发明实施例中,上述第二控制单元601在上述第一比较单元405比较出第一持续时间大于或等于第一预设时间阈值时,控制摄像头进行连续拍照的具体实施方式可以包括:上述第二控制单元601在上述第一比较单元405比较出第一持续时间大于或等于第一预设时间阈值时,控制摄像头进行连续拍照,连续拍照的时间可以预先设定为固定时长,如联系拍照2s,或者根据用户按压按键的按压动作进行连续拍照。Further optionally, in the embodiment of the present invention, the second control unit 601 controls the camera to take continuous pictures when the first comparison unit 405 finds that the first duration is greater than or equal to the first preset time threshold It may include: the second control unit 601 controls the camera to take continuous pictures when the first comparison unit 405 compares that the first duration is greater than or equal to the first preset time threshold, and the time for continuous pictures can be preset as a fixed duration , such as contacting to take pictures for 2s, or taking continuous pictures according to the pressing action of the user pressing the button.
本发明实施例通过获取用户按压设置于终端的背板上的按键的按压动作对应的压力;将压力与第一预设压力阈值进行比较;比较出压力大于或等于第一预设压力阈值,则终端控制终端的摄像头聚焦,在终端的显示屏幕上显示拍照功能界面。实施本发明实施例,能够根据用户按压设置在终端的背板上的按键的压力控制摄像头聚焦,提高终端拍照的稳定性和准确率。In the embodiment of the present invention, the pressure corresponding to the pressing action of the user pressing the key set on the back panel of the terminal is obtained; the pressure is compared with the first preset pressure threshold; if the pressure is greater than or equal to the first preset pressure threshold, then The terminal controls the camera of the terminal to focus, and displays the camera function interface on the display screen of the terminal. By implementing the embodiments of the present invention, the focus of the camera can be controlled according to the pressure that the user presses on the buttons arranged on the back panel of the terminal, and the stability and accuracy of taking pictures of the terminal can be improved.
请参阅图4d,图4d是本发明公开的一种终端的第五实施例的结构示意图,用于执行本发明实施例公开的拍照实现方法。本发明实施例中,终端可以包括但不限于:智能手机、PC、平板电脑、个人数字助理(Personal Digital Assistant,PAD)、媒体播放器以及可穿戴便捷式设备等。如图4d所示,该终端具体可以包括:Please refer to FIG. 4d . FIG. 4d is a schematic structural diagram of a fifth embodiment of a terminal disclosed in the present invention, which is used to implement the method for implementing photographing disclosed in the embodiment of the present invention. In the embodiment of the present invention, the terminal may include, but is not limited to: a smart phone, a PC, a tablet computer, a personal digital assistant (Personal Digital Assistant, PAD), a media player, a wearable portable device, and the like. As shown in Figure 4d, the terminal specifically may include:
获取单元301,用于获取用户按压设置于终端的背板上的按键的按压动作对应的压力。The obtaining unit 301 is configured to obtain the pressure corresponding to the pressing action of the user pressing the key arranged on the back panel of the terminal.
比较单元302,用于将压力与第一预设压力阈值进行比较。A comparing unit 302, configured to compare the pressure with a first preset pressure threshold.
第三控制单元701,用于比较单元比较出压力小于第一预设压力阈值时,控制摄像头聚焦,在终端的显示屏幕上显示录像功能界面。The third control unit 701 is used to control the focus of the camera and display the video recording function interface on the display screen of the terminal when the comparison unit compares that the pressure is less than the first preset pressure threshold.
第二获取单元702,用于通过光敏元件获取环境光强。The second acquiring unit 702 is configured to acquire ambient light intensity through a photosensitive element.
光强比较单元703,用于将环境光强与预设光强阈值进行比较。The light intensity comparison unit 703 is configured to compare the ambient light intensity with a preset light intensity threshold.
闪光灯开启单元704,用于在光强比较单元比较出环境光强小于预设光强阈值时,开启闪光灯。The flashlight opening unit 704 is configured to turn on the flashlight when the light intensity comparing unit finds that the ambient light intensity is less than the preset light intensity threshold.
本发明实施例中,上述摄像头包括安装在终端的背板上的后置摄像头或安装在终端的面板上的前置摄像头,上述终端均设置有显示屏和触控屏,终端能够将与摄像头功能相关的用户交互界面(如拍照功能界面、录像功能界面)显示在上述显示屏上,上述终端背板上的按键中内置压力传感器,该压力传感器连接信号处理电路,终端可以通过上述压力传感器和信号处理电路检测用户按压按键时的压力的数值。In the embodiment of the present invention, the camera includes a rear camera installed on the back panel of the terminal or a front camera installed on the panel of the terminal. Relevant user interaction interfaces (such as camera function interface and video recording function interface) are displayed on the above-mentioned display screen, and a pressure sensor is built in the button on the back panel of the above-mentioned terminal. The processing circuit detects the value of the pressure when the user presses the key.
进一步可选地,本发明实施例中,上述获取单元301和上述比较单元302、与本发明公开的一种终端的第二实施例的结构示意图中的获取单元301和比较单元302相同,此处不再赘述。Further optionally, in the embodiment of the present invention, the acquisition unit 301 and the comparison unit 302 are the same as the acquisition unit 301 and the comparison unit 302 in the schematic structural diagram of the second embodiment of a terminal disclosed in the present invention, where No longer.
进一步可选地,本发明实施例中,上述第三控制单元701在上述比较单元302比较出压力小于第一预设压力阈值时,控制摄像头聚焦,在终端的显示屏幕上显示录像功能界面的具体实施方式可以包括:上述第三控制单元701在上述比较单元302比较出压力小于第一预设压力阈值后,控制摄像头聚焦,并在终端的显示屏幕上显示录像功能界面,该录像功能界面用于输出显示摄像头当前获取的图像。Further optionally, in the embodiment of the present invention, when the comparison unit 302 finds that the pressure is less than the first preset pressure threshold, the third control unit 701 controls the camera to focus, and displays the details of the recording function interface on the display screen of the terminal. The embodiment may include: after the comparison unit 302 finds that the pressure is less than the first preset pressure threshold, the third control unit 701 controls the camera to focus, and displays a video recording function interface on the display screen of the terminal. The video recording function interface is used to The output shows the image currently captured by the camera.
进一步可选地,本发明实施例中,上述第二获取单元702通过光敏元件获取环境光强的具体实施方式可以包括:终端的上述第二获取单元702通过光敏元件及终端的主电路板上的与该光敏元件电连接的第一信号处理电路,获取当前环境光强。Further optionally, in the embodiment of the present invention, the specific implementation manner in which the second acquisition unit 702 acquires the ambient light intensity through the photosensitive element may include: the second acquisition unit 702 of the terminal uses the photosensitive element and the light intensity on the main circuit board of the terminal The first signal processing circuit electrically connected to the photosensitive element acquires the current ambient light intensity.
进一步可选地,本发明实施例中,上述光强比较单元703将环境光强与预设光强阈值进行比较、上述闪光灯开启单元704在光强比较单元703比较出环境光强小于预设光强阈值时,开启闪光灯的具体实施方式可以包括:终端的上述第二获取单元702获取当前环境光强后,上述光强比较单元703将该环境光强与预设光强阈值进行比较,上述光强比较单元703比较出该环境光强小于预设光强阈值后,上述闪光灯开启单元704开启闪光灯。Further optionally, in the embodiment of the present invention, the above-mentioned light intensity comparison unit 703 compares the ambient light intensity with a preset light intensity threshold, and the above-mentioned flashlight opening unit 704 compares the ambient light intensity by the light intensity comparison unit 703 to be less than the preset light intensity. When the intensity threshold is high, the specific implementation manner of turning on the flashlight may include: after the above-mentioned second acquisition unit 702 of the terminal acquires the current ambient light intensity, the above-mentioned light intensity comparison unit 703 compares the ambient light intensity with a preset light intensity threshold, and the above-mentioned light intensity After the intensity comparison unit 703 compares that the ambient light intensity is less than the preset light intensity threshold, the flashlight activation unit 704 turns on the flashlight.
本发明实施例通过获取用户按压设置于终端的背板上的按键的按压动作对应的压力;将压力与第一预设压力阈值进行比较;比较出压力大于或等于第一预设压力阈值,则终端控制终端的摄像头聚焦,在终端的显示屏幕上显示拍照功能界面。实施本发明实施例,能够根据用户按压设置在终端的背板上的按键的压力控制摄像头聚焦,提高终端拍照的稳定性和准确率。In the embodiment of the present invention, the pressure corresponding to the pressing action of the user pressing the key set on the back panel of the terminal is obtained; the pressure is compared with the first preset pressure threshold; if the pressure is greater than or equal to the first preset pressure threshold, then The terminal controls the camera of the terminal to focus, and displays the camera function interface on the display screen of the terminal. By implementing the embodiments of the present invention, the focus of the camera can be controlled according to the pressure that the user presses on the buttons arranged on the back panel of the terminal, and the stability and accuracy of taking pictures of the terminal can be improved.
请参阅图4e,图4e是本发明公开的一种终端的第六实施例的结构示意图,用于执行本发明实施例公开的拍照实现方法。本发明实施例中,终端可以包括但不限于:智能手机、PC、平板电脑、个人数字助理(Personal Digital Assistant,PAD)、媒体播放器以及可穿戴便捷式设备等。如图4e所示,该终端具体可以包括:Please refer to FIG. 4e. FIG. 4e is a schematic structural diagram of a sixth embodiment of a terminal disclosed in the present invention, which is used to implement the method for implementing photographing disclosed in the embodiment of the present invention. In the embodiment of the present invention, the terminal may include, but is not limited to: a smart phone, a PC, a tablet computer, a personal digital assistant (Personal Digital Assistant, PAD), a media player, a wearable portable device, and the like. As shown in Figure 4e, the terminal specifically may include:
获取单元301,用于获取用户按压设置于终端的背板上的按键的按压动作对应的压力。The obtaining unit 301 is configured to obtain the pressure corresponding to the pressing action of the user pressing the key arranged on the back panel of the terminal.
比较单元302,用于将压力与第一预设压力阈值进行比较。A comparing unit 302, configured to compare the pressure with a first preset pressure threshold.
第三控制单元701,用于比较单元比较出压力小于第一预设压力阈值时,控制摄像头聚焦,在终端的显示屏幕上显示录像功能界面。The third control unit 701 is used to control the focus of the camera and display the video recording function interface on the display screen of the terminal when the comparison unit compares that the pressure is less than the first preset pressure threshold.
第三获取单元801,用于获取用户连续多次按压按键的动作时长。The third acquiring unit 801 is configured to acquire the action duration of the user pressing the button multiple times in succession.
第三比较单元802,用于将动作时长与第三预设时间阈值进行比较。The third comparison unit 802 is configured to compare the action duration with a third preset time threshold.
关闭单元803,用于第三比较单元比较出动作时长小于第三预设时间阈值时,关闭摄像头。The closing unit 803 is configured to close the camera when the third comparing unit compares that the action duration is less than the third preset time threshold.
本发明实施例中,上述摄像头包括安装在终端的背板上的后置摄像头或安装在终端的面板上的前置摄像头,上述终端均设置有显示屏和触控屏,终端能够将与摄像头功能相关的用户交互界面(如拍照功能界面、录像功能界面)显示在上述显示屏上,上述终端背板上的按键中内置压力传感器,该压力传感器连接信号处理电路,终端可以通过上述压力传感器和信号处理电路检测用户按压按键时的压力的数值。In the embodiment of the present invention, the camera includes a rear camera installed on the back panel of the terminal or a front camera installed on the panel of the terminal. Relevant user interaction interfaces (such as camera function interface and video recording function interface) are displayed on the above-mentioned display screen, and a pressure sensor is built in the button on the back panel of the above-mentioned terminal. The processing circuit detects the value of the pressure when the user presses the key.
进一步可选地,本发明实施例中,上述获取单元301、上述比较单元302和上述第三控制单元701与本发明公开的一种终端的第五实施例的结构示意图中的获取单元301、比较单元302和第三控制单元701相同,此处不再赘述。Further optionally, in the embodiment of the present invention, the acquisition unit 301, the comparison unit 302, and the third control unit 701 are compared with the acquisition unit 301, the comparison unit 301, and The unit 302 is the same as the third control unit 701, and will not be repeated here.
进一步可选地,本发明实施例中,上述第三获取单元801,用于获取用户连续多次按压按键的动作时长的具体实施方式包括:终端的上述第三获取单元801获取用户连续多次按压按键的动作的时长,该连续按压动作的持续时间一般较短,如1秒内按压按键2次,或2秒内按压按键次。此外,终端的上述第三获取单元801也可以获取用户按压按键的频率,如1秒内按压2次,则确定频率为2次/秒。Further optionally, in the embodiment of the present invention, the above-mentioned third obtaining unit 801 is used to obtain the action duration of the user pressing the button multiple times in a row. The specific implementation method includes: the above-mentioned third obtaining unit 801 of the terminal obtains The duration of the action of the button, the duration of the continuous pressing action is generally shorter, such as pressing the button twice within 1 second, or pressing the button once within 2 seconds. In addition, the above-mentioned third acquisition unit 801 of the terminal may also acquire the frequency at which the user presses the button, for example, if the user presses the key twice within 1 second, then the frequency is determined to be 2 times/second.
进一步可选地,本发明实施例中,上述第三比较单元802,用于将动作时长与第三预设时间阈值进行比较的具体实施方式包括:终端将上述第三获取单元801获取的动作时长与第三预设时间阈值进行比较,该第三预设时间阈值可以由终端设备生产商预先存储在终端的存储器中,例如设置该第三预设阈值为1s,该1秒对应用户至少按压按键2次,或者设置该第三预设阈值为2秒,该2秒对应用户至少按压按键3次或4次。Further optionally, in the embodiment of the present invention, the above-mentioned third comparison unit 802, the specific implementation method for comparing the action duration with the third preset time threshold includes: the terminal takes the action duration acquired by the above-mentioned third acquisition unit 801 Compared with the third preset time threshold, the third preset time threshold may be pre-stored in the memory of the terminal by the terminal equipment manufacturer, for example, the third preset threshold is set to 1s, which corresponds to the user pressing the button at least 2 times, or set the third preset threshold to 2 seconds, which corresponds to the user pressing the button at least 3 times or 4 times.
进一步可选地,本发明实施例中,上述关闭单元803,用于第三比较单元比较出动作时长小于第三预设时间阈值时,关闭摄像头的具体实施方式包括:终端的上述第三比较单元802比较出动作时长小于第三预设时间阈值后,上述关闭单元803关闭摄像头;此外,终端的上述第三比较单元802也可以根据用户按压按键的频率,将该频率与预设频率阈值进行比较,例如终端获取2秒内用户按压按键的次数为3次,计算出频率为1.5次/秒,预设频率阈值为0.8次/秒,由于上述第三比较单元802比较出1.5>0.8,终端的上述关闭单元803根据上述对比结果,控制摄像头关闭。Further optionally, in the embodiment of the present invention, the above-mentioned closing unit 803 is used to close the camera when the third comparison unit compares the action duration is less than the third preset time threshold. The specific implementation method includes: the above-mentioned third comparison unit of the terminal After 802 compares that the action duration is less than the third preset time threshold, the closing unit 803 turns off the camera; in addition, the third comparing unit 802 of the terminal may also compare the frequency with the preset frequency threshold according to the frequency at which the user presses the button For example, the terminal acquires that the number of times the user presses the button within 2 seconds is 3 times, and the calculated frequency is 1.5 times/second, and the preset frequency threshold is 0.8 times/second. Since the above-mentioned third comparison unit 802 compares 1.5>0.8, the terminal's The closing unit 803 controls the camera to be closed according to the comparison result.
本发明实施例通过获取用户按压设置于终端的背板上的按键的按压动作对应的压力;将压力与第一预设压力阈值进行比较;比较出压力大于或等于第一预设压力阈值,则终端控制终端的摄像头聚焦,在终端的显示屏幕上显示拍照功能界面。实施本发明实施例,能够根据用户按压设置在终端的背板上的按键的压力控制摄像头聚焦,提高终端拍照的稳定性和准确率。In the embodiment of the present invention, the pressure corresponding to the pressing action of the user pressing the key set on the back panel of the terminal is obtained; the pressure is compared with the first preset pressure threshold; if the pressure is greater than or equal to the first preset pressure threshold, then The terminal controls the camera of the terminal to focus, and displays the camera function interface on the display screen of the terminal. By implementing the embodiments of the present invention, the focus of the camera can be controlled according to the pressure that the user presses on the buttons arranged on the back panel of the terminal, and the stability and accuracy of taking pictures of the terminal can be improved.
请参阅图5,图5是本发明实施例公开的一种终端的另一实施例的结构示意图,用于执行本发明实施例公开的闹钟实现方法。如图5所示,该终端500包括:至少一个处理器501,至少一个输入装置502,至少一个输出装置503,存储器505等组件。其中,这些组件通过一条或多条总线504进行通信连接。本领域技术人员可以理解,图5中示出的终端的结构并不构成对本发明实施例的限定,它既可以是总线形结构,也可以是星型结构,还可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。其中,Please refer to FIG. 5 . FIG. 5 is a schematic structural diagram of another embodiment of a terminal disclosed in the embodiment of the present invention, which is used to execute the method for implementing an alarm clock disclosed in the embodiment of the present invention. As shown in FIG. 5 , the terminal 500 includes: at least one processor 501 , at least one input device 502 , at least one output device 503 , a memory 505 and other components. Wherein, these components are communicatively connected through one or more buses 504 . Those skilled in the art can understand that the structure of the terminal shown in Figure 5 does not constitute a limitation to the embodiment of the present invention, it can be either a bus-shaped structure or a star-shaped structure, and it can also include more or more Fewer parts, or combining certain parts, or different parts arrangements. in,
处理器501为终端的控制中心,利用各种接口和线路连接整个终端的各个部分,通过运行或执行存储在存储器505内的程序或模块,以及调用存储在存储器505内的数据,以执行终端的各种功能和处理数据。处理器501可以由集成电路(Integrated Circuit,简称IC)组成,例如可以由单颗封装的IC所组成,也可以由连接多颗相同功能或不同功能的封装IC而组成。例如,处理器501可以仅包括中央处理器(Central Processing Unit,简称CPU),也可以是CPU、数字信号处理器(digital signal processor,简称DSP)、图形处理器(Graphic Processing Unit,简称GPU)及各种控制芯片的组合。在本发明实施方式中,CPU可以是单运算核心,也可以包括多运算核心。The processor 501 is the control center of the terminal. It uses various interfaces and lines to connect various parts of the entire terminal. By running or executing programs or modules stored in the memory 505, and calling data stored in the memory 505, the terminal’s Various functions and processing data. The processor 501 may be composed of an integrated circuit (Integrated Circuit, IC for short), for example, may be composed of a single packaged IC, or may be composed of multiple packaged ICs connected with the same function or different functions. For example, the processor 501 may only include a central processing unit (Central Processing Unit, referred to as CPU), and may also be a CPU, a digital signal processor (digital signal processor, referred to as DSP), a graphics processing unit (Graphic Processing Unit, referred to as GPU) and A combination of various control chips. In the embodiments of the present invention, the CPU may be a single computing core, or may include multiple computing cores.
输入装置502可以包括标准的有线接口、无线接口等,也可以包括触摸屏、键盘等。The input device 502 may include a standard wired interface, a wireless interface, etc., and may also include a touch screen, a keyboard, and the like.
输出装置503可以包括显示屏,用于输出显示终端的摄像头聚焦所抓取的图像等信息。The output device 503 may include a display screen, configured to output information such as images captured by the focus of the camera of the display terminal.
存储器505可用于存储软件程序以及模块,处理器501、输入装置502以及输出装置503通过调用存储在存储器505中的软件程序以及模块,从而执行终端的各项功能应用以及实现数据处理。存储器505主要包括程序存储区和数据存储区,其中,程序存储区可存储操作系统606、至少一个功能所需的应用程序507(如按压压力程序、拍照与摄像控制程序等)等;数据存储区可存储终端创建的数据(如第一预设压力阈值、第一预设时间阈值等)等。在本发明实施方式中,操作系统606可以是Android系统、iOS系统或Windows操作系统等。The memory 505 can be used to store software programs and modules. The processor 501, the input device 502 and the output device 503 execute various functional applications of the terminal and implement data processing by calling the software programs and modules stored in the memory 505. The memory 505 mainly includes a program storage area and a data storage area, wherein the program storage area can store an operating system 606, an application program 507 required by at least one function (such as pressing pressure program, photographing and camera control program, etc.); Data created by the terminal (such as the first preset pressure threshold, the first preset time threshold, etc.) can be stored. In the implementation manner of the present invention, the operating system 606 may be an Android system, an iOS system, or a Windows operating system.
在一些可行的实施例中,处理器501、输入装置502以及输出装置503调用存储在存储器505中的应用程序507,用于执行以下操作:In some feasible embodiments, the processor 501, the input device 502, and the output device 503 invoke the application program 507 stored in the memory 505 to perform the following operations:
通过输入装置502获取用户按压设置于终端的背板上的按键的按压动作对应的压力;Obtaining the pressure corresponding to the pressing action of the user pressing the key set on the back panel of the terminal through the input device 502;
处理器501根据输入装置502获取的按压动作对应的压力,将压力与第一预设压力阈值进行比较;The processor 501 compares the pressure with a first preset pressure threshold according to the pressure corresponding to the pressing action acquired by the input device 502;
处理器501根据比较出压力大于或等于第一预设压力阈值的结果,控制终端的摄像头聚焦。The processor 501 controls the camera of the terminal to focus according to the comparison result that the pressure is greater than or equal to the first preset pressure threshold.
输出装置503根据处理器501比较出压力大于或等于第一预设压力阈值的结果,在终端的显示屏幕上显示拍照功能界面。The output device 503 displays the photographing function interface on the display screen of the terminal according to the comparison result of the processor 501 that the pressure is greater than or equal to the first preset pressure threshold.
具体实现中,本发明实施例中所描述的处理器501、输入装置502、输出装置503和存储器505可执行本发明实施例提供的拍照实现方法的各实施例中所描述的实现方式,也可执行本发明实施例提供的终端的各实施例中所描述的终端的实现方式,在此不再赘述。In a specific implementation, the processor 501, the input device 502, the output device 503, and the memory 505 described in the embodiment of the present invention can execute the implementation methods described in the various embodiments of the method for realizing photographing provided by the embodiment of the present invention, or can Implementation of the terminal described in each embodiment of the terminal provided by the embodiment of the present invention will not be repeated here.
本发明所有实施例中的模块或子模块,可以通过通用集成电路,例如CPU(CentralProcessing Unit,中央处理器),或通过ASIC(Application Specific IntegratedCircuit,专用集成电路)来实现。The modules or sub-modules in all the embodiments of the present invention can be implemented by a general-purpose integrated circuit, such as a CPU (Central Processing Unit, central processing unit), or an ASIC (Application Specific Integrated Circuit, application-specific integrated circuit).
本发明实施例方法中的步骤可以根据实际需要进行顺序调整、合并和删减。The steps in the methods of the embodiments of the present invention can be adjusted, combined and deleted according to actual needs.
本发明实施例装置中的单元可以根据实际需要进行合并、划分和删减。The units in the device of the embodiment of the present invention can be combined, divided and deleted according to actual needs.
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,的程序可存储于一计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,的存储介质可为磁碟、光盘、只读存储记忆体(Read-Only Memory,ROM)或随机存取存储器(Random Access Memory,简称RAM)等。Those of ordinary skill in the art can understand that all or part of the processes in the methods of the above embodiments can be implemented through computer programs to instruct related hardware, and the programs can be stored in a computer-readable storage medium. , may include the flow of the embodiments of the above-mentioned methods. Wherein, the storage medium may be a magnetic disk, an optical disk, a read-only memory (Read-Only Memory, ROM) or a random access memory (Random Access Memory, RAM for short).
以上所揭露的仅为本发明较佳实施例而已,当然不能以此来限定本发明之权利范围,因此依本发明权利要求所作的等同变化,仍属本发明所涵盖的范围。The above disclosures are only preferred embodiments of the present invention, and certainly cannot limit the scope of rights of the present invention. Therefore, equivalent changes made according to the claims of the present invention still fall within the scope of the present invention.
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201410851241.7ACN104618580B (en) | 2014-12-30 | 2014-12-30 | One kind is taken pictures implementation method and terminal |
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201410851241.7ACN104618580B (en) | 2014-12-30 | 2014-12-30 | One kind is taken pictures implementation method and terminal |
| Publication Number | Publication Date |
|---|---|
| CN104618580A CN104618580A (en) | 2015-05-13 |
| CN104618580Btrue CN104618580B (en) | 2017-10-17 |
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201410851241.7AExpired - Fee RelatedCN104618580B (en) | 2014-12-30 | 2014-12-30 | One kind is taken pictures implementation method and terminal |
| Country | Link |
|---|---|
| CN (1) | CN104618580B (en) |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN105094637B (en)* | 2015-06-02 | 2018-03-23 | 努比亚技术有限公司 | A kind of multiple-pass control method and system |
| CN104991641B (en)* | 2015-06-17 | 2019-04-02 | 努比亚技术有限公司 | A kind of information processing method and device, terminal |
| CN105045495B (en)* | 2015-06-23 | 2019-02-05 | Oppo广东移动通信有限公司 | Control method of a mobile terminal and mobile terminal |
| CN105100481A (en)* | 2015-07-30 | 2015-11-25 | 努比亚技术有限公司 | Shooting method and apparatus, and mobile terminal |
| CN105278858A (en)* | 2015-09-08 | 2016-01-27 | 广东欧珀移动通信有限公司 | Method for controlling alarm and user terminal |
| CN105224224B (en)* | 2015-09-09 | 2019-03-29 | 魅族科技(中国)有限公司 | A kind of method of terminal device and pattern switching |
| CN105827939A (en)* | 2015-09-24 | 2016-08-03 | 维沃移动通信有限公司 | Method for controlling flash lamp and electronic device |
| CN105204741B (en)* | 2015-09-25 | 2019-03-29 | Oppo广东移动通信有限公司 | The photographic method and device of mobile terminal |
| CN106603902A (en)* | 2015-10-14 | 2017-04-26 | 中兴通讯股份有限公司 | Photographing method and device |
| CN106791352A (en)* | 2015-11-25 | 2017-05-31 | 中兴通讯股份有限公司 | A kind of photographic method, device and terminal |
| CN105491282B (en)* | 2015-11-25 | 2019-04-26 | Oppo广东移动通信有限公司 | A camera control method and mobile terminal in a black screen state |
| CN105450927B (en)* | 2015-12-01 | 2019-09-20 | 惠州Tcl移动通信有限公司 | One kind being based on pressure sensing image acquiring method, system and mobile terminal |
| CN105630373A (en)* | 2015-12-07 | 2016-06-01 | 东莞酷派软件技术有限公司 | Terminal touch method, terminal touch device and terminal |
| CN105528112B (en)* | 2015-12-24 | 2019-07-09 | 惠州Tcl移动通信有限公司 | A kind of camera shooting focus adjustment method, system and mobile terminal based on mobile terminal |
| CN105677200A (en)* | 2015-12-31 | 2016-06-15 | 宇龙计算机通信科技(深圳)有限公司 | Mobile terminal control method and device and mobile terminal |
| CN105677088A (en)* | 2015-12-31 | 2016-06-15 | 联想(北京)有限公司 | Control method and electronic device |
| CN105635591A (en)* | 2016-03-11 | 2016-06-01 | 深圳还是威健康科技有限公司 | Photographing control method based on wearable equipment and terminal |
| CN105786577A (en)* | 2016-03-22 | 2016-07-20 | 上海斐讯数据通信技术有限公司 | Quick photographing method and device of fingerprint mobile terminal as well as fingerprint mobile terminal |
| CN105872364A (en)* | 2016-03-28 | 2016-08-17 | 广东欧珀移动通信有限公司 | A method for adjusting camera parameters and a method and device for adjusting picture parameters |
| CN105912233B (en)* | 2016-04-01 | 2019-03-26 | Oppo广东移动通信有限公司 | A kind of photographic method and terminal |
| CN105912158B (en)* | 2016-04-05 | 2019-04-23 | Oppo广东移动通信有限公司 | Touch screen photographing method and device of mobile terminal and mobile terminal |
| CN106331500B (en)* | 2016-09-13 | 2020-01-14 | 上海斐讯数据通信技术有限公司 | Focusing and photographing method of mobile terminal and focusing and photographing mobile terminal |
| CN108021325B (en)* | 2016-10-29 | 2021-05-18 | 南昌欧菲生物识别技术有限公司 | Method and device for starting terminal camera |
| CN108008900A (en)* | 2016-10-31 | 2018-05-08 | 北京小米移动软件有限公司 | Start the method and touch control terminal of application program |
| CN106709307B (en)* | 2016-11-30 | 2020-01-10 | Oppo广东移动通信有限公司 | Unlocking method and device |
| CN106899805A (en)* | 2017-02-27 | 2017-06-27 | 努比亚技术有限公司 | A kind of dual camera control method, device and terminal |
| CN107172290B (en)* | 2017-06-02 | 2021-01-12 | 维沃移动通信有限公司 | Photographing control method and device |
| CN107302660A (en)* | 2017-06-23 | 2017-10-27 | 维沃移动通信有限公司 | A kind of photographic method and mobile terminal |
| CN110471606B (en) | 2019-07-25 | 2022-08-19 | 华为技术有限公司 | Input method and electronic equipment |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| KR970006908B1 (en)* | 1992-10-23 | 1997-04-30 | 삼성항공산업 주식회사 | Device and method to give an alarm of lack of the intensity of radiation of camera flash |
| JP2004135177A (en)* | 2002-10-11 | 2004-04-30 | Sharp Corp | Mobile phone |
| US20100039393A1 (en)* | 2008-08-15 | 2010-02-18 | At&T Intellectual Property I, L.P. | Text entry on touch screen cellphones by different pressure levels |
| US20120019704A1 (en)* | 2010-07-26 | 2012-01-26 | Levey Charles I | Automatic digital camera photography mode selection |
| US9460029B2 (en)* | 2012-03-02 | 2016-10-04 | Microsoft Technology Licensing, Llc | Pressure sensitive keys |
| CN102902353B (en)* | 2012-08-17 | 2016-06-08 | 广东欧珀移动通信有限公司 | A kind of changing method of the camera installation of intelligent terminal |
| CN103037049A (en)* | 2012-10-28 | 2013-04-10 | 南通芯迎设计服务有限公司 | Mobile phone with back camera button and capable of being supported |
| TW201442514A (en)* | 2013-04-18 | 2014-11-01 | Looq System Inc | Peripheral equipment for controlling camera arranged in a terminal, system and method thereof |
| CN103856699B (en)* | 2013-10-16 | 2016-03-30 | 努比亚技术有限公司 | The image pickup method of mobile terminal and mobile terminal |
| CN103501393B (en)* | 2013-10-16 | 2015-11-25 | 努比亚技术有限公司 | A kind of mobile terminal and image pickup method thereof |
| Publication number | Publication date |
|---|---|
| CN104618580A (en) | 2015-05-13 |
| Publication | Publication Date | Title |
|---|---|---|
| CN104618580B (en) | One kind is taken pictures implementation method and terminal | |
| CN110347269B (en) | A method for realizing air mouse mode and related equipment | |
| CN110764673B (en) | Scrolling screenshot method and electronic device | |
| CN110244893B (en) | Operation method for split screen display and electronic equipment | |
| EP3076659B1 (en) | Photographing apparatus, control method thereof, and non-transitory computer-readable recording medium | |
| KR101836340B1 (en) | Method and device for realizing touch button and fingerprint identification, and terminal device | |
| CN106873834B (en) | Method and device for identifying triggering of key and mobile terminal | |
| WO2018027501A1 (en) | Terminal, touch response method, and device | |
| WO2017020498A1 (en) | Image shooting method and device | |
| CN109348135A (en) | Photographing method and device, storage medium and terminal equipment | |
| CN107102772B (en) | Touch control method and device | |
| CN106027916A (en) | A supplementary light photographing method and terminal | |
| CN107091704B (en) | Pressure detection method and device | |
| CN104301610B (en) | Image taking control metho and device | |
| CN106126082B (en) | Terminal control method and device and terminal | |
| CN106355549A (en) | Photographing method and equipment | |
| CN107704190B (en) | Gesture recognition method and device, terminal and storage medium | |
| CN112650405A (en) | Electronic equipment interaction method and electronic equipment | |
| CN110704145B (en) | Hot area adjusting method and device, electronic equipment and storage medium | |
| CN110099219A (en) | panoramic shooting method and related product | |
| WO2017140108A1 (en) | Pressure detection method and apparatus | |
| CN106371738A (en) | Method and device for controlling mobile terminal and its screen brightness | |
| CN105072335B (en) | A kind of photographing method and user terminal | |
| CN105117135A (en) | A camera method and device when a terminal is in standby | |
| CN113821129A (en) | A display window control method and electronic device |
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant | ||
| CP01 | Change 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. | |
| CP01 | Change in the name or title of a patent holder | ||
| CF01 | Termination of patent right due to non-payment of annual fee | Granted publication date:20171017 | |
| CF01 | Termination of patent right due to non-payment of annual fee |