CN107357616B - Method for starting anti-shake mode and mobile terminal - Google Patents

Method for starting anti-shake mode and mobile terminal Download PDF

Info

Publication number
CN107357616B
CN107357616B CN201710527252.3A CN201710527252A CN107357616B CN 107357616 B CN107357616 B CN 107357616B CN 201710527252 A CN201710527252 A CN 201710527252A CN 107357616 B CN107357616 B CN 107357616B
Authority
CN
China
Prior art keywords
mobile terminal
holding mode
area
mode
hand holding
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710527252.3A
Other languages
Chinese (zh)
Other versions
CN107357616A (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 Software Technology 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 CN201710527252.3A priority Critical patent/CN107357616B/en
Publication of CN107357616A publication Critical patent/CN107357616A/en
Application granted granted Critical
Publication of CN107357616B publication Critical patent/CN107357616B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44594Unloading
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/68Control of cameras or camera modules for stable pick-up of the scene, e.g. compensating for camera body vibrations

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Telephone Function (AREA)

Abstract

The embodiment of the invention provides a method for starting an anti-shake mode and a mobile terminal. The mobile terminal comprises a first area and a second area which are arranged on the front surface of the mobile terminal, wherein the first area and the second area are oppositely arranged at two ends of the mobile terminal, and the method comprises the following steps: when receiving a photographing starting instruction, acquiring a holding mode of a mobile terminal user holding the mobile terminal, wherein the holding mode comprises: the mobile terminal comprises a single-hand holding mode and a double-hand holding mode, wherein the single-hand holding mode is a mode for holding a second area of the mobile terminal by one hand; the two-hand holding mode is that two hands respectively hold a first area and a second area of the mobile terminal; if the holding mode is a single-hand holding mode, starting the anti-shake mode; if the holding mode is a two-hand holding mode, the anti-shake mode is kept closed. The embodiment of the invention can automatically start the anti-shake mode in the single-hand holding mode by judging whether the holding mode of the mobile terminal user is the single-hand holding mode.

Description

Method for starting anti-shake mode and mobile terminal
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a method for turning on an anti-shake mode and a mobile terminal.
Background
With the development of communication technology, mobile terminals have more and more entertainment functions. Among them, the photographing function is an important entertainment function of the mobile terminal. Due to the shape of the mobile terminal, the user is used to hold the mobile terminal with a single hand to take a picture when taking a picture. However, a single hand cannot stably hold the mobile terminal, which causes imaging problems such as image shaking and smear during photographing, so that the photographed picture is not clear. Compared with the mode that the mobile terminal is held by one hand to photograph, the stability and the picture definition of photographing by holding the mobile terminal by two hands are obviously enhanced.
In order to improve the definition of taking a picture of the mobile terminal, the shooting function of the mobile terminal in the prior art is provided with an anti-shake mode, but the anti-shake mode needs to be manually opened by a user, so that the mobile terminal is inconvenient and poor in user experience.
Disclosure of Invention
The embodiment of the invention provides a method for starting an anti-shake mode and a mobile terminal, and aims to solve the problem that the anti-shake mode can only be manually started when the mobile terminal is used for photographing in the prior art.
In a first aspect, a method for starting an anti-shake mode is provided, and is applied to a mobile terminal, where the mobile terminal includes a first area and a second area that are disposed on a front surface of the mobile terminal, and the first area and the second area are located at two opposite ends of the mobile terminal, and the method includes: when a photographing starting instruction is received, a holding mode that a mobile terminal user holds the mobile terminal is obtained, wherein the holding mode comprises the following steps: the mobile terminal comprises a single-hand holding mode and a double-hand holding mode, wherein the single-hand holding mode is that one hand holds a second area of the mobile terminal; the two-hand holding mode is that two hands respectively hold a first area and a second area of the mobile terminal; if the holding mode is a single-hand holding mode, starting an anti-shake mode; and if the holding mode is a two-hand holding mode, keeping the anti-shake mode off.
In a second aspect, a mobile terminal is provided, including a first area and a second area disposed on a front surface thereof, where the first area and the second area are located at two ends of the mobile terminal, and the mobile terminal further includes: the mobile terminal comprises an acquisition module and a control module, wherein the acquisition module is used for acquiring a holding mode of a mobile terminal user for holding the mobile terminal when a photographing starting instruction is received, and the holding mode comprises the following steps: the mobile terminal comprises a single-hand holding mode and a double-hand holding mode, wherein the single-hand holding mode is that one hand holds a second area of the mobile terminal; the two-hand holding mode is that two hands respectively hold a first area and a second area of the mobile terminal; the starting module is used for starting the anti-shake mode if the holding mode is a single-hand holding mode; and the closing module is used for keeping the anti-shake mode closed if the holding mode is a two-hand holding mode.
Therefore, in the embodiment of the invention, the anti-shake mode can be automatically started in the single-hand holding mode by judging whether the holding mode of the mobile terminal user is the single-hand holding mode, so that the photographing effect in the single-hand holding mode can be improved, and the user experience can be improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments of the present invention will be briefly introduced 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 these drawings without inventive labor.
Fig. 1 is a flowchart of a method for turning on an anti-shake mode according to a first embodiment of the present invention;
FIG. 2 is a flowchart illustrating a method for turning on an anti-shake mode according to a second embodiment of the present invention;
FIG. 3 is a flowchart of a method for turning on an anti-shake mode according to a third embodiment of the present invention;
FIG. 4 is a flowchart of a method for turning on an anti-shake mode according to a fourth embodiment of the present invention;
FIG. 5 is a flowchart of a method for turning on an anti-shake mode according to a fifth embodiment of the present invention;
fig. 6 is a block diagram of a mobile terminal according to a sixth embodiment of the present invention;
fig. 7 is another configuration block diagram of a mobile terminal according to a sixth embodiment of the present invention;
fig. 8 is a schematic structural diagram of a mobile terminal according to a sixth embodiment of the present invention;
fig. 9 is a block diagram of a mobile terminal according to a seventh embodiment of the present invention;
fig. 10 is a block diagram of a mobile terminal according to an eighth 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 some, not all, embodiments of the present invention. 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.
First embodiment
A first embodiment of the present invention provides a method for turning on an anti-shake mode. The method is applied to the mobile terminal. The mobile terminal includes a first area and a second area disposed on a front surface thereof. The first area and the second area are relatively positioned at two ends of the mobile terminal. The method can be applied to scenes in which a rear camera is used for normally taking pictures or a front camera is used for self-taking pictures. Specifically, as shown in fig. 1, the method includes the following steps:
step S101: and when a photographing starting instruction is received, acquiring a holding mode of a mobile terminal user holding the mobile terminal.
The holding mode includes: a one-handed holding mode and a two-handed holding mode. The single-hand holding mode is used for holding the second area of the mobile terminal by one hand. Particularly, when the same end of the first area is provided with the camera and the same end of the second area is not provided with the camera, the holding area is generally large in order to keep good and stable when the mobile terminal is held by one hand, so that the camera can be prevented from being blocked by a hand holding the second area by one hand, and the camera can be possibly blocked by the hand holding the first area by one hand. The two-hand holding mode in the embodiment of the invention is that two hands respectively hold the first area and the second area of the mobile terminal.
Since the method according to the embodiment of the present invention only divides the holding mode into the single-hand holding mode and the two-hand holding mode, when the holding mode is obtained, it is assumed that the second area is necessarily held, so that the situation that the first area is held by one hand is not missed. And then determines whether the one-handed holding mode or the two-handed holding mode by determining whether the first region is held. Therefore, if the first area is not held, the mode is a one-hand holding mode. If the first region is judged to be held, it is estimated that both the first region and the second region are held, and the holding mode is a two-hand holding mode.
Specifically, the holding mode may be obtained by acquiring an ambient light intensity of the first area, detecting whether the first area has an obstacle, detecting an impedance of a receiver corresponding to a first resonance peak of a sound wave emitted by a receiver of the first area, comparing loudness of ambient sounds in the first area and the second area, and the like. These methods may be used simultaneously or independently.
Step S102: if the holding mode is the one-hand holding mode, the anti-shake mode is started.
If the holding mode is a one-hand holding mode, the mobile terminal is not easily and stably held by one hand, and the anti-shake mode is automatically started by the mobile terminal so as to provide a better photographing effect.
Step S103: if the holding mode is a two-hand holding mode, the anti-shake mode is kept closed.
If the holding mode is a two-hand holding mode, the mobile terminal can be held stably by two hands, and the anti-shake mode does not need to be turned on at this time, so that the anti-shake mode is kept turned off. If the user of the mobile terminal needs to start the anti-shake mode, the anti-shake mode can be started manually.
In summary, the method for starting the anti-shake mode according to the first embodiment of the present invention can automatically start the anti-shake mode in the one-hand holding mode by determining whether the holding mode of the mobile terminal user is the one-hand holding mode, which is beneficial to improving the photographing effect in the one-hand holding mode and improving the user experience.
Second embodiment
A second embodiment of the present invention provides a method for turning on an anti-shake mode. The method is applied to the mobile terminal. The mobile terminal includes a first area and a second area disposed on a front surface thereof. The first area and the second area are relatively positioned at two ends of the mobile terminal. The first area of the mobile terminal is provided with a light sensitive sensor. The method can be applied to scenes in which a rear camera is used for normally taking pictures or a front camera is used for self-taking pictures. The definitions of the one-hand holding mode and the two-hand holding mode of the second embodiment are the same as those of the first embodiment, and are not repeated herein. Since the method of the embodiment of the present invention only divides the holding mode into the one-handed holding mode and the two-handed holding mode, it is assumed that the second area of the mobile terminal is necessarily held in the process of determining the one-handed holding mode and the two-handed holding mode.
Specifically, as shown in fig. 2, the method includes the following steps:
step S201: when a photographing starting instruction is received, the photosensitive sensor located in the first area of the mobile terminal is started, and the ambient light intensity of the first area of the mobile terminal is collected.
The photosensitive sensor is an inherent element of the mobile terminal, and therefore, the mobile terminal does not need to additionally add hardware. When holding the mobile terminal, a part of the mobile terminal is shielded by a common hand, so that the intensity of the ambient light at the shielded part is changed, and the intensity of the ambient light collected by the photosensitive sensor is smaller than that collected under the condition of no shielding. Since the photosensitive sensor is generally located in the first area of the mobile terminal, the method of the embodiment is particularly suitable for scenes in which a rear camera is used for normally taking pictures.
Step S202: and if the ambient light intensity of the first area of the mobile terminal is greater than the preset light intensity threshold value, determining that the holding mode is a single-hand holding mode.
The preset light intensity threshold value can be obtained by pre-calibration. If the ambient light intensity of the first area of the mobile terminal is greater than the preset light intensity threshold value, the first area is not blocked, it is estimated that the first area is not held, the second area is held, and the holding mode is a single-hand holding mode.
Step S203: and if the ambient light intensity of the first area of the mobile terminal is less than or equal to a preset light intensity threshold value, determining that the holding mode is a two-hand holding mode.
If the ambient light intensity of the first area of the mobile terminal is less than or equal to the preset light intensity threshold, it indicates that the first area is at least partially blocked, and therefore it is estimated that the first area is held by the mobile terminal user. Particularly, the same end of the first area is also provided with a camera, so that the first area cannot be held by a single hand to avoid shielding the camera.
Therefore, when the first region is held, it is indicated that both the first region and the second region are held, and the holding mode is assumed to be a two-hand holding mode.
Step S204: if the holding mode is the one-hand holding mode, the anti-shake mode is started.
If the holding mode is a one-hand holding mode, the mobile terminal is not easily and stably held by one hand, and the anti-shake mode is automatically started by the mobile terminal so as to provide a better photographing effect.
Step S205: if the holding mode is a two-hand holding mode, the anti-shake mode is kept closed.
If the holding mode is a two-hand holding mode, the mobile terminal can be held stably by two hands, and the anti-shake mode does not need to be turned on at this time, so that the anti-shake mode is kept turned off. If the user of the mobile terminal needs to start the anti-shake mode, the anti-shake mode can be started manually.
To sum up, the method for starting the anti-shake mode according to the second embodiment of the present invention can determine whether the holding mode of the mobile terminal user is the one-handed holding mode by collecting the ambient light intensity of the first area, so that the anti-shake mode is automatically started in the one-handed holding mode, which is beneficial to improving the photographing effect in the one-handed holding mode and improving the user experience.
Third embodiment
A third embodiment of the present invention provides a method for turning on an anti-shake mode. The method is applied to the mobile terminal. The mobile terminal includes a first area and a second area disposed on a front surface thereof. The first area and the second area are relatively positioned at two ends of the mobile terminal. The first area of the mobile terminal is provided with a distance sensor. The method can be applied to scenes in which a rear camera is used for normally taking pictures or a front camera is used for self-taking pictures. The definitions of the one-hand holding mode and the two-hand holding mode of the third embodiment are the same as those of the first embodiment, and are not described herein again. Since the method of the embodiment of the present invention only divides the holding mode into the one-handed holding mode and the two-handed holding mode, it is assumed that the second area of the mobile terminal is necessarily held in the process of determining the one-handed holding mode and the two-handed holding mode.
Specifically, as shown in fig. 3, the method includes the following steps:
step S301: when a photographing starting instruction is received, a distance sensor located in a first area of the mobile terminal is started, and whether an obstacle exists in a range of a preset distance threshold value from the first area of the mobile terminal is detected.
The distance sensor is an inherent element of the mobile terminal, and therefore, the mobile terminal does not need to additionally add hardware. The distance sensor is typically an infrared sensor. Since the hand is generally positioned on a partial area of the front surface of the mobile terminal when held, the presence or absence of an obstacle can be detected by the distance sensor. Since the distance of the hand holding the mobile terminal from the front face of the mobile terminal is not generally too large, if an obstacle is detected within this distance, it can be estimated that the mobile terminal is held in the area. Based on this, a distance threshold may be set, which may be obtained in a pre-calibrated manner, and the holding mode may be determined by detecting whether there is an obstacle within the range of the distance threshold from the first area of the mobile terminal. Since the distance sensor is generally located in the first area of the mobile terminal, the method of the embodiment is particularly suitable for a scene in which a rear camera is used for normally taking a picture.
Step S302: and if the obstacle is not detected, determining that the holding mode is a single-hand holding mode.
If no obstacle is detected within the range of the preset distance threshold from the first area of the mobile terminal, it indicates that the mobile terminal user does not hold the first area, and the second area is held, and the holding mode is a single-hand holding mode.
Step S303: and if the obstacle is detected, determining that the holding mode is a two-hand holding mode.
If an obstacle is detected within a preset distance threshold from the first area of the mobile terminal, it indicates that the first area is at least partially blocked, and thus it is assumed that the first area is held by a user of the mobile terminal. Particularly, the same end of the first area is also provided with a camera, so that the first area cannot be held by a single hand to avoid shielding the camera.
Therefore, when the first region is held, it is indicated that both the first region and the second region are held, and the holding mode is assumed to be a two-hand holding mode.
Step S304: if the holding mode is the one-hand holding mode, the anti-shake mode is started.
If the holding mode is a one-hand holding mode, the mobile terminal is not easily and stably held by one hand, and the anti-shake mode is automatically started by the mobile terminal so as to provide a better photographing effect.
Step S305: if the holding mode is a two-hand holding mode, the anti-shake mode is kept closed.
If the holding mode is a two-hand holding mode, the mobile terminal can be held stably by two hands, and the anti-shake mode does not need to be turned on at this time, so that the anti-shake mode is kept turned off. If the user of the mobile terminal needs to start the anti-shake mode, the anti-shake mode can be started manually.
To sum up, the method for starting the anti-shake mode according to the third embodiment of the present invention can determine whether the holding mode of the mobile terminal user is the one-handed holding mode by detecting whether the first area has the obstacle, so that the anti-shake mode is automatically started in the one-handed holding mode, which is beneficial to improving the photographing effect in the one-handed holding mode and improving the user experience.
Fourth embodiment
A fourth embodiment of the present invention provides a method for turning on an anti-shake mode. The method is applied to the mobile terminal. The mobile terminal includes a first area and a second area disposed on a front surface thereof. The first area and the second area are relatively positioned at two ends of the mobile terminal. A receiver is arranged in the first area of the mobile terminal. The method can be applied to scenes in which a rear camera is used for normally taking pictures or a front camera is used for self-taking pictures. The definitions of the one-hand holding mode and the two-hand holding mode of the fourth embodiment are the same as those of the first embodiment, and are not repeated herein. Since the method of the embodiment of the present invention only divides the holding mode into the one-handed holding mode and the two-handed holding mode, it is assumed that the second area of the mobile terminal is necessarily held in the process of determining the one-handed holding mode and the two-handed holding mode.
Specifically, as shown in fig. 4, the method includes the following steps:
step S401: and when a photographing starting instruction is received, a receiver located in a first area of the mobile terminal is started, and sound waves are emitted.
The receiver is an inherent element of the mobile terminal, so that the mobile terminal does not need to be additionally provided with hardware. The sound waves emitted by the receiver are typically ultra low frequency sound waves or ultra high frequency sound waves. The frequency of such sound waves is outside the audible frequency range of the human ear (20 Hz-20 KHz) and therefore does not have an impact on the mobile terminal user. Since the receiver is generally located in the first area of the mobile terminal, the method of the embodiment is particularly suitable for a scene in which a rear camera is used for normally taking a picture.
Step S402: and acquiring the impedance of the receiver corresponding to the first resonance peak of the sound wave.
In the process of sending sound waves by the receiver, the built-in processing chip of the mobile terminal can calculate the impedance of the receiver according to the voltage and the current collected by an Analog-to-Digital Converter (ADC) chip. When the receiver opening is occluded, the impedance of the first formant of the sound waves it emits will be significantly less than when the receiver opening is not occluded. Therefore, whether the receiver aperture is blocked can be determined by the impedance of the receiver corresponding to the first resonance peak of the sound wave, so that it can be estimated whether the first area is held. The first resonance peak refers to a resonance peak occurring at a frequency minimum in a frequency range of the emitted sound wave.
Step S403: and if the impedance of the receiver corresponding to the first resonance peak of the sound wave is larger than a preset impedance threshold value, determining that the holding mode is a single-hand holding mode.
The preset impedance threshold may be obtained by pre-calibration. If the impedance of the receiver corresponding to the first resonance peak of the sound wave is larger than the preset impedance threshold value, the receiver hole of the first area is not blocked, the first area is presumed not to be held, the second area is held, and the holding mode is a single-hand holding mode.
Step S404: and if the impedance of the receiver corresponding to the first resonance peak of the sound wave is less than or equal to a preset impedance threshold value, determining that the holding mode is a two-hand holding mode.
If the impedance of the receiver corresponding to the first resonance peak of the sound wave is smaller than or equal to the preset impedance threshold value, it indicates that the receiver hole is blocked, and therefore it is estimated that the first area is held by the mobile terminal user. Particularly, the same end of the first area is also provided with a camera, so that the first area cannot be held by a single hand to avoid shielding the camera.
Therefore, when the first region is held, it is indicated that both the first region and the second region are held, and the holding mode is assumed to be a two-hand holding mode.
Step S405: if the holding mode is the one-hand holding mode, the anti-shake mode is started.
If the holding mode is a one-hand holding mode, the mobile terminal is not easily and stably held by one hand, and the anti-shake mode is automatically started by the mobile terminal so as to provide a better photographing effect.
Step S406: if the holding mode is a two-hand holding mode, the anti-shake mode is kept closed.
If the holding mode is a two-hand holding mode, the mobile terminal can be held stably by two hands, and the anti-shake mode does not need to be turned on at this time, so that the anti-shake mode is kept turned off. If the user of the mobile terminal needs to start the anti-shake mode, the anti-shake mode can be started manually.
To sum up, the method for turning on the anti-shake mode according to the fourth embodiment of the present invention can determine whether the holding mode of the mobile terminal user is the one-handed holding mode by detecting the impedance of the receiver corresponding to the first resonance peak of the sound wave emitted by the receiver located on the front side of the first area, so that the anti-shake mode is automatically turned on in the one-handed holding mode, which is beneficial to improving the photographing effect in the one-handed holding mode and improving the user experience.
Fifth embodiment
A fifth embodiment of the present invention provides a method for turning on an anti-shake mode. The method is applied to the mobile terminal. The mobile terminal includes a first area and a second area disposed on a front surface thereof. The first area and the second area are relatively positioned at two ends of the mobile terminal. A first microphone is arranged in a first area of the mobile terminal, and a second microphone is arranged in a second area of the mobile terminal. The method can be applied to scenes in which a rear camera is used for normally taking pictures or a front camera is used for self-taking pictures. The definitions of the one-hand holding mode and the two-hand holding mode of the fifth embodiment are the same as those of the first embodiment, and are not described herein again. Since the method of the embodiment of the present invention only divides the holding mode into the one-handed holding mode and the two-handed holding mode, it is assumed that the second area of the mobile terminal is necessarily held in the process of determining the one-handed holding mode and the two-handed holding mode.
Specifically, as shown in fig. 5, the method includes the following steps:
step S501: when a photographing starting instruction is received, a first microphone located in a first area of the mobile terminal and a second microphone located in a second area of the mobile terminal are started, and environmental sound is collected.
The first microphone is a secondary microphone and the second microphone is a primary microphone, which are inherent elements of the mobile terminal, so that the mobile terminal does not need to add additional hardware. The first microphone may be located on an end face (i.e., an end face of the tip) of the first region of the mobile terminal. The second microphone may be located on an end face of the second area (i.e., an end face of the bottom end) of the mobile terminal. Since the hand is generally located on a partial area of the mobile terminal when being held, the transmission of sound waves is blocked to a certain extent, so that the loudness of the ambient sound collected by the microphone is reduced. Based on this, since the first microphone and the second microphone are respectively located in the first region and the second region, whether there is an occlusion in the corresponding region can be determined by comparing loudness of the ambient sound collected by the two, thereby determining the holding mode.
Step S502: and if the loudness of the environment sound collected by the first microphone is greater than the loudness of the environment sound collected by the second microphone, determining that the holding mode is a one-hand holding mode.
And if the loudness of the environment sound collected by the first microphone is greater than the loudness of the environment sound collected by the second microphone, at least indicating that the second area is shielded, and then presuming that the first area is not shielded, wherein the holding mode is a single-hand holding mode. In this case, of course, there may be a block in the first region, but in the embodiment of the present invention, the determination result of the loudness of the ambient sound is considered to be caused by the one-hand holding mode, so that missing detection of the one-hand holding mode is avoided.
Step S503: and if the loudness of the environment sound collected by the first microphone is less than or equal to the loudness of the environment sound collected by the second microphone, determining that the holding mode is a two-hand holding mode.
If the loudness of the environment sound collected by the first microphone is smaller than or equal to the loudness of the environment sound collected by the second microphone, the occlusion degree of the first area is at least higher than that of the second area, and therefore, the first area is presumed to be held by a mobile terminal user. Particularly, the same end of the first area is also provided with a camera, so that the first area cannot be held by a single hand to avoid shielding the camera.
Therefore, when the first region is held, it is indicated that both the first region and the second region are held, and it is estimated that the holding mode is a two-hand holding mode.
Step S504: if the holding mode is the one-hand holding mode, the anti-shake mode is started.
If the holding mode is a one-hand holding mode, the mobile terminal is not easily and stably held by one hand, and the anti-shake mode is automatically started by the mobile terminal so as to provide a better photographing effect.
Step S505: if the holding mode is a two-hand holding mode, the anti-shake mode is kept closed.
If the holding mode is a two-hand holding mode, the mobile terminal can be held stably by two hands, and the anti-shake mode does not need to be turned on at this time, so that the anti-shake mode is kept turned off. If the user of the mobile terminal needs to start the anti-shake mode, the anti-shake mode can be started manually.
To sum up, the method for starting the anti-shake mode according to the fifth embodiment of the present invention can determine whether the holding mode of the mobile terminal user is the one-handed holding mode by comparing the loudness of the environmental sounds in the first area and the second area, so that the anti-shake mode is automatically started in the one-handed holding mode, which is beneficial to improving the photographing effect in the one-handed holding mode and improving the user experience.
Sixth embodiment
A sixth embodiment of the present invention provides a mobile terminal. The mobile terminal may be, but is not limited to: a mobile phone, a tablet computer, MP3/MP4, a Personal Digital Assistant (PDA), and an e-reader. As shown in fig. 6 and 8, the mobile terminal 600 includes: a first area 609 and a second area 610 disposed on the front surface thereof. The first area 609 and the second area 610 are located at opposite ends of the mobile terminal 600. Generally, the first area 609 is located at the top end of the mobile terminal 600 and the second area 610 is located at the bottom end of the mobile terminal 600. The mobile terminal 600 can be applied to a scene where a rear camera is used for normal photographing or a front camera is used for self-photographing.
The mobile terminal 600 further includes:
the obtaining module 601 is configured to obtain a holding mode in which the user of the mobile terminal 600 holds the mobile terminal 600 when the photographing start instruction is received.
The holding mode includes: a one-handed holding mode and a two-handed holding mode. The one-hand holding mode according to the embodiment of the present invention is to hold the second area 610 of the mobile terminal 600 with one hand. Particularly, when the same end of the first area 609 is provided with a camera and the same end of the second area 610 does not have a camera, the holding area is generally large in order to keep good and stable when the mobile terminal is held by one hand, so that the second area 610 is held by one hand to prevent the camera from being blocked by the hand holding the mobile terminal 600, and the camera may be blocked by the hand holding the first area 609 by one hand, therefore, the single-hand holding mode described in the embodiment of the present invention is to hold the second area 610 of the mobile terminal 600 by one hand, and further prevent the camera from being blocked to affect the photographing effect. The two-hand holding mode according to the embodiment of the present invention is to hold the first region 609 and the second region 610 of the mobile terminal 600 with two hands respectively.
Since the holding mode is divided into the single-hand holding mode and the two-hand holding mode, the mobile terminal 600 of the embodiment of the invention assumes that the second area 610 is necessarily held when the holding mode is acquired, so as not to miss the detection of the situation that the first area 609 is held by a single hand. It is then determined whether the one-handed holding mode or the two-handed holding mode is performed by determining whether the first area 609 is held. Therefore, if it is determined that the first region 609 is not held, the one-hand holding mode is employed. If it is judged that the first area 609 is held, it is estimated that both the first area 609 and the second area 610 are held, and the holding mode is a two-hand holding mode.
Specifically, the obtaining module 601 may obtain the holding mode by acquiring an ambient light intensity of the first area 609, detecting whether the first area 609 has an obstacle, detecting an impedance of the receiver 606 corresponding to a first resonance peak of a sound wave emitted by the receiver 606 of the first area 609, and comparing loudness of an ambient sound of the first area 609 and a loudness of an ambient sound of the second area 610. The acquisition module 601 may use these modes simultaneously or independently.
The starting module 602 is configured to start the anti-shake mode if the holding mode is the one-hand holding mode.
If the holding mode is a one-handed holding mode, since the one-handed holding mode is not easy to hold the mobile terminal 600 stably, the starting module 602 automatically starts the anti-shake mode to provide a better photographing effect.
A closing module 603, configured to keep the anti-shake mode closed if the holding mode is a two-hand holding mode.
If the holding mode is a two-hand holding mode, since the mobile terminal 600 can be held stably by two hands, the anti-shake mode does not need to be turned on, and therefore the turning-off module 603 keeps the anti-shake mode turned off. If the user of the mobile terminal 600 needs to turn on the anti-shake mode, it can be turned on manually.
As shown in fig. 7 and 8, the mobile terminal 600 further includes: a light sensitive sensor 604. The photosensor 604 is generally located in the first area 609 of the mobile terminal 600 and is an intrinsic element of the mobile terminal 600, and therefore, the mobile terminal 600 does not require additional hardware.
Preferably, as shown in fig. 7, the obtaining module 601 includes:
a first collecting submodule 60101 configured to turn on the photosensor 604 located in the first area 609 of the mobile terminal 600 and collect the intensity of the ambient light of the first area 609 of the mobile terminal 600.
Since a part of the mobile terminal 600 is shielded by a hand, the intensity of the ambient light collected by the photosensor 604 is lower than that collected without shielding. Since the photosensor 604 is generally located in the first area 609 of the mobile terminal 600, it is particularly suitable for scenes normally photographed by using a rear camera.
The first determining submodule 60102 is configured to determine that the holding mode is the one-hand holding mode if the ambient light intensity of the first area 609 of the mobile terminal 600 is greater than the preset light intensity threshold.
The preset light intensity threshold value can be obtained by pre-calibration. If the intensity of the ambient light in the first area 609 of the mobile terminal 600 is greater than the preset light intensity threshold, it indicates that the first area 609 is not blocked, and it is estimated that the first area 609 is not held, and the second area 610 is held, and the holding mode is a one-hand holding mode.
The second determining submodule 60103 is configured to determine that the holding mode is a two-hand holding mode if the ambient light intensity of the first area 609 of the mobile terminal 600 is less than or equal to a preset light intensity threshold.
If the intensity of the ambient light in the first area 609 of the mobile terminal 600 is less than or equal to the preset light intensity threshold, it indicates that the first area 609 is at least partially blocked, and therefore it is assumed that the first area 609 is held by the user of the mobile terminal 600. In particular, a camera is disposed at the same end of the first area 609, so that the first area 609 is not held by a single hand to avoid blocking the camera.
Therefore, when the first area 609 is held, it indicates that both the first area 609 and the second area 610 are held, and the holding mode is assumed to be a two-hand holding mode.
Through the above module design, whether the holding mode of the user of the mobile terminal 600 is the one-hand holding mode can be judged by collecting the ambient light intensity of the first area 609, so that the anti-shake mode is automatically started in the one-hand holding mode.
Preferably, as shown in fig. 7 and 8, the mobile terminal 600 further includes: a distance sensor 605. The distance sensor 605 is generally located in the first area 609 of the mobile terminal 600 and is an inherent element of the mobile terminal 600, and thus, the mobile terminal 600 does not need to additionally add hardware. The distance sensor 605 is typically an infrared sensor.
Preferably, as shown in fig. 7, the obtaining module 601 further includes:
a detection sub-module 60104 for turning on the distance sensor 605 located in the first area 609 of the mobile terminal 600 and detecting whether there is an obstacle within a range of a preset distance threshold from the first area 609 of the mobile terminal 600.
Since a hand is generally positioned on a partial area of the front surface of the mobile terminal 600 when held, whether an obstacle exists or not can be detected by the distance sensor 606. Since the distance of the hand holding the mobile terminal 600 from the front of the mobile terminal 600 is generally not too large, if an obstacle is detected within this distance, it can be estimated that the mobile terminal 600 is held in the area. Based on this, a distance threshold may be set, which may be obtained in a pre-calibrated manner, and the detection sub-module 60104 may determine the holding mode by detecting whether there is an obstacle within the range of the distance threshold from the first area 609 of the mobile terminal 600. Since the distance sensor 605 is generally located in the first area 609 of the mobile terminal 600, it is particularly suitable for scenes normally photographed by using a rear camera.
A third determining submodule 60105, configured to determine that the holding mode is the one-hand holding mode if the obstacle is not detected.
If no obstacle is detected within a preset distance threshold from the first area 609 of the mobile terminal 600, it indicates that the user of the mobile terminal 600 does not hold the first area 609, and the second area 610 is held, and the holding mode is a one-hand holding mode.
A fourth determining submodule 60106, configured to determine, if an obstacle is detected, that the holding mode is a two-hand holding mode.
If an obstacle is detected within a preset distance threshold from the first area 609 of the mobile terminal 600, this indicates that the first area 609 is at least partially occluded, and it is therefore assumed that the first area 609 is held by the user of the mobile terminal 600. Particularly, the same end of the first area 609 is provided with a camera, so that the first area 609 cannot be held by a single hand to avoid blocking the camera.
Therefore, when the first area 609 is held, it indicates that both the first area 609 and the second area 610 are held, and the holding mode is assumed to be a two-hand holding mode.
Through the above module design, whether the holding mode of the user of the mobile terminal 600 is the one-hand holding mode can be determined by detecting whether the first area 609 has an obstacle, so that the anti-shake mode is automatically started in the one-hand holding mode.
Preferably, as shown in fig. 7 and 8, the mobile terminal 600 further includes: a receiver 606. The receiver 606 is generally located in the first area 609 of the mobile terminal 600, and is an inherent element of the mobile terminal 600, so that the mobile terminal 600 does not need to add additional hardware.
Preferably, as shown in fig. 7, the obtaining module 601 further includes:
the sound module 60107 is configured to turn on the receiver 606 located in the first area 609 of the mobile terminal 600 and emit sound waves.
The sound waves emitted by receiver 606 are typically ultra low frequency sound waves or ultra high frequency sound waves. The frequency of such sound waves is outside the audible frequency range of the human ear (20 Hz-20 KHz) and, therefore, does not impact the user of mobile terminal 600. Since the receiver 606 is generally located in the first area 609 of the mobile terminal 600, it is particularly suitable for a scene where a rear camera is used to take a picture normally.
And an obtaining submodule 60108, configured to obtain an impedance of the receiver 606 corresponding to the first resonance peak of the sound wave.
In the process of sending out sound waves by the receiver 606, the built-in processing chip of the mobile terminal 600 can calculate the impedance of the receiver 606 according to the voltage and current collected by an ADC (Analog-to-Digital Converter) chip. When the receiver opening is occluded, the impedance of the first formant of the sound waves it emits will be significantly less than when the receiver opening is not occluded. Therefore, the acquisition sub-module 60108 can determine whether the receiver hole is blocked by the impedance of the receiver 606 corresponding to the first resonance peak of the sound wave, so that it can be estimated whether the first region 609 is held. The first resonance peak refers to a resonance peak occurring at a frequency minimum in a frequency range of the emitted sound wave.
The fifth determining submodule 60109 is configured to determine that the holding mode is the one-hand holding mode if the impedance of the receiver 606 corresponding to the first resonance peak of the sound wave is greater than the preset impedance threshold.
The preset impedance threshold may be obtained by pre-calibration. If the impedance of the receiver 606 corresponding to the first resonance peak of the sound wave is larger than the preset impedance threshold value, it indicates that there is no occlusion at the receiver hole of the first area 609, and it is estimated that the first area 609 is not held, and the second area 610 is held, and the holding mode is a one-hand holding mode.
The sixth determining submodule 60110 is configured to determine that the holding mode is a two-hand holding mode if the impedance of the receiver 606 corresponding to the first resonance peak of the sound wave is less than or equal to a preset impedance threshold.
If the impedance of the receiver 606 corresponding to the first resonance peak of the sound wave is less than or equal to the preset impedance threshold, it indicates that the receiver hole is blocked, and therefore it is assumed that the first area 609 is held by the user of the mobile terminal 600. In particular, a camera is disposed at the same end of the first area 609, so that the first area 609 is not held by a single hand to avoid blocking the camera.
Therefore, when the first area 609 is held, it indicates that both the first area 609 and the second area 610 are held, and the holding mode is assumed to be a two-hand holding mode.
Through the above-mentioned module design, it can be determined whether the holding mode of the user of the mobile terminal 600 is the one-handed holding mode by detecting the impedance of the receiver 606 corresponding to the first resonance peak of the sound wave emitted from the receiver 606 located in the first area 609, so that the anti-shake mode is automatically turned on in the one-handed holding mode.
Preferably, as shown in fig. 7 and 8, the mobile terminal 600 further includes: a first microphone 607 and a second microphone 608. The general first microphone 607 is a sub-microphone and is located in a first area 609 of the mobile terminal 600. The second microphone 608 is a primary microphone and is located in a second area 610 of the mobile terminal 600. Both are inherent elements of the mobile terminal 600, and therefore, the mobile terminal 600 does not require additional hardware. Specifically, the first microphone 607 may be located on an end face (i.e., an end face of the tip) of the first region 609 of the mobile terminal 600. The second microphone 608 may be located on an end surface (i.e., an end surface of the bottom end) of the second region 610 of the mobile terminal 600.
Preferably, as shown in fig. 7, the obtaining module 601 further includes:
a second collecting sub-module 60111 configured to turn on the first microphone 607 located in the first area 609 of the mobile terminal 600 and the second microphone 608 located in the second area 610 of the mobile terminal 600, and collect the ambient sound.
Since the hand is generally located on a partial area of the mobile terminal 600 when being held, the transmission of sound waves is blocked to some extent, so that the loudness of the ambient sound collected by the microphone is reduced. Based on this, since the first microphone 607 and the second microphone 608 are respectively located in the first region 609 and the second region 610, whether there is an occlusion in the corresponding region can be determined by comparing loudness of the ambient sound collected by the two, thereby determining the holding mode.
A seventh determining submodule 60112, configured to determine that the holding mode is the one-handed holding mode if the loudness of the ambient sound collected by the first microphone 607 is greater than the loudness of the ambient sound collected by the second microphone 608.
If the loudness of the ambient sound collected by the first microphone 607 is greater than the loudness of the ambient sound collected by the second microphone 608, indicating at least that the second region 610 is occluded, it is estimated that the first region 609 is not occluded and the holding mode is the one-handed holding mode. In this case, of course, the first region 609 may have a block, but in the embodiment of the present invention, the determination result of the loudness of the ambient sound is considered to be caused by the one-hand holding mode, so as to avoid missing detection caused by the one-hand holding mode.
The eighth determining submodule 60113 is configured to determine that the holding mode is the two-hand holding mode if the loudness of the ambient sound collected by the first microphone 607 is less than or equal to the loudness of the ambient sound collected by the second microphone 608.
If the loudness of the ambient sound collected by the first microphone 607 is less than or equal to the loudness of the ambient sound collected by the second microphone 608, it indicates that at least the first region 609 is more obstructed than the second region 610, and therefore, it is assumed that the first region 609 is held by the user of the mobile terminal 600. In particular, a camera is disposed at the same end of the first area 609, so that the first area 609 is not held by a single hand to avoid blocking the camera.
Therefore, when the first area 609 is held, it indicates that both the first area 609 and the second area 610 are held, and it is estimated that the holding mode is a two-hand holding mode.
Through the above-mentioned module design, whether the holding mode of the user of the mobile terminal 600 is the one-hand holding mode can be determined by comparing the loudness of the ambient sound in the first area 609 and the second area 610, so that the anti-shake mode is automatically turned on in the one-hand holding mode.
To sum up, the mobile terminal 600 according to the sixth embodiment of the present invention can automatically start the anti-shake mode in the one-hand holding mode by determining whether the holding mode of the user of the mobile terminal 600 is the one-hand holding mode, which is beneficial to improving the photographing effect in the one-hand holding mode and improving the user experience.
Seventh embodiment
Fig. 9 is a block diagram of a mobile terminal according to a seventh embodiment of the present invention. The mobile terminal 900 shown in fig. 9 includes: at least one processor 901, memory 902, at least one network interface 904, and a user interface 903. Various components in mobile terminal 900 are coupled together by bus system 905. It is understood that the bus system 905 is used to enable communications among the components. The bus system 905 includes a power bus, a control bus, and a status signal bus, in addition to a data bus. For clarity of illustration, however, the various buses are labeled in fig. 9 as bus system 905. The mobile terminal 900 further includes a first area and a second area disposed on a front surface thereof. The first area and the second area are located at opposite ends of the mobile terminal 900.
The user interface 903 may include, among other things, a display, a keyboard, or a pointing device such as a mouse, trackball (trackball), touch pad, or touch screen. In this embodiment, the display is a flexible screen.
It is to be understood that the memory 902 in embodiments of the present invention may be either volatile memory or nonvolatile memory, or may include both volatile and nonvolatile memory. The non-volatile Memory may be a Read-Only Memory (ROM), a Programmable ROM (PROM), an Erasable PROM (EPROM), an Electrically Erasable PROM (EEPROM), or a flash Memory. Volatile Memory can be Random Access Memory (RAM), which acts as external cache Memory. By way of illustration, and not limitation, many forms of RAM are available, such as Static random access memory (Static RAM, SRAM), Dynamic Random Access Memory (DRAM), Synchronous Dynamic random access memory (Synchronous DRAM, SDRAM), Double Data Rate Synchronous Dynamic Random Access Memory (DDRSDRAM), Enhanced Synchronous SDRAM (ESDRAM), Sync Link DRAM (SLDRAM), and direct memory bus RAM (DRRAM). The memory 902 of the systems and methods described in connection with the embodiments of the invention is intended to comprise, without being limited to, these and any other suitable types of memory.
In some embodiments, memory 902 stores the following elements, executable modules or data structures, or a subset thereof, or an expanded set thereof: an operating system 9021 and application programs 9022.
The operating system 9021 includes various system programs, such as a framework layer, a core library layer, a driver layer, and the like, and is configured to implement various basic services and process hardware-based tasks. The application 9022 includes various applications, such as a media player (MediaPlayer), a Browser (Browser), and the like, for implementing various application services. A program implementing the method of an embodiment of the present invention may be included in application 9022.
In the embodiment of the present invention, the program or the instruction stored in the memory 902 may be specifically a program or an instruction stored in the application 9022. The processor 901 is configured to: when receiving a photographing starting instruction, acquiring a holding mode of holding the mobile terminal 900 by a user of the mobile terminal 900, wherein the holding mode comprises: a one-hand holding mode and a two-hand holding mode, the one-hand holding mode being a second region of the mobile terminal 900 held by one hand; the two-hand holding mode is that two hands respectively hold a first region and a second region of the mobile terminal 900; if the holding mode is a single-hand holding mode, starting the anti-shake mode; if the holding mode is a two-hand holding mode, the anti-shake mode is kept closed.
The method disclosed in the above embodiments of the present invention may be applied to the processor 901, or implemented by the processor 901. The processor 901 may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be implemented by integrated logic circuits of hardware or instructions in the form of software in the processor 901. The Processor 901 may be a general-purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf programmable Gate Array (FPGA) or other programmable logic device, a discrete Gate or transistor logic device, or a discrete hardware component. The various methods, steps and logic blocks disclosed in the embodiments of the present invention may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of the method disclosed in connection with 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 may be located in ram, flash memory, rom, prom, or eprom, registers, etc. storage media as is well known in the art. The storage medium is located in the memory 902, and the processor 901 reads the information in the memory 902, and completes the steps of the above method in combination with the hardware thereof.
It is to be understood that the embodiments described herein may be implemented in hardware, software, firmware, middleware, microcode, or any combination thereof. For a hardware implementation, the processing units may be implemented within one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), general purpose processors, controllers, micro-controllers, microprocessors, other electronic units configured to perform the functions described herein, or a combination thereof.
For a software implementation, the techniques described in this disclosure may be implemented with modules (e.g., procedures, functions, and so on) that perform the functions described in this disclosure. The software codes may be stored in memory 902 and executed by processors. The memory 902 may be implemented in the processor 901 or external to the processor 901.
Optionally, the processor 901 is configured to: in the step of obtaining a holding mode of the user of the mobile terminal 900 holding the mobile terminal 900, the processor 901 is specifically configured to: starting a photosensitive sensor located in a first area of the mobile terminal 900, and collecting ambient light intensity of the first area of the mobile terminal 900; if the ambient light intensity of the first area of the mobile terminal 900 is greater than the preset light intensity threshold, determining that the holding mode is a one-hand holding mode; if the ambient light intensity of the first area of the mobile terminal 900 is less than or equal to the preset light intensity threshold, it is determined that the holding mode is a two-hand holding mode.
Optionally, the processor 901 is configured to: in the step of obtaining a holding mode of the user of the mobile terminal 900 holding the mobile terminal 900, the processor 901 is specifically configured to: starting a distance sensor located in a first area of the mobile terminal 900, and detecting whether an obstacle exists within a range of a preset distance threshold from the first area of the mobile terminal 900; if the obstacle is not detected, determining that the holding mode is a single-hand holding mode; and if the obstacle is detected, determining that the holding mode is a two-hand holding mode.
Optionally, the processor 901 is configured to: in the step of obtaining a holding mode of the user of the mobile terminal 900 holding the mobile terminal 900, the processor 901 is specifically configured to: turning on a receiver located in a first area of the mobile terminal 900 and emitting sound waves; acquiring the impedance of a receiver corresponding to a first resonance peak of sound waves; if the impedance of the receiver corresponding to the first resonance peak of the sound wave is larger than a preset impedance threshold value, determining that the holding mode is a single-hand holding mode; and if the impedance of the receiver corresponding to the first resonance peak of the sound wave is less than or equal to a preset impedance threshold value, determining that the holding mode is a two-hand holding mode.
Optionally, the processor 901 is configured to: in the step of obtaining a holding mode of the user of the mobile terminal 900 holding the mobile terminal 900, the processor 901 is specifically configured to: opening a first microphone located in a first area of the mobile terminal 900 and a second microphone located in a second area of the mobile terminal 900, and collecting ambient sound; if the loudness of the environment sound collected by the first microphone is greater than the loudness of the environment sound collected by the second microphone, determining that the holding mode is a single-hand holding mode; and if the loudness of the environment sound collected by the first microphone is less than or equal to the loudness of the environment sound collected by the second microphone, determining that the holding mode is a two-hand holding mode.
The mobile terminal 900 can implement the processes implemented by the mobile terminal in the foregoing embodiments, and in order to avoid repetition, the details are not described here.
According to the mobile terminal 900 of the embodiment of the invention, the anti-shake mode can be automatically started in the single-hand holding mode by judging whether the holding mode of the user of the mobile terminal 900 is the single-hand holding mode, so that the photographing effect in the single-hand holding mode can be improved, and the user experience can be improved.
Eighth embodiment
Fig. 10 is a schematic structural diagram of a mobile terminal according to an eighth embodiment of the present invention. Specifically, the mobile terminal 1000 in fig. 10 may be a mobile phone, a tablet computer, a Personal Digital Assistant (PDA), or a vehicle-mounted computer.
The mobile terminal 1000 in fig. 10 includes a Radio Frequency (RF) circuit 1010, a memory 1020, an input unit 1030, a display unit 1040, a processor 1060, an audio circuit 1070, a wifi (wireless fidelity) module 1080, and a power supply 1090. The mobile terminal 1000 further includes a first area and a second area disposed on a front surface thereof. The first area and the second area are located at opposite ends of the mobile terminal 1000.
The input unit 1030 may be used to receive numeric or character information input by a user and generate signal inputs related to user settings and function control of the mobile terminal 1000, among other things. Specifically, in the embodiment of the present invention, the input unit 1030 may include a touch panel 1031. The touch panel 1031, also referred to as a touch screen, may collect touch operations by a user (e.g., operations of the user on the touch panel 1031 by using any suitable object or accessory such as a finger or a stylus) thereon or nearby, and drive corresponding connection devices according to a preset program. Alternatively, the touch panel 1031 may include two parts, a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts it to touch point coordinates, and sends it to the processor 1060 where it can receive and execute commands from the processor 1060. In addition, the touch panel 1031 may be implemented by various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 1031, the input unit 1030 may also include other input devices 1032, and the other input devices 1032 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a track ball, a mouse, a joystick, etc.
Among other things, the display unit 1040 may be used to display information input by a user or information provided to the user and various menu interfaces of the mobile terminal 1000. The display unit 1040 may include a display panel 1041, and optionally, the display panel 1041 may be configured in the form of an LCD or an Organic Light-Emitting Diode (OLED).
It should be noted that the touch panel 1031 may cover the display panel 1041 to form a touch display screen, and when the touch display screen detects a touch operation thereon or nearby, the touch display screen is transmitted to the processor 1060 to determine the type of the touch event, and then the processor 1060 provides a corresponding visual output on the touch display screen according to the type of the touch event. In this embodiment, the touch display screen is a flexible screen.
The touch display screen comprises an application program interface display area and a common control display area. The arrangement modes of the application program interface display area and the common control display area are not limited, and can be an arrangement mode which can distinguish two display areas, such as vertical arrangement, left-right arrangement and the like. The application interface display area may be used to display an interface of an application. Each interface may contain at least one interface element such as an icon and/or widget desktop control for an application. The application interface display area may also be an empty interface that does not contain any content. The common control display area is used for displaying controls with high utilization rate, such as application icons like setting buttons, interface numbers, scroll bars, phone book icons and the like.
The processor 1060 is a control center of the mobile terminal 1000, connects various parts of the whole mobile phone by using various interfaces and lines, and executes various functions and processes data of the mobile terminal 1000 by running or executing software programs and/or modules stored in the first memory 1021 and calling data stored in the second memory 1022, thereby performing overall monitoring of the mobile terminal 1000. Optionally, processor 1060 may include one or more processing units.
In the embodiment of the present invention, the processor 1060 is configured to, by calling the software programs and/or modules stored in the first memory 1021 and/or the data stored in the second memory 1022: when receiving a photographing starting instruction, acquiring a holding mode in which a user of the mobile terminal 1000 holds the mobile terminal 1000, wherein the holding mode comprises: a one-hand holding mode and a two-hand holding mode, the one-hand holding mode being a second area where the mobile terminal 1000 is held by one hand; the two-hand holding mode is that two hands respectively hold a first area and a second area of the mobile terminal 1000; if the holding mode is a single-hand holding mode, starting the anti-shake mode; if the holding mode is a two-hand holding mode, the anti-shake mode is kept closed.
Optionally, the processor 1060 is configured to: in the step of obtaining the holding mode of the user of the mobile terminal 1000 holding the mobile terminal 1000, the processor 1060 is specifically configured to: starting a photosensitive sensor located in a first area of the mobile terminal 1000, and collecting ambient light intensity of the first area of the mobile terminal 1000; if the ambient light intensity of the first area of the mobile terminal 1000 is greater than the preset light intensity threshold, determining that the holding mode is a one-hand holding mode; if the ambient light intensity of the first area of the mobile terminal 1000 is less than or equal to the preset light intensity threshold, determining that the holding mode is a two-hand holding mode.
Optionally, the processor 1060 is configured to: in the step of obtaining the holding mode of the user of the mobile terminal 1000 holding the mobile terminal 1000, the processor 1060 is specifically configured to: starting a distance sensor located in a first area of the mobile terminal 1000, and detecting whether an obstacle exists within a range of a preset distance threshold from the first area of the mobile terminal 1000; if the obstacle is not detected, determining that the holding mode is a single-hand holding mode; and if the obstacle is detected, determining that the holding mode is a two-hand holding mode.
Optionally, the processor 1060 is configured to: in the step of obtaining the holding mode of the user of the mobile terminal 1000 holding the mobile terminal 1000, the processor 1060 is specifically configured to: a receiver located in a first area of the mobile terminal 1000 is turned on, and sound waves are emitted; acquiring the impedance of a receiver corresponding to a first resonance peak of sound waves; if the impedance of the receiver corresponding to the first resonance peak of the sound wave is larger than a preset impedance threshold value, determining that the holding mode is a single-hand holding mode; and if the impedance of the receiver corresponding to the first resonance peak of the sound wave is less than or equal to a preset impedance threshold value, determining that the holding mode is a two-hand holding mode.
Optionally, the processor 1060 is configured to: in the step of obtaining the holding mode of the user of the mobile terminal 1000 holding the mobile terminal 1000, the processor 1060 is specifically configured to: opening a first microphone located in a first area of the mobile terminal 1000 and a second microphone located in a second area of the mobile terminal 1000, and collecting ambient sound; if the loudness of the environment sound collected by the first microphone is greater than the loudness of the environment sound collected by the second microphone, determining that the holding mode is a single-hand holding mode; and if the loudness of the environment sound collected by the first microphone is less than or equal to the loudness of the environment sound collected by the second microphone, determining that the holding mode is a two-hand holding mode.
Therefore, the mobile terminal 1000 can judge whether the holding mode of the user of the mobile terminal 1000 is the one-hand holding mode, so that the anti-shake mode is automatically started in the one-hand holding mode, the photographing effect in the one-hand holding mode is favorably improved, and the user experience is improved.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: various media capable of storing program codes, such as a U disk, a removable hard disk, a ROM, a RAM, a magnetic disk, or an optical disk.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (10)

1. A method for starting an anti-shake mode is applied to a mobile terminal, the mobile terminal comprises a first area and a second area which are arranged on the front surface of the mobile terminal, the first area and the second area are relatively positioned at two ends of the mobile terminal, the first area is positioned at the top end of the mobile terminal, the second area is positioned at the bottom end of the mobile terminal, and the method comprises the following steps:
when a photographing starting instruction is received, a holding mode that a mobile terminal user holds the mobile terminal is obtained, wherein the holding mode comprises the following steps: the mobile terminal comprises a single-hand holding mode and a double-hand holding mode, wherein the single-hand holding mode is that one hand holds a second area of the mobile terminal; the two-hand holding mode is that two hands respectively hold a first area and a second area of the mobile terminal;
if the holding mode is a single-hand holding mode, starting an anti-shake mode;
and if the holding mode is a two-hand holding mode, keeping the anti-shake mode off.
2. The method according to claim 1, wherein the step of obtaining a holding mode of the mobile terminal held by the user of the mobile terminal comprises:
starting a photosensitive sensor located in a first area of the mobile terminal, and collecting the ambient light intensity of the first area of the mobile terminal;
if the ambient light intensity of the first area of the mobile terminal is greater than a preset light intensity threshold value, determining that the holding mode is a single-hand holding mode;
and if the ambient light intensity of the first area of the mobile terminal is less than or equal to a preset light intensity threshold value, determining that the holding mode is a two-hand holding mode.
3. The method according to claim 1, wherein the step of obtaining a holding mode of the mobile terminal held by the user of the mobile terminal comprises:
starting a distance sensor located in a first area of the mobile terminal, and detecting whether an obstacle exists in a range of a preset distance threshold value from the first area of the mobile terminal;
if the obstacle is not detected, determining that the holding mode is a single-hand holding mode;
and if the obstacle is detected, determining that the holding mode is a two-hand holding mode.
4. The method according to claim 1, wherein the step of obtaining a holding mode of the mobile terminal held by the user of the mobile terminal comprises:
a receiver located in a first area of the mobile terminal is started, and sound waves are emitted;
acquiring the impedance of the receiver corresponding to the first resonance peak of the sound wave;
if the impedance of the receiver corresponding to the first resonance peak of the sound wave is larger than a preset impedance threshold value, determining that the holding mode is a single-hand holding mode;
and if the impedance of the receiver corresponding to the first resonance peak of the sound wave is less than or equal to a preset impedance threshold value, determining that the holding mode is a two-hand holding mode.
5. The method according to claim 1, wherein the step of obtaining a holding mode of the mobile terminal held by the user of the mobile terminal comprises:
opening a first microphone located in a first area of the mobile terminal and a second microphone located in a second area of the mobile terminal, and collecting environmental sound;
if the loudness of the environmental sound collected by the first microphone is greater than the loudness of the environmental sound collected by the second microphone, determining that the holding mode is a one-hand holding mode;
and if the loudness of the environment sound collected by the first microphone is less than or equal to the loudness of the environment sound collected by the second microphone, determining that the holding mode is a two-hand holding mode.
6. The utility model provides a mobile terminal, is including setting up in its positive first region and second area, first region with the second area is located relatively mobile terminal's both ends, first region is located mobile terminal's top, the second area is located mobile terminal's bottom, its characterized in that, mobile terminal still includes:
the mobile terminal comprises an acquisition module and a control module, wherein the acquisition module is used for acquiring a holding mode of a mobile terminal user for holding the mobile terminal when a photographing starting instruction is received, and the holding mode comprises the following steps: the mobile terminal comprises a single-hand holding mode and a double-hand holding mode, wherein the single-hand holding mode is that one hand holds a second area of the mobile terminal; the two-hand holding mode is that two hands respectively hold a first area and a second area of the mobile terminal;
the starting module is used for starting the anti-shake mode if the holding mode is a single-hand holding mode;
and the closing module is used for keeping the anti-shake mode closed if the holding mode is a two-hand holding mode.
7. The mobile terminal of claim 6, wherein the obtaining module comprises:
the first acquisition submodule is used for starting a photosensitive sensor in a first area of the mobile terminal and acquiring the ambient light intensity of the first area of the mobile terminal;
the first determining submodule is used for determining that the holding mode is a single-hand holding mode if the ambient light intensity of the first area of the mobile terminal is greater than a preset light intensity threshold value;
and the second determining submodule is used for determining that the holding mode is a two-hand holding mode if the ambient light intensity of the first area of the mobile terminal is less than or equal to a preset light intensity threshold value.
8. The mobile terminal of claim 6, wherein the obtaining module comprises:
the detection submodule is used for starting a distance sensor positioned in a first area of the mobile terminal and detecting whether an obstacle exists in a range of a preset distance threshold value from the first area of the mobile terminal;
a third determining submodule, configured to determine that the holding mode is a one-hand holding mode if the obstacle is not detected;
and the fourth determining submodule is used for determining that the holding mode is a two-hand holding mode if the obstacle is detected.
9. The mobile terminal of claim 6, wherein the obtaining module comprises:
the sound production sub-module is used for starting a telephone receiver positioned in a first area of the mobile terminal and sending sound waves;
the obtaining submodule is used for obtaining the impedance of the receiver corresponding to the first resonance peak of the sound wave;
the fifth determining submodule is used for determining that the holding mode is a single-hand holding mode if the impedance of the receiver corresponding to the first resonance peak of the sound wave is larger than a preset impedance threshold value;
and the sixth determining submodule is used for determining that the holding mode is a two-hand holding mode if the impedance of the receiver corresponding to the first resonance peak of the sound wave is smaller than or equal to a preset impedance threshold value.
10. The mobile terminal of claim 6, wherein the obtaining module comprises:
the second acquisition submodule is used for starting a first microphone located in a first area of the mobile terminal and a second microphone located in a second area of the mobile terminal and acquiring environmental sound;
a seventh determining submodule, configured to determine that the holding mode is a one-hand holding mode if the loudness of the ambient sound acquired by the first microphone is greater than the loudness of the ambient sound acquired by the second microphone;
and the eighth determining submodule is used for determining that the holding mode is a two-hand holding mode if the loudness of the environment sound collected by the first microphone is less than or equal to the loudness of the environment sound collected by the second microphone.
CN201710527252.3A 2017-06-30 2017-06-30 Method for starting anti-shake mode and mobile terminal Active CN107357616B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710527252.3A CN107357616B (en) 2017-06-30 2017-06-30 Method for starting anti-shake mode and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710527252.3A CN107357616B (en) 2017-06-30 2017-06-30 Method for starting anti-shake mode and mobile terminal

Publications (2)

Publication Number Publication Date
CN107357616A CN107357616A (en) 2017-11-17
CN107357616B true CN107357616B (en) 2020-06-19

Family

ID=60272599

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710527252.3A Active CN107357616B (en) 2017-06-30 2017-06-30 Method for starting anti-shake mode and mobile terminal

Country Status (1)

Country Link
CN (1) CN107357616B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108399034A (en) * 2018-03-06 2018-08-14 京东方科技集团股份有限公司 Terminal and its control method

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20090022179A (en) * 2007-08-29 2009-03-04 삼성테크윈 주식회사 Apparatus for processing digital image and method for controlling thereof
CN105072328A (en) * 2015-07-16 2015-11-18 广东欧珀移动通信有限公司 Video shooting method and device, and terminal
CN105791696A (en) * 2016-04-05 2016-07-20 广东欧珀移动通信有限公司 Fingerprint shooting method and apparatus of mobile terminal, and mobile terminal
CN105824406A (en) * 2015-11-30 2016-08-03 维沃移动通信有限公司 Photographing method and terminal
CN106095280A (en) * 2016-06-24 2016-11-09 维沃移动通信有限公司 A kind of photographic method and mobile terminal
CN106534658A (en) * 2015-09-10 2017-03-22 小米科技有限责任公司 Method and apparatus for controlling shooting of camera and mobile terminal

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20090022179A (en) * 2007-08-29 2009-03-04 삼성테크윈 주식회사 Apparatus for processing digital image and method for controlling thereof
CN105072328A (en) * 2015-07-16 2015-11-18 广东欧珀移动通信有限公司 Video shooting method and device, and terminal
CN106534658A (en) * 2015-09-10 2017-03-22 小米科技有限责任公司 Method and apparatus for controlling shooting of camera and mobile terminal
CN105824406A (en) * 2015-11-30 2016-08-03 维沃移动通信有限公司 Photographing method and terminal
CN105791696A (en) * 2016-04-05 2016-07-20 广东欧珀移动通信有限公司 Fingerprint shooting method and apparatus of mobile terminal, and mobile terminal
CN106095280A (en) * 2016-06-24 2016-11-09 维沃移动通信有限公司 A kind of photographic method and mobile terminal

Also Published As

Publication number Publication date
CN107357616A (en) 2017-11-17

Similar Documents

Publication Publication Date Title
US11243657B2 (en) Icon display method, and apparatus
JP5922480B2 (en) Portable device having display function, program, and control method of portable device having display function
US9465454B2 (en) Mobile terminal device, storage medium, and method for display control of mobile terminal device
WO2014084224A1 (en) Electronic device and line-of-sight input method
KR101903261B1 (en) Method and device for preventing accidental touch of terminal with touch screen
WO2016112699A1 (en) Method and device for switching display mode
US10628649B2 (en) Fingerprint recognition proccess
CN110308956B (en) Application interface display method and device and mobile terminal
US10007375B2 (en) Portable apparatus and method for controlling cursor position on a display of a portable apparatus
US20180150211A1 (en) Method for adjusting photographing focal length of mobile terminal by using touchpad, and mobile terminal
CN109407948B (en) Interface display method and mobile terminal
CN107241491B (en) Message prompting method, mobile terminal and storage medium
CN107360375B (en) Shooting method and mobile terminal
CN108287655A (en) A kind of interface display method, interface display apparatus and mobile terminal
CN107728923B (en) Operation processing method and mobile terminal
CN108712563B (en) Call control method and device and mobile terminal
CN108762613B (en) State icon display method and mobile terminal
CN111191227B (en) Method and device for preventing malicious code from executing
CN111158485B (en) Screen control method and electronic equipment
CN109857354A (en) A kind of interface display method and terminal device
CN112749590B (en) Object detection method, device, computer equipment and computer readable storage medium
US11476684B2 (en) Charging protection method, terminal, and charger
CN107357616B (en) Method for starting anti-shake mode and mobile terminal
JP6047048B2 (en) Mobile device, touch panel restriction area setting method and program
CN106488168B (en) Method and device for switching angles of pictures collected in electronic terminal

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
TR01 Transfer of patent right

Effective date of registration: 20220817

Address after: 100016 Room 101, 1st floor, unit 101, building 303, courtyard a, Jiuxianqiao North Road, Chaoyang District, Beijing

Patentee after: WEIWO SOFTWARE TECHNOLOGY Co.,Ltd.

Address before: 523860 Dongguan City, Guangdong Province 283 Wusha Bugao Avenue, Chang'an Town, Dongguan City, Guangdong Province

Patentee before: VIVO MOBILE COMMUNICATION Co.,Ltd.

TR01 Transfer of patent right