Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are some of the embodiments of the present invention, instead of all the embodiments.Based on this hair
Embodiment in bright, every other implementation obtained by those of ordinary skill in the art without making creative efforts
Example, shall fall within the protection scope of the present invention.
First embodiment
One aspect according to an embodiment of the present invention provides a kind of control method of flash lamp, is applied to some terminals,
The mobile terminal concretely mobile phone, tablet computer etc..
As shown in Figure 1, this method includes:
Step 101:After detecting that the flash lamp of mobile terminal is opened, the temperature of the flash lamp is obtained.
After the flash lamp of mobile terminal is opened, over time, the temperature of the flash lamp can continue to rise.It is such
Situation long duration goes down, and is easy to cause centainly to damage to flash lamp.And the embodiment of the present invention, it can detect the flash of light
After lamp is opened, the temperature of flash lamp is monitored, and when the temperature of flash lamp is more than preset temperature threshold, executes step
102, i.e. the driving current of reduction flash lamp extends the service life of flash lamp to reduce the temperature of flash lamp.
Step 102:When the temperature of the flash lamp is more than preset temperature threshold, the driving current of the flash lamp is controlled
Reduce, and the light filling electric current for controlling screen increases.
Wherein, the flash lamp is the flash lamp of the front camera of mobile terminal.After the flash lamp is opened, Ke Yi
Mobile terminal is under self-timer mode, carries out shooting light filling.And the embodiment of the present invention, it is more than pre- in the temperature of the flash lamp
If when temperature threshold, the driving current that can control the flash lamp reduces, so that the brightness of the flash lamp is dimmed, to reduce sudden strain of a muscle
The temperature of light lamp.After brightness is dimmed but sudden strain of a muscle is turned off the light, the light filling effect that flash lamp is played can be reduced.Therefore, reality of the invention
Example is applied, when the temperature of the flash lamp is more than preset temperature threshold, the light filling electric current that can also control screen increases, to increase
The brightness of screen compensates the light filling effect of flash lamp.
Therefore, the embodiment of the present invention, mobile terminal flash lamp when the temperature is excessively high, pass through reduce flash lamp driving
Electric current reduces the temperature of flash lamp, and the light filling electric current by increasing screen compensates light filling effect, thus reducing
Light filling effect is not reduced but while flash lamp driving current, improves the usage experience of user, is efficiently solved and is passed through reduction
The driving current of flash lamp come reduce flash of light light temperature light filling effect is brought a negative impact the problem of.
Second embodiment
The embodiment provides a kind of control methods of flash lamp, are applied to mobile terminal, mobile terminal tool
Body can be mobile phone, tablet computer etc..
As shown in Fig. 2, this method includes:
Step 201:After detecting that the flash lamp of mobile terminal is opened, according to prefixed time interval, the flash lamp is obtained
Temperature.
After the flash lamp of mobile terminal is opened, over time, the temperature of the flash lamp can continue to rise.It is such
Situation long duration goes down, and is easy to cause centainly to damage to flash lamp.And the embodiment of the present invention, it can detect the flash of light
After lamp is opened, the temperature of flash lamp is monitored, i.e., obtains the temperature of a flash lamp every prefixed time interval, so as to
When enough temperature in flash lamp are more than preset temperature threshold, step 202 is executed, that is, reduces the driving current of flash lamp, to drop
The temperature of low flash lamp extends the service life of flash lamp.
Wherein, when being provided with the temperature sensor for being separated with pre-determined distance between flash lamp on mobile terminal, due to temperature
Sensor is very close at a distance from flash lamp, so the temperature that temperature sensor detects can represent the temperature of flash lamp,
Then, according to prefixed time interval, it can be detected and be glistened using the temperature sensor after the flash lamp for detecting mobile terminal is opened
The temperature of lamp.
In addition, if when being provided with multiple temperature sensors for being separated with pre-determined distance between flash lamp on mobile terminal, step
201 include:After detecting that the flash lamp of mobile terminal is opened, according to prefixed time interval, multiple temperature sensor detections are obtained
The temperature value of the flash lamp arrived;By the average value of multiple temperature values, it is determined as the temperature of the flash lamp.
Temperature detection is carried out using multiple temperature sensors, and calculates temperature detected by each temperature sensor
Average value, so that the average value be determined as to the temperature of flash lamp, so that the temperature change of the flash lamp detected can be more quasi-
Really, to realize that better temperature controls to flash lamp.
Moreover it is preferred that above-mentioned temperature sensor concretely thermistor, consequently facilitating temperature sensor it is mobile eventually
It is arranged at the position of flash lamp on end, meets the installation space demand of temperature sensor, so as to more accurately right
The temperature of flash lamp is monitored.
Step 202:When the temperature of the flash lamp is more than preset temperature threshold, according to the first preset step-length, institute is controlled
The driving current staged for stating flash lamp reduces.
Wherein, the flash lamp is the flash lamp of the front camera of mobile terminal.After flash lamp is opened, it can move
Dynamic terminal is under self-timer mode, carries out shooting light filling.
In addition, reducing the driving of flash lamp using stepwise manner when the temperature of flash lamp is more than preset temperature threshold
Electric current, can be avoided driving current and reduce suddenly causes the light of flash lamp dimmed suddenly, to avoid user prominent to flash lamp
It is so dimmed to feel inadaptable.
Specifically, the preset temperature threshold includes multiple temperature thresholds, and temperature threshold described in each adjacent two differs
Preset value, then step 202 include:When the temperature of the flash lamp is increased to i-th of temperature threshold, by the drive of the flash lamp
Streaming current reduces i the first preset step-lengths, until the temperature of the flash lamp reaches the smallest temperature in the multiple temperature threshold
Spend threshold value or less.Wherein, i is positive integer.
I.e. in the temperature ramp de of flash lamp, a temperature threshold is often risen to, the driving current of flash lamp subtracts
Increase by first preset step-length in a small amount.I.e. when the temperature of flash lamp rises to first temperature threshold, flash lamp is controlled
Driving current reduces first preset step-length;When the constant temperature of flash lamp rises to second temperature threshold, control is dodged
The driving current of light lamp reduces two the first preset step-lengths;When the temperature of flash lamp still continues rising up to third temperature threshold
When, the driving current for controlling flash lamp reduces three the first preset step-lengths, until the driving current in flash lamp decreases to
It is small, so that stopping the driving current for changing flash lamp when the temperature of flash lamp drops to first temperature threshold or less.
Step 203:According to the second preset step-length, the light filling electric current staged for controlling the screen increases.
Wherein, when the temperature of flash lamp is more than preset temperature threshold, increase the light filling electricity of screen using stepwise manner
Stream, can be avoided light filling electric current and increase suddenly causes screen to brighten suddenly, feels so that user be avoided to brighten screen suddenly
It is inadaptable.
Specifically, the preset temperature threshold includes multiple temperature thresholds, and temperature threshold described in each adjacent two differs
Preset value, then step 203 include:When the temperature of the flash lamp is increased to i-th of temperature threshold, by the light filling electric current of screen
Increase i the second preset step-lengths, until the temperature of the flash lamp reaches the smallest temperature threshold in the multiple temperature threshold
Below.Wherein, i is positive integer.
I.e. in the temperature ramp de of flash lamp, a temperature threshold, the increase of the light filling electric current of screen are often risen to
Amount increases by second preset step-length.I.e. when the temperature of flash lamp rises to first temperature threshold, the light filling of screen is controlled
Electric current increases second preset step-length;When the constant temperature of flash lamp rises to second temperature threshold, screen is controlled
Light filling electric current increases two the second preset step-lengths;When the temperature of flash lamp still continues rising up to third temperature threshold, control
The light filling electric current of screen processed increases three the second preset step-lengths, until the light filling electric current in screen is increased sufficiently to greatly, to reach
To the compensation requirement of the light filling effect to flash lamp.
It can be seen from the above, in the embodiment of the present invention, when the temperature of flash lamp reaches preset multiple temperature thresholds
When, staged reduces the driving current of flash lamp simultaneously, and staged opens screen light filling function, drives to reach and reduce flash lamp
Light filling effect will not be reduced while streaming current, and can rationally control the driving current of flash lamp and the light filling electric current of screen, from
User is set to feel dazzling without opening flash lamp in self-timer.
In addition, through the above steps, after certain primary driving current for reducing flash lamp, the temperature of flash lamp may be opened
Begin decline, then during the decline of the temperature of flash lamp, if the temperature of flash lamp do not drop to first temperature threshold also hereinafter,
Then when often dropping to a temperature threshold, the driving current for controlling flash lamp reduces first preset step-length, so that flash of light
Lamp obtains temperature and drops to first temperature threshold or less as early as possible.
Accordingly, during the decline of the temperature of flash lamp, if reducing the driving current of flash lamp, synchronous increase is needed
The light filling electric current of screen, so that the light filling effect of screen better compensates for the part of the light filling effect missing of flash lamp.
Therefore, after step 203, the embodiment of the present invention further includes:When the temperature of the flash lamp drops to i-th
When temperature threshold, the driving current of the flash lamp is reduced into first preset step-length, and the light filling electric current of screen is increased
One the second preset step-length, until the temperature of the flash lamp reach in the multiple temperature threshold the smallest temperature threshold with
Under.
It can be seen from the above, being for example previously provided with tri- temperature thresholds of T1, T2, T3, T1<T2<T3, and between T2 and T1
Difference is equal to the difference between T3 and T2, and the first preset step-length is X, and the second preset step-length is Y, then when the flash of light of mobile terminal
After lamp is opened, when the temperature of flash lamp rises to T1, the driving current for needing to control flash lamp reduces X, and controls the benefit of screen
Photoelectric current increases Y;After this, if the temperature of flash lamp continues to rise to T2 from T1, continue the driving electricity for controlling flash lamp
Stream reduces 2X, and the light filling electric current for controlling screen increases 2Y;After this, if the temperature of flash lamp does not continue rising up to
T3, but begin to decline, then when dropping to T1, the driving current for controlling flash lamp reduces X, and controls the light filling electric current of screen
Increase Y, until the temperature of flash lamp drops to T1 or less.The temperature that flash lamp can not only be controlled in this way rises situation but also reaches use
Requirement of the family to self-timer effect.
In conclusion the embodiment of the present invention is capable of real-time monitoring flash lamp after the flash lamp of mobile terminal is opened
Whether temperature is more than preset temperature threshold, and staged reduces the driving current of flash lamp, and staged increase screen when being more than
The light filling electric current of curtain.Therefore, the embodiment of the present invention, mobile terminal flash lamp when the temperature is excessively high, pass through reduce flash lamp
Driving current reduce the temperature of flash lamp, and the light filling electric current by increasing screen compensates light filling effect, thus
Light filling effect is not reduced but while reducing flash lamp driving current, is improved the usage experience of user, is efficiently solved logical
The driving current of reduction flash lamp is crossed to reduce the problem of flash of light light temperature brings a negative impact light filling effect.
3rd embodiment
The embodiment provides a kind of mobile terminals, as shown in figure 3, the mobile terminal 300 includes:
Temperature acquisition module 301, for obtaining the temperature of the flash lamp after the flash lamp for detecting mobile terminal is opened
Degree;
The temperature of current control module 302, the flash lamp for getting in the temperature acquisition module 301 is more than
When preset temperature threshold, the driving current for controlling the flash lamp reduces, and the light filling electric current for controlling screen increases.
Preferably, as shown in figure 4, the temperature acquisition module 301 includes:
Temperature acquiring unit 3011, for after the flash lamp for detecting mobile terminal is opened, according to prefixed time interval,
Obtain the temperature of the flash lamp.
Preferably, as shown in figure 4, the temperature acquiring unit 3011 includes:
Subelement 30111 is obtained, for after the flash lamp for detecting mobile terminal is opened, according to prefixed time interval,
Obtain the temperature value for the flash lamp that multiple temperature sensors detect;
Computation subunit 30112, for being determined as the temperature of the flash lamp for the average value of multiple temperature values.
Preferably, as shown in figure 4, the current control module 302 includes:
First control unit 3021, for controlling the driving current staged of the flash lamp according to the first preset step-length
Reduce;
Second control unit 3022, for according to the second preset step-length, the light filling electric current staged for controlling the screen to increase
Greatly.
Preferably, the preset temperature threshold includes multiple temperature thresholds, and temperature threshold described in each adjacent two differs
Preset value;
The first control unit 3021 is specifically used for:When the temperature of the flash lamp is increased to i-th of temperature threshold,
The driving current of the flash lamp is reduced into i the first preset step-lengths, until the temperature of the flash lamp reaches the multiple temperature
It spends in threshold value below the smallest temperature threshold;
Second control unit 3022 is specifically used for:When the temperature of the flash lamp is increased to i-th of temperature threshold,
The light filling electric current of screen is increased into i the second preset step-lengths, until the temperature of the flash lamp reaches the multiple temperature threshold
In below the smallest temperature threshold;Wherein, i is positive integer.
Preferably, the current control module 302 further includes:
Third control unit 3023, for when the temperature of the flash lamp drops to i-th of temperature threshold, by the sudden strain of a muscle
The driving current of light lamp reduces first preset step-length, and the light filling electric current of screen is increased second preset step-length, directly
Temperature to the flash lamp reaches in the multiple temperature threshold below the smallest temperature threshold.
The mobile terminal 300 of the embodiment of the present invention, by temperature acquisition module 301 in the flash lamp for detecting mobile terminal
After unlatching, the temperature of the flash lamp is obtained, and when the temperature of the flash lamp is more than preset temperature threshold, trigger current control
The driving current that molding block 302 controls the flash lamp reduces, and the light filling electric current for controlling screen increases.Therefore, of the invention
The mobile terminal 300 of embodiment, mobile terminal flash lamp when the temperature is excessively high, the driving current by reducing flash lamp drops
The temperature of low flash lamp, and the light filling electric current by increasing screen compensates light filling effect, to be driven reducing flash lamp
But light filling effect is not reduced while streaming current, improves the usage experience of user, is efficiently solved by reducing flash lamp
Driving current come reduce flash of light light temperature light filling effect is brought a negative impact the problem of.
Fourth embodiment
Fig. 5 is the structural block diagram of the mobile terminal of another embodiment of the present invention.Specifically, the mobile terminal 500 in Fig. 5
It can be mobile phone, tablet computer, personal digital assistant (Personal Digital Assistant, PDA) or vehicle-mounted computer
Deng.
Mobile terminal 500 in Fig. 5 includes radio frequency (Radio Frequency, RF) circuit 510, memory 520, input
Unit 530, display unit 540, processor 560, voicefrequency circuit 570, WiFi (Wireless Fidelity) module 580 and electricity
Source 590.
Wherein, input unit 530 can be used for receiving the number or character information of user's input, and generation and mobile terminal
The related signal input of 500 user setting and function control.Specifically, in the embodiment of the present invention, which can
To include touch panel 531.Touch panel 531, 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 531 such as finger, stylus), and according to preparatory
The formula of setting drives corresponding attachment device.
Optionally, touch panel 531 may include both touch detecting apparatus and touch controller.Wherein, inspection is touched
The touch orientation of device detection user is surveyed, and detects touch operation bring signal, transmits a signal to touch controller;It touches
Controller receives touch information from touch detecting apparatus, and is converted into contact coordinate, then gives the processor 560, and
The order that processor 560 is sent can be received and executed.Furthermore, it is possible to using resistance-type, condenser type, infrared ray and surface
The multiple types such as sound wave realize touch panel 531.In addition to touch panel 531, input unit 530 can also include that other inputs are set
Standby 532, other input equipments 532 can include but is not limited to physical keyboard, function key (for example press by volume control button, switch
Key etc.), trace ball, mouse, one of operating stick etc. or a variety of.
Wherein, display unit 540 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 500.Display unit 540 may include display panel 541, optionally, can use LCD or organic hair
The forms such as optical diode (Organic Light-Emitting Diode, OLED) configure display panel 541.
It should be noted that touch panel 531 can cover display panel 541, touch display screen is formed, when the touch display screen is examined
After measuring touch operation on it or nearby, processor 860 is sent to determine the type of touch event, is followed by subsequent processing device
560 provide corresponding visual output according to the type of touch event in touch display screen.
Touch display screen includes Application Program Interface viewing area and common control viewing area.The Application Program Interface viewing area
And arrangement mode of the common control viewing area does not limit, can be arranged above and below, left-right situs etc. can distinguish two it is aobvious
Show the arrangement mode in area.The Application Program Interface viewing area is displayed for the interface of application program.Each interface can be with
The interface elements such as the icon comprising at least one application program and/or widget desktop control.The Application Program Interface viewing area
Or the empty interface not comprising any content.This commonly uses control viewing area for showing the higher control of utilization rate, for example,
Application icons such as button, interface number, scroll bar, phone directory icon etc. are set.
Wherein processor 560 is the control centre of mobile terminal 500, utilizes various interfaces and connection whole mobile phone
Various pieces, by running or executing the software program and/or module that are stored in first memory 521, and calling storage
Data in second memory 522 execute the various functions and processing data of mobile terminal 500, thus to mobile terminal 500
Carry out integral monitoring.Optionally, processor 560 may include one or more processing units.
In embodiments of the present invention, after processor 560 detects that the flash lamp of mobile terminal is opened, the flash lamp is obtained
Temperature, and the temperature of the flash lamp be more than preset temperature threshold when, control the flash lamp driving current reduce, and
The light filling electric current for controlling screen increases.
Preferably, processor 560 obtains the temperature of the flash lamp after the flash lamp for detecting mobile terminal is opened
When, it is specifically used for:After detecting that the flash lamp of mobile terminal is opened, according to prefixed time interval, the temperature of the flash lamp is obtained
Degree.
Preferably, mobile terminal 500 further includes multiple temperature sensors 550, then processor 560 is detecting mobile terminal
Flash lamp open after, be specifically used for when obtaining the temperature of the flash lamp according to prefixed time interval:It detects mobile whole
After the flash lamp at end is opened, according to prefixed time interval, the temperature for the flash lamp that multiple temperature sensors 550 detect is obtained
Angle value;By the average value of multiple temperature values, it is determined as the temperature of the flash lamp.
Preferably, processor 560 is specifically used for when the driving current for controlling the flash lamp reduces:It is pre- according to first
If step-length, the driving current staged for controlling the flash lamp reduces;According to the second preset step-length, the light filling of the screen is controlled
Electric current staged increases.
Preferably, the preset temperature threshold includes multiple temperature thresholds, and temperature threshold described in each adjacent two differs
Preset value;Processor 560 is when the driving current staged for according to the first preset step-length, controlling the flash lamp reduces, specifically
For:When the temperature of the flash lamp is increased to i-th of temperature threshold, the driving current of the flash lamp is reduced i the
One preset step-length, until the temperature of the flash lamp reaches in the multiple temperature threshold below the smallest temperature threshold;
Processor 560 is according to the second preset step-length, when controlling the light filling electric current staged increase of the screen, specific use
In:When the temperature of the flash lamp is increased to i-th of temperature threshold, the light filling electric current of screen is increased into i second default step
It is long, until the temperature of the flash lamp reaches in the multiple temperature threshold below the smallest temperature threshold;Wherein, i is positive whole
Number.
Preferably, processor 560 is also used to:It, will be described when the temperature of the flash lamp drops to i-th of temperature threshold
The driving current of flash lamp reduces first preset step-length, and the light filling electric current of screen is increased second preset step-length,
Until the temperature of the flash lamp reaches in the multiple temperature threshold below the smallest temperature threshold.
Mobile terminal 500 can be realized each process that mobile terminal is realized in previous embodiment, to avoid repeating, here
It repeats no more.
The mobile terminal 500 of the embodiment of the present invention being capable of real-time monitoring sudden strain of a muscle after the flash lamp of mobile terminal 500 is opened
Whether the temperature of light lamp is more than preset temperature threshold, and the driving current of flash lamp is reduced when being more than, and increase the benefit of screen
Photoelectric current.Therefore, the embodiment of the present invention, mobile terminal flash lamp when the temperature is excessively high, pass through reduce flash lamp driving
Electric current reduces the temperature of flash lamp, and the light filling electric current by increasing screen compensates light filling effect, thus reducing
Light filling effect is not reduced but while flash lamp driving current, improves the usage experience of user, is efficiently solved and is passed through reduction
The driving current of flash lamp come reduce flash of light light temperature light filling effect is brought a negative impact the problem of.
5th embodiment
Fig. 6 is the structural block diagram of the mobile terminal of another embodiment of the present invention.Specifically, mobile terminal shown in fig. 6
600 include:At least one processor 601, memory 602, at least one network interface 604, other users interface 603.It is mobile
Various components in terminal 600 are coupled by bus system 605.It is understood that bus system 605 is for realizing these groups
Connection communication between part.Bus system 605 further includes power bus, control bus and state in addition to including data/address bus
Signal bus.But for the sake of clear explanation, various buses are all designated as bus system 605 in Fig. 6.
Wherein, user interface 603 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 602 in the embodiment of the present invention can be volatile memory or nonvolatile memory,
It or may include both volatile and non-volatile memories.Wherein, nonvolatile memory can be read-only memory (Read-
Only Memory, ROM), programmable read only memory (Programmable ROM, PROM), the read-only storage of erasable programmable
Device (Erasable PROM, EPROM), electrically erasable programmable read-only memory (Electrically EPROM, EEPROM) or
Flash memory.Volatile memory can be random access memory (Random Access Memory, RAM), be used as external high
Speed caching.By exemplary but be not restricted explanation, the RAM of many forms is available, such as static random access memory
(Static RAM, SRAM), dynamic random access memory (Dynamic RAM, DRAM), Synchronous Dynamic Random Access Memory
(Synchronous DRAM, SDRAM), double data speed synchronous dynamic RAM (Double Data Rate
SDRAM, DDRSDRAM), enhanced Synchronous Dynamic Random Access Memory (Enhanced SDRAM, ESDRAM), synchronized links
Dynamic random access memory (Synchlink DRAM, SLDRAM) and direct rambus random access memory (Direct
Rambus RAM, DRRAM).The memory 602 of the system and method for description of the embodiment of the present invention is intended to include but is not limited to these
With the memory of any other suitable type.
In some embodiments, memory 602 stores following element, executable modules or data structures, or
Their subset of person or their superset:Operating system 6021 and application program 6022.
Wherein, operating system 6021 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 6022 includes various application programs, such as media
Player (Media Player), browser (Browser) etc., for realizing various applied business.Realize the embodiment of the present invention
The program of method may be embodied in application program 6022.
In embodiments of the present invention, by the program or instruction of calling memory 602 to store, specifically, can be application
The program or instruction stored in program 6022.
In embodiments of the present invention, after processor 601 detects that the flash lamp of mobile terminal is opened, the flash lamp is obtained
Temperature, and the temperature of the flash lamp be more than preset temperature threshold when, control the flash lamp driving current reduce, and
The light filling electric current for controlling screen increases.
The method that the embodiments of the present invention disclose can be applied in processor 601, or be realized by processor 601.
Processor 601 may be a kind of IC chip, the processing capacity with signal.During realization, the above method it is each
Step can be completed by the integrated logic circuit of the hardware in processor 601 or the instruction of software form.Above-mentioned processing
Device 601 can be general processor, digital signal processor (Digital Signal Processor, DSP), dedicated integrated electricity
Road (Application Specific Integrated Circuit, ASIC), field 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 602, processor 601 reads the information in memory 602, completes the above method in conjunction with its hardware.
It is understood that the embodiment of the present invention description these embodiments can with hardware, software, firmware, middleware,
Microcode or combinations thereof is realized.For hardware realization, processing unit be may be implemented in one or more specific integrated circuits
(Application Specific Integrated Circuit, ASIC), digital signal processor (Digital Signal
Processor, 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 place
It manages in device, controller, microcontroller, microprocessor, other electronic units for executing the application function or combinations thereof.
For software implementations, it can be realized by executing the module (such as process, function etc.) of function of the embodiment of the present invention
The technology of the embodiment of the present invention.Software code is storable in memory and is executed by processor.Memory can handled
Portion realizes in device or outside the processor.
Preferably, processor 601 obtains the temperature of the flash lamp after the flash lamp for detecting mobile terminal is opened
When, it is specifically used for:After detecting that the flash lamp of mobile terminal is opened, according to prefixed time interval, the temperature of the flash lamp is obtained
Degree.
Preferably, mobile terminal 600 further includes multiple temperature sensors 606, then processor 601 is detecting mobile terminal
Flash lamp open after, be specifically used for when obtaining the temperature of the flash lamp according to prefixed time interval:It detects mobile whole
After the flash lamp at end is opened, according to prefixed time interval, the temperature for the flash lamp that multiple temperature sensors 606 detect is obtained
Angle value;By the average value of multiple temperature values, it is determined as the temperature of the flash lamp.
Preferably, processor 601 is specifically used for when the driving current for controlling the flash lamp reduces:It is pre- according to first
If step-length, the driving current staged for controlling the flash lamp reduces;According to the second preset step-length, the light filling of the screen is controlled
Electric current staged increases.
Preferably, the preset temperature threshold includes multiple temperature thresholds, and temperature threshold described in each adjacent two differs
Preset value;Processor 601 is when the driving current staged for according to the first preset step-length, controlling the flash lamp reduces, specifically
For:When the temperature of the flash lamp is increased to i-th of temperature threshold, the driving current of the flash lamp is reduced i the
One preset step-length, until the temperature of the flash lamp reaches in the multiple temperature threshold below the smallest temperature threshold;
Processor 601 is according to the second preset step-length, when controlling the light filling electric current staged increase of the screen, specific use
In:When the temperature of the flash lamp is increased to i-th of temperature threshold, the light filling electric current of screen is increased into i second default step
It is long, until the temperature of the flash lamp reaches in the multiple temperature threshold below the smallest temperature threshold;Wherein, i is positive whole
Number.
Preferably, processor 601 is also used to:It, will be described when the temperature of the flash lamp drops to i-th of temperature threshold
The driving current of flash lamp reduces first preset step-length, and the light filling electric current of screen is increased second preset step-length,
Until the temperature of the flash lamp reaches in the multiple temperature threshold below the smallest temperature threshold.
Mobile terminal 600 can be realized each process that mobile terminal is realized in previous embodiment, to avoid repeating, here
It repeats no more.
The mobile terminal 600 of the embodiment of the present invention being capable of real-time monitoring sudden strain of a muscle after the flash lamp of mobile terminal 600 is opened
Whether the temperature of light lamp is more than preset temperature threshold, and the driving current of flash lamp is reduced when being more than, and increase the benefit of screen
Photoelectric current.Therefore, the embodiment of the present invention, mobile terminal flash lamp when the temperature is excessively high, pass through reduce flash lamp driving
Electric current reduces the temperature of flash lamp, and the light filling electric current by increasing screen compensates light filling effect, thus reducing
Light filling effect is not reduced but while flash lamp driving current, improves the usage experience of user, is efficiently solved and is passed through reduction
The driving current of flash lamp come reduce flash of light light temperature light filling effect is brought a negative impact the problem of.
Those of ordinary skill in the art may be aware that the embodiment in conjunction with disclosed in the embodiment of the present invention describe it is each
Exemplary unit and algorithm steps can be realized with the combination of electronic hardware or computer software and electronic hardware.These
Function is implemented in hardware or software actually, the specific application and design constraint depending on technical solution.Profession
Technical staff can use different methods to achieve the described function each specific application, but this realization is not answered
Think beyond the scope of this invention.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description,
The specific work process of device and unit, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In embodiment provided herein, it should be understood that disclosed device and method can pass through others
Mode is realized.For example, the apparatus embodiments described above are merely exemplary, for example, the division of the unit, only
A kind of logical function partition, there may be another division manner in actual implementation, for example, multiple units or components can combine or
Person is desirably integrated into another system, or some features can be ignored or not executed.Another point, shown or discussed is mutual
Between coupling, direct-coupling or communication connection can be through some interfaces, the INDIRECT COUPLING or communication link of device or unit
It connects, can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit
The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple
In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme
's.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit
It is that each unit physically exists alone, can also be integrated in one unit with two or more units.
It, can be with if the function is realized in the form of SFU software functional unit and when sold or used as an independent product
It is stored in a computer readable storage medium.Based on this understanding, technical solution of the present invention is substantially in other words
The part of the part that contributes to existing technology or the technical solution can be embodied in the form of software products, the meter
Calculation machine software product is stored in a storage medium, including some instructions are used so that a computer equipment (can be a
People's computer, server or network equipment etc.) it performs all or part of the steps of the method described in the various embodiments of the present invention.
And storage medium above-mentioned includes:USB flash disk, mobile hard disk, ROM, RAM, magnetic or disk etc. are various to can store program code
Medium.
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any
Those familiar with the art in the technical scope disclosed by the present invention, can easily think of the change or the replacement, and should all contain
Lid is within protection scope of the present invention.Therefore, protection scope of the present invention should be subject to the protection scope in claims.