[go: up one dir, main page]

CN106354303A - Photographed method of mobile terminal and mobile terminal - Google Patents

Photographed method of mobile terminal and mobile terminal Download PDF

Info

Publication number
CN106354303A
CN106354303A CN201610710389.8A CN201610710389A CN106354303A CN 106354303 A CN106354303 A CN 106354303A CN 201610710389 A CN201610710389 A CN 201610710389A CN 106354303 A CN106354303 A CN 106354303A
Authority
CN
China
Prior art keywords
mobile terminal
described mobile
taking pictures
phone users
pressure value
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201610710389.8A
Other languages
Chinese (zh)
Other versions
CN106354303B (en
Inventor
王仲霖
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201610710389.8A priority Critical patent/CN106354303B/en
Publication of CN106354303A publication Critical patent/CN106354303A/en
Application granted granted Critical
Publication of CN106354303B publication Critical patent/CN106354303B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/0414Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means using force sensing means to determine a position
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/044Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means by capacitive means
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04847Interaction techniques to control parameter settings, e.g. interaction with sliders or dials
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Telephone Function (AREA)
  • Studio Devices (AREA)

Abstract

本发明的实施例提供了一种移动终端的拍照方法及移动终端,其中,该方法包括:在移动终端的拍照预览过程中,判断移动终端用户的握持方式;根据移动终端用户的握持方式,确定移动终端的拍照模式;接收移动终端用户对移动终端的按压操作;基于按压操作,确定压力信息,并确定压力信息对应的预设拍照参数;接收移动终端用户输入的拍照指令;根据拍照模式和预设拍照参数进行拍照。本发明的实施例能给用户提供智能化的拍照方式。

Embodiments of the present invention provide a method for taking pictures of a mobile terminal and the mobile terminal, wherein the method includes: during the process of previewing pictures of the mobile terminal, judging the way the user holds the mobile terminal; according to the way the user holds the mobile terminal, , determine the photographing mode of the mobile terminal; receive the pressing operation of the mobile terminal user on the mobile terminal; determine the pressure information based on the pressing operation, and determine the preset photographing parameters corresponding to the pressure information; receive the photographing instruction input by the mobile terminal user; according to the photographing mode Take pictures with preset camera parameters. Embodiments of the present invention can provide users with an intelligent way of taking pictures.

Description

一种移动终端的拍照方法及移动终端Method for taking pictures of a mobile terminal and mobile terminal

技术领域technical field

本发明涉及电子技术领域,尤其涉及一种移动终端的拍照方法及移动终端。The present invention relates to the field of electronic technology, in particular to a method for taking pictures of a mobile terminal and the mobile terminal.

背景技术Background technique

随着拍照技术的进步和拍照设备的亲民化,拍照早已成为人们日常。目前很多拍照设备都拥有优秀的摄像头以及强大的美颜功能的相机应用程序。With the advancement of photography technology and the popularity of photography equipment, taking pictures has become a daily routine for people. At present, many camera devices have excellent cameras and camera applications with powerful beauty functions.

就以移动终端为例,虽然拥有像素很好的摄像头,但目前人们拍照的方法很普通,很单一(例如对准某事物,对焦,调美颜,拍照等),无法给用户提供智能化的拍照方式。Take the mobile terminal as an example. Although there are cameras with very good pixels, the current methods for people to take pictures are very common and simple (such as pointing at something, focusing, adjusting beauty, taking pictures, etc.), and it is impossible to provide users with intelligent How to take pictures.

发明内容Contents of the invention

本发明实施例提供了一种移动终端的拍照方法及移动终端,以解决移动终端无法给用户提供智能化的拍照方式的问题。Embodiments of the present invention provide a method for taking pictures of a mobile terminal and the mobile terminal, so as to solve the problem that the mobile terminal cannot provide users with an intelligent way of taking pictures.

一方面,本发明的实施例提供了一种移动终端的拍照方法,包括:On the one hand, an embodiment of the present invention provides a method for taking pictures of a mobile terminal, including:

在移动终端的拍照预览过程中,判断移动终端用户的握持方式;During the photo preview process of the mobile terminal, determine the holding mode of the mobile terminal user;

根据移动终端用户的握持方式,确定移动终端的拍照模式;Determine the camera mode of the mobile terminal according to the gripping mode of the mobile terminal user;

接收移动终端用户对移动终端的按压操作;receiving the pressing operation of the mobile terminal user on the mobile terminal;

基于按压操作,确定压力信息,并确定压力信息对应的预设拍照参数;Determine the pressure information based on the pressing operation, and determine the preset camera parameters corresponding to the pressure information;

接收移动终端用户输入的拍照指令;Receive a camera instruction input by a mobile terminal user;

根据拍照模式和预设拍照参数进行拍照。Take photos according to the photo mode and preset photo parameters.

另一方面,本发明的实施例还提供了一种移动终端,包括:On the other hand, embodiments of the present invention also provide a mobile terminal, including:

判断模块,用于在移动终端的拍照预览过程中,判断移动终端用户的握持方式;The judging module is used for judging the holding mode of the mobile terminal user during the photo preview process of the mobile terminal;

第一确定模块,用于根据移动终端用户的握持方式,确定移动终端的拍照模式;The first determination module is used to determine the photographing mode of the mobile terminal according to the grip mode of the user of the mobile terminal;

第一接收模块,用于接收移动终端用户对移动终端的按压操作;The first receiving module is used to receive the pressing operation of the mobile terminal user on the mobile terminal;

第二确定模块,用于基于按压操作,确定压力信息,并确定压力信息对应的预设拍照参数;The second determining module is configured to determine pressure information based on the pressing operation, and determine preset photographing parameters corresponding to the pressure information;

第二接收模块,用于接收移动终端用户输入的拍照指令;The second receiving module is configured to receive a photographing instruction input by a mobile terminal user;

拍照模块,用于根据拍照模式和预设拍照参数进行拍照。The photographing module is used for photographing according to the photographing mode and preset photographing parameters.

这样,本发明实施例中,通过在移动终端的拍照预览过程中,判断移动终端用户的握持方式,并根据握持方式确定出移动终端的拍照模式,同时基于移动终端用户对移动终端的按压操作,确定出预设拍照参数,并在接收到拍照指令时,根据确定出的拍照模式和预设拍照参数进行拍照,解决了移动终端无法给用户提供智能化的拍照方式的问题,达到了能给用户提供智能化的拍照方式的效果。In this way, in the embodiment of the present invention, during the photo preview process of the mobile terminal, by judging the gripping mode of the mobile terminal user, and determining the photographing mode of the mobile terminal according to the gripping mode, at the same time, based on the pressing of the mobile terminal user to the mobile terminal Operation, determine the preset camera parameters, and when receiving the camera command, take pictures according to the determined camera mode and preset camera parameters, which solves the problem that the mobile terminal cannot provide users with intelligent camera methods, and achieves Provide users with the effect of intelligent photo taking methods.

附图说明Description of drawings

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

图1为本发明第一实施例中移动终端的拍照方法的流程图;FIG. 1 is a flowchart of a method for taking pictures of a mobile terminal in a first embodiment of the present invention;

图2为本发明第一实施例中图1中步骤104的具体实现方式的流程图之一;Fig. 2 is one of the flowcharts of the specific implementation of step 104 in Fig. 1 in the first embodiment of the present invention;

图3为本发明第一实施例中图1中步骤104的具体实现方式的流程图之二;FIG. 3 is the second flowchart of the specific implementation of step 104 in FIG. 1 in the first embodiment of the present invention;

图4为本发明第二实施例中移动终端的结构示意图之一;FIG. 4 is one of the schematic structural diagrams of the mobile terminal in the second embodiment of the present invention;

图5为本发明第二实施例中移动终端的结构示意图之二;FIG. 5 is the second structural schematic diagram of the mobile terminal in the second embodiment of the present invention;

图6为本发明第三实施例中移动终端的结构示意图;FIG. 6 is a schematic structural diagram of a mobile terminal in a third embodiment of the present invention;

图7为本发明第四实施例中移动终端的结构示意图。FIG. 7 is a schematic structural diagram of a mobile terminal in a fourth embodiment of 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 some of the embodiments of the present invention, but not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

第一实施例first embodiment

如图1所示,本发明的第一实施例提供了一种移动终端的拍照方法,该方法包括:As shown in Figure 1, the first embodiment of the present invention provides a method for taking pictures of a mobile terminal, the method comprising:

步骤101,在移动终端的拍照预览过程中,判断移动终端用户的握持方式。Step 101, in the process of taking pictures and previewing the mobile terminal, determine the way the user holds the mobile terminal.

其中,上述握持方式可以为左手握持也可以为右手握持,在本发明的第一实施例中,可通过检测移动终端的两侧的压力值,并根据压力值判断出移动终端用户的握持方式为左手握持或者右手握持。此外,还可以通过检测移动终端的两侧的电容量,并根据电容量判断出移动终端用户的握持方式为左手握持或者右手握持。需要说明的是,不管是通过压力值判断握持方式还是通过电容量判断握持方式,其均可以通过移动终端中的左右手识别模块来实现。Wherein, the above-mentioned holding method can be left-handed or right-handed. In the first embodiment of the present invention, the pressure value on both sides of the mobile terminal can be detected, and the pressure value of the mobile terminal user can be judged according to the pressure value. The holding mode is left-handed or right-handed. In addition, it is also possible to detect the capacitance at both sides of the mobile terminal, and determine whether the user is holding the mobile terminal with the left hand or the right hand according to the capacitance. It should be noted that whether the holding method is judged by the pressure value or by the capacitance, it can be realized by the left and right hand identification module in the mobile terminal.

步骤102,根据移动终端用户的握持方式,确定移动终端的拍照模式。Step 102: Determine the photographing mode of the mobile terminal according to the way the user holds the mobile terminal.

在本发明的第一实施例中,当握持方式为左手握持时,拍照模式为第一拍照模式;而当握持方式为右手握持时,拍照模式为第二拍照模式。具体的,第一拍照模式和第二拍照模式均可以为素描拍照模式、自然拍照模式或美颜拍照模式等中的一种,但第一拍照模式和第二拍照模式不相同。且作为一个优选的示例,上述美颜拍照模式包括:只美颜移动终端用户的拍照模式和美颜全局的拍照模式,从而便于用户根据自己的需求,通过变换握持移动终端的握持方式切换美颜方式(即,只美颜自己还是美颜全局)。In the first embodiment of the present invention, when the grip is left-handed, the photographing mode is the first photographing mode; and when the grip is right-handed, the photographing mode is the second photographing mode. Specifically, both the first photographing mode and the second photographing mode can be one of a sketch photographing mode, a natural photographing mode, or a beauty photographing mode, but the first photographing mode and the second photographing mode are different. And as a preferred example, the above-mentioned beautification photo mode includes: a photo mode for only beautifying mobile terminal users and a global photo mode for beautification, so that users can switch between beautification modes by changing the way they hold the mobile terminal according to their own needs. Beautification method (that is, only beautify yourself or beautify the whole world).

步骤103,接收移动终端用户对移动终端的按压操作。Step 103, receiving a pressing operation of the mobile terminal user on the mobile terminal.

在本发明的第一实施例中,上述按压操作主要是指移动终端用户对移动终端上的压力传感器的按压操作。In the first embodiment of the present invention, the above pressing operation mainly refers to the pressing operation of the mobile terminal user on the pressure sensor on the mobile terminal.

步骤104,基于按压操作,确定压力信息,并确定压力信息对应的预设拍照参数。Step 104, based on the pressing operation, determine the pressure information, and determine the preset photographing parameters corresponding to the pressure information.

在本发明的第一实施例中,上述压力信息可以为按压时长、按压的压力值等。此外,上述预设拍照参数可以为曝光时长、焦距或美颜程度等。In the first embodiment of the present invention, the above pressure information may be the duration of pressing, the pressure value of pressing, and the like. In addition, the above-mentioned preset camera parameters may be exposure time, focal length, or degree of beautification.

步骤105,接收移动终端用户输入的拍照指令。Step 105, receiving a photographing instruction input by the user of the mobile terminal.

在本发明的第一实施例中,可通过拍照界面接收移动终端用户输入的拍照指令。In the first embodiment of the present invention, a photographing instruction input by a mobile terminal user may be received through a photographing interface.

步骤106,根据拍照模式和预设拍照参数进行拍照。Step 106, take pictures according to the picture taking mode and preset picture taking parameters.

在本发明的第一实施例中,上述步骤104的包括两种具体的实现方式。In the first embodiment of the present invention, the above step 104 includes two specific implementation manners.

其中,如图2所示,上述步骤104的第一种实现方式具体包括如下步骤:Wherein, as shown in FIG. 2, the first implementation of the above step 104 specifically includes the following steps:

步骤201,获取移动终端上的压力传感器被按压的按压时长。Step 201, acquire the pressing duration of the pressure sensor on the mobile terminal being pressed.

其中,在第一种实现方式中,上述压力传感器可以是移动终端的拍照界面中的拍照按钮处的压力传感器。Wherein, in the first implementation manner, the above-mentioned pressure sensor may be a pressure sensor at the camera button in the camera interface of the mobile terminal.

步骤202,根据预先存储的按压时长与预设拍照参数之间的对应关系,确定获取到的按压时长对应的预设拍照参数。Step 202, according to the correspondence between the pre-stored pressing duration and the preset photographing parameters, determine the preset photographing parameters corresponding to the acquired pressing duration.

在本发明的第一实施例中,可将上述预先存储的按压时长与预设拍照参数之间的对应关系设置为:按压时长越长,预设拍照参数越大(例如,曝光时长越长、焦距越长或美颜程度越高等)。即,移动终端用户可通过改变按压时长,使移动终端自动切换拍照参数。需要说明的是,若用户单击拍照按钮的话,移动终端不会自动切换预设拍照参数,而会根据默认的拍照参数直接拍照,因此,用户只能通过长按拍照按钮的方式使移动终端自动预设切换拍照参数,且按压时长越长,对应的预设拍照参数越大。需要进一步说明的是,在本发明的第一实施例中,并不限定预先存储的按压时长与预设拍照参数之间的对应关系的具体形式,且其可由用户根据需求进行设定。In the first embodiment of the present invention, the correspondence between the above-mentioned pre-stored pressing duration and preset photographing parameters can be set as follows: the longer the pressing duration, the greater the preset photographing parameters (for example, the longer the exposure duration, The longer the focal length or the higher the degree of beauty, etc.). That is, the user of the mobile terminal can make the mobile terminal automatically switch the photographing parameters by changing the pressing time. It should be noted that if the user clicks the camera button, the mobile terminal will not automatically switch the preset camera parameters, but will directly take pictures according to the default camera parameters. Therefore, the user can only make the mobile terminal automatically The camera parameters are preset to switch, and the longer the pressing time, the greater the corresponding preset camera parameters. It should be further explained that in the first embodiment of the present invention, the specific form of the corresponding relationship between the pre-stored pressing duration and the preset photographing parameters is not limited, and it can be set by the user according to requirements.

其中,如图3所示,上述步骤104的第二种实现方式具体包括如下步骤:Wherein, as shown in FIG. 3, the second implementation of the above step 104 specifically includes the following steps:

步骤301,获取移动终端上的压力传感器被按压的压力值。Step 301, acquire the pressure value of the pressure sensor on the mobile terminal being pressed.

其中,在第二种实现方式中,上述压力传感器可以为移动终端侧面的压力传感器,从而便于在用户使用左手或右手握持移动终端时,获取压力传感器被按压的压力值。Wherein, in the second implementation manner, the above-mentioned pressure sensor may be a pressure sensor on the side of the mobile terminal, so that when the user holds the mobile terminal with his left or right hand, it is convenient to obtain the pressure value of the pressure sensor being pressed.

步骤302,根据预先存储的压力值与预设拍照参数之间的对应关系,确定获取到的压力值对应的预设拍照参数。Step 302: Determine the preset photographing parameters corresponding to the acquired pressure values according to the correspondence between the pre-stored pressure values and preset photographing parameters.

在本发明的第一实施例中,可将上述预先存储的压力值与预设拍照参数之间的对应关系设置为:压力值越大,预设拍照参数越大(例如,曝光时长越长、焦距越长或美颜程度越高等)。具体的,可将压力值分为1至N个等级(其中,N表示压力值的等级的数量),对应的,将预设拍照参数也分为1至M个等级(其中,M表示拍照参数的等级的数量),且压力值的等级与预设拍照参数的等级一一对应。从而使用户可通过改变按压压力传感器的压力值使移动终端自动切换预设拍照参数。需要说明的是,在本发明的第一实施例中,并不限定上述预先存储的压力值与预设拍照参数之间的对应关系的具体形式,且其可由用户根据需求进行设定。In the first embodiment of the present invention, the correspondence between the above-mentioned pre-stored pressure value and the preset photographing parameters can be set as follows: the greater the pressure value, the greater the preset photographing parameters (for example, the longer the exposure time, The longer the focal length or the higher the degree of beauty, etc.). Specifically, the pressure value can be divided into 1 to N grades (wherein, N represents the number of pressure value grades), correspondingly, the preset photographing parameters are also divided into 1 to M grades (wherein, M represents the photographing parameter the number of levels), and the level of the pressure value is in one-to-one correspondence with the level of the preset photographing parameters. Therefore, the user can make the mobile terminal automatically switch the preset photographing parameters by changing the pressure value of pressing the pressure sensor. It should be noted that, in the first embodiment of the present invention, the specific form of the corresponding relationship between the above-mentioned pre-stored pressure value and the preset photographing parameters is not limited, and it can be set by the user according to requirements.

由此可见,在本发明的第一实施例中,通过在移动终端的拍照预览过程中,判断移动终端用户的握持方式,并根据握持方式确定出移动终端的拍照模式,同时基于移动终端用户对移动终端的按压操作,确定出预设拍照参数,并在接收到拍照指令时,根据确定出的拍照模式和预设拍照参数进行拍照,解决了移动终端无法给用户提供智能化的拍照方式的问题,达到了能给用户提供智能化的拍照方式的效果。需要说明的是,上述移动终端的拍照方法既适用于移动终端的前置摄像头,也适用于移动终端的后置摄像头。其中,移动终端可以是智能手机、平板电脑等设备。It can be seen that in the first embodiment of the present invention, during the photo preview process of the mobile terminal, by judging the way the mobile terminal user holds the mobile terminal, and determining the photo mode of the mobile terminal according to the way of holding, at the same time based on the mobile terminal The user presses the mobile terminal to determine the preset camera parameters, and when receiving the camera command, takes pictures according to the determined camera mode and preset camera parameters, which solves the problem that the mobile terminal cannot provide users with intelligent camera methods The problem has achieved the effect of providing users with an intelligent way of taking pictures. It should be noted that the above method for taking pictures of the mobile terminal is applicable to both the front camera of the mobile terminal and the rear camera of the mobile terminal. Wherein, the mobile terminal may be a device such as a smart phone or a tablet computer.

第二实施例second embodiment

如图4~图5所示,本发明的第二实施例提供了一种移动终端,该移动终端400包括:判断模块401、第一确定模块402、第一接收模块403、第二确定模块404、第二接收模块405以及拍照模块406。其中,第一确定模块402与判断模块401以及第一接收模块403连接,第二确定模块404与第一接收模块403以及第二接收模块405连接,且第二接收模块405还与拍照模块406连接。As shown in Figures 4 to 5, the second embodiment of the present invention provides a mobile terminal, the mobile terminal 400 includes: a judging module 401, a first determining module 402, a first receiving module 403, and a second determining module 404 , a second receiving module 405 and a camera module 406 . Wherein, the first determining module 402 is connected with the judging module 401 and the first receiving module 403, the second determining module 404 is connected with the first receiving module 403 and the second receiving module 405, and the second receiving module 405 is also connected with the camera module 406 .

其中,判断模块401,用于在移动终端的拍照预览过程中,判断移动终端用户的握持方式。Wherein, the judging module 401 is used for judging the holding mode of the user of the mobile terminal during the photo preview process of the mobile terminal.

其中,上述移动终端可以为智能手机、平板电脑等设备。Wherein, the above-mentioned mobile terminal may be a smart phone, a tablet computer and other devices.

第一确定模块402,用于根据移动终端用户的握持方式,确定移动终端的拍照模式。The first determining module 402 is configured to determine the photographing mode of the mobile terminal according to the way the user holds the mobile terminal.

其中,上述握持方式可以为左手握持也可以为右手握持。Wherein, the above-mentioned holding manner can be left-handed or right-handed.

第一接收模块403,用于接收移动终端用户对移动终端的按压操作。The first receiving module 403 is configured to receive a pressing operation of the mobile terminal user on the mobile terminal.

第二确定模块404,用于基于按压操作,确定压力信息,并确定压力信息对应的预设拍照参数。The second determining module 404 is configured to determine pressure information based on the pressing operation, and determine preset photographing parameters corresponding to the pressure information.

第二接收模块405,用于接收移动终端用户输入的拍照指令。The second receiving module 405 is configured to receive a photographing instruction input by a mobile terminal user.

拍照模块406,用于根据拍照模式和预设拍照参数进行拍照。A photographing module 406, configured to photograph according to the photographing mode and preset photographing parameters.

可选的,上述第一确定模块402包括:第一确定单元4021和第二确定单元4022。Optionally, the above-mentioned first determining module 402 includes: a first determining unit 4021 and a second determining unit 4022 .

其中,第一确定单元4021,用于当握持方式为左手握持时,拍照模式为第一拍照模式;Wherein, the first determining unit 4021 is configured to set the photographing mode to be the first photographing mode when the holding mode is left-handed;

第二确定单元4022,用于当握持方式为右手握持时,拍照模式为第二拍照模式。The second determination unit 4022 is configured to set the photographing mode as the second photographing mode when the holding mode is right-handed.

可选的,上述第二确定模块404包括相互连接的第三确定单元4041和第四确定单元4042。Optionally, the second determining module 404 includes a third determining unit 4041 and a fourth determining unit 4042 connected to each other.

其中,第三确定单元4041,用于获取移动终端上的压力传感器被按压的按压时长;Wherein, the third determination unit 4041 is used to obtain the pressing duration of the pressure sensor on the mobile terminal;

第四确定单元4042,用于根据预先存储的按压时长与预设拍照参数之间的对应关系,确定获取到的按压时长对应的预设拍照参数。The fourth determining unit 4042 is configured to determine the preset photographing parameters corresponding to the acquired pressing duration according to the correspondence between the pre-stored pressing duration and preset photographing parameters.

可选的,上述第二确定模块404包括相互连接的第五确定单元4043和第六确定单元4044。Optionally, the second determining module 404 includes a fifth determining unit 4043 and a sixth determining unit 4044 connected to each other.

其中,第五确定单元4043,用于获取移动终端上的压力传感器被按压的压力值;Wherein, the fifth determination unit 4043 is used to obtain the pressure value of the pressure sensor on the mobile terminal being pressed;

第六确定单元4044,用于根据预先存储的压力值与预设拍照参数之间的对应关系,确定获取到的压力值对应的预设拍照参数。The sixth determination unit 4044 is configured to determine the preset photographing parameters corresponding to the acquired pressure values according to the correspondence between the pre-stored pressure values and preset photographing parameters.

可选的,上述判断模块401包括:第一判断单元4011或者第二判断单元4012。Optionally, the judging module 401 includes: a first judging unit 4011 or a second judging unit 4012 .

其中,第一判断单元4011,用于检测移动终端的两侧的压力值,并根据压力值判断出移动终端用户的握持方式为左手握持或者右手握持;Wherein, the first judging unit 4011 is used to detect the pressure value on both sides of the mobile terminal, and judge according to the pressure value that the mobile terminal user's holding mode is left-handed or right-handed;

第二判断单元4012,用于检测移动终端的两侧的电容量,并根据电容量判断出移动终端用户的握持方式为左手握持或者右手握持。The second judging unit 4012 is configured to detect the capacitance of the two sides of the mobile terminal, and judge according to the capacitance that the user of the mobile terminal is holding the mobile terminal with the left hand or the right hand.

在本发明的第二实施例中,移动终端400通过在拍照预览过程中,判断移动终端用户的握持方式,并根据握持方式确定出移动终端的拍照模式,同时基于移动终端用户对移动终端的按压操作,确定出预设拍照参数,并在接收到拍照指令时,根据确定出的拍照模式和预设拍照参数进行拍照,解决了移动终端无法给用户提供智能化的拍照方式的问题,达到了能给用户提供智能化的拍照方式的效果。In the second embodiment of the present invention, the mobile terminal 400 judges the holding mode of the mobile terminal user during the photo preview process, and determines the photographing mode of the mobile terminal according to the holding mode. The press operation determines the preset camera parameters, and when receiving the camera command, takes pictures according to the determined camera mode and preset camera parameters, which solves the problem that the mobile terminal cannot provide users with intelligent camera methods, and achieves In order to provide users with the effect of an intelligent way of taking pictures.

第三实施例third embodiment

如图6所示,本发明的第三实施例提供了一种移动终端,该移动终端600包括:至少一个处理器601、存储器602、至少一个网络接口604、用户接口603和摄像头模块606。移动终端600中的各个组件通过总线系统605耦合在一起。可理解,总线系统605用于实现这些组件之间的连接通信。总线系统605除包括数据总线之外,还包括电源总线、控制总线和状态信号总线。但是为了清楚说明起见,在图6中将各种总线都标为总线系统605。As shown in FIG. 6 , the third embodiment of the present invention provides a mobile terminal. The mobile terminal 600 includes: at least one processor 601 , memory 602 , at least one network interface 604 , user interface 603 and camera module 606 . Various components in the mobile terminal 600 are coupled together through a bus system 605 . It can be understood that the bus system 605 is used to realize connection and communication between these components. In addition to the data bus, the bus system 605 also includes a power bus, a control bus and a status signal bus. However, the various buses are labeled as bus system 605 in FIG. 6 for clarity of illustration.

其中,用户接口603可以包括显示器、键盘或者点击设备(例如,鼠标,轨迹球(trackball)、触感板或者触摸屏等。Wherein, the user interface 603 may include a display, a keyboard or a pointing device (for example, a mouse, a trackball (trackball), a touch panel or a touch screen, and the like.

可以理解,本发明实施例中的存储器602可以是易失性存储器或非易失性存储器,或可包括易失性和非易失性存储器两者。其中,非易失性存储器可以是只读存储器(Read-Only Memory,ROM)、可编程只读存储器(Programmable ROM,PROM)、可擦除可编程只读存储器(Erasable PROM,EPROM)、电可擦除可编程只读存储器(Electrically EPROM,EEPROM)或闪存。易失性存储器可以是随机存取存储器(Random Access Memory,RAM),其用作外部高速缓存。通过示例性但不是限制性说明,许多形式的RAM可用,例如静态随机存取存储器(Static RAM,SRAM)、动态随机存取存储器(Dynamic RAM,DRAM)、同步动态随机存取存储器(Synchronous DRAM,SDRAM)、双倍数据速率同步动态随机存取存储器(Double Data RateSDRAM,DDRSDRAM)、增强型同步动态随机存取存储器(Enhanced SDRAM,ESDRAM)、同步连接动态随机存取存储器(Synchlink DRAM,SLDRAM)和直接内存总线随机存取存储器(DirectRambus RAM,DRRAM)。本文描述的系统和方法的存储器602旨在包括但不限于这些和任意其它适合类型的存储器。It can be understood that the memory 602 in the embodiment of the present invention may be a volatile memory or a nonvolatile memory, or may include both volatile and nonvolatile memories. Wherein, the non-volatile memory may be a read-only memory (Read-Only Memory, ROM), a programmable read-only memory (Programmable ROM, PROM), an erasable programmable read-only memory (Erasable PROM, EPROM), an electronically programmable Erase Programmable Read-Only Memory (Electrically EPROM, EEPROM) or Flash. The volatile memory can be Random Access Memory (RAM), which acts as an external cache. By way of illustration and not limitation, many forms of RAM are available such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (Synchronous DRAM, SDRAM), double data rate synchronous dynamic random access memory (Double Data RateSDRAM, DDRSDRAM), enhanced synchronous dynamic random access memory (Enhanced SDRAM, ESDRAM), synchronous connection dynamic random access memory (Synchlink DRAM, SLDRAM) and Direct memory bus random access memory (DirectRambus RAM, DRRAM). Memory 602 of the systems and methods described herein is intended to include, but is not limited to, these and any other suitable types of memory.

在一些实施方式中,存储器602存储了如下的元素,可执行模块或者数据结构,或者他们的子集,或者他们的扩展集:操作系统6021和应用程序6022。具体地,存储器602中存储了按压时长与预设拍照参数之间的对应关系以及压力值与预设拍照参数之间的对应关系。In some implementations, the memory 602 stores the following elements, executable modules or data structures, or their subsets, or their extended sets: an operating system 6021 and an application program 6022 . Specifically, the memory 602 stores the correspondence between the pressing duration and the preset photographing parameters and the correspondence between the pressure value and the preset photographing parameters.

其中,操作系统6021,包含各种系统程序,例如框架层、核心库层、驱动层等,用于实现各种基础业务以及处理基于硬件的任务。应用程序6022,包含各种应用程序,例如媒体播放器(MediaPlayer)、浏览器(Browser)等,用于实现各种应用业务。实现本发明实施例方法的程序可以包含在应用程序6022中。Among them, the operating system 6021 includes various system programs, such as framework layer, core library layer, driver layer, etc., for realizing various basic services and processing hardware-based tasks. The application program 6022 includes various application programs, such as a media player (MediaPlayer), a browser (Browser), etc., and is used to implement various application services. The program for realizing the method of the embodiment of the present invention may be included in the application program 6022 .

在本发明实施例中,通过调用存储器602存储的程序或指令,具体的,可以是应用程序6022中存储的程序或指令,处理器601用于在移动终端的拍照预览过程中,判断移动终端用户的握持方式;根据移动终端用户的握持方式,确定移动终端的拍照模式;接收移动终端用户对移动终端的按压操作;基于按压操作,确定压力信息,并确定压力信息对应的预设拍照参数。In the embodiment of the present invention, by invoking the program or instruction stored in the memory 602, specifically, the program or instruction stored in the application program 6022, the processor 601 is used to judge the mobile terminal user during the photo preview process of the mobile terminal. According to the holding method of the mobile terminal user, determine the photographing mode of the mobile terminal; receive the pressing operation of the mobile terminal user on the mobile terminal; determine the pressure information based on the pressing operation, and determine the preset photographing parameters corresponding to the pressure information .

当处理器601确定出预设拍照参数后,摄像头模块606用于接收移动终端用户输入的拍照指令,并根据拍照模式和预设拍照参数进行拍照。After the processor 601 determines the preset photographing parameters, the camera module 606 is configured to receive a photographing instruction input by the user of the mobile terminal, and take photographs according to the photographing mode and preset photographing parameters.

上述本发明实施例揭示的方法可以应用于处理器601中,或者由处理器601实现。处理器601可能是一种集成电路芯片,具有信号的处理能力。在实现过程中,上述方法的各步骤可以通过处理器601中的硬件的集成逻辑电路或者软件形式的指令完成。上述的处理器601可以是通用处理器、数字信号处理器(Digital Signal Processor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现成可编程门阵列(FieldProgrammable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件。可以实现或者执行本发明实施例中的公开的各方法、步骤及逻辑框图。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。结合本发明实施例所公开的方法的步骤可以直接体现为硬件译码处理器执行完成,或者用译码处理器中的硬件及软件模块组合执行完成。软件模块可以位于随机存储器,闪存、只读存储器,可编程只读存储器或者电可擦写可编程存储器、寄存器等本领域成熟的存储介质中。该存储介质位于存储器602,处理器601读取存储器602中的信息,结合其硬件完成上述方法的步骤。The methods disclosed in the foregoing embodiments of the present invention may be applied to the processor 601 or implemented by the processor 601 . The processor 601 may be an integrated circuit chip and has signal processing capability. In the implementation process, each step of the above method may be completed by an integrated logic circuit of hardware in the processor 601 or instructions in the form of software. The above-mentioned processor 601 may be a general-purpose processor, a digital signal processor (Digital Signal Processor, DSP), an application specific integrated circuit (Application Specific Integrated Circuit, ASIC), an off-the-shelf programmable gate array (Field Programmable Gate Array, FPGA) or other available Program logic devices, discrete gate or transistor logic devices, discrete hardware components. Various methods, steps and logic block diagrams disclosed in the embodiments of the present invention may be implemented or executed. A general-purpose processor may be a microprocessor, or the processor may be any conventional processor, or the like. The steps of the methods disclosed in the embodiments of the present invention may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software modules in the decoding processor. The software module can be located in a mature storage medium in the field such as random access memory, flash memory, read-only memory, programmable read-only memory or electrically erasable programmable memory, register. The storage medium is located in the memory 602, and the processor 601 reads the information in the memory 602, and completes the steps of the above method in combination with its hardware.

可以理解的是,本文描述的这些实施例可以用硬件、软件、固件、中间件、微码或其组合来实现。对于硬件实现,处理单元可以实现在一个或多个专用集成电路(ApplicationSpecific Integrated Circuits,ASIC)、数字信号处理器(Digital Signal Processing,DSP)、数字信号处理设备(DSP Device,DSPD)、可编程逻辑设备(Programmable LogicDevice,PLD)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)、通用处理器、控制器、微控制器、微处理器、用于执行本申请所述功能的其它电子单元或其组合中。It should be understood that the embodiments described herein may be implemented by hardware, software, firmware, middleware, microcode or a combination thereof. For hardware implementation, the processing unit can be implemented in one or more application specific integrated circuits (Application Specific Integrated Circuits, ASIC), digital signal processor (Digital Signal Processing, DSP), digital signal processing device (DSP Device, DSPD), programmable logic Device (Programmable Logic Device, PLD), Field-Programmable Gate Array (Field-Programmable Gate Array, FPGA), general-purpose processor, controller, microcontroller, microprocessor, other electronic units for performing the functions described in this application or a combination thereof.

对于软件实现,可通过执行本文所述功能的模块(例如过程、函数等)来实现本文所述的技术。软件代码可存储在存储器中并通过处理器执行。存储器可以在处理器中或在处理器外部实现。For a software implementation, the techniques described herein can be implemented through modules (eg, procedures, functions, and so on) that perform the functions described herein. Software codes can be stored in memory and executed by a processor. Memory can be implemented within the processor or external to the processor.

可选地,处理器601还用于:当握持方式为左手握持时,拍照模式为第一拍照模式;而当握持方式为右手握持时,拍照模式为第二拍照模式。Optionally, the processor 601 is further configured to: when the holding mode is left-handed, the photographing mode is the first photographing mode; and when the grasping mode is right-handed, the photographing mode is the second photographing mode.

可选地,处理器601还用于:获取移动终端上的压力传感器被按压的按压时长,并根据预先存储的按压时长与预设拍照参数之间的对应关系,确定获取到的按压时长对应的预设拍照参数。Optionally, the processor 601 is further configured to: acquire the pressing duration of the pressure sensor on the mobile terminal, and determine the obtained pressing duration corresponding to the corresponding relationship between the pre-stored pressing duration and the preset photographing parameters. Preset camera parameters.

可选地,处理器601还用于:获取移动终端上的压力传感器被按压的压力值,并根据预先存储的压力值与预设拍照参数之间的对应关系,确定获取到的压力值对应的预设拍照参数。Optionally, the processor 601 is further configured to: acquire the pressure value of the pressure sensor on the mobile terminal being pressed, and determine the corresponding Preset camera parameters.

可选地,处理器601还用于:检测移动终端的两侧的压力值,并根据压力值判断出移动终端用户的握持方式为左手握持或者右手握持;或者;检测移动终端的两侧的电容量,并根据电容量判断出移动终端用户的握持方式为左手握持或者右手握持。Optionally, the processor 601 is further configured to: detect the pressure values on both sides of the mobile terminal, and determine whether the mobile terminal user is holding the mobile terminal with the left hand or the right hand according to the pressure values; or; detect the two sides of the mobile terminal. side capacitance, and according to the capacitance, it can be judged whether the mobile terminal user is holding the mobile terminal with the left hand or the right hand.

移动终端600能够实现前述实施例中移动终端实现的各个过程,为避免重复,这里不再赘述。The mobile terminal 600 can implement various processes implemented by the mobile terminal in the foregoing embodiments, and to avoid repetition, details are not repeated here.

在本发明的第三实施例中,移动终端通过在拍照预览过程中,判断移动终端用户的握持方式,并根据握持方式确定出移动终端的拍照模式,同时基于移动终端用户对移动终端的按压操作,确定出预设拍照参数,并在接收到拍照指令时,根据确定出的拍照模式和预设拍照参数进行拍照,解决了移动终端无法给用户提供智能化的拍照方式的问题,达到了能给用户提供智能化的拍照方式的效果。In the third embodiment of the present invention, the mobile terminal judges the gripping mode of the mobile terminal user during the photo preview process, and determines the photographing mode of the mobile terminal according to the gripping mode, and at the same time, based on the mobile terminal user's perception of the mobile terminal, Press the operation to determine the preset camera parameters, and when receiving the camera command, take pictures according to the determined camera mode and preset camera parameters, which solves the problem that the mobile terminal cannot provide users with intelligent camera methods, and achieves It can provide users with the effect of an intelligent way of taking pictures.

第四实施例Fourth embodiment

如图7所示,本发明的第四实施例提供了一种移动终端,该移动终端700可以为手机、平板电脑、个人数字助理(Personal Digital Assistant,PDA)、或车载电脑等。As shown in FIG. 7 , the fourth embodiment of the present invention provides a mobile terminal. The mobile terminal 700 may be a mobile phone, a tablet computer, a personal digital assistant (Personal Digital Assistant, PDA), or a vehicle-mounted computer.

图7中的移动终端700包括射频(Radio Frequency,RF)电路710、存储器720、输入单元730、显示单元740、处理器760、音频电路770、WiFi(Wireless Fidelity)模块780、电源790和摄像头模块750。Mobile terminal 700 in Fig. 7 comprises radio frequency (Radio Frequency, RF) circuit 710, memory 720, input unit 730, display unit 740, processor 760, audio frequency circuit 770, WiFi (Wireless Fidelity) module 780, power supply 790 and camera module 750.

其中,输入单元730可用于接收用户输入的数字或字符信息,以及产生与移动终端700的用户设置以及功能控制有关的信号输入。具体地,本发明实施例中,该输入单元730可以包括触控面板731。触控面板731,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板731上的操作),并根据预先设定的程式驱动相应的连接装置。可选的,触控面板731可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给该处理器760,并能接收处理器760发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板731。除了触控面板731,输入单元730还可以包括其他输入设备732,其他输入设备732可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆等中的一种或多种。Wherein, the input unit 730 can be used for receiving number or character information input by the user, and generating signal input related to the user setting and function control of the mobile terminal 700 . Specifically, in the embodiment of the present invention, the input unit 730 may include a touch panel 731 . The touch panel 731, also referred to as a touch screen, can collect user's touch operations on or near it (such as the user's operation on the touch panel 731 using any suitable object or accessory such as a finger, a stylus), and The specified program drives the corresponding connected device. Optionally, the touch panel 731 may include two parts, a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch orientation, and detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and sends it to the to the processor 760, and can receive and execute commands sent by the processor 760. In addition, the touch panel 731 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic wave. In addition to the touch panel 731, the input unit 730 may also include other input devices 732, which may include but not limited to physical keyboards, function keys (such as volume control buttons, switch buttons, etc.), trackballs, mice, joysticks, etc. one or more of.

其中,显示单元740可用于显示由用户输入的信息或提供给用户的信息以及移动终端700的各种菜单界面。显示单元740可包括显示面板741,可选的,可以采用LCD或有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示面板741。Wherein, the display unit 740 can be used to display information input by the user or information provided to the user and various menu interfaces of the mobile terminal 700 . The display unit 740 may include a display panel 741. Optionally, the display panel 741 may be configured in the form of an LCD or an organic light-emitting diode (Organic Light-Emitting Diode, OLED).

应注意,触控面板731可以覆盖显示面板741,形成触摸显示屏,当该触摸显示屏检测到在其上或附近的触摸操作后,传送给处理器760以确定触摸事件的类型,随后处理器760根据触摸事件的类型在触摸显示屏上提供相应的视觉输出。It should be noted that the touch panel 731 can cover the display panel 741 to form a touch display screen. When the touch display screen detects a touch operation on or near it, it is sent to the processor 760 to determine the type of the touch event, and then the processor The 760 provides corresponding visual output on the touch display screen according to the type of the touch event.

触摸显示屏包括应用程序界面显示区及常用控件显示区。该应用程序界面显示区及该常用控件显示区的排列方式并不限定,可以为上下排列、左右排列等可以区分两个显示区的排列方式。该应用程序界面显示区可以用于显示应用程序的界面。每一个界面可以包含至少一个应用程序的图标和/或widget桌面控件等界面元素。该应用程序界面显示区也可以为不包含任何内容的空界面。该常用控件显示区用于显示使用率较高的控件,例如,设置按钮、界面编号、滚动条、电话本图标等应用程序图标等。The touch display screen includes an application program interface display area and a common control display area. The arrangement of the display area of the application program interface and the display area of the commonly used controls is not limited, and may be an arrangement in which the two display areas can be distinguished, such as vertical arrangement, left-right arrangement, and the like. The application program interface display area can be used to display the interface of the application program. Each interface may include at least one interface element such as an icon of an application program and/or a widget desktop control. The application program interface display area can also be an empty interface without any content. The commonly used control display area is used to display controls with a high usage rate, for example, application icons such as setting buttons, interface numbers, scroll bars, and phonebook icons.

其中处理器760是移动终端700的控制中心,利用各种接口和线路连接整个手机的各个部分,通过运行或执行存储在第一存储器721内的软件程序和/或模块,以及调用存储在第二存储器722内的数据,执行移动终端700的各种功能和处理数据,从而对移动终端700进行整体监控。可选的,处理器760可包括一个或多个处理单元。其中,第二存储器722中存储了按压时长与预设拍照参数之间的对应关系以及压力值与预设拍照参数之间的对应关系。Wherein the processor 760 is the control center of the mobile terminal 700, utilizes various interfaces and lines to connect various parts of the whole mobile phone, by running or executing the software programs and/or modules stored in the first memory 721, and calling the software programs and/or modules stored in the second memory 721. The data in the memory 722 executes various functions of the mobile terminal 700 and processes data, so as to monitor the mobile terminal 700 as a whole. Optionally, the processor 760 may include one or more processing units. Wherein, the second memory 722 stores the correspondence between the pressing duration and the preset photographing parameters and the correspondence between the pressure value and the preset photographing parameters.

在本发明实施例中,通过调用存储该第一存储器721内的软件程序和/或模块和/或该第二存储器722内的数据,处理器760用于在移动终端的拍照预览过程中,判断移动终端用户的握持方式;根据移动终端用户的握持方式,确定移动终端的拍照模式;接收移动终端用户对移动终端的按压操作;基于按压操作,确定压力信息,并确定压力信息对应的预设拍照参数。In the embodiment of the present invention, the processor 760 is used to judge the The gripping mode of the mobile terminal user; according to the gripping mode of the mobile terminal user, determine the photographing mode of the mobile terminal; receive the pressing operation of the mobile terminal user on the mobile terminal; determine the pressure information based on the pressing operation, and determine the preset value corresponding to the pressure information Set camera parameters.

当处理器760确定出预设拍照参数后,摄像头模块750用于接收移动终端用户输入的拍照指令,并根据拍照模式和预设拍照参数进行拍照。After the processor 760 determines the preset photographing parameters, the camera module 750 is configured to receive a photographing instruction input by the mobile terminal user, and take photographs according to the photographing mode and preset photographing parameters.

可选地,处理器760还用于:当握持方式为左手握持时,拍照模式为第一拍照模式;而当握持方式为右手握持时,拍照模式为第二拍照模式。Optionally, the processor 760 is further configured to: when the holding mode is left-handed, the photographing mode is the first photographing mode; and when the holding mode is right-handed, the photographing mode is the second photographing mode.

可选地,处理器760还用于:获取移动终端上的压力传感器被按压的按压时长,并根据预先存储的按压时长与预设拍照参数之间的对应关系,确定获取到的按压时长对应的预设拍照参数。Optionally, the processor 760 is further configured to: obtain the pressing duration of the pressure sensor on the mobile terminal, and determine the obtained pressing duration corresponding to the corresponding relationship between the pre-stored pressing duration and the preset photographing parameters. Preset camera parameters.

可选地,处理器760还用于:获取移动终端上的压力传感器被按压的压力值,并根据预先存储的压力值与预设拍照参数之间的对应关系,确定获取到的压力值对应的预设拍照参数。Optionally, the processor 760 is further configured to: acquire the pressure value of the pressure sensor on the mobile terminal being pressed, and determine the corresponding Preset camera parameters.

可选地,处理器760还用于:检测移动终端的两侧的压力值,并根据压力值判断出移动终端用户的握持方式为左手握持或者右手握持;或者;检测移动终端的两侧的电容量,并根据电容量判断出移动终端用户的握持方式为左手握持或者右手握持。Optionally, the processor 760 is further configured to: detect the pressure values on both sides of the mobile terminal, and determine whether the mobile terminal user is holding the mobile terminal with the left hand or the right hand according to the pressure values; or; detect the two sides of the mobile terminal. side capacitance, and according to the capacitance, it can be judged whether the mobile terminal user is holding the mobile terminal with the left hand or the right hand.

可见,在本发明的第四实施例中,移动终端通过在拍照预览过程中,判断移动终端用户的握持方式,并根据握持方式确定出移动终端的拍照模式,同时基于移动终端用户对移动终端的按压操作,确定出预设拍照参数,并在接收到拍照指令时,根据确定出的拍照模式和预设拍照参数进行拍照,解决了移动终端无法给用户提供智能化的拍照方式的问题,达到了能给用户提供智能化的拍照方式的效果。It can be seen that in the fourth embodiment of the present invention, the mobile terminal determines the mobile terminal user's grip mode during the photo preview process, and determines the mobile terminal's photographing mode according to the grip mode, and at the same time, based on the mobile terminal user's movement The pressing operation of the terminal determines the preset camera parameters, and when the camera command is received, the camera is taken according to the determined camera mode and preset camera parameters, which solves the problem that the mobile terminal cannot provide users with intelligent camera methods. The effect of providing the user with an intelligent way of taking pictures has been achieved.

本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本发明的范围。Those skilled in the art can appreciate that the units and algorithm steps of the examples described in conjunction with the embodiments disclosed herein can be implemented by electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are executed by hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art may use different methods to implement the described functions for each specific application, but such implementation should not be regarded as exceeding the scope of the present invention.

所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that for the convenience and brevity of the description, the specific working process of the above-described system, device and unit can refer to the corresponding process in the foregoing method embodiment, which will not be repeated here.

在本申请所提供的实施例中,应该理解到,所揭露的装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the embodiments provided in this application, it should be understood that the disclosed devices and methods may be implemented in other ways. For example, the device embodiments described above are only illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components can be combined or May be integrated into another system, or some features may be ignored, or not implemented. In another point, the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or units may be in electrical, mechanical or other forms.

所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place, or may be distributed to multiple network units. Part or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.

另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, each unit may exist separately physically, or two or more units may be integrated into one unit.

所述功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、ROM、RAM、磁碟或者光盘等各种可以存储程序代码的介质。If the functions described above are realized in the form of software function units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the essence of the technical solution of the present invention or the part that contributes to the prior art or the part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including Several instructions are used to make a computer device (which may be a personal computer, a server, or a network device, etc.) execute all or part of the steps of the methods described in various embodiments of the present invention. The aforementioned storage medium includes: various media capable of storing program codes such as U disk, mobile hard disk, ROM, RAM, magnetic disk or optical disk.

以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应以权利要求的保护范围为准。The above is only a specific embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Anyone skilled in the art can easily think of changes or substitutions within the technical scope disclosed in the present invention. Should be covered within the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.

Claims (10)

1. a kind of photographic method of mobile terminal is it is characterised in that include:
Taking pictures in previews in described mobile terminal, judges the holding mode of described mobile phone users;
According to the holding mode of described mobile phone users, determine the exposal model of described mobile terminal;
Receive the pressing operation to described mobile terminal for the described mobile phone users;
Based on described pressing operation, determine pressure information, and determine the corresponding default parameter of taking pictures of described pressure information;
Receive the photographing instruction of mobile phone users input;
Taken pictures according to described exposal model and described default parameter of taking pictures.
2. method according to claim 1 is it is characterised in that the described holding mode according to described mobile phone users, The step determining the exposal model of described mobile terminal, comprising:
When described holding mode is left-handed, described exposal model is the first exposal model;
When described holding mode grips for the right hand, described exposal model is the second exposal model.
3. method according to claim 1 is it is characterised in that described determine pressure information based on described pressing operation, and The step determining the corresponding default parameter of taking pictures of described pressure information, comprising:
Obtain the pressing duration that the pressure transducer on described mobile terminal is pressed;
According to the pressing duration prestoring and the default corresponding relation taken pictures between parameter, determine the pressing duration pair getting The default parameter of taking pictures answered.
4. method according to claim 1 is it is characterised in that described determine pressure information based on described pressing operation, and The step determining the corresponding default parameter of taking pictures of described pressure information, comprising:
Obtain the pressure value that the pressure transducer on described mobile terminal is pressed;
According to the pressure value prestoring and the default corresponding relation taken pictures between parameter, determine that the pressure value getting is corresponding Default parameter of taking pictures.
5. method according to claim 1 is it is characterised in that the holding mode of the described mobile phone users of described judgement Step, comprising:
Detect the pressure value of the both sides of described mobile terminal, and judge the gripping side of described mobile phone users according to pressure value Formula is left-handed or the right hand grips;Or
Detect the capacitance of the both sides of described mobile terminal, and judge the gripping side of described mobile phone users according to capacitance Formula is left-handed or the right hand grips.
6. a kind of mobile terminal is it is characterised in that include:
Judge module, for taking pictures in previews in described mobile terminal, judges the gripping side of described mobile phone users Formula;
First determining module, for the holding mode according to described mobile phone users, determines the mould of taking pictures of described mobile terminal Formula;
First receiver module, for receiving the pressing operation to described mobile terminal for the described mobile phone users;
Second determining module, for based on described pressing operation, determining pressure information, and determines that described pressure information is corresponding pre- If taking pictures parameter;
Second receiver module, for receiving the photographing instruction of mobile phone users input;
Photo module, for being taken pictures according to described exposal model and described default parameter of taking pictures.
7. mobile terminal according to claim 6 is it is characterised in that described first determining module includes:
First determining unit, for when described holding mode is left-handed, described exposal model is the first exposal model;
Second determining unit, for when described holding mode grips for the right hand, described exposal model is the second exposal model.
8. mobile terminal according to claim 6 is it is characterised in that described second determining module includes:
3rd determining unit, for obtaining the pressing duration that the pressure transducer on described mobile terminal is pressed;
4th determining unit, for according to the pressing duration prestoring and the default corresponding relation taken pictures between parameter, determining The corresponding default parameter of taking pictures of pressing duration getting.
9. mobile terminal according to claim 6 is it is characterised in that described second determining module includes:
5th determining unit, for obtaining the pressure value that the pressure transducer on described mobile terminal is pressed;
6th determining unit, for according to the pressure value prestoring and the default corresponding relation taken pictures between parameter, determination obtains The corresponding default parameter of taking pictures of pressure value got.
10. mobile terminal according to claim 6 is it is characterised in that described judge module includes:
First judging unit, for detecting the pressure value of the both sides of described mobile terminal, and judges described shifting according to pressure value The holding mode of dynamic terminal use is left-handed or the right hand grips;Or
Second judging unit, for detecting the capacitance of the both sides of described mobile terminal, and judges described shifting according to capacitance The holding mode of dynamic terminal use is left-handed or the right hand grips.
CN201610710389.8A 2016-08-23 2016-08-23 Method for taking pictures of a mobile terminal and mobile terminal Active CN106354303B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610710389.8A CN106354303B (en) 2016-08-23 2016-08-23 Method for taking pictures of a mobile terminal and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610710389.8A CN106354303B (en) 2016-08-23 2016-08-23 Method for taking pictures of a mobile terminal and mobile terminal

Publications (2)

Publication Number Publication Date
CN106354303A true CN106354303A (en) 2017-01-25
CN106354303B CN106354303B (en) 2019-11-19

Family

ID=57844600

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610710389.8A Active CN106354303B (en) 2016-08-23 2016-08-23 Method for taking pictures of a mobile terminal and mobile terminal

Country Status (1)

Country Link
CN (1) CN106354303B (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107168617A (en) * 2017-03-24 2017-09-15 广东小天才科技有限公司 Photographing method and device for terminal equipment and terminal equipment
CN108491780A (en) * 2018-03-16 2018-09-04 广东欧珀移动通信有限公司 Image landscaping treatment method, apparatus, storage medium and terminal device
CN108595093A (en) * 2018-04-27 2018-09-28 Oppo广东移动通信有限公司 Camera control method, device, storage medium and electronic equipment
CN108810403A (en) * 2018-04-27 2018-11-13 Oppo广东移动通信有限公司 Focal length adjusting method and device, storage medium and electronic equipment
CN109462727A (en) * 2018-11-23 2019-03-12 维沃移动通信有限公司 A kind of filter method of adjustment and mobile terminal
CN109561215A (en) * 2018-12-13 2019-04-02 北京达佳互联信息技术有限公司 Method, apparatus, terminal and the storage medium that U.S. face function is controlled
WO2019061223A1 (en) * 2017-09-29 2019-04-04 深圳传音通讯有限公司 Camera application control method and device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103593640A (en) * 2012-08-16 2014-02-19 联想(北京)有限公司 Information processing method and electronic equipment
CN105100609A (en) * 2015-07-10 2015-11-25 努比亚技术有限公司 Mobile terminal and shooting parameter adjusting method
CN105100611A (en) * 2015-07-16 2015-11-25 努比亚技术有限公司 Shooting mode switching system and method
CN105100603A (en) * 2015-05-29 2015-11-25 努比亚技术有限公司 A trigger camera device embedded in an intelligent terminal and its method
CN105120160A (en) * 2015-08-27 2015-12-02 努比亚技术有限公司 Shooting device and shooting method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103593640A (en) * 2012-08-16 2014-02-19 联想(北京)有限公司 Information processing method and electronic equipment
CN105100603A (en) * 2015-05-29 2015-11-25 努比亚技术有限公司 A trigger camera device embedded in an intelligent terminal and its method
CN105100609A (en) * 2015-07-10 2015-11-25 努比亚技术有限公司 Mobile terminal and shooting parameter adjusting method
CN105100611A (en) * 2015-07-16 2015-11-25 努比亚技术有限公司 Shooting mode switching system and method
CN105120160A (en) * 2015-08-27 2015-12-02 努比亚技术有限公司 Shooting device and shooting method

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107168617A (en) * 2017-03-24 2017-09-15 广东小天才科技有限公司 Photographing method and device for terminal equipment and terminal equipment
WO2019061223A1 (en) * 2017-09-29 2019-04-04 深圳传音通讯有限公司 Camera application control method and device
CN108491780A (en) * 2018-03-16 2018-09-04 广东欧珀移动通信有限公司 Image landscaping treatment method, apparatus, storage medium and terminal device
CN108595093A (en) * 2018-04-27 2018-09-28 Oppo广东移动通信有限公司 Camera control method, device, storage medium and electronic equipment
CN108810403A (en) * 2018-04-27 2018-11-13 Oppo广东移动通信有限公司 Focal length adjusting method and device, storage medium and electronic equipment
CN109462727A (en) * 2018-11-23 2019-03-12 维沃移动通信有限公司 A kind of filter method of adjustment and mobile terminal
CN109462727B (en) * 2018-11-23 2022-01-25 维沃移动通信有限公司 Filter adjusting method and mobile terminal
CN109561215A (en) * 2018-12-13 2019-04-02 北京达佳互联信息技术有限公司 Method, apparatus, terminal and the storage medium that U.S. face function is controlled
CN109561215B (en) * 2018-12-13 2021-03-23 北京达佳互联信息技术有限公司 Method, device, terminal and storage medium for controlling beautifying function

Also Published As

Publication number Publication date
CN106354303B (en) 2019-11-19

Similar Documents

Publication Publication Date Title
CN106354303B (en) Method for taking pictures of a mobile terminal and mobile terminal
CN107395969B (en) A shooting method and mobile terminal
CN106791364A (en) Method and mobile terminal that a kind of many people take pictures
CN106658141B (en) A video processing method and mobile terminal
CN107613203B (en) Image processing method and mobile terminal
CN106131341A (en) A kind of photographic method and mobile terminal
CN107257439A (en) A kind of image pickup method and mobile terminal
WO2019001152A1 (en) Photographing method and mobile terminal
CN107181913A (en) A kind of photographic method and mobile terminal
CN107509030B (en) A focusing method and mobile terminal
CN107302655B (en) It is a kind of to shoot the adjusting method and mobile terminal found a view
CN106657793A (en) Image processing method and mobile terminal
CN107734142A (en) A kind of photographic method, mobile terminal and server
CN107172347B (en) A kind of photographing method and terminal
CN107172346A (en) A kind of weakening method and mobile terminal
CN106126108A (en) A kind of breviary map generalization method and mobile terminal
CN106095280A (en) A kind of photographic method and mobile terminal
CN106648382A (en) Picture browsing method and mobile terminal
CN107562345A (en) A kind of information storage means and mobile terminal
CN107404577A (en) A kind of image processing method, mobile terminal and computer-readable recording medium
CN107222675A (en) The photographic method and mobile terminal of a kind of mobile terminal
CN106888354A (en) A kind of singlehanded photographic method and mobile terminal
CN106506801A (en) A kind of method of adjustment camera zoom magnification and mobile terminal
CN107613193A (en) A kind of camera control method and mobile terminal
CN107622478A (en) A kind of image processing method, mobile terminal and computer-readable recording medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant