Nothing Special   »   [go: up one dir, main page]

CN106791021B - A kind of control method and mobile terminal of flash lamp - Google Patents

A kind of control method and mobile terminal of flash lamp Download PDF

Info

Publication number
CN106791021B
CN106791021B CN201611082287.2A CN201611082287A CN106791021B CN 106791021 B CN106791021 B CN 106791021B CN 201611082287 A CN201611082287 A CN 201611082287A CN 106791021 B CN106791021 B CN 106791021B
Authority
CN
China
Prior art keywords
flash lamp
temperature
mobile terminal
temperature threshold
light filling
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201611082287.2A
Other languages
Chinese (zh)
Other versions
CN106791021A (en
Inventor
王建永
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Vivo Mobile Communication Co Ltd Beijing Branch
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, Vivo Mobile Communication Co Ltd Beijing Branch filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201611082287.2A priority Critical patent/CN106791021B/en
Publication of CN106791021A publication Critical patent/CN106791021A/en
Application granted granted Critical
Publication of CN106791021B publication Critical patent/CN106791021B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
    • GPHYSICS
    • G03PHOTOGRAPHY; CINEMATOGRAPHY; ANALOGOUS TECHNIQUES USING WAVES OTHER THAN OPTICAL WAVES; ELECTROGRAPHY; HOLOGRAPHY
    • G03BAPPARATUS OR ARRANGEMENTS FOR TAKING PHOTOGRAPHS OR FOR PROJECTING OR VIEWING THEM; APPARATUS OR ARRANGEMENTS EMPLOYING ANALOGOUS TECHNIQUES USING WAVES OTHER THAN OPTICAL WAVES; ACCESSORIES THEREFOR
    • G03B15/00Special procedures for taking photographs; Apparatus therefor
    • G03B15/02Illuminating scene
    • G03B15/03Combinations of cameras with lighting apparatus; Flash units

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Environmental & Geological Engineering (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Circuit Arrangement For Electric Light Sources In General (AREA)

Abstract

The present invention provides a kind of control method of flash lamp and mobile terminal, this method includes:After detecting that the flash lamp of mobile terminal is opened, the temperature of the flash lamp is obtained;When the temperature of the flash lamp is more than preset temperature threshold, the driving current for controlling the flash lamp reduces, and the light filling electric current for controlling screen increases.Therefore, the solution of the present invention, mobile terminal flash lamp when the temperature is excessively high, driving current by reducing flash lamp controls the temperature of flash lamp, and the light filling electric current by increasing screen compensates light filling effect, to not reduce light filling effect but while reducing flash lamp driving current, the driving current by reducing flash lamp is solved the problems, such as to reduce flash of light light temperature and bring a negative impact to light filling effect.

Description

A kind of control method and mobile terminal of flash lamp
Technical field
The present invention relates to terminal control technical field more particularly to the control methods and mobile terminal of a kind of flash lamp.
Background technique
Currently, user is constantly higher and higher to self-timer effect requirements, mobile phone is in design in addition to improving camera pixel Preposition flash lamp is also added simultaneously, preposition flash lamp is opened simultaneously taking pictures and can increase the imaging effect of camera, especially It is that effect promoting is apparent under dark situation.
However, having phone to call in again while opening preposition flash lamp when user is in self-timer, user is connect under this scene Phone can be clearly felt that there is apparent thermal sensation at ear position.General Cell Phone Design can reduce temperature using electric current of flash lamp is reduced Degree, or scheme is matched with flash lamp using photosensitive detection, according to the current environment light intensity de-regulation flash lamp electricity detected Size is flowed, to reach the temperature reduced when opening flash lamp.But above two scheme is all to reduce electric current of flash lamp sacrifice to mend Light effect reaches reduction temperature, so that front camera when the temperature is excessively high, is unable to satisfy the light filling effect of self-timer requirement.
Summary of the invention
The embodiment provides a kind of control method of flash lamp and mobile terminals, to solve to lead in the prior art 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.
In order to solve the above-mentioned technical problem, the present invention adopts the following technical scheme that:
One aspect according to an embodiment of the present invention provides a kind of control method of flash lamp, is applied to mobile terminal, The method includes:
After detecting that the flash lamp of mobile terminal is opened, the temperature of the flash lamp is obtained;
When the temperature of the flash lamp is more than preset temperature threshold, the driving current for controlling the flash lamp reduces, and The light filling electric current for controlling screen increases.
Other side according to an embodiment of the present invention additionally provides a kind of mobile terminal, including:
Temperature acquisition module, for obtaining the temperature of the flash lamp after the flash lamp for detecting mobile terminal is opened;
Current control module, the temperature of the flash lamp for getting in the temperature acquisition module are more than default temperature When spending threshold value, the driving current for controlling the flash lamp reduces, and the light filling electric current for controlling screen increases.
The beneficial effect of the embodiment of the present invention is:
The embodiment of the present invention, mobile terminal flash lamp open after, be capable of real-time monitoring flash lamp temperature whether More than preset temperature threshold, and the driving current of flash lamp is reduced when being more than, and increases the light filling electric current of screen.Therefore, originally The embodiment of invention, mobile terminal flash lamp when the temperature is excessively high, by reduce flash lamp driving current come reduce flash of light The temperature of lamp, and the light filling electric current by increasing screen compensates light filling effect, thus reducing flash lamp driving current While do not reduce light filling effect but, improve the usage experience of user, efficiently solve by reduce flash lamp driving electricity Stream come reduce flash of light light temperature light filling effect is brought a negative impact the problem of.
Detailed description of the invention
In order to illustrate the technical solution of the embodiments of the present invention more clearly, below by institute in the description to the embodiment of the present invention Attached drawing to be used is needed to be briefly described, it should be apparent that, the accompanying drawings in the following description is only some implementations of the invention Example, for those of ordinary skill in the art, without any creative labor, can also be according to these attached drawings Obtain other attached drawings.
Fig. 1 shows the flow charts of the control method of the flash lamp of first embodiment of the invention;
Fig. 2 indicates the flow chart of the control method of the flash lamp of second embodiment of the invention;
One of the structural block diagram of mobile terminal of Fig. 3 expression third embodiment of the invention;
Fig. 4 indicates the two of the structural block diagram of the mobile terminal of third embodiment of the invention;
Fig. 5 indicates the structural block diagram of the mobile terminal of fourth embodiment of the invention;
Fig. 6 indicates the structural block diagram of the mobile terminal of fifth embodiment of the invention.
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.

Claims (10)

1. a kind of control method of flash lamp is applied to mobile terminal, which is characterized in that the method includes:
After detecting that the flash lamp of mobile terminal is opened, the temperature of the flash lamp is obtained;
When the temperature of the flash lamp is more than preset temperature threshold, the driving current for controlling the flash lamp reduces, and controls The light filling electric current of screen increases;
The step of light filling electric current that the driving current of the control flash lamp reduces, and controls screen increases, including:
According to the first preset step-length, the driving current staged for controlling the flash lamp reduces;
According to the second preset step-length, the light filling electric current staged for controlling the screen increases.
2. the control method of flash lamp according to claim 1, which is characterized in that the flash of light for detecting mobile terminal After lamp is opened, the step of obtaining the temperature of the flash lamp, includes:
After detecting that the flash lamp of mobile terminal is opened, according to prefixed time interval, the temperature of the flash lamp is obtained.
3. the control method of flash lamp according to claim 2, which is characterized in that the flash of light for detecting mobile terminal After lamp is opened, according to prefixed time interval, the step of obtaining the temperature of the flash lamp, including:
After detecting that the flash lamp of mobile terminal is opened, according to prefixed time interval, obtain what multiple temperature sensors detected The temperature value of the flash lamp;
By the average value of multiple temperature values, it is determined as the temperature of the flash lamp.
4. the control method of flash lamp according to claim 1, which is characterized in that the preset temperature threshold includes multiple Temperature threshold, and temperature threshold described in each adjacent two differs preset value;
It is described to control the step of driving current staged of the flash lamp reduces according to the first preset step-length, including:
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 first Preset step-length, until the temperature of the flash lamp reaches in the multiple temperature threshold below the smallest temperature threshold;
It is described to control the step of light filling electric current staged of the screen increases according to the second preset step-length, including:
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 integer.
5. the control method of flash lamp according to claim 4, which is characterized in that further include:
When the temperature of the flash lamp drops to i-th of temperature threshold, the driving current of the flash lamp is reduced one the One preset step-length, and the light filling electric current of screen is increased into second preset step-length, until the temperature of the flash lamp reaches institute It states in multiple temperature thresholds below the smallest temperature threshold.
6. a kind of mobile terminal, which is characterized in that including:
Temperature acquisition module, for obtaining the temperature of the flash lamp after the flash lamp for detecting mobile terminal is opened;
Current control module, the temperature of the flash lamp for getting in the temperature acquisition module are more than preset temperature threshold When value, the driving current for controlling the flash lamp reduces, and the light filling electric current for controlling screen increases;
The current control module includes:
First control unit, for according to the first preset step-length, the driving current staged for controlling the flash lamp to reduce;
Second control unit, for according to the second preset step-length, the light filling electric current staged for controlling the screen to increase.
7. mobile terminal according to claim 6, which is characterized in that the temperature acquisition module includes:
Temperature acquiring unit, for after the flash lamp for detecting mobile terminal is opened, according to prefixed time interval, described in acquisition The temperature of flash lamp.
8. mobile terminal according to claim 7, which is characterized in that the temperature acquiring unit includes:
Subelement is obtained, for according to prefixed time interval, obtaining multiple temperature after the flash lamp for detecting mobile terminal is opened The temperature value for the flash lamp that degree sensor detects;
Computation subunit, for being determined as the temperature of the flash lamp for the average value of multiple temperature values.
9. mobile terminal according to claim 6, which is characterized in that the preset temperature threshold includes multiple temperature thresholds Value, and temperature threshold described in each adjacent two differs preset value;
The first control unit is specifically used for:When the temperature of the flash lamp is increased to i-th of temperature threshold, by the sudden strain of a muscle The driving current of light lamp reduces i the first preset step-lengths, until the temperature of the flash lamp reaches in the multiple temperature threshold Below the smallest temperature threshold;
Second control unit is specifically used for:When the temperature of the flash lamp is increased to i-th of temperature threshold, by screen Light filling electric current increases i the second preset step-lengths, until the temperature of the flash lamp reaches the smallest in the multiple temperature threshold Below temperature threshold;
Wherein, i is positive integer.
10. mobile terminal according to claim 9, which is characterized in that the current control module further includes:
Third control unit, for when the temperature of the flash lamp drops to i-th of temperature threshold, by the drive of the flash lamp Streaming current reduces first preset step-length, and the light filling electric current of screen is increased second preset step-length, until the sudden strain of a muscle The temperature of light lamp reaches in the multiple temperature threshold below the smallest temperature threshold.
CN201611082287.2A 2016-11-30 2016-11-30 A kind of control method and mobile terminal of flash lamp Active CN106791021B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611082287.2A CN106791021B (en) 2016-11-30 2016-11-30 A kind of control method and mobile terminal of flash lamp

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611082287.2A CN106791021B (en) 2016-11-30 2016-11-30 A kind of control method and mobile terminal of flash lamp

Publications (2)

Publication Number Publication Date
CN106791021A CN106791021A (en) 2017-05-31
CN106791021B true CN106791021B (en) 2018-11-30

Family

ID=58898338

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611082287.2A Active CN106791021B (en) 2016-11-30 2016-11-30 A kind of control method and mobile terminal of flash lamp

Country Status (1)

Country Link
CN (1) CN106791021B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107277386B (en) * 2017-06-23 2020-01-17 Oppo广东移动通信有限公司 Method for reducing temperature rise, computer readable storage medium and mobile terminal
CN107422818B (en) * 2017-07-06 2020-01-03 Oppo广东移动通信有限公司 Electronic device, temperature rise control method, control device, and storage medium
CN110892323B (en) * 2017-07-21 2021-12-31 亮锐控股有限公司 Method of controlling a segmented flash lamp system
CN108449474A (en) * 2018-02-28 2018-08-24 维沃移动通信有限公司 A kind of control method and mobile terminal of mobile terminal flash lamp
CN110719413B (en) * 2019-11-25 2021-03-19 展讯通信(上海)有限公司 Flash lamp working process control method and device
CN115379615B (en) * 2022-10-20 2023-04-07 荣耀终端有限公司 Electronic equipment and method for controlling brightness of light-emitting device

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3984214B2 (en) * 2003-10-21 2007-10-03 ローム株式会社 Light emission control device
JP5659833B2 (en) * 2011-02-04 2015-01-28 岩崎電気株式会社 Flash discharge lamp lighting device
CN102447888B (en) * 2011-10-28 2014-03-26 江苏物联网研究发展中心 Indoor intelligent video monitoring system based on LED (Light-Emitting Diode) controllable supplementary lighting
CN104660331A (en) * 2013-11-18 2015-05-27 中兴通讯股份有限公司 Information sending, receiving method and device of terminal, and the terminal
CN103607822B (en) * 2013-11-25 2015-08-12 广东欧珀移动通信有限公司 A kind of method of overheat protector of photoflash lamp of terminal and device
CN104483806B (en) * 2014-11-21 2017-06-16 广东欧珀移动通信有限公司 The method and apparatus for facilitating user to autodyne

Also Published As

Publication number Publication date
CN106791021A (en) 2017-05-31

Similar Documents

Publication Publication Date Title
CN106791021B (en) A kind of control method and mobile terminal of flash lamp
CN106131341B (en) A kind of photographic method and mobile terminal
CN107194331B (en) A kind of fingerprint identification method and mobile terminal
CN105847680B (en) A kind of camera power consumption control method and mobile terminal
CN106125984B (en) A kind of the touch-control processing method and mobile terminal of mobile terminal
CN106469011B (en) A kind of information display method and mobile terminal
CN106909289B (en) A kind of operating method and mobile terminal of application controls
KR102160767B1 (en) Mobile terminal and method for detecting a gesture to control functions
EP3246806A1 (en) Electronic device comprising display
CN106657806B (en) A kind of exposure method and mobile terminal
CN106227488B (en) A kind of display methods and mobile terminal of reminder message
US20120162105A1 (en) Information processing device, method of processing information, and computer program storage device
CN106325753B (en) A kind of display methods and mobile terminal of payment interface
CN106210512B (en) A kind of camera switching method and mobile terminal
CN106354303B (en) A kind of photographic method and mobile terminal of mobile terminal
CN106384577B (en) A kind of backlight adjusting method and mobile terminal of display screen
CN106293214B (en) A kind of method and mobile terminal of illumination
CN106454456A (en) Video playing control method and mobile terminal
CN107250969A (en) Screen opening method, device and electronic equipment
CN105893130B (en) A kind of processing method and mobile terminal of application program for mobile terminal
CN106407950A (en) Facial information identification method and mobile terminal
CN103713804A (en) Equipment control method and device and electronic equipment
CN106354374A (en) Icon moving method and mobile terminal
CN110114748A (en) A kind of display processing method and electronic equipment
CN106371693B (en) A kind of method and mobile terminal showing navigation information

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20171107

Address after: 283 No. 523860 Guangdong province Dongguan city Changan town usha BBK Avenue

Applicant after: VIVO MOBILE COMMUNICATION CO., LTD.

Applicant after: Wewo Mobile Communication Co. Ltd. Beijing branch

Address before: 283 No. 523860 Guangdong province Dongguan city Changan town usha BBK Avenue

Applicant before: VIVO MOBILE COMMUNICATION CO., LTD.

GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20200518

Address after: 283 No. 523860 Guangdong province Dongguan city Changan town usha BBK Avenue

Patentee after: VIVO MOBILE COMMUNICATION Co.,Ltd.

Address before: 283 No. 523860 Guangdong province Dongguan city Changan town usha BBK Avenue

Co-patentee before: Wewo Mobile Communication Co. Ltd. Beijing branch

Patentee before: VIVO MOBILE COMMUNICATION Co.,Ltd.