Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are some of the embodiments of the present invention, instead of all the embodiments.Based on this hair
Embodiment in bright, those of ordinary skill in the art's acquired every other implementation without creative efforts
Example, shall fall within the protection scope of the present invention.
Main three big focusing technology at present, including the focusing of contrast formula, phase type focusing and laser type focusing, the above focusing
There are focusing time is long or dim light focusing is difficult or long away from the disadvantages such as focusing success rate is low for technology.In order to overcome disadvantages described above, this hair
Bright to provide a kind of technical solution based on radar installations auxiliary focusing, which needs to increase on mobile terminals radar hair
Injection device and radar reception device (referred to as " radar installations ").The radar installations can be automatically turned in mobile terminal-opening;
Or when starting camera, mobile terminal can automatically turn on the radar installations.It is mobile whole from the point of view of energy saving
End automatically turns on radar installations when can preset starting camera.Radar installations using electromagnetic wave quickly calculate target away from
From and the information such as object features, be not only restricted to ambient lighting brightness and the influence of distance.
First embodiment
Referring to Fig. 1, Fig. 1 be it is provided in an embodiment of the present invention shooting focusing method flow chart, as shown in Figure 1, include with
Lower step:
Step 101, after starting camera, determine target object.
In the step, when starting camera, mobile terminal can control the object that camera acquisition is located in coverage
The image of body, and the image of acquisition can be shown in imaging preview area.The process of above-mentioned determining target object can be shifting
What dynamic terminal was automatically performed, it is also possible to mobile terminal and instructs completion depending on the user's operation;Can be based on it is existing really
Set the goal the technology of object, is also possible to the technology based on the object that newly sets the goal really.In this regard, the embodiment of the present invention does not limit
It is fixed.
For example, the object nearest from camera can be defaulted as target object by mobile terminal;It can also will meet object
The object of characteristic information is defaulted as target object, and (for example, in recognition of face shooting, mobile terminal will can meet face characteristic automatically
Object as target object);The target image for being located at imaging preview area can also be locked according to the specific operation of user, it will
Object corresponding with target image is as target object;Etc..
Step 102, target range value of the target object from the camera obtained according to the radar installations, into
Row focusing.
In the step, target range value of the target object from camera that can be obtained according to radar installations is focused.
The distance value that radar installations obtains object can be any time in starting camera between being focused.For example, can be with
It is when starting camera, radar installations is the distance value for obtaining object, is also possible to after determining target object, radar
Device just obtains the distance value of object, and the embodiment of the present invention obtains the opportunity of object distance value to radar installations and is not construed as limiting.
In view of the distance value for focusing is the distance value based on object from camera, therefore, above-mentioned distance value can be with
It is distance value of the object from camera.The process of above-mentioned distance value of the acquisition target object from camera, can be radar installations
Distance value of the target object from radar installations is first obtained, the distance value is modified to target object from camera shooting further according to amendment relationship
The distance value of head;It is also possible to radar installations according to the amendment relationship set, the distance value that will acquire directly is modified to target
Distance value of the object from camera.
In the step, above-mentioned radar installations obtains the process of distance value of the target object from camera, can be radar dress
The distance value for first obtaining all objects being located in coverage is set, is then further obtained according to the spatial position of target object
The target range value of target object.For example, if the spatial position of target object is the object nearest from camera, by radar
Target range value of the smallest distance value as target object in the distance value that device obtains.It is also possible to radar installations first to obtain
The distance value and object features information of all objects in coverage, then according to the object features information of target object
Further obtain the target range value of target object.For example, if target object is object (such as people for meeting object features information
The face that face identification technology identifies), then using with the distance value of the object features information matches as the target of target object
Distance value.
In the step, above-mentioned focusing is become also referred to as to light or focusing by the Focusing mechanism of camera (such as focusing motor)
Animal away from position apart, make the process of target object imaging clearly.Above-mentioned focus process can be, and radar installations will acquire
Target range value to target object from camera is reported to the processor of mobile terminal, and mobile terminal is according to the target range value
Focusing motor is pushed into corresponding position and carries out focusing imaging.
It should be noted that the shooting focusing method is not only adapted to the focusing during taking pictures, it is also adapted to image
Focusing in journey.
In the embodiment of the present invention, above-mentioned mobile terminal can be any equipment with radar installations and camera, such as:
Mobile phone, tablet computer (Tablet Personal Computer), laptop computer (Laptop Computer), individual digital
Assistant (personal digital assistant, abbreviation PDA), mobile Internet access electronic equipment (Mobile Internet
Device, MID), wearable device (Wearable Device) etc..
The shooting focusing method of the embodiment of the present invention obtains distance value of the target object from camera by radar installations,
The focusing to target object is realized further according to the distance value.Distance value, side due to radar installations using electromagnetic wave acquisition target
The information such as position and object features, the light intensity independent of environment.As it can be seen that the shooting focusing method of the embodiment of the present invention is real
The purpose that low light condition is accurately focused is showed.Further, since radar installations measuring and calculating speed is very fast, and it is not only restricted to target range
Influence, the embodiment of the present invention also has focusing speed fast, can grow the beneficial effect away from focusing.
Second embodiment
Referring to fig. 2, Fig. 2 is the flow chart of shooting focusing method provided in an embodiment of the present invention, as shown in Fig. 2, this method
Applied to the mobile terminal with radar installations and touch screen, comprising the following steps:
Step 201, after starting camera, when detecting the touch operation to the touch screen, obtain the touch
The touch location of operation.
In the step, when starting camera, mobile terminal can control the object that camera acquisition is located in coverage
The image of body, and the image of acquisition can be shown in imaging preview area.After starting camera, mobile terminal can be examined
Survey touch operation of the user to touch screen, and the touch location of the available touch operation.
Step 202, according to the touch location, determine target object.
In the step, the process of above-mentioned determining target object can be mobile terminal and be grasped according to user in the touch of touch screen
The touch location of work determines.
In this way, mobile terminal determines the mode of target object according to the touch location of user's touch operation, it can be preferably
Meet the subjective demand of user, there is better user experience.
Optionally, if the touch location is located at the imaging preview area except shooting button region, by the imaging
Image in preview area positioned at the touch location is determined as target image, and by object corresponding with the target image
For target object.
In embodiment of the present invention, corresponding target object can be determined indirectly by determining target image.Specifically,
When touch location is located at the imaging preview area except shooting button region, then imaging region can be located at the touch location
Image is determined as target object as target image, and by object corresponding with the target image.When user's expectation was photographed most clearly
When some clear object, the image of the object need to only be touched in imaging preview area.
Here, shooting button region can refer to that button of taking pictures perhaps images button or camera button or camera shooting key.
The photographing request of complex space and some special screnes may be implemented in embodiment of the present invention, such as before mobile terminal
All there is object in side, the realtime graphic for needing user's finger to touch imaging preview area at this time will be clapped to determine in different distance
The target object taken the photograph, mobile terminal can be realized according to the space object distribution that radar installations obtains in advance to different spaces object
The focusing of body.
Optionally, if the touch location is located at shooting button region, by nearest object with a distance from the camera
Body is determined as target object.
In embodiment of the present invention, when touch location is located at shooting button region, that is to say, that shot when user touches
When key, it is meant that user's expectation directly shoots nearest object, and mobile terminal can be by nearest object with a distance from camera
Body is determined as target object.
Here, shooting button region can refer to that button of taking pictures perhaps images button or camera button or camera shooting key.
Embodiment of the present invention may be implemented the photographing request to some simple scenarios or self-timer scene, and mobile terminal can be with
The front and back object specific location of acquisition camera front space is not needed, it is only necessary to default the object nearest to distance in front of camera
Body is focused.
Step 203, by the radar installations obtain imaging preview area in each object with a distance from the camera
Value and corresponding object features information.
In the embodiment of the present invention, radar installations, which can be obtained first, to be located in imaging preview area and (is located in coverage)
The distance value and object features information of all objects will be with its object features then according to the object features information of target object
Target range value of distance value of the object that information matches from camera as target object from camera.The radar installations obtains
The mode of target range value of the target object from camera is taken to be adaptable to any target object.
Wherein, object features information can refer to the resemblance information of object, the available camera acquisition of radar installations
Each object object features information.
In the step, can by radar installations obtain imaging preview area in distance value of each object from camera and
Corresponding object features information.
It should be noted that by radar installations obtain imaging preview area in distance value of each object from camera and
Corresponding object features information, the step for can be carried out when starting camera, which can determine target
Before the step of object, can also after the step of determining target object, can also with determine target object the step of simultaneously
It carries out, in this regard, embodiment of the present invention and being not construed as limiting.
Step 204, distance value of the object from the camera that object features information and the target object match
It is determined as first object distance value.
In the step, distance value of the object from camera that object features information and target object can be matched is determined
For first object distance value.
Step 205, according to the first object distance value, focus.
In the step, it can be focused according to the first object distance value that step 204 determines.Above-mentioned focusing is also referred to as to light
Or focus, i.e., object distance and position apart are changed by the Focusing mechanism of camera (such as focusing motor), target object is imaged
Clearly process.Above-mentioned focus process can be, and radar installations will acquire in target range value of the target object from camera
The processor of mobile terminal is offered, focusing motor is pushed into corresponding position according to the target range value and focused by mobile terminal
Imaging.
It should be noted that the shooting focusing method is not only adapted to the focusing during taking pictures, it is also adapted to image
Focusing in journey.
The shooting focusing method of the embodiment of the present invention, determines target object according to the touch location of user's touch operation,
And distance value of the target object from camera is obtained by radar installations, realize the focusing to target object.Due to radar installations
The information such as distance value, orientation and the object features of target are obtained using electromagnetic wave, the light intensity independent of environment.It can
See, the shooting focusing method of the embodiment of the present invention realizes the purpose that low light condition is accurately focused.In addition, since radar installations is surveyed
It is very fast to calculate speed, and is not only restricted to the influence of target range, the embodiment of the present invention also has focusing speed fast, can grow away from focusing
Beneficial effect.In addition, the embodiment of the present invention can also preferably meet the subjective demand of user, there is better user experience.
3rd embodiment
It is the flow chart of shooting focusing method provided in an embodiment of the present invention referring to Fig. 3, Fig. 3, as shown in figure 3, this method
Applied to the mobile terminal with radar installations and touch screen, comprising the following steps:
Step 301, after starting camera, when detecting the touch operation to the touch screen, obtain the touch
The touch location of operation.
In the step, when starting camera, mobile terminal can control the object that camera acquisition is located in coverage
The image of body, and the image of acquisition can be shown in imaging preview area.After starting camera, mobile terminal can be examined
Survey touch operation of the user to touch screen, and the touch location of the available touch operation.
If step 302, the touch location are located at shooting button region, by nearest object with a distance from the camera
Body is determined as target object.
In the step, when touch location is located at shooting button region, that is to say, that when user touches shooting button, meaning
Taste user expectation nearest object is directly shot, nearest object with a distance from camera can be determined as mesh by mobile terminal
Mark object.
Here, shooting button region can refer to that button of taking pictures perhaps images button or camera button or camera shooting key.
The photographing request to some simple scenarios or self-timer scene may be implemented in the embodiment of the present invention, and mobile terminal can not
Need to obtain the front and back object specific location of camera front space, it is only necessary to default the object nearest to distance in front of camera
It focuses.
Step 303, by the radar installations obtain imaging preview area in each object with a distance from the camera
Value.
In the step, radar installations only obtains the distance value for all objects being located in coverage, then according to target
The spatial position of object further obtains the target range value of target object.
In embodiments of the present invention, as long as the spatial position of target object can unambiguously determine, for example, target object
It is the object or target object nearest from camera is the object, etc. farthest from camera, so that it may obtain target object
Target range value.
It should be noted that step 303 can be carried out when starting camera, which can determine target
Before the step of object, can also after the step of determining target object, can also with determine target object the step of simultaneously
It carries out, in this regard, embodiment of the present invention and being not construed as limiting.
The lowest distance value that the radar installations obtains is determined as the second target range value by step 304.
It, can be by lowest distance value is determined as the second mesh in the distance value of radar installations acquisition in step 303 in the step
Subject distance value.
Step 305, according to the second target range value, focus.
In the step, it can be focused according to the second target range value determined in step 304.Above-mentioned focusing also referred to as pair
Light or focusing change object distance and position apart by the Focusing mechanism of camera (such as focusing motor), make target object at
As clearly process.Above-mentioned focus process can be, and radar installations will acquire target range value of the target object from camera
It is reported to the processor of mobile terminal, focusing motor is pushed into corresponding position according to the target range value and carried out pair by mobile terminal
Coke imaging.
It should be noted that the shooting focusing method is not only adapted to the focusing during taking pictures, it is also adapted to image
Focusing in journey.
The shooting focusing method of the embodiment of the present invention, determines target object according to the touch location of user's touch operation,
And distance value of the target object from camera is obtained by radar installations, realize the focusing to target object.Due to radar installations
The information such as distance value, orientation and the object features of target are obtained using electromagnetic wave, the light intensity independent of environment.It can
See, the shooting focusing method of the embodiment of the present invention realizes the purpose that low light condition is accurately focused.In addition, since radar installations is surveyed
It is very fast to calculate speed, and is not only restricted to the influence of target range, the embodiment of the present invention also has focusing speed fast, can grow away from focusing
Beneficial effect.In addition, the embodiment of the present invention can also preferably meet the subjective demand of user, there is better user experience.
Fourth embodiment
Referring to fig. 4, Fig. 4 is the structure chart of mobile terminal provided in an embodiment of the present invention, as shown in figure 4, mobile terminal 400
With radar installations, including determining module 401 and Focusing module 402, wherein determining module 401 is connect with Focusing module 402.
Determining module 401, for determining target object after starting camera;
Focusing module 402, target of the target object from the camera for being obtained according to the radar installations
Distance value is focused.
Optionally, as shown in figure 5, the mobile terminal 400 also has touch screen, the determining module 401 includes:
Acquisition submodule 4011, for when detecting to the touch operation of the touch screen, obtaining after starting camera
Take the touch location of the touch operation;
First determines submodule 4012, for determining target object according to the touch location.
Optionally, described first determine that submodule 4012 is specifically used for: if the touch location is located at shooting button region
Except imaging preview area, then will be located at the image of the touch location in the imaging preview area as target image,
And object corresponding with the target image is determined as target object.
Optionally, described first determine that submodule 4012 is specifically used for: if the touch location is located at shooting button region,
Nearest object with a distance from the camera is then determined as target object.
Optionally, as shown in fig. 6, mobile terminal 400 further include:
First obtains module 403, is used for through each object in radar installations acquisition imaging preview area from described
The distance value of camera and corresponding object features information;
The Focusing module 402 includes:
Second determines submodule 4021, and the object for object features information to match with the target object is from described
The distance value of camera is determined as first object distance value;
First focusing submodule 4022, for focusing according to the first object distance value.
Optionally, as shown in fig. 7, mobile terminal 400 further include:
Second obtains module 404, is used for through each object in radar installations acquisition imaging preview area from described
The distance value of camera;
The Focusing module 402 includes:
Third determines submodule 4023, the lowest distance value for obtaining the radar installations be determined as the second target away from
From value;
Second focusing submodule 4024, for focusing according to the second target range value.
Mobile terminal 400 can be realized each process that terminal is realized in the embodiment of the method for Fig. 1 to Fig. 3, to avoid weight
Multiple, which is not described herein again.
The mobile terminal 400 of the embodiment of the present invention determines target object after starting camera;According to the radar
Target range value of the target object from the camera that device obtains, focuses.Since radar installations utilizes electromagnetism
Wave obtains the information such as distance value, orientation and the object features of target, the light intensity independent of environment.As it can be seen that of the invention
Embodiment realizes the purpose that low light condition is accurately focused.Further, since radar installations measuring and calculating speed is very fast, and it is not only restricted to
The influence of target range, the embodiment of the present invention also have focusing speed fast, can grow the beneficial effect away from focusing.
5th embodiment
It is the structure chart that the present invention implements the mobile terminal provided referring to Fig. 8, Fig. 8, as shown in figure 8, mobile terminal 800 wraps
It includes: at least one processor 801 and memory 802, at least one network interface 804 and user interface 803, at least one radar
Device 806, at least one camera 807.Various components in mobile terminal 800 are coupled by bus system 805.It can
Understand, bus system 805 is for realizing the connection communication between these components.Bus system 805 except include data/address bus in addition to,
It further include power bus, control bus and status signal bus in addition.But for the sake of clear explanation, in fig. 8 by various buses
All it is designated as bus system 805.
Wherein, user interface 803 may include display, keyboard or pointing device (for example, mouse, trace ball
(trackball), touch-sensitive plate or touch screen etc..
It is appreciated that the memory 802 in the embodiment of the present invention can be volatile memory or nonvolatile memory,
It or may include both volatile and non-volatile memories.Wherein, nonvolatile memory can be read-only memory (Read-
Only Memory, ROM), programmable read only memory (Programmable ROM, PROM), the read-only storage of erasable programmable
Device (Erasable PROM, EPROM), electrically erasable programmable read-only memory (Electrically EPROM, EEPROM) or
Flash memory.Volatile memory can be random access memory (Random Access Memory, RAM), be used as external high
Speed caching.By exemplary but be not restricted explanation, the RAM of many forms is available, such as static random access memory
(Static RAM, SRAM), dynamic random access memory (Dynamic RAM, DRAM), Synchronous Dynamic Random Access Memory
(Synchronous DRAM, SDRAM), double data speed synchronous dynamic RAM (Double Data Rate
SDRAM, DDRSDRAM), enhanced Synchronous Dynamic Random Access Memory (Enhanced SDRAM, ESDRAM), synchronized links
Dynamic random access memory (Synchlink DRAM, SLDRAM) and direct rambus random access memory
(DirectRambus RAM, DRRAM).The memory 802 of system and method described herein is intended to include but is not limited to these
With the memory of any other suitable type.
In some embodiments, memory 802 stores following element, executable modules or data structures, or
Their subset of person or their superset: operating system 8021 and application program 8022.
Wherein, operating system 8021 include various system programs, such as ccf layer, core library layer, driving layer etc., are used for
Realize various basic businesses and the hardware based task of processing.Application program 8022 includes various application programs, such as media
Player (Media Player), browser (Browser) etc., for realizing various applied business.Realize the embodiment of the present invention
The program of method may be embodied in application program 8022.
In embodiments of the present invention, by the program or instruction of calling memory 802 to store, specifically, can be application
The program or instruction stored in program 8022, processor 801 are used for: after starting camera 807, determining target object;Root
According to target range value of the target object from the camera that the radar installations 806 obtains, focus.
The method that the embodiments of the present invention disclose can be applied in processor 801, or be realized by processor 801.
Processor 801 may be a kind of IC chip, the processing capacity with signal.During realization, the above method it is each
Step can be completed by the integrated logic circuit of the hardware in processor 801 or the instruction of software form.Above-mentioned processing
Device 801 can be general processor, digital signal processor (Digital Signal Processor, DSP), dedicated integrated electricity
Road (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field
Programmable Gate Array, FPGA) either other programmable logic device, discrete gate or transistor logic,
Discrete hardware components.It may be implemented or execute disclosed each method, step and the logic diagram in the embodiment of the present invention.It is general
Processor can be microprocessor or the processor is also possible to any conventional processor etc..In conjunction with institute of the embodiment of the present invention
The step of disclosed method, can be embodied directly in hardware decoding processor and execute completion, or with the hardware in decoding processor
And software module combination executes completion.Software module can be located at random access memory, and flash memory, read-only memory may be programmed read-only
In the storage medium of this fields such as memory or electrically erasable programmable memory, register maturation.The storage medium is located at
The step of memory 802, processor 801 reads the information in memory 802, completes the above method in conjunction with its hardware.
It is understood that embodiments described herein can with hardware, software, firmware, middleware, microcode or its
Combination is to realize.For hardware realization, processing unit be may be implemented in one or more specific integrated circuit (Application
Specific Integrated Circuits, ASIC), digital signal processor (Digital Signal Processing,
DSP), digital signal processing appts (DSP Device, DSPD), programmable logic device (Programmable Logic
Device, PLD), field programmable gate array (Field-Programmable Gate Array, FPGA), general processor,
In controller, microcontroller, microprocessor, other electronic units for executing herein described function or combinations thereof.
For software implementations, it can be realized herein by executing the module (such as process, function etc.) of function described herein
The technology.Software code is storable in memory and is executed by processor.Memory can in the processor or
It is realized outside processor.
Optionally, processor 801 is also used to: the mobile terminal also has touch screen;When detecting to the touch screen
Touch operation, obtain the touch location of the touch operation;According to the touch location, target object is determined.
Optionally, processor 801 is also used to: if the touch location is located at the imaging preview region except shooting button region
Domain, then using the image in the imaging preview area positioned at the touch location as target image, and will be with the target figure
As corresponding object is determined as target object.
Optionally, processor 801 is also used to:, will be from the camera shooting if the touch location is located at shooting button region
The nearest object of first 807 distance is determined as target object.
Optionally, processor 801 is also used to: obtaining each object in imaging preview area by the radar installations 806
Distance value and corresponding object features information from the camera 807;By object features information and the target object phase
Distance value of the object matched from the camera 807 is determined as first object distance value;According to the first object distance value, into
Row focusing.
Optionally, processor 801 is also used to: obtaining each object in imaging preview area by the radar installations 806
Distance value from the camera 807;The lowest distance value that the radar installations 806 obtains is determined as the second target range
Value;According to the second target range value, focus.
Mobile terminal 800 can be realized each process that mobile terminal is realized in previous embodiment, to avoid repeating, here
It repeats no more.
The mobile terminal 800 of the embodiment of the present invention determines target object after starting camera;According to the radar
Target range value of the target object from the camera that device obtains, focuses.Since radar installations utilizes electromagnetism
Wave obtains the information such as distance value, orientation and the object features of target, the light intensity independent of environment.As it can be seen that of the invention
Embodiment realizes the purpose that low light condition is accurately focused.Further, since radar installations measuring and calculating speed is very fast, and it is not only restricted to
The influence of target range, the embodiment of the present invention also have focusing speed fast, can grow the beneficial effect away from focusing.
Sixth embodiment
Referring to Fig. 9, Fig. 9 is the structure chart that the present invention implements the mobile terminal provided, as shown in figure 9, mobile terminal 900
Including radio frequency (Radio Frequency, RF) circuit 910, memory 920, input unit 930, display unit 940, processor
950, voicefrequency circuit 960, communication module 970, power supply 980, radar installations 990, camera 1010.
Wherein, input unit 930 can be used for receiving the number or character information of user's input, and generation and mobile terminal
The related signal input of 900 user setting and function control.Specifically, in the embodiment of the present invention, which can
To include touch panel 931.Touch panel 931, also referred to as touch screen collect the touch operation of user on it or nearby
(for example user uses the operations of any suitable object or attachment on touch panel 931 such as finger, stylus), and according to preparatory
The formula of setting drives corresponding attachment device.Optionally, touch panel 931 may include touch detecting apparatus and touch controller
Two parts.Wherein, the touch orientation of touch detecting apparatus detection user, and touch operation bring signal is detected, by signal
Send touch controller to;Touch controller receives touch information from touch detecting apparatus, and is converted into contact coordinate,
The processor 950 is given again, and can be received order that processor 950 is sent and be executed.Furthermore, it is possible to using resistance-type,
The multiple types such as condenser type, infrared ray and surface acoustic wave realize touch panel 931.In addition to touch panel 931, input unit
930 can also include other input equipments 932, other input equipments 932 can include but is not limited to physical keyboard, function key
One of (such as volume control button, switch key etc.), trace ball, mouse, operating stick etc. are a variety of.
Wherein, display unit 940 can be used for showing information input by user or be supplied to the information and terminal of user
900 various menu interfaces.Display unit 940 may include display panel 941, optionally, can use LCD or organic light emission two
The forms such as pole pipe (Organic Light-Emitting Diode, OLED) configure display panel 941.
It should be noted that touch panel 931 can cover display panel 941, touch display screen is formed, when the touch display screen is examined
After measuring touch operation on it or nearby, processor 950 is sent to determine the type of touch event, is followed by subsequent processing device
950 provide corresponding visual output according to the type of touch event in touch display screen.
Touch display screen includes Application Program Interface viewing area and common control viewing area.The Application Program Interface viewing area
And arrangement mode of the common control viewing area does not limit, can be arranged above and below, left-right situs etc. can distinguish two it is aobvious
Show the arrangement mode in area.The Application Program Interface viewing area is displayed for the interface of application program.Each interface can be with
The interface elements such as the icon comprising at least one application program and/or widget desktop control.The Application Program Interface viewing area
Or the empty interface not comprising any content.This commonly uses control viewing area for showing the higher control of utilization rate, for example,
Application icons such as button, interface number, scroll bar, phone directory icon etc. are set.
Wherein processor 950 is the control centre of mobile terminal 900, utilizes various interfaces and connection whole mobile phone
Various pieces, by running or executing the software program and/or module that are stored in first memory 921, and calling storage
Data in second memory 922 execute the various functions and processing data of mobile terminal 900, thus to mobile terminal 900
Carry out integral monitoring.Optionally, processor 950 may include one or more processing units.
In embodiments of the present invention, by call store the first memory 921 in software program and/or module and/
Or the data in the second memory 922, processor 950 are used for: after starting camera 1010, determining target object;Root
According to target range value of the target object from the camera 1010 that the radar installations 990 obtains, focus.
Optionally, processor 950 is also used to: the mobile terminal also has touch screen;When detecting to the touch screen
Touch operation, obtain the touch location of the touch operation;According to the touch location, target object is determined.
Optionally, processor 950 is also used to: if the touch location is located at the imaging preview region except shooting button region
Domain, then using the image in the imaging preview area positioned at the touch location as target image, and will be with the target figure
As corresponding object is determined as target object.
Optionally, processor 950 is also used to:, will be from the camera shooting if the touch location is located at shooting button region
The object that the distance of head is nearest is determined as target object.
Optionally, processor 950 is also used to: obtaining each object in imaging preview area by the radar installations 990
Distance value and corresponding object features information from the camera 1010;By object features information and the target object phase
Distance value of the object matched from the camera 1010 is determined as first object distance value;According to the first object distance value,
It focuses.
Optionally, processor 950 is also used to: obtaining each object in imaging preview area by the radar installations 990
Distance value from the camera 1010;The lowest distance value that the radar installations 990 obtains is determined as the second target range
Value;According to the second target range value, focus.
Mobile terminal 900 can be realized each process that mobile terminal is realized in previous embodiment, to avoid repeating, here
It repeats no more.
The mobile terminal 900 of the embodiment of the present invention obtains distance value of the target object from camera by radar installations, then
Value realizes the focusing to target object according to this distance.Distance value, orientation due to radar installations using electromagnetic wave acquisition target
And the information such as object features, the light intensity independent of environment.As it can be seen that realize low light condition accurate for the embodiment of the present invention
The purpose of focusing.Further, since radar installations measuring and calculating speed is very fast, and is not only restricted to the influence of target range, the present invention is real
Applying example also has focusing speed fast, can grow the beneficial effect away from focusing.
Those of ordinary skill in the art may be aware that list described in conjunction with the examples disclosed in the embodiments of the present disclosure
Member and algorithm steps can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually
It is implemented in hardware or software, the specific application and design constraint depending on technical solution.Professional technician
Each specific application can be used different methods to achieve the described function, but this realization is it is not considered that exceed
The scope of the present invention.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description,
The specific work process of mobile terminal and unit, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In embodiment provided herein, it should be understood that disclosed mobile terminal and method can pass through it
Its mode is realized.For example, mobile terminal embodiment described above is only schematical, for example, the unit is drawn
Point, only a kind of logical function partition, there may be another division manner in actual implementation, such as multiple units or components can
To combine or be desirably integrated into another system, or some features can be ignored or not executed.Another point, it is shown or beg for
The mutual coupling, direct-coupling or communication connection of opinion can be through some interfaces, mobile terminal or unit it is indirect
Coupling or communication connection can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit
The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple
In network unit.Some or all of unit therein can be selected to realize the embodiment of the present invention according to the actual needs
Purpose.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit
It is that each unit physically exists alone, can also be integrated in one unit with two or more units.
It, can be with if the function is realized in the form of SFU software functional unit and when sold or used as an independent product
It is stored in a computer readable storage medium.Based on this understanding, technical solution of the present invention is substantially in other words
The part of the part that contributes to existing technology or the technical solution can be embodied in the form of software products, the meter
Calculation machine software product is stored in a storage medium, including some instructions are used so that a computer equipment (can be a
People's computer, server or network equipment etc.) it performs all or part of the steps of the method described in the various embodiments of the present invention.
And storage medium above-mentioned includes: that USB flash disk, mobile hard disk, ROM, RAM, magnetic or disk etc. are various can store program code
Medium.
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any
Those familiar with the art in the technical scope disclosed by the present invention, can easily think of the change or the replacement, and should all contain
Lid is within protection scope of the present invention.Therefore, protection scope of the present invention should be subject to the protection scope in claims.