CN106506957A - A kind of photographic method and mobile terminal - Google Patents

A kind of photographic method and mobile terminal Download PDF

Info

Publication number
CN106506957A
CN106506957A CN201611025034.1A CN201611025034A CN106506957A CN 106506957 A CN106506957 A CN 106506957A CN 201611025034 A CN201611025034 A CN 201611025034A CN 106506957 A CN106506957 A CN 106506957A
Authority
CN
China
Prior art keywords
photographic head
mobile terminal
distance
camera
photographic
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.)
Pending
Application number
CN201611025034.1A
Other languages
Chinese (zh)
Inventor
程传波
肖强
卜祥玉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201611025034.1A priority Critical patent/CN106506957A/en
Publication of CN106506957A publication Critical patent/CN106506957A/en
Pending legal-status Critical Current

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/667Camera operation mode switching, e.g. between still and video, sport and normal or high- and low-resolution modes
    • 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/62Control of parameters via user interfaces
    • 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

Abstract

The invention provides a kind of photographic method and mobile terminal, are related to technical field of mobile terminals, the photographic method is applied to a mobile terminal, and the mobile terminal has the first photographic head and second camera, wherein, the photographic method, including:When mobile terminal is taken pictures using the first photographic head, successfully focused result according to first camera focusing, determine the first distance between the focus object and the mobile terminal of first photographic head;If the photographic head that is taken pictures is switched to second camera by the first photographic head more than or equal to the first preset value by first distance.Such scheme, adjusts the photographic head that is taken pictures by using the distance between current focus object and mobile terminal, it is achieved that the automatic switchover of photographic head of taking pictures in mobile terminal, reduces the operation of user.

Description

A kind of photographic method and mobile terminal
Technical field
The present invention relates to technical field of mobile terminals, more particularly to a kind of photographic method and mobile terminal.
Background technology
For lifting the effect of taking pictures of cell phone type product, application of the dual camera/multi-cam on mobile phone is more and more universal, For example image synthesis, lifted under dark situation take pictures effect and Zoom effect is realized in the switching of size photographic head, lift distant view and clap According to effect etc..
Existing large and small photographic head realizes optical zoom, relies primarily on manual operations in cell phone software application end and takes pictures boundary Realizing switching commonly with zoom of looking in the distance, this kind of mode can cause the frequent operation of user to face menu setecting, affect user to make Problem with convenience.
Content of the invention
The technical problem to be solved in the present invention is to provide a kind of photographic method and mobile terminal, in order to solve existing to need to use Manual operation interface menu of taking pictures in family selected realizing switching commonly with zoom of looking in the distance, and causes the frequent operation of user to ask Topic.
In order to solve above-mentioned technical problem, the embodiment of the present invention provides a kind of photographic method, is applied to a mobile terminal, institute State mobile terminal and there is the first photographic head and second camera, wherein, the photographic method, including:
When mobile terminal is taken pictures using the first photographic head, according to first camera focusing successfully to close-burning Really, determine the first distance between the focus object and the mobile terminal of first photographic head;
If the photographic head that is taken pictures is cut by the first photographic head by first distance more than or equal to the first preset value It is changed to second camera.
The embodiment of the present invention provides a kind of mobile terminal, and the mobile terminal has the first photographic head and second camera, Wherein, the mobile terminal, including:
First determining module, for when mobile terminal is taken pictures using the first photographic head, according to the described first shooting The successful focusing result of head focusing, determine between the focus object and the mobile terminal of first photographic head first away from From;
First handover module, if being more than or equal to the first preset value for the described first distance, by taking the photograph for being taken pictures As head switches to second camera by the first photographic head.
The invention has the beneficial effects as follows:
Such scheme, adjusts the shooting that is taken pictures by using the distance between current focus object and mobile terminal Head, it is achieved that the automatic switchover of photographic head of taking pictures in mobile terminal, reduces the operation of user.
Description of the drawings
Fig. 1 represents the schematic flow sheet of the photographic method of first embodiment of the invention;
Fig. 2 represents the schematic flow sheet of the photographic method of second embodiment of the invention;
Fig. 3 represents the idiographic flow that mobile terminal is realized taking pictures using dual camera;
Fig. 4 represents the structural representation one of the mobile terminal of third embodiment of the invention;
Fig. 5 represents the structural representation two of the mobile terminal of third embodiment of the invention;
Fig. 6 represents the structural representation three of the mobile terminal of third embodiment of the invention;
Fig. 7 represents the structural representation of the second acquisition submodule of third embodiment of the invention;
Structured flowcharts of the Fig. 8 for the mobile terminal of fourth embodiment of the invention;
Structural representations of the Fig. 9 for the mobile terminal of fifth embodiment of the invention.
Specific embodiment
For making the object, technical solutions and advantages of the present invention clearer, right below in conjunction with the accompanying drawings and the specific embodiments The present invention is described in detail.
The present invention for existing need user's manual operation take pictures interface menu select realize commonly with zoom of looking in the distance Switching, causes the problem of the frequent operation of user, there is provided a kind of photographic method and mobile terminal.
First embodiment
As shown in figure 1, the schematic flow sheet of the photographic method for first embodiment of the invention.With reference to this figure specifically Bright photographic method realizes process.
First embodiment of the invention provides a kind of photographic method, is applied to a mobile terminal, and the mobile terminal has the One photographic head and second camera, the photographic method, including:
Step 11, when mobile terminal is taken pictures using the first photographic head, according to the first camera focusing success Focusing result, determine the first distance between the focus object and the mobile terminal of first photographic head;
It should be noted that the visual angle of the first photographic head is more than the visual angle of the second camera, i.e. the first photographic head is Wide-angle camera, second camera are photographic head of looking in the distance;Under normal circumstances, when the photographic head of mobile terminal is opened, acquiescence makes The shooting that image is carried out with wide-angle camera, because the wide-angle camera only could be realized to the clear of object in certain distance Take pictures, described when wide-angle camera works, distance of the focus to image distance mobile terminal in current picture should be obtained in real time, with Judge under present case if appropriate for being taken pictures using wide-angle camera.
Step 12, if first distance is more than or equal to the first preset value, by the photographic head that is taken pictures by first Photographic head switches to second camera.
It should be noted that when acquiring focus work to the distance of image distance mobile terminal beyond wide-angle camera When making scope, need to be switched to photographic head of looking in the distance carries out the work of taking pictures of image.
The embodiment of the present invention, adjusts by using the distance between current focus object and mobile terminal and to be taken pictures Photographic head, it is achieved that the automatic switchover of photographic head of taking pictures in mobile terminal, reduces the operation of user.
Second embodiment
As shown in Fig. 2 the schematic flow sheet of the photographic method for second embodiment of the invention.With reference to this figure specifically Bright photographic method realizes process.
Second embodiment of the invention provides a kind of photographic method, is applied to a mobile terminal, and the mobile terminal has the One photographic head and second camera, the photographic method, including:
Step 21, when mobile terminal is taken pictures using the first photographic head, according to the first camera focusing success Focusing result, determine the first distance between the focus object and the mobile terminal of first photographic head;
It should be noted that the visual angle of the first photographic head is more than the visual angle of the second camera, i.e. the first photographic head is Wide-angle camera, second camera are photographic head of looking in the distance;Under normal circumstances, when the photographic head of mobile terminal is opened, acquiescence makes The shooting that image is carried out with wide-angle camera, because the wide-angle camera only could be realized to the clear of object in certain distance Take pictures, described when wide-angle camera works, distance of the focus to image distance mobile terminal in current picture should be obtained in real time, with Judge under present case if appropriate for being taken pictures using wide-angle camera.
Step 22, if first distance is more than or equal to the first preset value, by the photographic head that is taken pictures by first Photographic head switches to second camera.
It should be noted that when acquiring focus work to the distance of image distance mobile terminal beyond wide-angle camera When making scope, need to be switched to photographic head of looking in the distance carries out the work of taking pictures of image, and after switching over, mobile terminal just can be utilized Photographic head of looking in the distance carries out the shooting of image.
Step 23, successfully focuses result according to default camera focusing, determines the focus object of the default photographic head With the second distance between the mobile terminal;
It should be noted that after the photographic head that is currently taken pictures is switched to photographic head of looking in the distance, now also needing to reality When obtain distance of the focus to image distance mobile terminal in current picture, to judge under present case if appropriate for being continuing with hoping Remote photographic head is taken pictures, and the photographic head for being used for obtaining into row distance can be wide-angle camera, or currently carry out Take pictures the photographic head of looking in the distance of work.
Step 24, if the second distance is less than or equal to the second preset value, by the photographic head that is taken pictures by second Photographic head switches to the first photographic head;
It should be noted that when the acquisition of focus object distance is carried out using wide-angle camera, when the focus pair for obtaining Less than or equal to the second preset value, the distance of image distance mobile terminal shows that focus falls in Radix Rumiciss to the distance of image distance mobile terminal In the use range of photographic head, now the photographic head that takes pictures should be switched back into wide-angle camera by photographic head of looking in the distance;Work as employing When photographic head of looking in the distance carries out the acquisition of focus object distance, when the focus for obtaining is less than or equal to the distance of image distance mobile terminal Second preset value, shows that focus has no longer met the use condition of photographic head of looking in the distance to the distance of image distance mobile terminal, now, should The photographic head that takes pictures is switched back into wide-angle camera by photographic head of looking in the distance.
Also, it should be noted in order to avoid the switching of the photographic head that frequently carries out taking pictures, being entered using wide-angle camera During the acquisition of row focus object distance, first preset value should be greater than second preset value.
Specifically, step 21 realizes that process includes:
Step 211, the motor of movement first photographic head obtain motor of first photographic head when focusing successfully Focusing position;
Step 212, according to the focusing position, obtains first distance of the focus to mobile terminal described in image distance.
It should be noted that the specific implementation of step 212 is:Obtain drive integrated circult when being in focusing position Current value;Then the corresponding pass according to the current value and the current value with focus to the distance of mobile terminal described in image distance (current value and focus are to set in advance and be stored in mobile terminal to the corresponding relation of the distance of mobile terminal described in image distance for system Internal), obtain first distance of the focus to mobile terminal described in image distance.
It should be noted that the principle of taking pictures of mobile terminal because having automatic photo function is by VCM (voice coil loudspeaker voice coil horses Reach) movement changing camera lens focal position, realize the clear of different distance object, and the movement of VCM be by Driver IC Changing lens location, lens location is linear with size of current for (drive integrated circult) control electric current size.By sentencing Determine the size of current of picture articulation point position, just can be determined that shooting object distance, so as to cutting automatically for photographic head of realizing taking pictures Change, when realizing, the code values (i.e. the value of size of current) that read motor position in real time by software, by reading code values greatly Little judging object space.
It should be noted that step 23 and step 21 implement that process is similar, here is no longer repeated.
Below in actual application, the photographic method for applying the present embodiment is described in detail as follows.
As shown in figure 3, using dual camera, mobile terminal realizes that the idiographic flow that takes pictures is:
Step 31, mobile terminal enter wide-angle camera exposal model;
When user opens the camera function of mobile terminal, mobile terminal acquiescence enters wide-angle camera exposal model.
Step 32, the first distance for obtaining focus object distance mobile terminal using wide-angle camera;
This step is mainly the automatic focusing module movement motor of wide-angle camera, analyzes and coke number is judged whether in most Clear position, when being in most clear position (showing to focus successfully) until getting to coke number, then obtains focus to image distance First distance of mobile terminal.
Whether step 33, judge the first distance more than or equal to first threshold, if first distance is less than first threshold, Then execution step 34, otherwise execution step 35;
Step 34, mobile terminal are maintained at the state that takes pictures using wide-angle camera;
The photographic head that takes pictures is switched to photographic head of looking in the distance by wide-angle camera by step 35, mobile terminal;
Step 36, wide-angle camera backstage work on, and obtain the second distance of focus object distance mobile terminal;
It should be noted that the step 36 is identical with the implementation of step 32.
Whether step 37, judge second distance less than or equal to Second Threshold, if the second distance is less than Second Threshold, Step 31, otherwise execution step 38 are then jumped to;
Step 38, mobile terminal are maintained at the state that takes pictures using photographic head of looking in the distance;
Step 39, carries out taking pictures for image using current photographic head of taking pictures.
The embodiment of the present invention, need not increase any hardware facility in mobile terminal, by using current focus object and shifting The distance between dynamic terminal is adjusting the photographic head that is taken pictures, it is achieved that the automatic switchover of photographic head of taking pictures in mobile terminal, It is achieved thereby that being switched fast for large and small photographed scene, reduces the operation of user.
3rd embodiment
As shown in figure 4, the structural representation of the mobile terminal for the embodiment of the present invention, should scheme below and combine Fig. 5 extremely Fig. 7 is specifically described to the mobile terminal based on the photographic method.
Third embodiment of the invention provides a kind of mobile terminal, and the mobile terminal has the first photographic head and the second shooting Head, wherein, the mobile terminal also includes:
First determining module 41, for when mobile terminal is taken pictures using the first photographic head, taking the photograph according to described first As the successful focusing result of head focusing, determine between the focus object and the mobile terminal of first photographic head first away from From;
First handover module 42, if being more than or equal to the first preset value for the described first distance, by taken pictures Photographic head switches to second camera by the first photographic head.
Further, first photographic head is wide-angle camera, and the second camera is photographic head of looking in the distance.
Alternatively, the mobile terminal, also includes:
Second determining module 43, for successfully focusing result according to default camera focusing, determines the default shooting Second distance between the focus object and the mobile terminal of head;
Second handover module 44, if being less than or equal to the second preset value for the second distance, by taken pictures Photographic head switches to the first photographic head by second camera;
Wherein, the default photographic head is the first photographic head or second camera.
Specifically, when the default photographic head is the first photographic head, first preset value is preset more than described second Value.
Specifically, first determining module 41 includes:
First acquisition submodule 411, for moving the motor of first photographic head, obtains first photographic head right The focusing position of motor during burnt success;
Second acquisition submodule 412, for according to the focusing position, obtaining the focus to mobile terminal described in image distance The first distance.
Alternatively, second acquisition submodule 412 includes:
First acquisition unit 4121, the current value of drive integrated circult when being in focusing position for obtaining;
Second acquisition unit 4122, for according to the current value and the current value with focus to moving described in image distance The corresponding relation of the distance of terminal, obtains first distance of the focus to mobile terminal described in image distance.
Further, the mobile terminal, also includes:
Taking module 45, for carrying out taking pictures for image using the second camera.
It should be noted that the mobile terminal embodiment is the mobile terminal corresponding with above-mentioned photographic method, above-mentioned bat All implementations according to method can also reach identical technique effect suitable for the mobile terminal embodiment.
Fourth embodiment
As shown in figure 8, the structured flowchart of the mobile terminal for the embodiment of the present invention.This is illustrated with reference to the figure The application entity of bright photographic method.
Mobile terminal 800 as shown in Figure 8 includes:At least one processor 801, memorizer 802, at least one network connect Mouth 804 and user interface 803.Each component in mobile terminal 800 is coupled by bus system 805.It is understood that total Linear system system 805 is used for realizing the connection communication between these components.Bus system 805 also includes in addition to data/address bus is included Power bus, controlling bus and status signal bus in addition.But for the sake of for clear explanation, in fig. 8 various buses are all designated as Bus system 805.
Wherein, user interface 803 can include display, keyboard or pointing device (for example, mouse, trace ball (trackball), touch-sensitive plate or touch screen etc..
It is appreciated that the memorizer 802 in the embodiment of the present invention can be volatile memory or nonvolatile memory, Or may include volatibility and nonvolatile memory.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 Read Only Memory (Electrically EPROM, EEPROM) or Flash memory.Volatile memory can be random access memory (Random Access Memory, RAM), and which is used as outside height Speed caching.By exemplary but be not restricted explanation, the RAM of many forms can use, such as static RAM (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), enhancement mode Synchronous Dynamic Random Access Memory (Enhanced SDRAM, ESDRAM), synchronized links Dynamic random access memory (Synch link DRAM, SLDRAM) and direct rambus random access memory (Direct Rambus RAM, DRRAM).The memorizer 802 of system and method described herein be intended to including but not limited to these and arbitrarily its It is suitable for the memorizer of type.
In some embodiments, memorizer 802 stores following element, can perform module or data structure, or Person their subset, or their superset:Operating system 8021 and application program 8022.
Wherein, operating system 8021, comprising various system programs, such as ccf layer, core library layer, driving layer etc., are used for Realize various basic businesses and process hardware based task.Application program 8022, comprising 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 is may be embodied in application program 8022.
In embodiments of the present invention, by call memorizer 802 storage program or instruction, can be specifically application The program stored in program 8022 or instruction, processor 801 are used for when mobile terminal is taken pictures using the first photographic head, root Successfully focus result according to first camera focusing, determine the focus object and the mobile terminal of first photographic head Between the first distance;If first distance is more than or equal to the first preset value, by the photographic head that is taken pictures by first Photographic head switches to second camera.
The method that the embodiments of the present invention are disclosed is can apply in processor 801, or is realized by processor 801. A kind of possibly IC chip of processor 801, the disposal ability with signal.During realization, said method each Step can be completed by the instruction of the integrated logic circuit of the hardware in processor 801 or software form.Above-mentioned process Device 801 can be general processor, digital signal processor (Digital Signal Processor, DSP), special integrated electricity Road (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field Programmable Gate Array, FPGA) or other PLDs, discrete gate or transistor logic, Discrete hardware components.Can realize or execute disclosed each method in the embodiment of the present invention, step and logic diagram.General Processor can be microprocessor or the processor can also be any conventional processor etc..In conjunction with embodiment of the present invention institute The step of disclosed method, can be embodied directly in hardware decoding processor and execute and complete, or with the hardware in decoding processor And software module combination execution is completed.Software module may be located at random access memory, and flash memory, read only memory may be programmed read-only In the ripe storage medium in this area such as memorizer or electrically erasable programmable memory, depositor.The storage medium is located at Memorizer 802, processor 801 read the information in memorizer 802, the step of complete said method in conjunction with its hardware.
It is understood that embodiments described herein can use hardware, software, firmware, middleware, microcode or its Combine to realize.For hardware is realized, processing unit can be realized in one or more special IC (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, Controller, microcontroller, microprocessor, for execute herein described function other electronic units or its combine in.
For software is realized, can be realized herein by the module (such as process, function etc.) of execution function described herein Described technology.Software code is storable in memorizer and by computing device.Memorizer can within a processor or Realize outside processor.
Alternatively, the processor 801 is used for:Successfully focused result according to default camera focusing, determined described default Second distance between the focus object and the mobile terminal of photographic head;If the second distance is preset less than or equal to second Value, then switch to the first photographic head by the photographic head that is taken pictures by second camera;
Wherein, the default photographic head is the first photographic head or second camera.
Further, when the default photographic head is the first photographic head, first preset value is pre- more than described second If value.
Alternatively, the processor 801 is additionally operable to:The motor of movement first photographic head, obtains first photographic head The focusing position of the motor when focusing successfully;According to the focusing position, the focus is obtained to mobile terminal described in image distance The first distance.
Alternatively, the processor 801 is additionally operable to:Obtain the current value of drive integrated circult when being in focusing position;According to The current value and the current value and corresponding relation of the focus to the distance of mobile terminal described in image distance, obtain the focus The first distance to mobile terminal described in image distance.
Alternatively, the processor 801 is additionally operable to:Taking pictures for image is carried out using the second camera.
Mobile terminal 800 can realize each process that mobile terminal is realized in previous embodiment, for avoiding repeating, here Repeat no more.
The mobile terminal of the embodiment of the present invention, is taken pictures using the first photographic head in mobile terminal by processor 801 When, successfully focused result according to first camera focusing, determine the focus object of first photographic head and the shifting The first distance between dynamic terminal;If first distance is more than or equal to the first preset value, by the photographic head that is taken pictures Second camera is switched to by the first photographic head;The automatic switchover of photographic head of taking pictures in mobile terminal is achieved, user is reduced Operation.
5th embodiment
Fig. 9 is the structural representation of the mobile terminal of the embodiment of the present invention.Specifically, the mobile terminal in Fig. 9 can be Mobile phone, panel computer, personal digital assistant (Personal Digital Assistant, PDA) or vehicle-mounted computer etc..
Mobile terminal in Fig. 9 includes radio frequency (Radio Frequency, RF) circuit 910, memorizer 920, input block 930th, display unit 940, processor 950, voicefrequency circuit 960, WiFi (Wireless Fidelity) module 970 and power supply 980.
Wherein, input block 930 can be used for numeral or the character information of receiving user's input, and produce and mobile terminal User setup and the relevant signal input of function control.Specifically, in the embodiment of the present invention, the input block 930 can be with Including contact panel 931.Contact panel 931, also referred to as touch screen, can collect user thereon or neighbouring touch operation (ratio Such as user is using the operation of any suitable object or adnexa on contact panel 931 such as finger, stylus), and according to setting in advance Fixed formula drives corresponding attachment means.Optionally, contact panel 931 may include touch detecting apparatus and touch controller two Individual part.Wherein, the touch orientation of touch detecting apparatus detection user, and the signal that touch operation brings is detected, signal is passed Give touch controller;Touch controller receives touch information from touch detecting apparatus, and is converted into contact coordinate, then Give the processor 950, and the order sent of receiving processor 950 can be executed.Furthermore, it is possible to adopt resistance-type, electricity The polytypes such as appearance formula, infrared ray and surface acoustic wave realize contact panel 931.Except contact panel 931, input block 930 Can also include that other input equipments 932, other input equipments 932 can include but is not limited to physical keyboard, function key (such as Volume control button, switch key etc.), trace ball, mouse, one or more in action bars etc..
Wherein, display unit 940 can be used for display by the information of user input or be supplied to information and the movement of user The various menu interfaces of terminal.Display unit 940 may include display floater 941, optionally, can adopt LCD or organic light emission The forms such as diode (Organic Light-Emitting Diode, OLED) are configuring display floater 941.
It should be noted that contact panel 931 can cover display floater 941, touch display screen is formed, when the touch display screen inspection Measure thereon or after neighbouring touch operation, processor 950 is sent to determine the type of touch event, with preprocessor 950 provide corresponding visual output in touch display screen according to the type of touch event.
Touch display screen includes Application Program Interface viewing area and conventional control viewing area.The Application Program Interface viewing area And the arrangement mode of the conventional control viewing area is not limited, can be arranged above and below, left-right situs etc. can be distinguished two and show 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 element such as the icon comprising at least one application program and/or widget desktop controls.The Application Program Interface viewing area It can also be the empty interface not comprising any content.The conventional control viewing area be used for show the higher control of utilization rate, for example, Application icons such as settings button, interface numbering, scroll bar, phone directory icon etc..
Wherein processor 950 is the control centre of mobile terminal, using each of various interfaces and connection whole mobile phone Individual part, is stored in software program and/or module in first memory 921 by running or executing, and calls and be stored in Data in second memory 922, execute the various functions and processing data of mobile terminal, so as to carry out entirety to mobile terminal 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 be used for when mobile terminal is taken pictures using the first photographic head, root Successfully focus result according to first camera focusing, determine the focus object and the mobile terminal of first photographic head Between the first distance;If first distance is more than or equal to the first preset value, by the photographic head that is taken pictures by first Photographic head switches to second camera.
Further, first photographic head is wide-angle camera, and the second camera is photographic head of looking in the distance.
Alternatively, processor 950 is additionally operable to:Successfully focused result according to default camera focusing, determined described default Second distance between the focus object and the mobile terminal of photographic head;If the second distance is preset less than or equal to second Value, then switch to the first photographic head by the photographic head that is taken pictures by second camera;
Wherein, the default photographic head is the first photographic head or second camera.
Further, when the default photographic head is the first photographic head, first preset value is pre- more than described second If value.
Alternatively, processor 950 is additionally operable to:The motor of movement first photographic head, obtains first photographic head and exists The focusing position of motor when focusing successfully;According to the focusing position, the focus is obtained to mobile terminal described in image distance First distance.
Alternatively, processor 950 is additionally operable to:Obtain the current value of drive integrated circult when being in focusing position;According to institute Current value and the current value and corresponding relation of the focus to the distance of mobile terminal described in image distance is stated, the focus pair is obtained First distance of mobile terminal described in image distance.
Alternatively, processor 950 is additionally operable to:Taking pictures for image is carried out using the second camera.
The mobile terminal of the embodiment of the present invention can realize each process that mobile terminal is realized in previous embodiment, for keeping away Exempt to repeat, repeat no more here.
The mobile terminal of the embodiment of the present invention, is taken pictures using the first photographic head in mobile terminal by processor 950 When, successfully focused result according to first camera focusing, determine the focus object of first photographic head and the shifting The first distance between dynamic terminal;If first distance is more than or equal to the first preset value, by the photographic head that is taken pictures Second camera is switched to by the first photographic head;The automatic switchover of photographic head of taking pictures in mobile terminal is achieved, user is reduced Operation.
Each embodiment in this specification is described by the way of going forward one by one, what each embodiment was stressed be with The difference of other embodiment, between each embodiment identical similar part mutually referring to.
Those skilled in the art are it should be appreciated that the embodiment of the embodiment of the present invention can be provided as method, device or calculate Machine program product.Therefore, the embodiment of the present invention can adopt complete hardware embodiment, complete software embodiment or combine software and The form of the embodiment of hardware aspect.And, the embodiment of the present invention can adopt one or more wherein include computer can With in the computer-usable storage medium (including but not limited to disk memory, CD-ROM, optical memory etc.) of program code The form of the computer program of enforcement.
The embodiment of the present invention is with reference to method according to embodiments of the present invention, terminal unit (system) and computer program The flow chart and/or block diagram of product is describing.It should be understood that can be by computer program instructions flowchart and/or block diagram In each flow process and/or square frame and flow chart and/or the flow process in block diagram and/or square frame combination.These can be provided Computer program instructions are set to general purpose computer, special-purpose computer, Embedded Processor or other programmable data processing terminals Standby processor is producing a machine so that held by the processor of computer or other programmable data processing terminal equipments Capable instruction is produced for realization in one flow process of flow chart or one square frame of multiple flow processs and/or block diagram or multiple square frames The device of the function of specifying.
These computer program instructions may be alternatively stored in and can guide computer or other programmable data processing terminal equipments In the computer-readable memory for working in a specific way so that the instruction being stored in the computer-readable memory produces bag The manufacture of command device is included, the command device is realized in one side of one flow process of flow chart or multiple flow processs and/or block diagram The function of specifying in frame or multiple square frames.
These computer program instructions can be also loaded in computer or other programmable data processing terminal equipments so that On computer or other programmable terminal equipments execute series of operation steps to produce computer implemented process, so as to The instruction executed on computer or other programmable terminal equipments is provided for realization in one flow process of flow chart or multiple flow processs And/or specify in one square frame of block diagram or multiple square frames function the step of.
Although having been described for the preferred embodiment of the embodiment of the present invention, those skilled in the art once know base This creative concept, then can make other change and modification to these embodiments.So, claims are intended to be construed to Including preferred embodiment and fall into the had altered of range of embodiment of the invention and change.
Also, it should be noted herein, such as first and second or the like relational terms are used merely to one Entity or operation are made a distinction with another entity or operation, and are not necessarily required or implied between these entities or operation There is any this actual relation or order.And, term " including ", "comprising" or its any other variant are intended to contain Lid nonexcludability includes, so that a series of process, method, article or terminal unit including key elements not only includes that A little key elements, but also other key elements including being not expressly set out, or also include for this process, method, article or The intrinsic key element of terminal unit.In the absence of more restrictions, the key element for being limited by sentence "including a ...", and It is not precluded within the process including the key element, method, article or terminal unit and also there is other identical element.
Above-described is the preferred embodiment of the present invention, it should be pointed out that for the ordinary person of the art comes Say, under the premise of without departing from principle of the present invention can also make some improvements and modifications, these improvements and modifications also exist In protection scope of the present invention.

Claims (14)

1. a kind of photographic method, is applied to a mobile terminal, and the mobile terminal has the first photographic head and second camera, its It is characterised by, the photographic method, including:
When mobile terminal is taken pictures using the first photographic head, successfully focused result according to first camera focusing, Determine the first distance between the focus object and the mobile terminal of first photographic head;
If the photographic head that is taken pictures is switched to by the first photographic head by first distance more than or equal to the first preset value Second camera.
2. photographic method according to claim 1, it is characterised in that first photographic head is wide-angle camera, described Second camera is photographic head of looking in the distance.
3. photographic method according to claim 2, it is characterised in that by the photographic head that is taken pictures by the first photographic head After the step of switching to second camera, the photographic method also includes:
Successfully focused result according to default camera focusing, determine the default photographic head focus object and described mobile eventually Second distance between end;
If the photographic head that is taken pictures is switched to by second camera by the second distance less than or equal to the second preset value First photographic head;
Wherein, the default photographic head is the first photographic head or second camera.
4. photographic method according to claim 3, it is characterised in that when the default photographic head is the first photographic head, First preset value is more than second preset value.
5. photographic method according to claim 1, it is characterised in that described successful according to first camera focusing Focusing result, determine between the focus object and the mobile terminal of first photographic head first apart from the step of include:
The motor of movement first photographic head, obtains the focusing position of motor of first photographic head when focusing successfully;
According to the focusing position, first distance of the focus to mobile terminal described in image distance is obtained.
6. photographic method according to claim 5, it is characterised in that described according to the focusing position, obtains the conjunction Burnt to first of mobile terminal described in image distance apart from the step of include:
Obtain the current value of drive integrated circult when being in focusing position;
According to the current value and the current value and corresponding relation of the focus to the distance of mobile terminal described in image distance, obtain First distance of the focus to mobile terminal described in image distance.
7. photographic method according to claim 1, it is characterised in that described the photographic head that is taken pictures is imaged by first After the step of head switches to second camera, the photographic method also includes:
Taking pictures for image is carried out using the second camera.
8. a kind of mobile terminal, the mobile terminal have the first photographic head and second camera, it is characterised in that the movement Terminal, including:
First determining module, for when mobile terminal is taken pictures using the first photographic head, according to first photographic head pair Burnt successfully focusing result, determines the first distance between the focus object and the mobile terminal of first photographic head;
First handover module, if being more than or equal to the first preset value for the described first distance, by the photographic head that is taken pictures Second camera is switched to by the first photographic head.
9. mobile terminal according to claim 8, it is characterised in that first photographic head is wide-angle camera, described Second camera is photographic head of looking in the distance.
10. mobile terminal according to claim 9, it is characterised in that also include:
Second determining module, for successfully focusing result according to default camera focusing, determines the conjunction of the default photographic head Second distance between burnt object and the mobile terminal;
Second handover module, if being less than or equal to the second preset value for the second distance, by the photographic head that is taken pictures First photographic head is switched to by second camera;
Wherein, the default photographic head is the first photographic head or second camera.
11. mobile terminals according to claim 10, it is characterised in that when the default photographic head is the first photographic head When, first preset value is more than second preset value.
12. mobile terminals according to claim 8, it is characterised in that first determining module includes:
First acquisition submodule, for moving the motor of first photographic head, obtains first photographic head and is focusing successfully When motor focusing position;
Second acquisition submodule, for according to the focusing position, obtaining the focus to mobile terminal described in image distance first Distance.
13. mobile terminals according to claim 12, it is characterised in that second acquisition submodule includes:
First acquisition unit, the current value of drive integrated circult when being in focusing position for obtaining;
Second acquisition unit, for according to the current value and the current value and focus to mobile terminal described in image distance away from From corresponding relation, obtain the first distance of the focus to mobile terminal described in image distance.
14. mobile terminals according to claim 8, it is characterised in that also include:
Taking module, for carrying out taking pictures for image using the second camera.
CN201611025034.1A 2016-11-17 2016-11-17 A kind of photographic method and mobile terminal Pending CN106506957A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611025034.1A CN106506957A (en) 2016-11-17 2016-11-17 A kind of photographic method and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611025034.1A CN106506957A (en) 2016-11-17 2016-11-17 A kind of photographic method and mobile terminal

Publications (1)

Publication Number Publication Date
CN106506957A true CN106506957A (en) 2017-03-15

Family

ID=58327449

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611025034.1A Pending CN106506957A (en) 2016-11-17 2016-11-17 A kind of photographic method and mobile terminal

Country Status (1)

Country Link
CN (1) CN106506957A (en)

Cited By (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107277355A (en) * 2017-07-10 2017-10-20 广东欧珀移动通信有限公司 camera switching method, device and terminal
CN110099211A (en) * 2019-04-22 2019-08-06 联想(北京)有限公司 Video capture method and electronic equipment
CN110300267A (en) * 2019-07-19 2019-10-01 维沃移动通信有限公司 Photographic method and terminal device
CN110506416A (en) * 2018-07-27 2019-11-26 华为技术有限公司 A kind of method and terminal of terminal switching camera
CN110661970A (en) * 2019-09-03 2020-01-07 RealMe重庆移动通信有限公司 Photographing method and device, storage medium and electronic equipment
CN110677580A (en) * 2019-09-24 2020-01-10 捷开通讯(深圳)有限公司 Shooting method, shooting device, storage medium and terminal
CN110677581A (en) * 2019-09-24 2020-01-10 捷开通讯(深圳)有限公司 Lens switching method and device, storage medium and electronic equipment
CN110691193A (en) * 2019-09-03 2020-01-14 RealMe重庆移动通信有限公司 Camera switching method and device, storage medium and electronic equipment
CN111064895A (en) * 2019-12-31 2020-04-24 维沃移动通信有限公司 Virtual shooting method and electronic equipment
CN111586281A (en) * 2019-02-19 2020-08-25 北京小米移动软件有限公司 Scene processing method and device
WO2021000483A1 (en) * 2019-06-29 2021-01-07 Qualcomm Incorporated Automatic focus distance extension
CN112804450A (en) * 2020-12-31 2021-05-14 Oppo广东移动通信有限公司 Opening method, electronic equipment and computer storage medium
CN112822396A (en) * 2020-12-31 2021-05-18 上海米哈游天命科技有限公司 Method, device and equipment for determining shooting parameters and storage medium
CN112911132A (en) * 2019-12-03 2021-06-04 RealMe重庆移动通信有限公司 Photographing control method, photographing control device, electronic equipment and storage medium
CN113099102A (en) * 2019-12-23 2021-07-09 中兴通讯股份有限公司 Focusing method, focusing device, storage medium and electronic device
US11206382B2 (en) 2017-07-10 2021-12-21 Guangdong Oppo Mobile Telecommunications Corp., Ltd. White balance synchronization method and apparatus, and terminal device
WO2023045808A1 (en) * 2021-09-26 2023-03-30 哲库科技(上海)有限公司 Image data acquisition method and device, terminal, and storage medium
CN116320782A (en) * 2019-12-18 2023-06-23 荣耀终端有限公司 Control method, electronic equipment, computer readable storage medium and chip

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103546723A (en) * 2013-09-27 2014-01-29 深圳市飞瑞斯科技有限公司 Monitoring system and monitoring method
CN104363379A (en) * 2014-11-28 2015-02-18 广东欧珀移动通信有限公司 Shooting method by use of cameras with different focal lengths and terminal
CN105205490A (en) * 2015-09-23 2015-12-30 联想(北京)有限公司 Information processing method and electronic equipment
KR101633342B1 (en) * 2015-07-21 2016-06-27 엘지전자 주식회사 Mobile terminal and method for controlling the same
CN105891812A (en) * 2015-11-15 2016-08-24 乐视移动智能信息技术(北京)有限公司 Distance measurement method, device and terminal device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103546723A (en) * 2013-09-27 2014-01-29 深圳市飞瑞斯科技有限公司 Monitoring system and monitoring method
CN104363379A (en) * 2014-11-28 2015-02-18 广东欧珀移动通信有限公司 Shooting method by use of cameras with different focal lengths and terminal
KR101633342B1 (en) * 2015-07-21 2016-06-27 엘지전자 주식회사 Mobile terminal and method for controlling the same
CN105205490A (en) * 2015-09-23 2015-12-30 联想(北京)有限公司 Information processing method and electronic equipment
CN105891812A (en) * 2015-11-15 2016-08-24 乐视移动智能信息技术(北京)有限公司 Distance measurement method, device and terminal device

Cited By (38)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10951833B2 (en) 2017-07-10 2021-03-16 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Method and device for switching between cameras, and terminal
WO2019011174A1 (en) * 2017-07-10 2019-01-17 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Method and device for switching between cameras, and terminal
CN107277355A (en) * 2017-07-10 2017-10-20 广东欧珀移动通信有限公司 camera switching method, device and terminal
US11206382B2 (en) 2017-07-10 2021-12-21 Guangdong Oppo Mobile Telecommunications Corp., Ltd. White balance synchronization method and apparatus, and terminal device
CN110506416B (en) * 2018-07-27 2021-10-22 华为技术有限公司 Method for switching camera by terminal and terminal
CN110506416A (en) * 2018-07-27 2019-11-26 华为技术有限公司 A kind of method and terminal of terminal switching camera
US11785329B2 (en) 2018-07-27 2023-10-10 Huawei Technologies Co., Ltd. Camera switching method for terminal, and terminal
CN113905179B (en) * 2018-07-27 2023-05-02 华为技术有限公司 Method for switching cameras by terminal and terminal
US11595566B2 (en) 2018-07-27 2023-02-28 Huawei Technologies Co., Ltd. Camera switching method for terminal, and terminal
US11412132B2 (en) 2018-07-27 2022-08-09 Huawei Technologies Co., Ltd. Camera switching method for terminal, and terminal
CN113905179A (en) * 2018-07-27 2022-01-07 华为技术有限公司 Method for switching camera by terminal and terminal
CN111586281A (en) * 2019-02-19 2020-08-25 北京小米移动软件有限公司 Scene processing method and device
CN111586281B (en) * 2019-02-19 2021-09-07 北京小米移动软件有限公司 Scene processing method and device
US11245832B2 (en) 2019-04-22 2022-02-08 Lenovo (Beijing) Co., Ltd. Video recording method and electronic device
CN110099211A (en) * 2019-04-22 2019-08-06 联想(北京)有限公司 Video capture method and electronic equipment
WO2021000063A1 (en) * 2019-06-29 2021-01-07 Qualcomm Incorporated Automatic focus distance extension
WO2021000483A1 (en) * 2019-06-29 2021-01-07 Qualcomm Incorporated Automatic focus distance extension
CN114026841A (en) * 2019-06-29 2022-02-08 高通股份有限公司 Automatic focus extension
WO2021013009A1 (en) * 2019-07-19 2021-01-28 维沃移动通信有限公司 Photographing method and terminal device
CN110300267A (en) * 2019-07-19 2019-10-01 维沃移动通信有限公司 Photographic method and terminal device
CN110691193B (en) * 2019-09-03 2021-06-29 RealMe重庆移动通信有限公司 Camera switching method and device, storage medium and electronic equipment
CN110661970A (en) * 2019-09-03 2020-01-07 RealMe重庆移动通信有限公司 Photographing method and device, storage medium and electronic equipment
CN110661970B (en) * 2019-09-03 2021-08-24 RealMe重庆移动通信有限公司 Photographing method and device, storage medium and electronic equipment
CN110691193A (en) * 2019-09-03 2020-01-14 RealMe重庆移动通信有限公司 Camera switching method and device, storage medium and electronic equipment
CN110677580B (en) * 2019-09-24 2021-09-28 捷开通讯(深圳)有限公司 Shooting method, shooting device, storage medium and terminal
CN110677580A (en) * 2019-09-24 2020-01-10 捷开通讯(深圳)有限公司 Shooting method, shooting device, storage medium and terminal
CN110677581A (en) * 2019-09-24 2020-01-10 捷开通讯(深圳)有限公司 Lens switching method and device, storage medium and electronic equipment
CN112911132A (en) * 2019-12-03 2021-06-04 RealMe重庆移动通信有限公司 Photographing control method, photographing control device, electronic equipment and storage medium
CN112911132B (en) * 2019-12-03 2023-07-04 RealMe重庆移动通信有限公司 Photographing control method, photographing control device, electronic equipment and storage medium
CN116320782B (en) * 2019-12-18 2024-03-26 荣耀终端有限公司 Control method, electronic equipment, computer readable storage medium and chip
CN116320782A (en) * 2019-12-18 2023-06-23 荣耀终端有限公司 Control method, electronic equipment, computer readable storage medium and chip
CN113099102A (en) * 2019-12-23 2021-07-09 中兴通讯股份有限公司 Focusing method, focusing device, storage medium and electronic device
CN111064895A (en) * 2019-12-31 2020-04-24 维沃移动通信有限公司 Virtual shooting method and electronic equipment
CN111064895B (en) * 2019-12-31 2022-02-01 维沃移动通信有限公司 Virtual shooting method and electronic equipment
CN112822396A (en) * 2020-12-31 2021-05-18 上海米哈游天命科技有限公司 Method, device and equipment for determining shooting parameters and storage medium
CN112804450B (en) * 2020-12-31 2022-05-27 Oppo广东移动通信有限公司 Camera starting method, electronic equipment and computer storage medium
CN112804450A (en) * 2020-12-31 2021-05-14 Oppo广东移动通信有限公司 Opening method, electronic equipment and computer storage medium
WO2023045808A1 (en) * 2021-09-26 2023-03-30 哲库科技(上海)有限公司 Image data acquisition method and device, terminal, and storage medium

Similar Documents

Publication Publication Date Title
CN106506957A (en) A kind of photographic method and mobile terminal
CN103051841B (en) The control method of time of exposure and device
CN105959553A (en) Camera switching method and terminal
CN105847674A (en) Preview image processing method based on mobile terminal, and mobile terminal therein
CN107509032A (en) One kind is taken pictures reminding method and mobile terminal
CN106131341A (en) A kind of photographic method and mobile terminal
CN106060406A (en) Photographing method and mobile terminal
CN106502512A (en) A kind of display methods of picture and mobile terminal
CN107147837A (en) The method to set up and mobile terminal of a kind of acquisition parameters
CN106231178A (en) A kind of self-timer method and mobile terminal
CN107181913A (en) A kind of photographic method and mobile terminal
CN106658141A (en) Video processing method and mobile terminal
CN106406739A (en) Note generating method and mobile terminal
CN106357961A (en) Photographing method and mobile terminal
CN107395926A (en) A kind of photographic method, mobile terminal and computer-readable recording medium
CN107395978A (en) The control method and mobile terminal of a kind of camera module
CN105959574A (en) Photographing method and mobile terminal
CN106937054A (en) Take pictures weakening method and the mobile terminal of a kind of mobile terminal
CN107026982B (en) A kind of photographic method and mobile terminal of mobile terminal
CN106095280A (en) A kind of photographic method and mobile terminal
CN106331484A (en) Focusing method and mobile terminal
CN106372252A (en) Picture display method and mobile terminal
CN107346332A (en) A kind of image processing method and mobile terminal
CN106354303A (en) Photographed method of mobile terminal and mobile terminal
CN106357989A (en) Brightness adjustment method and mobile terminal

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20170315

RJ01 Rejection of invention patent application after publication