CN107092420B - Photographing method and mobile terminal - Google Patents
Photographing method and mobile terminal Download PDFInfo
- Publication number
- CN107092420B CN107092420B CN201710232991.XA CN201710232991A CN107092420B CN 107092420 B CN107092420 B CN 107092420B CN 201710232991 A CN201710232991 A CN 201710232991A CN 107092420 B CN107092420 B CN 107092420B
- Authority
- CN
- China
- Prior art keywords
- icon
- mobile terminal
- instruction
- key
- moving
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
- 238000000034 method Methods 0.000 title claims abstract description 28
- 230000008859 change Effects 0.000 claims abstract description 14
- 230000004044 response Effects 0.000 claims abstract description 10
- 239000002344 surface layer Substances 0.000 claims description 13
- 230000003247 decreasing effect Effects 0.000 claims description 12
- 238000011038 discontinuous diafiltration by volume reduction Methods 0.000 claims description 12
- 238000001514 detection method Methods 0.000 claims description 11
- 239000007787 solid Substances 0.000 claims description 8
- XLYOFNOQVPJJNP-UHFFFAOYSA-N water Substances O XLYOFNOQVPJJNP-UHFFFAOYSA-N 0.000 claims description 3
- 230000009286 beneficial effect Effects 0.000 description 3
- 230000008569 process Effects 0.000 description 3
- 238000010586 diagram Methods 0.000 description 2
- 230000002159 abnormal effect Effects 0.000 description 1
- 238000004590 computer program Methods 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 239000010410 layer Substances 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0481—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
- G06F3/04817—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance using icons
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/03—Arrangements for converting the position or the displacement of a member into a coded form
- G06F3/041—Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
- G06F3/0416—Control or interface arrangements specially adapted for digitisers
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction 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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
- H04N23/62—Control of parameters via user interfaces
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)
- Multimedia (AREA)
- Signal Processing (AREA)
- Studio Devices (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The embodiment of the invention provides a photographing method and a mobile terminal, wherein the method comprises the following steps: detecting whether the mobile terminal is in an underwater environment; when the mobile terminal is detected to be in an underwater environment, displaying a camera view frame and a virtual icon in the camera view frame on a touch screen of the mobile terminal, and forbidding touch response processing on touch data detected by the touch screen; according to an icon moving instruction, moving the virtual icon to change the position of the virtual icon in the camera shooting view frame; taking the position of the virtual icon in the shooting view-finding frame as a focus position to shoot according to the determined shooting instruction; according to the embodiment of the invention, the problem that the mobile terminal cannot normally focus in an underwater environment is solved, and a user can move a focus and take a picture by pressing the entity key on the mobile terminal, so that misoperation of an underwater touch screen is avoided.
Description
Technical Field
The invention relates to the technical field of mobile terminals, in particular to a photographing method and a mobile terminal.
Background
The existing smart phones (including apple cell phones) focus by clicking a touch screen when taking a picture. The shot picture can capture the object which the user wants to obtain.
However, in the process of implementing the present invention, the inventor finds that when a user takes a picture underwater, the whole touch screen of the mobile phone is covered by water, and a pressure layer is formed on the surface layer of the screen, which may cause a point error report of the touch screen. At the moment, a user shoots, and wants to click the screen to carry out accurate focusing, so that the accurate focusing is difficult to realize, and the mistaken reporting points of the touch screen become more and more serious along with the increase of the water depth, so that the focusing method is more and more difficult to carry out or can not be carried out at all.
Disclosure of Invention
The embodiment of the invention provides a photographing method and a mobile terminal, which can solve the problem that the conventional mobile terminal cannot normally focus underwater.
An embodiment of the present invention provides a photographing method, executed by a mobile terminal, including:
detecting whether the mobile terminal is in an underwater environment;
when the mobile terminal is detected to be in an underwater environment, displaying a camera view frame and a virtual icon in the camera view frame on a touch screen of the mobile terminal, and forbidding touch response processing on touch data detected by the touch screen;
according to an icon moving instruction, moving the virtual icon to change the position of the virtual icon in the camera shooting view frame;
taking the position of the virtual icon in the shooting view-finding frame as a focus position to shoot according to the determined shooting instruction;
the icon moving instruction and the determined photographing instruction are generated by pressing a volume increasing key, a volume decreasing key and a power key on the mobile terminal by a user; the volume up key, the volume down key and the power key are all solid keys; the icon moving instruction comprises an icon moving instruction, an icon left moving instruction and an icon right moving instruction; the icon moving instruction is generated when the volume increasing key is pressed; the icon downward moving instruction is generated when the volume reduction key is pressed; the icon left shift instruction is generated when the volume up key and the power key are pressed simultaneously; the icon right shift instruction is generated when the volume reduction key and the power key are pressed simultaneously;
the moving the virtual icon to change the position of the virtual icon in the camera shooting view finder according to the icon moving instruction comprises:
controlling the virtual icon to move upwards in the camera shooting view-finding frame according to the icon moving-up instruction;
controlling the virtual icon to move downwards in the camera shooting view-finding frame according to the icon downward moving instruction;
controlling the virtual icon to move leftwards in the camera shooting view-finding frame according to an icon left-moving instruction;
and controlling the virtual icon to move rightwards in the camera shooting view-finding frame according to the icon right movement instruction.
Preferably, the photo-taking instruction is generated when the volume-up key, the volume-down key and the power key are pressed simultaneously.
Preferably, the detecting whether the mobile terminal is in an underwater environment specifically includes:
and detecting whether the mobile terminal is in an underwater environment or not in a photographing mode.
Preferably, the detecting whether the mobile terminal is in an underwater environment in the photographing mode includes:
in the photographing mode, judging whether the surface layer of the whole touch screen is stressed or not according to touch data detected by the touch screen;
when the surface layer of the whole touch screen is stressed, the mobile terminal is judged to be in an underwater environment; otherwise, the mobile terminal is judged not to be in the underwater environment.
Another aspect of an embodiment of the present invention provides a mobile terminal, including:
the environment detection module is used for detecting whether the mobile terminal is in an underwater environment or not;
the underwater environment processing module is used for displaying a camera shooting view frame and a virtual icon positioned in the camera shooting view frame on a touch screen of the mobile terminal when the mobile terminal is detected to be in an underwater environment, and forbidding touch response processing on touch data detected by the touch screen;
the icon moving module is used for moving the virtual icon according to an icon moving instruction so as to change the position of the virtual icon in the camera shooting view frame;
the photographing module is used for taking the position of the virtual icon in the photographing view-finding frame as a focus position for photographing according to the determined photographing instruction;
the icon moving instruction and the determined photographing instruction are generated by pressing a volume increasing key, a volume decreasing key and a power key on the mobile terminal by a user; the volume up key, the volume down key and the power key are all solid keys; the icon moving instruction comprises an icon moving instruction, an icon left moving instruction and an icon right moving instruction; the icon moving instruction is generated when the volume increasing key is pressed; the icon downward moving instruction is generated when the volume reduction key is pressed; the icon left shift instruction is generated when the volume up key and the power key are pressed simultaneously; the icon right shift instruction is generated when the volume reduction key and the power key are pressed simultaneously;
the icon moving module includes:
the icon moving unit is used for controlling the virtual icon to move upwards in the camera shooting view frame according to an icon moving instruction;
the icon downward moving unit is used for controlling the virtual icon to move downward in the camera shooting view frame according to an icon downward moving instruction;
the icon left-moving unit is used for controlling the virtual icon to move left in the camera shooting view-finding frame according to an icon left-moving instruction;
and the icon right moving unit is used for controlling the virtual icon to move rightwards in the camera shooting view-finding frame according to the icon right moving instruction.
Preferably, the photo-taking instruction is generated when the volume-up key, the volume-down key and the power key are pressed simultaneously.
Preferably, the environment detection module is specifically configured to: and detecting whether the mobile terminal is in an underwater environment or not in a photographing mode.
Preferably, the environment detection module includes:
the pressure judging unit is used for judging whether the surface layer of the whole touch screen is subjected to pressure or not according to the touch data detected by the touch screen in the photographing mode;
the judging unit is used for judging that the mobile terminal is in an underwater environment when the surface layer of the whole touch screen is stressed; otherwise, the mobile terminal is judged not to be in the underwater environment.
Compared with the prior art, the embodiment of the invention has the beneficial effects that: the embodiment of the invention provides a photographing method and a mobile terminal, wherein the method comprises the following steps: detecting whether the mobile terminal is in an underwater environment; when the mobile terminal is detected to be in an underwater environment, displaying a camera view frame and a virtual icon in the camera view frame on a touch screen of the mobile terminal, and forbidding touch response processing on touch data detected by the touch screen; according to an icon moving instruction, moving the virtual icon to change the position of the virtual icon in the camera shooting view frame; taking the position of the virtual icon in the shooting view-finding frame as a focus position to shoot according to the determined shooting instruction; the icon moving instruction and the determined photographing instruction are generated by pressing a volume increasing key, a volume decreasing key and a power key on the mobile terminal by a user; the volume up key, the volume down key and the power key are all solid keys. According to the embodiment of the invention, the problem that the mobile terminal cannot normally focus in an underwater environment is solved, the user can move the focus and take a picture by pressing the entity key on the mobile terminal, the misoperation of an underwater touch screen is avoided, the focus position can be moved only by pressing the entity key, so that the focus position is stable, and the shot picture can capture an object which the user wants to obtain. In addition, the entity keys used in the embodiment of the invention are the volume increasing key, the volume decreasing key and the power key which are all possessed by the general mobile terminal, the hardware of the mobile terminal is not required to be improved, and only the software layer is required to be improved, so the method has the advantages of low cost and wide application range.
Drawings
In order to more clearly illustrate the technical solution of the present invention, the drawings needed to be used in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic flowchart of a photographing method according to an embodiment of the present invention;
fig. 2 is a block diagram of a mobile terminal according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Please refer to fig. 1, which is a flowchart illustrating a photographing method according to an embodiment of the present invention.
The photographing method is executed by the mobile terminal and comprises the following steps:
s1, detecting whether the mobile terminal is in an underwater environment;
s2, when the mobile terminal is detected to be in an underwater environment, displaying a camera view frame and a virtual icon in the camera view frame on a touch screen of the mobile terminal, and forbidding touch response processing on touch data detected by the touch screen;
s3, according to the icon moving instruction, moving the virtual icon to change the position of the virtual icon in the camera shooting view frame;
s4, taking the position of the virtual icon in the camera shooting view-finding frame as a focus position for shooting according to the determined shooting instruction;
the icon moving instruction and the determined photographing instruction are generated by pressing a volume increasing key, a volume decreasing key and a power key on the mobile terminal by a user; the volume up key, the volume down key and the power key are all solid keys.
In the embodiment of the invention, when the mobile terminal is detected to be in an underwater environment, a virtual icon for identifying the focus position is displayed in the camera view-finding frame, and the virtual icon can be similar to an asistivetouch button of an apple mobile phone as long as a user can identify the virtual icon. Since the touch data detected by the touch screen is abnormal in an underwater environment, it is necessary to prohibit the touch response processing for the touch data detected by the touch screen to prevent an erroneous operation. The user generates an icon moving instruction by pressing a volume increasing key, a volume decreasing key and a power key on the mobile terminal so as to change the position of the virtual icon in the camera shooting view-finding frame, namely, change the focus position, and generates a shooting instruction to take the position of the virtual icon in the camera shooting view-finding frame as the focus position. According to the embodiment of the invention, the problem that the mobile terminal cannot normally focus in an underwater environment is solved, the user can move the focus and take a picture by pressing the entity key on the mobile terminal, the misoperation of an underwater touch screen is avoided, the focus position can be moved only by pressing the entity key, so that the focus position is stable, and the shot picture can capture an object which the user wants to obtain. In addition, the entity keys used in the embodiment of the invention are the volume increasing key, the volume decreasing key and the power key which are all possessed by the general mobile terminal, the hardware of the mobile terminal is not required to be improved, and only the software layer is required to be improved, so the method has the advantages of low cost and wide application range.
It should be noted that how to take a picture according to the focus position in step S4 is a routine technical means for those skilled in the art, and is not the point of the invention, so that the detailed description of the invention is omitted.
It should be noted that the mobile terminal may be any mobile terminal having a touch screen and a photographing function, such as a mobile phone and a tablet computer.
In an optional embodiment, the icon moving instruction comprises an icon moving up instruction, an icon moving down instruction, an icon moving left instruction and an icon moving right instruction; the icon moving instruction is generated when the volume increasing key is pressed; the icon downward moving instruction is generated when the volume reduction key is pressed; the icon left shift instruction is generated when the volume up key and the power key are pressed simultaneously; the icon right shift instruction is generated when the volume reduction key and the power key are pressed simultaneously;
the moving the virtual icon to change the position of the virtual icon in the camera shooting view finder according to the icon moving instruction comprises:
controlling the virtual icon to move upwards in the camera shooting view-finding frame according to the icon moving-up instruction;
controlling the virtual icon to move downwards in the camera shooting view-finding frame according to the icon downward moving instruction;
controlling the virtual icon to move leftwards in the camera shooting view-finding frame according to an icon left-moving instruction;
and controlling the virtual icon to move rightwards in the camera shooting view-finding frame according to the icon right movement instruction.
Preferably, the photo-taking instruction is generated when the volume-up key, the volume-down key and the power key are pressed simultaneously.
It should be noted that, in the above-mentioned embodiment, only one of the icon movement instruction and the determined photographing instruction is generated by pressing the volume up key, the volume down key and the power key on the mobile terminal, the generation of the icon movement instruction and the determined photographing instruction may be in any combination form of the three entity keys, so other simple modifications also fall within the protection scope of the present invention, and are not described in detail herein.
Preferably, the detecting whether the mobile terminal is in an underwater environment specifically includes:
and detecting whether the mobile terminal is in an underwater environment or not in a photographing mode. Whether the terminal is in the underwater environment can be detected only in the photographing mode, and detection is avoided when photographing is not needed.
The mode of entering the photographing mode needs to receive a camera opening request of a user, where the mode of triggering the camera opening request by the user may be a click event by touching a screen or a pressing event by pressing a physical key (for example, some mobile terminals are additionally provided with a photographing key).
Preferably, the detecting whether the mobile terminal is in an underwater environment in the photographing mode includes:
in the photographing mode, judging whether the surface layer of the whole touch screen is stressed or not according to touch data detected by the touch screen;
when the surface layer of the whole touch screen is stressed, the mobile terminal is judged to be in an underwater environment; otherwise, the mobile terminal is judged not to be in the underwater environment.
Correspondingly, the embodiment of the invention also provides the mobile terminal. As shown in fig. 2, which is a block diagram of a mobile terminal according to an embodiment of the present invention, the mobile terminal includes:
the environment detection module 1 is used for detecting whether the mobile terminal is in an underwater environment;
the underwater environment processing module 2 is configured to display a camera view finder and a virtual icon located in the camera view finder on a touch screen of the mobile terminal when the mobile terminal is detected to be in an underwater environment, and prohibit touch response processing on touch data detected by the touch screen;
the icon moving module 3 is used for moving the virtual icon according to an icon moving instruction so as to change the position of the virtual icon in the camera shooting view frame;
the photographing module 4 is used for taking the current position of the virtual icon in the camera shooting view-finding frame as a focus position for photographing according to the determined photographing instruction;
the icon moving instruction and the determined photographing instruction are generated by pressing a volume increasing key, a volume decreasing key and a power key on the mobile terminal by a user; the volume up key, the volume down key and the power key are all solid keys.
In an optional embodiment, the icon moving instruction comprises an icon moving up instruction, an icon moving down instruction, an icon moving left instruction and an icon moving right instruction; the icon moving instruction is generated when the volume increasing key is pressed; the icon downward moving instruction is generated when the volume reduction key is pressed; the icon left shift instruction is generated when the volume up key and the power key are pressed simultaneously; the icon right shift instruction is generated when the volume reduction key and the power key are pressed simultaneously;
the icon moving module 3 includes:
the icon moving unit is used for controlling the virtual icon to move upwards in the camera shooting view frame according to an icon moving instruction;
the icon downward moving unit is used for controlling the virtual icon to move downward in the camera shooting view frame according to an icon downward moving instruction;
the icon left-moving unit is used for controlling the virtual icon to move left in the camera shooting view-finding frame according to an icon left-moving instruction;
and the icon right moving unit is used for controlling the virtual icon to move rightwards in the camera shooting view-finding frame according to the icon right moving instruction.
In an alternative embodiment, the determination to take a picture is made when the volume up key, the volume down key and the power key are pressed simultaneously.
In an optional implementation manner, the environment detection module 1 is specifically configured to: and detecting whether the mobile terminal is in an underwater environment or not in a photographing mode.
In an alternative embodiment, the environment detection module 1 comprises:
the pressure judging unit is used for judging whether the surface layer of the whole touch screen is subjected to pressure or not according to the touch data detected by the touch screen in the photographing mode;
the judging unit is used for judging that the mobile terminal is in an underwater environment when the surface layer of the whole touch screen is stressed; otherwise, the mobile terminal is judged not to be in the underwater environment.
It should be noted that, when the mobile terminal provided in the embodiment of the present invention is used for executing the above-mentioned photographing method, the working principles and beneficial effects of the two are in one-to-one correspondence, and thus, the details are not repeated.
Compared with the prior art, the embodiment of the invention has the beneficial effects that: the embodiment of the invention provides a photographing method and a mobile terminal, wherein the method comprises the following steps: detecting whether the mobile terminal is in an underwater environment; when the mobile terminal is detected to be in an underwater environment, displaying a camera view frame and a virtual icon in the camera view frame on a touch screen of the mobile terminal, and forbidding touch response processing on touch data detected by the touch screen; according to an icon moving instruction, moving the virtual icon to change the position of the virtual icon in the camera shooting view frame; taking the position of the virtual icon in the shooting view-finding frame as a focus position to shoot according to the determined shooting instruction; the icon moving instruction and the determined photographing instruction are generated by pressing a volume increasing key, a volume decreasing key and a power key on the mobile terminal by a user; the volume up key, the volume down key and the power key are all solid keys. According to the embodiment of the invention, the problem that the mobile terminal cannot normally focus in an underwater environment is solved, the user can move the focus and take a picture by pressing the entity key on the mobile terminal, the misoperation of an underwater touch screen is avoided, the focus position can be moved only by pressing the entity key, so that the focus position is stable, and the shot picture can capture an object which the user wants to obtain. In addition, the entity keys used in the embodiment of the invention are the volume increasing key, the volume decreasing key and the power key which are all possessed by the general mobile terminal, the hardware of the mobile terminal is not required to be improved, and only the software layer is required to be improved, so the method has the advantages of low cost and wide application range.
While the invention has been described with reference to a preferred embodiment, it will be understood by those skilled in the art that various changes in form and detail may be made therein without departing from the spirit and scope of the invention as defined by the appended claims.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), or the like.
Claims (8)
1. A photographing method executed by a mobile terminal, comprising:
detecting whether the mobile terminal is in an underwater environment;
when the mobile terminal is detected to be in an underwater environment, displaying a camera view frame and a virtual icon in the camera view frame on a touch screen of the mobile terminal, and forbidding touch response processing on touch data detected by the touch screen;
according to an icon moving instruction, moving the virtual icon to change the position of the virtual icon in the camera shooting view frame;
taking the position of the virtual icon in the shooting view-finding frame as a focus position to shoot according to the determined shooting instruction;
the icon moving instruction and the determined photographing instruction are generated by pressing a volume increasing key, a volume decreasing key and a power key on the mobile terminal by a user; the volume up key, the volume down key and the power key are all solid keys; the icon moving instruction comprises an icon moving instruction, an icon left moving instruction and an icon right moving instruction; the icon moving instruction is generated when the volume increasing key is pressed; the icon downward moving instruction is generated when the volume reduction key is pressed; the icon left shift instruction is generated when the volume up key and the power key are pressed simultaneously; the icon right shift instruction is generated when the volume reduction key and the power key are pressed simultaneously;
the moving the virtual icon to change the position of the virtual icon in the camera shooting view finder according to the icon moving instruction comprises:
controlling the virtual icon to move upwards in the camera shooting view-finding frame according to the icon moving-up instruction;
controlling the virtual icon to move downwards in the camera shooting view-finding frame according to the icon downward moving instruction;
controlling the virtual icon to move leftwards in the camera shooting view-finding frame according to an icon left-moving instruction;
and controlling the virtual icon to move rightwards in the camera shooting view-finding frame according to the icon right movement instruction.
2. The photographing method of claim 1, wherein the determination photographing instruction is generated when the volume up key, the volume down key, and the power key are simultaneously pressed.
3. The photographing method according to claim 1, wherein the detecting whether the mobile terminal is in an underwater environment specifically comprises:
and detecting whether the mobile terminal is in an underwater environment or not in a photographing mode.
4. A photographing method as defined in claim 3,
whether detection mobile terminal is in the environment under water under the mode of shooing includes:
in the photographing mode, judging whether the surface layer of the whole touch screen is stressed or not according to touch data detected by the touch screen;
when the surface layer of the whole touch screen is stressed, the mobile terminal is judged to be in an underwater environment; otherwise, the mobile terminal is judged not to be in the underwater environment.
5. A mobile terminal, comprising:
the environment detection module is used for detecting whether the mobile terminal is in an underwater environment or not;
the underwater environment processing module is used for displaying a camera shooting view frame and a virtual icon positioned in the camera shooting view frame on a touch screen of the mobile terminal when the mobile terminal is detected to be in an underwater environment, and forbidding touch response processing on touch data detected by the touch screen;
the icon moving module is used for moving the virtual icon according to an icon moving instruction so as to change the position of the virtual icon in the camera shooting view frame;
the photographing module is used for taking the position of the virtual icon in the photographing view-finding frame as a focus position for photographing according to the determined photographing instruction;
the icon moving instruction and the determined photographing instruction are generated by pressing a volume increasing key, a volume decreasing key and a power key on the mobile terminal by a user; the volume up key, the volume down key and the power key are all solid keys; the icon moving instruction comprises an icon moving instruction, an icon left moving instruction and an icon right moving instruction; the icon moving instruction is generated when the volume increasing key is pressed; the icon downward moving instruction is generated when the volume reduction key is pressed; the icon left shift instruction is generated when the volume up key and the power key are pressed simultaneously; the icon right shift instruction is generated when the volume reduction key and the power key are pressed simultaneously;
the icon moving module includes:
the icon moving unit is used for controlling the virtual icon to move upwards in the camera shooting view frame according to an icon moving instruction;
the icon downward moving unit is used for controlling the virtual icon to move downward in the camera shooting view frame according to an icon downward moving instruction;
the icon left-moving unit is used for controlling the virtual icon to move left in the camera shooting view-finding frame according to an icon left-moving instruction;
and the icon right moving unit is used for controlling the virtual icon to move rightwards in the camera shooting view-finding frame according to the icon right moving instruction.
6. The mobile terminal of claim 5, wherein the determination photographing instruction is generated when the volume up key, the volume down key, and the power key are simultaneously pressed.
7. The mobile terminal of claim 5, wherein the environment detection module is specifically configured to: and detecting whether the mobile terminal is in an underwater environment or not in a photographing mode.
8. The mobile terminal of claim 7,
the environment detection module includes:
the pressure judging unit is used for judging whether the surface layer of the whole touch screen is subjected to pressure or not according to the touch data detected by the touch screen in the photographing mode;
the judging unit is used for judging that the mobile terminal is in an underwater environment when the surface layer of the whole touch screen is stressed; otherwise, the mobile terminal is judged not to be in the underwater environment.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710232991.XA CN107092420B (en) | 2017-04-11 | 2017-04-11 | Photographing method and mobile terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710232991.XA CN107092420B (en) | 2017-04-11 | 2017-04-11 | Photographing method and mobile terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107092420A CN107092420A (en) | 2017-08-25 |
CN107092420B true CN107092420B (en) | 2020-08-18 |
Family
ID=59636841
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710232991.XA Expired - Fee Related CN107092420B (en) | 2017-04-11 | 2017-04-11 | Photographing method and mobile terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107092420B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109640020A (en) * | 2018-12-19 | 2019-04-16 | 努比亚技术有限公司 | A kind of video record control method, terminal and computer readable storage medium |
CN115801951A (en) * | 2022-11-03 | 2023-03-14 | 珠海格力电器股份有限公司 | Image acquisition method and device, computer equipment and storage medium |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101115139A (en) * | 2006-07-25 | 2008-01-30 | 富士胶片株式会社 | Photographing apparatus and exposure control method |
Family Cites Families (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP5053731B2 (en) * | 2007-07-03 | 2012-10-17 | キヤノン株式会社 | Image display control device, image display control method, program, and recording medium |
CN102929424B (en) * | 2012-09-14 | 2015-10-07 | 华为终端有限公司 | The control method of mobile terminal, device and mobile terminal |
CN103135927B (en) * | 2013-01-25 | 2015-09-30 | 广东欧珀移动通信有限公司 | A kind of mobile terminal rapid focus photographic method and system |
CN103347134B (en) * | 2013-07-17 | 2017-12-19 | 上海斐讯数据通信技术有限公司 | A kind of control system and control method based on mobile terminal key |
CN103501393B (en) * | 2013-10-16 | 2015-11-25 | 努比亚技术有限公司 | A kind of mobile terminal and image pickup method thereof |
CN104469151A (en) * | 2014-11-29 | 2015-03-25 | 深圳市金立通信设备有限公司 | Terminal |
CN106550185A (en) * | 2015-09-22 | 2017-03-29 | 中兴通讯股份有限公司 | A kind of method and terminal for realizing image taking |
CN105549300A (en) * | 2016-02-29 | 2016-05-04 | 北京小米移动软件有限公司 | Automatic focusing method and device |
CN106331500B (en) * | 2016-09-13 | 2020-01-14 | 上海斐讯数据通信技术有限公司 | Focusing and photographing method of mobile terminal and focusing and photographing mobile terminal |
-
2017
- 2017-04-11 CN CN201710232991.XA patent/CN107092420B/en not_active Expired - Fee Related
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101115139A (en) * | 2006-07-25 | 2008-01-30 | 富士胶片株式会社 | Photographing apparatus and exposure control method |
Also Published As
Publication number | Publication date |
---|---|
CN107092420A (en) | 2017-08-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP2975838B1 (en) | Image shooting parameter adjustment method and device | |
US10162466B2 (en) | Portable device and method of modifying touched position | |
CN103051841B (en) | The control method of time of exposure and device | |
WO2017124773A1 (en) | Gesture recognition method and device | |
JP6043586B2 (en) | Electronic device, line-of-sight input program, and line-of-sight input method | |
EP3147819A1 (en) | Method and device for fingerprint image alignment | |
WO2017071050A1 (en) | Mistaken touch prevention method and device for terminal with touch screen | |
US20090174674A1 (en) | Apparatus and methods for a touch user interface using an image sensor | |
CN108463993B (en) | Method and apparatus for preventing focus wobble in phase detection Autofocus (AF) | |
CN104469167A (en) | Automatic focusing method and device | |
US9451069B2 (en) | Mobile terminal device, lock release method, and non-transitory computer readable storage medium | |
KR20110006243A (en) | Apparatus and method for manual focusing in portable terminal | |
WO2017219515A1 (en) | Method for photographing focusing and electronic device | |
CN107092420B (en) | Photographing method and mobile terminal | |
CN105162193A (en) | Charging method and charging apparatus for terminal, and terminal | |
US9641746B2 (en) | Image capturing apparatus and control method for selecting from successively-captured images | |
EP3163370B1 (en) | Electronic device and method of controlling same for capturing digital images | |
CN105824534A (en) | Information processing method and electronic equipment | |
CN107678662B (en) | Control method and device based on keys and intelligent terminal | |
CN111124175B (en) | Terminal, display processing method, device and storage medium | |
CN111507144B (en) | Touch area acquisition method and device, intelligent equipment and storage medium | |
US20200042152A1 (en) | Photographing Method and Mobile Terminal Using Same | |
CN106527907B (en) | Screen capture processing method and device for intelligent terminal | |
CN106569666B (en) | Mask processing control device and method and terminal | |
KR101093088B1 (en) | Method for adjusting wrong call request caused by display touch and mobile terminal using the same |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | 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 | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20200818 |
|
CF01 | Termination of patent right due to non-payment of annual fee |