CN105472253B - A kind of switching method, device and the mobile terminal of fixed-focus and zoom mode - Google Patents

A kind of switching method, device and the mobile terminal of fixed-focus and zoom mode Download PDF

Info

Publication number
CN105472253B
CN105472253B CN201511022497.8A CN201511022497A CN105472253B CN 105472253 B CN105472253 B CN 105472253B CN 201511022497 A CN201511022497 A CN 201511022497A CN 105472253 B CN105472253 B CN 105472253B
Authority
CN
China
Prior art keywords
mobile terminal
self
shooting bar
focusing unit
default
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
CN201511022497.8A
Other languages
Chinese (zh)
Other versions
CN105472253A (en
Inventor
张学勇
王逸英
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201511022497.8A priority Critical patent/CN105472253B/en
Publication of CN105472253A publication Critical patent/CN105472253A/en
Application granted granted Critical
Publication of CN105472253B publication Critical patent/CN105472253B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • 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/67Focus control based on electronic image sensor signals
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/72409User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72484User interfaces specially adapted for cordless or mobile telephones wherein functions are triggered by incoming communication events
    • 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/667Camera operation mode switching, e.g. between still and video, sport and normal or high- and low-resolution modes

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Studio Devices (AREA)
  • Lens Barrels (AREA)

Abstract

The invention discloses the switching method of a kind of fixed-focus and zoom mode, device and mobile terminals, and wherein method includes: when detecting that mobile terminal enters photographing mode, and whether real-time detection mobile terminal connect with self-shooting bar;When detecting that the mobile terminal is connect with self-shooting bar, start the focusing unit in camera module, to enter zoom mode;When detecting that the mobile terminal and self-shooting bar disconnect, controls the focusing unit movement and be fixed at default focal length, to enter fixed-focus mode.When the present invention is realized using self-shooting bar or user's hand-held mobile terminal self-timer, intelligence switches the mode of camera fixed-focus and zoom, takes the purpose of clear pictures.

Description

A kind of switching method, device and the mobile terminal of fixed-focus and zoom mode
Technical field
The present invention relates to technical field of mobile terminals, are related to switching method, device and the shifting of a kind of fixed-focus and zoom mode Dynamic terminal.
Background technique
With the development in epoch and science and technology, mobile terminal is more more and more universal, also becomes in mobile terminal equipped with camera The standard configuration of mobile terminal.And the pixel of mobile terminal camera is higher and higher, and the imaging effect taken pictures also is become better and better, Therefore many people are keen to using mobile terminal self-timer.
Now, user likes carrying out self-timer using self-shooting bar, and when the front camera of mobile terminal only has fixed-focus mode, Focal length take pictures generally in 25-50cm, when taking pictures using self-shooting bar, since focal length is shorter, leads to depth of field very little of taking pictures at a distance, Scene can not be clapped all clearly.Therefore, the front camera with autofocus mode is used using needs when self-shooting bar self-timer, But when user's hand-held mobile terminal self-timer, which, which needs to focus, can just take pictures, and reduce self-timer speed and exist Risk out of focus.
Summary of the invention
In view of this, the present invention proposes switching method, device and the mobile terminal of a kind of fixed-focus and zoom mode, to realize When using self-shooting bar or user's hand-held mobile terminal self-timer, intelligence switches the mode of camera fixed-focus and zoom, and it is clear to take The purpose of photo.
To achieve the above object, the present invention adopts the following technical scheme:
In a first aspect, the embodiment of the invention provides the switching methods of a kind of fixed-focus and zoom mode, comprising:
When detecting that mobile terminal enters photographing mode, whether real-time detection mobile terminal connect with self-shooting bar;
When detecting that the mobile terminal is connect with self-shooting bar, start the focusing unit in camera module, to enter Zoom mode;
When detecting that the mobile terminal and self-shooting bar disconnect, controls the focusing unit movement and be fixed on pre- If at focal length, to enter fixed-focus mode.
Second aspect, the embodiment of the invention provides the switching devices of a kind of fixed-focus and zoom mode, comprising:
Connection status detection module, when for detecting that mobile terminal enters photographing mode, real-time detection mobile terminal is It is no to be connect with self-shooting bar;
Focusing unit starting module, for starting camera mould when detecting that the mobile terminal is connect with self-shooting bar Focusing unit in group, to enter zoom mode;
Focusing unit fixed module, for when detecting the mobile terminal and self-shooting bar disconnects, described in control Focusing unit is mobile and is fixed at default focal length, to enter fixed-focus mode.
The third aspect, the embodiment of the invention provides a kind of mobile terminal, the mobile terminal includes above-mentioned second aspect The switching device of the fixed-focus and zoom mode.
The beneficial effects of the present invention are: the switching method of fixed-focus provided by the invention and zoom mode, device and movement are eventually End starts the focusing unit in camera module when detecting that mobile terminal is connect with self-shooting bar, to enter zoom mode, The depth of field that makes to take pictures at a distance is larger, whole scenes in camera lens is clearly photographed, so that bat when user is taken pictures using self-shooting bar Take the photograph clear photograph;When detecting that mobile terminal and self-shooting bar disconnect, fixed focusing unit is being preset at focal length, with It is switched to fixed-focus mode, so that taking clearly take a picture certainly rapidly, and reduce mistake when user's hand-held mobile terminal self-timer Burnt risk.
Detailed description of the invention
Exemplary embodiments of the present invention will be described in detail referring to the drawings by general below, makes those skilled in the art Become apparent from above-mentioned and other feature and advantage of the invention, in attached drawing:
Fig. 1 is the flow diagram of the switching method of the fixed-focus that the embodiment of the present invention one provides and zoom mode;
Fig. 2 is the mobile terminal and self-shooting bar connection schematic diagram that the embodiment of the present invention one provides;
Fig. 3 is the flow diagram of the switching method of fixed-focus and zoom mode provided by Embodiment 2 of the present invention;
Fig. 4 is the flow diagram of the switching method of the fixed-focus that the embodiment of the present invention three provides and zoom mode;
Fig. 5 is the structural block diagram of the switching device of the fixed-focus that the embodiment of the present invention four provides and zoom mode;
Fig. 6 is the preferred embodiment structural block diagram of the switching device of the fixed-focus that the embodiment of the present invention four provides and zoom mode.
Specific embodiment
To further illustrate the technical scheme of the present invention below with reference to the accompanying drawings and specific embodiments.It is understood that It is that specific embodiment described herein is used only for explaining the present invention rather than limiting the invention.It further needs exist for illustrating , only the parts related to the present invention are shown for ease of description, in attached drawing rather than entire infrastructure.
Embodiment one
Fig. 1 is the flow diagram of the switching method of the fixed-focus that the embodiment of the present invention one provides and zoom mode.This method When being connected or disconnected from suitable for mobile terminal and self-shooting bar, intelligence switches camera fixed-focus and zoom mode to realize user The case where self-timer, this method can be executed by the switching device of fixed-focus and zoom mode.The device can be by software and/or hard The mode of part realizes, it is settable in the terminal.As shown in Figure 1, this method comprises:
Step 101, when detecting that mobile terminal enters photographing mode, whether real-time detection mobile terminal connects with self-shooting bar It connects.
When the camera for detecting mobile terminal is opened, whether real-time detection mobile terminal connect with self-shooting bar.
Wherein, as shown in Fig. 2, mobile terminal is fixed on the bracket of self-shooting bar, self-shooting bar can be plug wire self-shooting bar Or bluetooth-type self-shooting bar.
Illustratively, when self-shooting bar is plug wire self-shooting bar, the plug wire of plug wire self-shooting bar is connected to mobile terminal Earpiece holes are equivalent to the external load of mobile terminal, can generate a load voltage at earpiece holes, therefore, as long as logical Crossing at test earphone hole can judge whether mobile terminal connect with self-shooting bar with the presence or absence of voltage.
Specifically, whether real-time detection mobile terminal connect with self-shooting bar may include:
Whether there is voltage at the earpiece holes of real-time detection mobile terminal;When detecting has voltage at earpiece holes, judge to move Dynamic terminal is connect with self-shooting bar;When detecting no-voltage at earpiece holes, judge that mobile terminal is disconnected with self-shooting bar.
In addition, bluetooth-type self-shooting bar is connected by bluetooth and mobile terminal pairing when self-shooting bar is bluetooth-type self-shooting bar, And the bluetooth module of each self-shooting bar has unique Bluetooth address, therefore, as long as being by the Bluetooth address that detection has been matched It is no to judge whether mobile terminal connect with self-shooting bar for self-shooting bar Bluetooth address.
Specifically, whether real-time detection mobile terminal connect with self-shooting bar includes:
Whether the address of the bluetooth of real-time detection and mobile terminal Bluetooth pairing is self-shooting bar Bluetooth address;When detect with When the address of the bluetooth of mobile terminal Bluetooth pairing is self-shooting bar Bluetooth address, judge that mobile terminal is connect with self-shooting bar;Work as inspection It measures with the address of the bluetooth of mobile terminal Bluetooth pairing when not being self-shooting bar Bluetooth address, judges that mobile terminal and self-shooting bar are disconnected Open connection.
Step 102, the focusing unit when detecting that mobile terminal is connect with self-shooting bar, in starting camera module.
Wherein, focusing unit can be focusing motor, and camera module can be front camera mould group.Lens are fixed on In focusing unit, which is arranged in the bracket of camera module, and the both ends of bracket are used to limit the work of focusing unit Dynamic range, thus the burnt section of the maximum for setting camera.
Illustratively, mobile terminal can control the focusing unit and move freely in bracket, it can be achieved that auto-focusing Function.When detecting that the mobile terminal is connect with self-shooting bar, start the focusing unit in camera module, focusing unit exists It is moved in bracket, to change the size of focal length, zoom mode is entered with this.
Step 103, when detecting that mobile terminal and self-shooting bar disconnect, control focusing unit is mobile to be simultaneously fixed on pre- If at focal length.
In the present embodiment, to take clear photograph when making user's hand-held mobile terminal self-timer, above-mentioned default focal length can It is set as 40cm.
When detecting that mobile terminal and self-shooting bar disconnect, mobile terminal can control focusing unit to return to and be fixed on At default focal length, so that fixed focal length, realizes that lock is burnt, fixed-focus mode is entered with this.
The switching method of fixed-focus and zoom mode that the embodiment of the present invention one provides, is detecting mobile terminal and self-shooting bar When connection, start the focusing unit in camera module, the depth of field is larger into zoom mode, to make to take pictures at a distance, clearly Whole scenes in camera lens are taken, so that taking clear photograph when user is taken pictures using self-shooting bar;Detecting movement When terminal and self-shooting bar disconnect, fixed focusing unit is at default focal length, to be switched to fixed-focus mode, so that user is hand-held When mobile terminal self-timer, takes clearly take a picture certainly rapidly, and reduce risk out of focus.
Further, when detecting that mobile terminal enters photographing mode, default mode can be opened, which is fixed Burnt mode or zoom mode, preferably fixed-focus mode, because in most cases, user is that hand-held mobile terminal carries out self-timer, this Sample can be directly entered fixed-focus mode, and self-timer is rapidly completed.
Embodiment two
Fig. 3 is the flow diagram of the switching method of fixed-focus and zoom mode provided by Embodiment 2 of the present invention.This implementation Step is started the focusing unit in camera module and is advanced optimized by example based on embodiment one are as follows: control mobile terminal Power supply be focusing unit power supply;It is moved in default burnt section according to default focus algorithm control focusing unit.
Further, control focusing unit is mobile and is fixed at default focal length, comprising:
Control focusing unit is moved at default focal length;
Control power supply of the power supply disconnection of mobile terminal to focusing unit.
Only need to focusing unit be powered or be powered off as a result, so that it may realize the switching of fixed-focus and zoom mode, method and knot Structure is simple, easy to accomplish.
Correspondingly, the method for the present embodiment the following steps are included:
Step 201, when detecting that mobile terminal enters photographing mode, whether real-time detection mobile terminal connects with self-shooting bar It connects.
Step 202, when detecting that mobile terminal is connect with self-shooting bar, control the power supply of mobile terminal for focusing unit confession Electricity.
Illustratively, power supply can be realized to focusing unit by the controllable switch between control power supply and focusing unit Power supply, controllable switch closure, power supply start to power.
Step 203 moves in default burnt section according to default focus algorithm control focusing unit.
Wherein, default focus algorithm can be auto-focusing algorithm, including contrast method of comparison or phase-detection method.Default coke section For one section of region in bracket, the default section in the present embodiment can be 25cm-50cm.
Illustratively, it presets focus algorithm and uses contrast method of comparison, it is the picture being imaged on different location based on camera lens Face is variant to look for best focal point, and camera lens is focused unit driving and promotes towards some direction, when camera lens is moved to a certain position When upper, to the data analytical calculation in some region of current image, the value of an energy Relative quantification clarity was obtained, and simultaneously The position of camera lens is recorded, camera lens obtains one group of numerical value after persistently being moved multistage distance, finds the maximum value pair of this group number The lens location answered, driving camera lens return to the position and finally realize auto-focusing.As a result, according to default focus algorithm control focusing Unit moves in default burnt section, to drive camera lens mobile, finds out best focal point.
Step 204, when detecting that mobile terminal and self-shooting bar disconnect, control focusing unit be moved to default focal length Place.
Step 205, the power supply for controlling mobile terminal disconnect the power supply to focusing unit.
When focusing unit is moved at default focal length, power supply of the power supply disconnection of mobile terminal to focusing unit is controlled, Realize that lock is burnt, to enter fixed-focus mode.
The switching method of fixed-focus and zoom mode that the embodiment of the present invention one provides by the power supply to focusing unit or breaks Electricity realizes the switching of fixed-focus and zoom mode, and method and structure is simple, easy to accomplish.
Embodiment three
Fig. 4 is the flow diagram of the switching method of the fixed-focus that the embodiment of the present invention three provides and zoom mode.This implementation Example in front camera use autofocus lens, as shown in figure 4, the method for the present embodiment the following steps are included:
Step 301, focusing motor initial position are fixed at a focal length of 25cm-50cm coke section, and front camera enters Fixed-focus mode.
Illustratively, when opening front camera, start fixed-focus mode, the initial position of focusing motor can be fixed on 40cm At focal length, so as to take clear photograph when user's hand-held mobile terminal self-timer.
Step 302, mobile terminal have detected whether that self-shooting bar is connect with mobile terminal;If so, 303 are thened follow the steps, it is no Then follow the steps 304.
Wherein, self-shooting bar can be plug wire self-shooting bar or bluetooth-type self-shooting bar, self-shooting bar and mobile terminal connection status Detection method is the same as example 1, and details are not described herein again.
Step 303, mobile terminal power supply are powered to focusing motor, start auto-focusing algorithm, and front camera enters certainly Dynamic focal modes;Return step 302.
Step 304, focusing motor return at initial focal length, and power-off lock is burnt, and front camera enters fixed-focus mode;Return to step Rapid 302.
The switching method of fixed-focus and zoom mode that the embodiment of the present invention three provides, is detecting mobile terminal and self-shooting bar When connection, start the focusing motor in camera module, the depth of field is larger into zoom mode, to make to take pictures at a distance, clearly Whole scenes in camera lens are taken, so that taking clear photograph when user is taken pictures using self-shooting bar;Detecting movement When terminal and self-shooting bar disconnect, fixed focusing motor is at default focal length, to be switched to fixed-focus mode, so that user is hand-held When mobile terminal self-timer, takes clearly take a picture certainly rapidly, and reduce risk out of focus.
Example IV
Fig. 5 is the structural block diagram of the switching device of the fixed-focus that the embodiment of the present invention four provides and zoom mode.Such as Fig. 5 institute Show, which includes connection status detection module 10, focusing unit starting module 20 and focusing unit fixed module 30.
Wherein, connection status detection module 10, when for detecting that mobile terminal enters photographing mode, real-time detection is mobile Whether terminal connect with self-shooting bar;
Focusing unit starting module 20, for starting camera module when detecting that mobile terminal is connect with self-shooting bar In focusing unit, with enter zoom mode;
Focusing unit fixed module 30, for when detecting that mobile terminal and self-shooting bar disconnect, control focusing to be single Member is mobile and is fixed at default focal length, to enter fixed-focus mode.
The switching device of fixed-focus provided by the embodiment of the present invention four and zoom mode can be used for executing implementation of the present invention The switching method of fixed-focus and zoom mode provided by example, has corresponding function and beneficial effect.
Further, referring to Fig. 6, in above scheme, above-mentioned apparatus further include:
Default mode opening module 40 should for opening default mode when detecting that mobile terminal enters photographing mode Default mode is fixed-focus mode or zoom mode, preferably fixed-focus mode.
Further, when self-shooting bar is plug wire self-shooting bar, above-mentioned connection status detection module 10 includes:
Earpiece holes voltage detection unit, for whether having voltage at the earpiece holes of real-time detection mobile terminal;
First connection status judging unit, for judging mobile terminal and self-timer when detecting has voltage at earpiece holes Bar connection;When detecting no-voltage at earpiece holes, judge that mobile terminal is disconnected with self-shooting bar.
Further, when self-shooting bar is bluetooth-type self-shooting bar, above-mentioned connection status detection module 10 includes:
Bluetooth address detection unit, whether the address for real-time detection and the bluetooth of mobile terminal Bluetooth pairing is self-timer Bar Bluetooth address;
Second connection status judging unit detects that with the address of the bluetooth of mobile terminal Bluetooth pairing be self-timer for working as When bar Bluetooth address, judge that mobile terminal is connect with self-shooting bar;When detecting the address with the bluetooth of mobile terminal Bluetooth pairing When not being self-shooting bar Bluetooth address, judge that mobile terminal is disconnected with self-shooting bar.
Preferably, in above scheme, focusing unit starting module 20 includes:
First power control unit 21, for controlling the power supply of mobile terminal as focusing unit power supply;
First focusing unit control unit 22, for being moved in default burnt section according to default focus algorithm control focusing unit It is dynamic.
Focusing unit fixed module 30 includes:
Second focusing unit control unit 31 is moved at default focal length for controlling focusing unit;
Second source control unit 32, the power supply for controlling mobile terminal disconnect the power supply to focusing unit.
Preferably, above-mentioned camera module is front camera mould group.
Further, above-mentioned focusing unit is focusing motor.
Embodiment five
The mobile terminal that the embodiment of the present invention five provides, the fixed-focus provided including the embodiment of the present invention four and zoom mode Switching device.The switching device of fixed-focus and zoom mode that the mobile terminal can provide through the invention, using corresponding fixed-focus Fixed-focus and zoom mode are carried out when mobile terminal and self-shooting bar are connected or disconnected from the switching method of zoom mode Intelligence switching.
Wherein, mobile terminal can be smart phone, tablet computer or personal digital assistant etc..
Mobile terminal provided by the embodiment of the present invention five, including fixed-focus and zoom mode provided by the embodiment of the present invention Switching device, have corresponding function and beneficial effect.
Note that the above is only a better embodiment of the present invention and the applied technical principle.It will be appreciated by those skilled in the art that The invention is not limited to the specific embodiments described herein, be able to carry out for a person skilled in the art it is various it is apparent variation, It readjusts and substitutes without departing from protection scope of the present invention.Therefore, although being carried out by above embodiments to the present invention It is described in further detail, but the present invention is not limited to the above embodiments only, without departing from the inventive concept, also It may include more other equivalent embodiments, and the scope of the invention is determined by the scope of the appended claims.

Claims (13)

1. the switching method of a kind of fixed-focus and zoom mode characterized by comprising
When detecting that mobile terminal enters photographing mode, whether real-time detection mobile terminal connect with self-shooting bar;
When detecting that the mobile terminal is connect with self-shooting bar, start the focusing unit in camera module, to enter zoom Mode;Wherein, the camera module is front camera mould group;
When detecting that the mobile terminal and self-shooting bar disconnect, controls the focusing unit movement and be fixed on default coke Away from place, to enter fixed-focus mode;
Wherein, the focusing unit in the starting camera module, comprising:
The power supply of the mobile terminal is controlled as focusing unit power supply;
It is moved in default burnt section according to the default focus algorithm control focusing unit;
Wherein, the basis is preset the focus algorithm control focusing unit and is moved in default burnt section, comprising:
It controls the focusing unit persistently to move in the default burnt section, that is, camera lens is driven persistently to move in default burnt section;
The data that the camera lens characterizes present image clarity in different focal length are calculated, the focal length of the camera lens and right is recorded The image definition data answered;
The maximum value of image definition data is found, and controls the maximum value correspondence that camera lens is moved to described image clarity data Focal length.
2. the method according to claim 1, wherein being opened when detecting that mobile terminal enters photographing mode Default mode, the default mode are fixed-focus mode or zoom mode.
3. the method according to claim 1, wherein whether the real-time detection mobile terminal connect with self-shooting bar Include:
Whether there is voltage at the earpiece holes of real-time detection mobile terminal;
When detecting has voltage at the earpiece holes, judge that mobile terminal is connect with self-shooting bar;
When detecting no-voltage at the earpiece holes, judge that mobile terminal is disconnected with self-shooting bar.
4. the method according to claim 1, wherein whether the real-time detection mobile terminal connect with self-shooting bar Include:
Whether the address of the bluetooth of real-time detection and the mobile terminal Bluetooth pairing is self-shooting bar Bluetooth address;
When detecting with the address of the bluetooth of the mobile terminal Bluetooth pairing is self-shooting bar Bluetooth address, mobile terminal is judged It is connect with self-shooting bar;
When detecting with the address of the bluetooth of the mobile terminal Bluetooth pairing is not self-shooting bar Bluetooth address, judge mobile whole End is disconnected with self-shooting bar.
5. the method according to claim 1, wherein controlling the focusing unit movement and being fixed on default focal length Place, comprising:
The focusing unit is controlled to be moved at the default focal length;
Control power supply of the power supply disconnection of the mobile terminal to the focusing unit.
6. -5 any method according to claim 1, which is characterized in that the focusing unit is focusing motor.
7. the switching device of a kind of fixed-focus and zoom mode characterized by comprising
Connection status detection module, when for detecting that mobile terminal enters photographing mode, real-time detection mobile terminal whether with Self-shooting bar connection;
Focusing unit starting module, for starting in camera module when detecting that the mobile terminal is connect with self-shooting bar Focusing unit, with enter zoom mode;Wherein, the camera module is front camera mould group;
Focusing unit fixed module, for controlling the focusing when detecting that the mobile terminal and self-shooting bar disconnect Unit is mobile and is fixed at default focal length, to enter fixed-focus mode;
Wherein, the focusing unit starting module includes:
First power control unit, for controlling the power supply of the mobile terminal as focusing unit power supply;
First focusing unit control unit, for being moved in default burnt section according to the default focus algorithm control focusing unit It is dynamic;
Wherein, the basis is preset the focus algorithm control focusing unit and is moved in default burnt section, comprising:
It controls the focusing unit persistently to move in the default burnt section, that is, camera lens is driven persistently to move in default burnt section;
The data that the camera lens characterizes present image clarity in different focal length are calculated, the focal length of the camera lens and right is recorded The image definition data answered;
The maximum value of image definition data is found, and controls the maximum value correspondence that camera lens is moved to described image clarity data Focal length.
8. device according to claim 7, which is characterized in that further include:
Default mode opening module, for opening default mode, the default when detecting that mobile terminal enters photographing mode Mode is fixed-focus mode or zoom mode.
9. device according to claim 7, which is characterized in that the connection status detection module includes:
Earpiece holes voltage detection unit, for whether having voltage at the earpiece holes of real-time detection mobile terminal;
First connection status judging unit, for judging mobile terminal and self-timer when detecting has voltage at the earpiece holes Bar connection;When detecting no-voltage at the earpiece holes, judge that mobile terminal is disconnected with self-shooting bar.
10. device according to claim 7, which is characterized in that the connection status detection module includes:
Bluetooth address detection unit, whether the address for real-time detection and the bluetooth of the mobile terminal Bluetooth pairing is self-timer Bar Bluetooth address;
Second connection status judging unit detects that with the address of the bluetooth of the mobile terminal Bluetooth pairing be self-timer for working as When bar Bluetooth address, judge that mobile terminal is connect with self-shooting bar;When detecting and the bluetooth of the mobile terminal Bluetooth pairing When address is not self-shooting bar Bluetooth address, judge that mobile terminal is disconnected with self-shooting bar.
11. device according to claim 7, which is characterized in that the focusing unit fixed module includes:
Second focusing unit control unit is moved at the default focal length for controlling the focusing unit;
Second source control unit, the power supply for controlling the mobile terminal disconnect the power supply to the focusing unit.
12. according to any device of claim 7-11, which is characterized in that the focusing unit is focusing motor.
13. a kind of mobile terminal, which is characterized in that the mobile terminal includes claim the 7-12 any fixed-focus and change The switching device of burnt mode.
CN201511022497.8A 2015-12-29 2015-12-29 A kind of switching method, device and the mobile terminal of fixed-focus and zoom mode Active CN105472253B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201511022497.8A CN105472253B (en) 2015-12-29 2015-12-29 A kind of switching method, device and the mobile terminal of fixed-focus and zoom mode

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201511022497.8A CN105472253B (en) 2015-12-29 2015-12-29 A kind of switching method, device and the mobile terminal of fixed-focus and zoom mode

Publications (2)

Publication Number Publication Date
CN105472253A CN105472253A (en) 2016-04-06
CN105472253B true CN105472253B (en) 2019-03-01

Family

ID=55609483

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201511022497.8A Active CN105472253B (en) 2015-12-29 2015-12-29 A kind of switching method, device and the mobile terminal of fixed-focus and zoom mode

Country Status (1)

Country Link
CN (1) CN105472253B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105827973B (en) * 2016-03-31 2019-07-26 联想(北京)有限公司 A kind of focusing method and electronic equipment
CN105933608B (en) * 2016-05-30 2017-11-28 广东欧珀移动通信有限公司 Focusing control method, focusing control apparatus and electronic installation
CN106060396B (en) * 2016-06-29 2018-09-04 广东欧珀移动通信有限公司 A kind of focusing method and relevant device
CN107872622B (en) * 2017-11-24 2020-12-25 广东小天才科技有限公司 Close-range imaging method and mobile terminal
CN108646852A (en) * 2018-04-04 2018-10-12 厦门美图移动科技有限公司 Identify equipment, method and the mobile terminal of self-timer
CN208707745U (en) * 2018-06-29 2019-04-05 深圳市大疆创新科技有限公司 Picture shooting assembly and attachment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7499095B2 (en) * 2004-06-02 2009-03-03 Samsung Electronics Co., Ltd. Apparatus and method for auto-focusing in a mobile terminal
CN202068472U (en) * 2011-06-08 2011-12-07 华为终端有限公司 Mobile terminal with photo-taking function
CN103973986A (en) * 2014-05-30 2014-08-06 苏州天趣信息科技有限公司 Focusing and lens switching method based on mobile terminal camera
CN204119346U (en) * 2014-10-15 2015-01-21 叶宏洋 Self-timer
CN104994303A (en) * 2015-07-22 2015-10-21 广东欧珀移动通信有限公司 Self-timer method, devices, system, and terminals

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7499095B2 (en) * 2004-06-02 2009-03-03 Samsung Electronics Co., Ltd. Apparatus and method for auto-focusing in a mobile terminal
CN202068472U (en) * 2011-06-08 2011-12-07 华为终端有限公司 Mobile terminal with photo-taking function
CN103973986A (en) * 2014-05-30 2014-08-06 苏州天趣信息科技有限公司 Focusing and lens switching method based on mobile terminal camera
CN204119346U (en) * 2014-10-15 2015-01-21 叶宏洋 Self-timer
CN104994303A (en) * 2015-07-22 2015-10-21 广东欧珀移动通信有限公司 Self-timer method, devices, system, and terminals

Also Published As

Publication number Publication date
CN105472253A (en) 2016-04-06

Similar Documents

Publication Publication Date Title
CN105472253B (en) A kind of switching method, device and the mobile terminal of fixed-focus and zoom mode
JP5527955B2 (en) IMAGING DEVICE, ITS CONTROL METHOD, PROGRAM, AND STORAGE MEDIUM
CN103581540B (en) Picture pick-up device, lens changeable and camera arrangement
CN104950554A (en) Camera system
CN107690043B (en) Image pickup apparatus, control method thereof, and storage medium
US20090122158A1 (en) Image capturing device and method
CN103649807A (en) Imaging device
JP2016015537A (en) Communication device, imaging device, control method for communication device and program
JP6383187B2 (en) COMMUNICATION DEVICE, COMMUNICATION DEVICE CONTROL METHOD, AND PROGRAM
JP2009157123A (en) Imaging device
CN113452900B (en) Imaging control device, control method thereof, and storage medium
US11936976B2 (en) Vibration apparatus, image pickup apparatus, control method of vibration apparatus, and storage medium
JP2016220261A (en) Electronic apparatus
JP2011172088A (en) Electronic apparatus
JP2015119259A (en) Display controller, control method and program for the same, and storage medium
JP2009092961A (en) Focusing position control device, focusing position control method, and focusing position control program
JP7342883B2 (en) Imaging control device, imaging device, imaging control method
JP5754500B2 (en) Electronic devices and programs for electronic devices
JP5116494B2 (en) Imaging device
JP2011030123A (en) Imaging apparatus, control method of the same, and computer program
JP2017195513A (en) Photographing device and control method thereof
US20110310288A1 (en) Method of determining auto-focusing failure
JP2007240832A (en) Automatic focusing unit
JPH0437827A (en) Image pickup device
JP2010226749A (en) Image pickup device and its program

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong

Applicant after: OPPO Guangdong Mobile Communications Co., Ltd.

Address before: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong

Applicant before: Guangdong OPPO Mobile Communications Co., Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant