Specific embodiment
To make 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.
It is long or occupying system resources are more for existing shooting style to there is the processing time in the present invention, influences user and takes pictures
The problem of experience, provides a kind of photographic method and mobile terminal.
As shown in figure 4, one embodiment of the invention provides a kind of photographic method, comprising:
Step 41, detect whether that there are the operations that user clicks imaging icon in advance;
It should be noted that two stages are regarded in the operation that can will click on imaging icon as when taking pictures because of user,
One is the pre- operational phase for clicking imaging icon, and the pre- operation for clicking imaging icon mentioned here, specially user is in point
Hit before imaging icon, the finger of user close to imaging icon operation, the other is clicking the stage of imaging icon;Therefore originally
In embodiment, after starting camera applications, the detection of mobile terminal real-time perfoming user's operation judges that the operation of user is in upper
Which stated in stage, and when only judgement obtains user and clicks imaging icon in advance, just carry out subsequent processing.
Step 42, the pre- operation for clicking imaging icon if it exists, then carry out the pretreatment of taking pictures of mobile terminal, obtain
Preprocessed data;
In this step, when knowing that user clicks imaging icon in advance, in order to save subsequent practical photo opporunity, need into
The pretreatment operation that row is taken pictures, the pretreatment operation are mainly the parameter setting of the caching and frame image that carry out frame image, with
It is convenient directly to be used when taking pictures.
Step 43, in the photographing operation for detecting user, according to the preprocessed data, image of taking pictures is generated.
It is to take pictures in photographing operation (i.e. user clicks imaging icon) for detecting user in this step
Processing, mobile terminal can carry out processing of taking pictures, then give birth to directly using the preprocessed data obtained in previous step at this time
At image, because being handled frame data image before taking pictures, when actually taking pictures, just shortens and take pictures when handling
Between, and then shorten user and click the waiting time after imaging icon.
Above-mentioned steps 41 can be realized in specific implementation using various ways, specifically, as shown in figure 5, the of step 41
A kind of realization includes:
Step 411, the capacitance change in the screen predeterminable area comprising imaging icon is obtained;
It should be noted that user when moving closer to the imaging icon on mobile terminal screen, can trigger imaging icon
The capacitor of region changes, therefore the capacitor of the screen predeterminable area in this step using acquisition comprising imaging icon becomes
Change amount comes whether map user clicks imaging icon in advance.The screen predeterminable area can be the particular geometric shape comprising imaging icon
The region of shape, in order to facilitate the acquisition of capacitor, it is preferable that the screen predeterminable area is the shapes such as circle, rectangle.
Step 412, if the capacitance change is in predetermined capacitive variation range, it is determined that there are users to click bat in advance
According to the operation of icon.
Because user is in pre- close imaging icon and when having clicked imaging icon, the capacitance change of imaging icon region
Amplitude is different, i.e., in pre- close imaging icon, the capacitance variations discharge amplitude of imaging icon region is smaller;And point
When hitting imaging icon, the capacitance variations discharge amplitude of imaging icon region is larger, therefore capacitance change is detected in this step
Whether it is located in predetermined capacitive variation range, the operation that user clicks imaging icon in advance can be determined whether there is.
Optionally, in the present embodiment, the step 411 is in specific implementation, comprising:
Acquire the capacitance in the screen predeterminable area that current time includes imaging icon;
It should be noted that usually existing mobile terminal touch screen is in user close to or far from mobile terminal touch screen
When, capacitance variations can be generated, are the acquisition of the capacitance of real-time perfoming imaging icon region in the present embodiment.
According to the electricity in the screen predeterminable area comprising imaging icon of the capacitance at the current time and previous moment
It is poor that capacitance is made, and obtains the capacitance change in the screen predeterminable area comprising imaging icon.
It should be noted that mobile terminal carries out the acquisition of the capacitance of imaging icon region in real time, and in real time
The capacitance at current time and the capacitance of last moment are subjected to difference operation, obtain the variation of capacitance, need to illustrate
, the mode for obtaining capacitance change here is that the capacitance that the capacitance at current time is subtracted last moment obtains,
When progress is compared with predetermined capacitive variation range, which should be provided that has a positive
Range is arranged only so, just can ensure that thus capacitance change determines that obtained movement is user close to imaging icon
Movement.
It should be noted that the capacitive touch screen sensor used in this step is realized in imaging icon region
Capacitance change acquisition, it is corresponding for example, button 61 is located in touch area 60 as shown in fig. 6, graphic user interface is taken pictures
Touch screen location arrangements have multiple touch-sensing units (the small box of each of figure represents a touch-sensing unit), when
User's finger close to take pictures 61 region of button when, can cause each touch-sensing cell capacitance value of this region of touch screen or surrounding send out
Changing.It is specific as shown in fig. 7, the touch for being considered as user is separate when user's finger 71 is farthest apart from touch tablet 72, when with
When family finger 71 moves closer to touch tablet 72, the touch for being considered as user is close, when user's finger 71 touches touch tablet 72, is considered as
The touch of user is clicked, and at each state, the capacitance on touch-sensing unit can change.In or around this region
The variable quantity of each touch-sensing cell capacitance calculated by certain algorithmic rule, with certain threshold decision user touch
It is close, touch separate and take pictures and touch clicking operation.
Algorithmic rule is settable as follows:
Summation operation is weighted to all sensing unit capacitance changes in 61 region of button of taking pictures, is clapped as shown in Figure 6
According to corresponding 9 sensing units of button area:
(X7, Y0), (X8, Y0), (X9, Y0)
(X7, Y1), (X8, Y1), (X9, Y1)
(X7, Y2), (X8, Y2), (X9, Y2)
Being predicted as user when these sensing unit capacitance changes are weighted summation more than certain threshold value has touch to lean on
Nearly behavior can be carried out photographing operation.
It is judged as that user has touch to click and claps when these sensing unit capacitance change weighted sums are more than another threshold value
According to operation behavior.
User is predicted as when these sensing unit capacitance change weighted sums are less than a certain threshold value has touch far from row
For photographing operation may be stopped.
Optionally, second of realization of step 41 include:
Obtain distance change amount of the user away from imaging icon;
It should be noted that because whether user close to imaging icon, can distance according to user away from imaging icon it is direct
Judged, it is generally the case that user carries out the click of imaging icon using finger, when user's finger is apart from imaging icon distance
When more and more closer, illustrate that user has the tendency that pre- click imaging icon, therefore, such realization close to imaging icon, i.e. user
The distance change amount of user's current time and last moment away from imaging icon is directly acquired in mode, judges whether user leans on this
Close imaging icon, herein using range sensor or infrared close sensor progress acquisition of the user away from imaging icon distance,
And the range sensor or infrared close sensor are generally arranged at the position where imaging icon.
If the distance change amount is in pre-determined distance variation range, it is determined that there are users to click imaging icon in advance
Operation.
It should be noted that the range sensor or infrared close sensor on mobile terminal carry out user away from bat in real time
According to the acquisition of icon distance, and the distance at current time is carried out to difference operation at a distance from last moment in real time, obtain away from
From variation, it should be noted that here obtain distance change amount mode be that the distance at current time is subtracted into last moment
Distance obtain, carry out be compared with pre-determined distance variation range when, which should be provided that one
A range with negative value, is arranged only so, just can ensure that thus distance change amount determines that obtained movement is that user exists
Close to the movement of imaging icon.
It should be noted that just takes pictures is pre- when detecting that user has the pre- operation for clicking imaging icon
Processing operation, therefore, in the present embodiment, step 42 is in specific implementation, comprising:
Cache the frame data image of default frame number;
The setting that parameter information is carried out to the frame data image, obtains preprocessed data;
Wherein, the parameter information includes: at least one of exposure gain, time for exposure, frame per second and depth of view information.
It should be noted that take pictures pre-process when, mobile terminal is under different scenes of taking pictures, the frame number of caching
It is also different according to the quantity and parameter setting mode of image, which can be divided into commonly take pictures scene, double camera shootings
Head is taken pictures mobile (High-Dynamic Range, the HDR) scene of taking pictures of scene, high dynamic.
When commonly taking pictures under scene, mobile terminal can cache a frame or multiple image data, and to the every of caching
One frame data are exposed the setting of at least one parameter information in gain, time for exposure and frame per second, obtain preprocessed data.
When under dual camera takes pictures scene, mobile terminal can frame data image to the dual camera of caching carry out scape
The calculating for deeply convinceing breath, obtains preprocessed data.
When under HDR takes pictures scene, mobile terminal can first be synthesized a frame of caching or multiframe data image, be obtained
To synthetic frame data image, at least one of gain, time for exposure and frame per second are exposed to the synthetic frame data image
The setting of parameter information, obtains preprocessed data.
It takes pictures speed it should be noted that pretreatment operation described in the present embodiment is predominantly promoted and takes pictures into image quality
Amount does preparatory operation, does not limit above-mentioned cited particular procedure mode.
It should be noted that just taking pictures when only there is the operation that user clicks imaging icon in advance in the present embodiment
Pretreatment, otherwise stop taking pictures pretreatment operation, with this, avoiding mobile terminal needs real-time perfoming to take pictures pretreatment operation,
And the problem of consuming mobile terminal system resource.
It should be noted that pretreatment operation of taking pictures can only carry out a frame data image procossing or do multiframe data
Image procossing, take pictures pretreatment stage can fetching portion or all take pictures required frame data image, fractional frame data image can
It is obtained when user executes photographing operation, therefore, in the present embodiment, a kind of implementation of step 43 are as follows:
The frame data image of the first default frame number in the preprocessed data is handled, image of taking pictures is generated.
In this case, obtain user take pictures image when in time to the treatment process of data frame as shown in figure 8,
The touchscreen senses of mobile terminal to user's finger close to take pictures button when, carry out pretreatment of taking pictures, start caching one frame or more
Frame data, and parameter of taking pictures is set;It is pretreated according to taking pictures when touchscreen senses to user's finger click take pictures button
Frame data carry out processing generation image of taking pictures.
Optionally, another implementation of step 43 are as follows:
By the frame data image of the second default frame number in the preprocessed data and when detecting photographing operation
The frame data image that the third of acquisition presets frame number carries out synthesis processing, obtains image of taking pictures.
In this case, obtain user take pictures image when in time to the treatment process of data frame as shown in figure 9,
The touchscreen senses of mobile terminal to user's finger close to take pictures button when, carry out pretreatment of taking pictures, start caching one frame or more
Frame data, and parameter of taking pictures is set;It is pretreated according to taking pictures when touchscreen senses to user's finger click take pictures button
The frame data that frame data and user's finger click the predetermined number obtained after button of taking pictures carry out processing generation image of taking pictures.
As shown in Figure 10, the total of photographic method of the invention is realized using touch panel sensor (or infrared close sensor)
Body implementation process are as follows:
Step 101, touch panel sensor (or infrared close sensor) sensing user clicks the behavior of imaging icon in advance;
Step 102, the behavior that user clicks imaging icon in advance is judged whether there is, if it is present step 103 is executed,
Otherwise, step 101 is jumped back to;
Step 103, pretreatment of taking pictures is carried out, while touch sensor (or infrared close sensor) continues to sense user's touching
Touch the behavior of imaging icon;
Step 104, judge whether user clicks imaging icon, if user clicks imaging icon, then follow the steps 105,
Otherwise step 101 is jumped back to;
Step 105, processing of taking pictures is carried out, image is generated.
It should be noted that the photographic method based on the embodiment of the present invention can reach it is following the utility model has the advantages that
Speed of taking pictures is accelerated, by taking multiframe synthesizes as an example, obtains data when synthesizing 6 frame images (assuming that frame per second is 30 frames/s)
Image just needs 1/30*6s=200ms or so;By the way of the embodiment of the present invention, realizing partial data image can feel
It measures user just to obtain and pre-process after imaging icon, significant increase is taken pictures speed.
Quality of taking pictures is improved, pretreatment stage of taking pictures pre-processes image with regard to settable different parameter of taking pictures;
Can obtain simultaneously user click take pictures before and click the data after taking pictures, composograph is thought closest to user's preview phase of taking pictures
Obtain image.
Reduce preview of taking pictures and occupy more mobile terminal system resource, at user's most of the time in application of taking pictures
In preview state, the time taken pictures is much smaller than preview time, and the photographic method of the embodiment of the present invention is not needed in preview phase
It is data cached in real time always, reduce the occupancy to mobile terminal system resource.
It, can optimization system power consumption without caching mass data frame in real time to RAM.
As shown in Figure 11 to 14, the embodiment of the present invention provides a kind of mobile terminal, comprising:
Detection module 111, for detecting whether there are the operations that user clicks imaging icon in advance;
Preprocessing module 112 then carries out taking pictures for mobile terminal for the pre- operation for clicking imaging icon if it exists
Pretreatment, obtains preprocessed data;
Photo module 113, in the photographing operation for detecting user, according to the preprocessed data, generation to be taken pictures
Image.
Specifically, the detection module 111 includes:
First acquisition submodule 1111, for obtaining the capacitance change in the predeterminable area for including imaging icon;
First determines submodule 1112, if being in predetermined capacitive variation range for the capacitance change, it is determined that
There are the operations that user clicks imaging icon in advance.
Optionally, the acquisition submodule 1111 includes:
Acquisition unit 11111, for acquiring the capacitance in the screen predeterminable area that current time includes imaging icon;
Acquiring unit 11112, for according to the capacitance at the current time and previous moment comprising imaging icon
It is poor that capacitance in screen predeterminable area is made, and obtains the capacitance change in the screen predeterminable area comprising imaging icon.
Specifically, the detection module 111 includes:
Second acquisition submodule 1113, for obtaining distance change amount of the user away from imaging icon;
Second determines submodule 1114, if being in pre-determined distance variation range for the distance change amount, it is determined that
There are the operations that user clicks imaging icon in advance.
Specifically, the preprocessing module 112 includes:
Cache sub-module 1121, for caching the frame data image of default frame number;
Submodule 1122 is set, for carrying out the setting of parameter information to the frame data image, obtains preprocessed data;
Wherein, the parameter information includes: at least one of exposure gain, time for exposure, frame per second and depth of view information.
Specifically, the setting submodule 1122 is used for:
At least one parameter information being exposed in gain, time for exposure and frame per second to each frame data of caching is set
It sets, obtains preprocessed data;Or
The frame data image of caching is synthesized, synthetic frame data image is obtained, to the synthetic frame data image into
The setting of at least one parameter information in row exposure gain, time for exposure and frame per second, obtains preprocessed data;Or
The calculating that depth of view information is carried out to the frame data image of the dual camera of caching, obtains preprocessed data.
Specifically, the photo module 113 is used for:
The frame data image of the first default frame number in the preprocessed data is handled, image of taking pictures is generated;
Or
By the frame data image of the second default frame number in the preprocessed data and when detecting photographing operation
The frame data image that the third of acquisition presets frame number carries out synthesis processing, obtains image of taking pictures.
It should be noted that the mobile terminal of the embodiment of the present invention is by detecting that user clicks the behaviour of imaging icon in advance
When making, then the pretreatment taken pictures directly carries out image according to the data that pretreatment obtains when user executes photographing operation
Generation in this way, the pretreatment only just taken pictures when user clicks imaging icon in advance will not occupy always system
Resource reduces the consumption of resource, because the pretreatment taken pictures has been carried out before taking pictures, when taking pictures, when shortening is taken pictures
Between, the experience of taking pictures of user is improved with this.
It as shown in figure 15, is the structural block diagram of the mobile terminal of one embodiment of the invention.It is illustrated below with reference to the figure
The application entity of photographic method of the invention.
Mobile terminal 1500 as shown in figure 15 includes: at least one processor 1501, memory 1502, at least one net
Network interface 1504 and user interface 1503.Various components in mobile terminal 1500 are coupled by bus system 1505.
It is understood that bus system 1505 is for realizing the connection communication between these components.It includes data/address bus that bus system 1505, which is removed,
Except, it further include power bus, control bus and status signal bus in addition.It, will be each in Figure 15 but for the sake of clear explanation
Kind bus is all designated as bus system 1505.
Wherein, user interface 1503 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 1502 in the embodiment of the present invention can be volatile memory or non-volatile memories
Device, 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), erasable programmable are only
Read memory (Erasable PROM, EPROM), electrically erasable programmable read-only memory (Electrically EPROM,
) or flash memory EEPROM.Volatile memory can be random access memory (Random Access Memory, RAM), use
Make External Cache.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), it is enhanced Synchronous Dynamic Random Access Memory (Enhanced SDRAM, ESDRAM), synchronous
Connect dynamic random access memory (Synch link DRAM, SLDRAM) and direct rambus random access memory
(Direct Rambus RAM, DRRAM).The memory 1502 of system and method described herein is intended to include but is not limited to this
A little and any other suitable type memory.
In some embodiments, memory 1502 stores following element, executable modules or data structures, or
Their subset of person or their superset: operating system 15021 and application program 15022.
Wherein, operating system 15021 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 15022 includes various application programs, such as matchmaker
Body player (Media Player), browser (Browser) etc., for realizing various applied business.Realize that the present invention is implemented
The program of example method may be embodied in application program 15022.
In embodiments of the present invention, by the program or instruction of calling memory 1502 to store, the specific can be that answering
With the program or instruction stored in program 15022, processor 1501 is for detecting whether there are users to click imaging icon in advance
Operation;The pre- operation for clicking imaging icon if it exists, then carry out the pretreatment of taking pictures of mobile terminal, obtains pretreatment number
According to;In the photographing operation for detecting user, according to the preprocessed data, image of taking pictures is generated.
The method that the embodiments of the present invention disclose can be applied in processor 1501, or real by processor 1501
It is existing.Processor 1501 may be a kind of IC chip, the processing capacity with signal.During realization, the above method
Each step can be completed by the instruction of the integrated logic circuit of the hardware in processor 1501 or software form.Above-mentioned
Processor 1501 can be general processor, digital signal processor (Digital Signal Processor, DSP), dedicated
Integrated circuit (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 1502, processor 1501 reads the information in memory 1502, 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, which is used for: obtaining the capacitance change in the screen predeterminable area comprising imaging icon;
If the capacitance change is in predetermined capacitive variation range, it is determined that there are the operations that user clicks imaging icon in advance.
Optionally, which is also used to: acquisition current time includes in the screen predeterminable area of imaging icon
Capacitance;According to the capacitor in the screen predeterminable area comprising imaging icon of the capacitance at the current time and previous moment
It is poor that value is made, and obtains the capacitance change in the screen predeterminable area comprising imaging icon.
Optionally, which is also used to: obtaining distance change amount of the user away from imaging icon;If the distance becomes
Change amount is in pre-determined distance variation range, it is determined that there are the operations that user clicks imaging icon in advance.
Optionally, which is also used to: caching the frame data image of default frame number;To the frame data image
The setting for carrying out parameter information, obtains preprocessed data;Wherein, the parameter information includes: exposure gain, time for exposure, frame
At least one of rate and depth of view information.
Optionally, which is also used to: being exposed gain, time for exposure and frame to each frame data of caching
The setting of at least one parameter information in rate, obtains preprocessed data;Or
The frame data image of caching is synthesized, synthetic frame data image is obtained, to the synthetic frame data image into
The setting of at least one parameter information in row exposure gain, time for exposure and frame per second, obtains preprocessed data;Or
The calculating that depth of view information is carried out to the frame data image of the dual camera of caching, obtains preprocessed data.
Optionally, which is also used to: by the frame data of the first default frame number in the preprocessed data
Image is handled, and image of taking pictures is generated;Or
By the frame data image of the second default frame number in the preprocessed data and when detecting photographing operation
The frame data image that the third of acquisition presets frame number carries out synthesis processing, obtains image of taking pictures.
Mobile terminal 1500 can be realized each process that mobile terminal is realized in previous embodiment, to avoid repeating, this
In repeat no more.
The mobile terminal of the embodiment of the present invention detects whether that there are users to click imaging icon in advance by processor 1501
Operation;The pre- operation for clicking imaging icon if it exists, then carry out the pretreatment of taking pictures of mobile terminal, obtains pretreatment number
According to;In the photographing operation for detecting user, according to the preprocessed data, image of taking pictures is generated;Reduced with this mobile whole
The consumption of end system resource, while photo opporunity is shortened, improve the experience of taking pictures of user.
Figure 16 is the structural schematic diagram of the mobile terminal of one embodiment of the invention.Specifically, the mobile terminal in Figure 16 can
Think mobile phone, tablet computer, personal digital assistant (Personal Digital Assistant, PDA) or vehicle-mounted computer etc..
Mobile terminal in Figure 16 includes radio frequency (Radio Frequency, RF) circuit 1610, memory 1620, input
Unit 1630, display unit 1640, processor 1650, voicefrequency circuit 1660, WiFi (Wireless Fidelity) module 1670
With power supply 1680.
Wherein, input unit 1630 can be used for receiving the number or character information of user's input, and generate with movement eventually
The related signal input of the user setting and function control at end.Specifically, in the embodiment of the present invention, which can
To include touch panel 1631.Touch panel 1631, 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 1631 such as finger, stylus), and according to pre-
The formula first set drives corresponding attachment device.Optionally, touch panel 1631 may include touch detecting apparatus and touch control
Two parts of device processed.Wherein, the touch orientation of touch detecting apparatus detection user, and touch operation bring signal is detected, it will
Signal sends touch controller to;Touch controller receives touch information from touch detecting apparatus, and is converted into contact
Coordinate, then give the processor 1650, and order that processor 1650 is sent can be received and executed.Furthermore, it is possible to using
The multiple types such as resistance-type, condenser type, infrared ray and surface acoustic wave realize touch panel 1631.In addition to touch panel 1631,
Input unit 1630 can also include other input equipments 1632, other input equipments 1632 can include but is not limited to secondary or physical bond
One of disk, function key (such as volume control button, switch key etc.), trace ball, mouse, operating stick etc. are a variety of.
Wherein, display unit 1640 can be used for showing information input by user or be supplied to the information and movement of user
The various menu interfaces of terminal.Display unit 1640 may include display panel 1641, optionally, can use LCD or organic hair
The forms such as optical diode (Organic Light-Emitting Diode, OLED) configure display panel 1641.
It should be noted that touch panel 1631 can cover display panel 1641, touch display screen is formed, when the touch display screen
After detecting touch operation on it or nearby, processor 1650 is sent to determine the type of touch event, is followed by subsequent processing
Device 1650 provides 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 1650 is the control centre of mobile terminal, utilizes each of various interfaces and connection whole mobile phone
A part by running or execute the software program and/or module that are stored in first memory 1621, and is called and is stored in
Data in second memory 1622 execute the various functions and processing data of mobile terminal, to carry out to mobile terminal whole
Body monitoring.Optionally, processor 1650 may include one or more processing units.
In embodiments of the present invention, by call store the first memory 1621 in software program and/or module and/
Or the data in the second memory 1622, processor 1650 is for detecting whether there are the behaviour that user clicks imaging icon in advance
Make;The pre- operation for clicking imaging icon if it exists, then carry out the pretreatment of taking pictures of mobile terminal, obtain preprocessed data;
In the photographing operation for detecting user, according to the preprocessed data, image of taking pictures is generated.
Optionally, processor 1650 is also used to: obtaining the capacitance change in the screen predeterminable area comprising imaging icon;
If the capacitance change is in predetermined capacitive variation range, it is determined that there are the operations that user clicks imaging icon in advance.
Optionally, processor 1650 is also used to: acquisition current time includes the electricity in the screen predeterminable area of imaging icon
Capacitance;According to the capacitance in the screen predeterminable area comprising imaging icon of the capacitance at the current time and previous moment
It is poor to make, and obtains the capacitance change in the screen predeterminable area comprising imaging icon.
Optionally, processor 1650 is also used to: obtaining distance change amount of the user away from imaging icon;If the distance change
Amount is in pre-determined distance variation range, it is determined that there are the operations that user clicks imaging icon in advance.
Optionally, processor 1650 is also used to: caching the frame data image of default frame number;To the frame data image into
The setting of row parameter information, obtains preprocessed data;Wherein, the parameter information includes: exposure gain, time for exposure, frame per second
At least one of with depth of view information.
Optionally, processor 1650 is also used to: being exposed gain, time for exposure and frame per second to each frame data of caching
In at least one parameter information setting, obtain preprocessed data;Or
The frame data image of caching is synthesized, synthetic frame data image is obtained, to the synthetic frame data image into
The setting of at least one parameter information in row exposure gain, time for exposure and frame per second, obtains preprocessed data;Or
The calculating that depth of view information is carried out to the frame data image of the dual camera of caching, obtains preprocessed data.
Optionally, processor 1650 is also used to: by the frame data figure of the first default frame number in the preprocessed data
As being handled, image of taking pictures is generated;Or
By the frame data image of the second default frame number in the preprocessed data and when detecting photographing operation
The frame data image that the third of acquisition presets frame number carries out synthesis processing, obtains image of taking pictures.
The mobile terminal of the embodiment of the present invention can be realized each process that mobile terminal is realized in previous embodiment, to keep away
Exempt to repeat, which is not described herein again.
The mobile terminal of the embodiment of the present invention detects whether that there are users to click imaging icon in advance by processor 1650
Operation;The pre- operation for clicking imaging icon if it exists, then carry out the pretreatment of taking pictures of mobile terminal, obtains pretreatment number
According to;In the photographing operation for detecting user, according to the preprocessed data, image of taking pictures is generated;Reduced with this mobile whole
The consumption of end system resource, while photo opporunity is shortened, improve the experience of taking pictures of user.
All the embodiments in this specification are described in a progressive manner, the highlights of each of the examples are with
The difference of other embodiments, the same or similar parts between the embodiments can be referred to each other.
It should be understood by those skilled in the art that, the embodiment of the embodiment of the present invention can provide as method, apparatus or calculate
Machine program product.Therefore, the embodiment of the present invention can be used complete hardware embodiment, complete software embodiment or combine software and
The form of the embodiment of hardware aspect.Moreover, the embodiment of the present invention can be used one or more wherein include computer can
With in the computer-usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) of program code
The form of the computer program product of implementation.
The embodiment of the present invention be referring to according to the method for the embodiment of the present invention, terminal device (system) and computer program
The flowchart and/or the block diagram of product describes.It should be understood that flowchart and/or the block diagram can be realized by computer program instructions
In each flow and/or block and flowchart and/or the block diagram in process and/or box combination.It can provide these
Computer program instructions are set to general purpose computer, special purpose computer, Embedded Processor or other programmable data processing terminals
Standby processor is to generate a machine, so that being held by the processor of computer or other programmable data processing terminal devices
Capable instruction generates for realizing in one or more flows of the flowchart and/or one or more blocks of the block diagram
The device of specified function.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing terminal devices
In computer-readable memory operate in a specific manner, so that instruction stored in the computer readable memory generates packet
The manufacture of command device is included, which realizes in one side of one or more flows of the flowchart and/or block diagram
The function of being specified in frame or multiple boxes.
These computer program instructions can also be loaded into computer or other programmable data processing terminal devices, so that
Series of operation steps are executed on computer or other programmable terminal equipments to generate computer implemented processing, thus
The instruction executed on computer or other programmable terminal equipments is provided for realizing in one or more flows of the flowchart
And/or in one or more blocks of the block diagram specify function the step of.
Although the preferred embodiment of the embodiment of the present invention has been described, once a person skilled in the art knows bases
This creative concept, then additional changes and modifications can be made to these embodiments.So the following claims are intended to be interpreted as
Including preferred embodiment and fall into all change and modification of range of embodiment of the invention.
It should also be noted that, herein, relational terms such as first and second and the like are used merely to one
Entity or operation are distinguished with another entity or operation, without necessarily requiring or implying between these entities or operation
There are any actual relationship or orders.Moreover, the terms "include", "comprise" or its any other variant are intended to contain
Lid non-exclusive inclusion, so that the process, method, article or the terminal device that include a series of elements not only include that
A little elements, but also including other elements that are not explicitly listed, or further include for this process, method, article or
The intrinsic element of terminal device.In the absence of more restrictions, the element limited by sentence "including a ...", and
It is not precluded in the process, method including the element, article or terminal device that there is also other identical elements.
Above-described is the preferred embodiment of the present invention, it should be pointed out that the ordinary person of the art is come
It says, can also make several improvements and retouch under the premise of not departing from principle of the present invention, these improvements and modifications also exist
In protection scope of the present invention.