[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

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

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

Info

Publication number
CN108449474A
CN108449474A CN201810166465.2A CN201810166465A CN108449474A CN 108449474 A CN108449474 A CN 108449474A CN 201810166465 A CN201810166465 A CN 201810166465A CN 108449474 A CN108449474 A CN 108449474A
Authority
CN
China
Prior art keywords
flash lamp
value
temperature value
mobile terminal
current value
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201810166465.2A
Other languages
Chinese (zh)
Inventor
余志华
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201810166465.2A priority Critical patent/CN108449474A/en
Publication of CN108449474A publication Critical patent/CN108449474A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/02Constructional features of telephone sets
    • H04M1/22Illumination; Arrangements for improving the visibility of characters on dials
    • 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
    • G03B15/05Combinations of cameras with electronic flash apparatus; Electronic flash units
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/02Constructional features of telephone sets
    • H04M1/0202Portable telephone sets, e.g. cordless phones, mobile phones or bar type handsets
    • H04M1/026Details of the structure or mounting of specific components
    • 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
    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05BELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
    • H05B47/00Circuit arrangements for operating light sources in general, i.e. where the type of light source is not relevant
    • H05B47/10Controlling the light source
    • H05B47/105Controlling the light source in response to determined parameters

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Telephone Function (AREA)

Abstract

The embodiment of the invention discloses a kind of control methods and mobile terminal of mobile terminal flash lamp, it is related to field of communication technology, to solve when Mobile terminal main board temperature value is excessively high, the flash lamp device failure caused by electric current of flash lamp value is larger, the problem of to influence mobile terminal flash lamp lifetime.This method includes:Obtain the temperature value of Mobile terminal main board;According to the temperature value of mainboard, the current value of mobile terminal flash lamp is adjusted;According to the current value of flash lamp, the brightness of flash lamp is controlled.

Description

A kind of control method and mobile terminal of mobile terminal flash lamp
Technical field
The present embodiments relate to the control methods and shifting of field of communication technology more particularly to a kind of mobile terminal flash lamp Dynamic terminal.
Background technology
With the continuous development of terminal technology, the application of mobile terminal is more and more extensive.In general, the flash of light on mobile terminal Lamp can be used as mobile phone flashlight, and mobile phone flashlight function has become one of function important in people's daily life.
Currently, in view of the life problems of demand and flash lamp of the people to brightness, the prior art is according to flash lamp Temperature value controls the current value of flash lamp, under the premise of ensureing flash lamp safety, to improve the brightness of flash lamp.
However, during the use of mobile terminal, the current value of flash lamp is controlled according only to the temperature value of flash lamp It is unreasonable, for example, since mobile terminal backstage has multiple application programs to run at the same time, then will make sometimes mobile whole The mainboard temperature value at end is excessively high, when mainboard temperature value is excessively high, if flash lamp works under high current state of value, will damage sudden strain of a muscle The device of light lamp, to influence the service life of mobile terminal flash lamp.
Invention content
The embodiment of the present invention provides a kind of control method and mobile terminal of mobile terminal flash lamp, to solve when mobile whole When holding mainboard temperature value excessively high, the flash lamp device failure caused by electric current of flash lamp value is larger, to influence mobile terminal The problem of flash lamp lifetime.
In order to solve the above-mentioned technical problem, the invention is realized in this way:
In a first aspect, an embodiment of the present invention provides a kind of flash lamp control method, method includes:
Obtain the temperature value of Mobile terminal main board;
According to the temperature value of mainboard, the current value of mobile terminal flash lamp is adjusted;
According to the current value of flash lamp, the brightness of flash lamp is controlled.
Second aspect, an embodiment of the present invention provides a kind of mobile terminal, mobile terminal includes:Acquisition module adjusts mould Block and drive module;
Acquisition module, the temperature value for obtaining Mobile terminal main board;
Module is adjusted, the temperature value of the mainboard for being obtained according to acquisition module adjusts the electric current of mobile terminal flash lamp Value;
Drive module, the current value of the flash lamp for being adjusted according to adjustment module, controls the brightness of flash lamp.
The third aspect an embodiment of the present invention provides a kind of mobile terminal, including processor, memory and is stored in this and deposits On reservoir and the computer program that can run on the processor, such as first is realized when which is executed by the processor The step of control method of mobile terminal flash lamp in aspect.
Fourth aspect, an embodiment of the present invention provides a kind of computer readable storage medium, the computer-readable storage mediums Computer program is stored in matter, is realized such as the mobile terminal flash lamp in first aspect when which is executed by processor Control method the step of.
In embodiments of the present invention, the temperature value of Mobile terminal main board is obtained;According to the temperature value of mainboard, adjust mobile whole Hold the current value of flash lamp;According to the current value of flash lamp, the brightness of flash lamp is controlled.With this solution, it can realize as master When plate temperature value is excessively high, the current value of flash lamp can be adjusted, and according to the current value after adjustment, control the brightness of flash lamp, So as to solve when mainboard temperature value is excessively high, the flash lamp device failure caused by electric current of flash lamp value is larger, in turn The problem of influencing mobile whole flash lamp lifetime.
Description of the drawings
Fig. 1 is one of the flow chart of control method of mobile terminal flash lamp provided in an embodiment of the present invention;
Fig. 2 is the two of the flow chart of the control method of mobile terminal flash lamp provided in an embodiment of the present invention;
Fig. 3 is the three of the flow chart of the control method of mobile terminal flash lamp provided in an embodiment of the present invention;
Fig. 4 is the four of the flow chart of the control method of mobile terminal flash lamp provided in an embodiment of the present invention;
Fig. 5 is the five of the flow chart of the control method of mobile terminal flash lamp provided in an embodiment of the present invention;
Fig. 6 is the six of the flow chart of the control method of mobile terminal flash lamp provided in an embodiment of the present invention;
Fig. 7 is the seven of the flow chart of the control method of mobile terminal flash lamp provided in an embodiment of the present invention;
Fig. 8 is the schematic diagram in the fingerprint collecting region division region provided in an embodiment of the present invention to mobile terminal;
Fig. 9 is the eight of the flow chart of the control method of mobile terminal flash lamp provided in an embodiment of the present invention;
Figure 10 is the structural schematic diagram of mobile terminal provided in an embodiment of the present invention;
Figure 11 is the hardware schematic of mobile terminal provided in an embodiment of the present invention.
Specific implementation mode
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 describes, 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, the every other implementation that those of ordinary skill in the art are obtained without creative efforts Example, shall fall within the protection scope of the present invention.
Term " first ", " second ", " third " and " the 4th " in description and claims of this specification etc. is to use In the different object of difference, rather than for the particular order of description object.For example, the first input, the second input, third input It is the particular order for distinguishing different inputs, rather than for describe to input with the 4th input etc..
In embodiments of the present invention, " illustrative " or " such as " etc. words for indicate make example, illustration or explanation.This Be described as in inventive embodiments " illustrative " or " such as " any embodiment or design scheme be not necessarily to be construed as comparing Other embodiments or design scheme more preferably or more advantage.Specifically, use " illustrative " or " such as " etc. words purport Related notion is being presented in specific ways.
In the description of the embodiment of the present invention, unless otherwise indicated, the meaning of " plurality " is refer to two or more, For example, multiple processing units refer to two or more processing unit;Multiple element refers to two or more Element etc..
The embodiment of the present invention provides a kind of control method of mobile terminal flash lamp, obtains the temperature of Mobile terminal main board Value;According to the temperature value of mainboard, the current value of mobile terminal flash lamp is adjusted;According to the current value of flash lamp, flash lamp is controlled Brightness.With this solution, it can realize when mainboard temperature value is excessively high, the current value of flash lamp can be adjusted, and according to tune After whole current value control flash lamp brightness, so as to solve when mainboard temperature value is excessively high, because electric current of flash lamp value compared with Flash lamp device failure caused by big, and then the problem of influence mobile terminal flash lamp lifetime.
Mobile terminal in the embodiment of the present invention can be mobile phone, tablet computer, laptop, the palm with flash lamp Upper computer, car-mounted terminal, wearable device, Ultra-Mobile PC (ultra-mobilepersonal computer, UMPC), net book or personal digital assistant (personal digital assistant, PDA) etc., the embodiment of the present invention is not Make specific limit.
The executive agent of the control method of flash lamp provided in an embodiment of the present invention can be above-mentioned mobile terminal, also may be used The function module and/or functional entity of the control method can be realized by thinking in the mobile terminal, specifically can be according to reality Use demand determines that the embodiment of the present invention is not construed as limiting.Below by taking mobile terminal as an example, to flash of light provided in an embodiment of the present invention The control method of lamp is illustratively illustrated.
Refering to what is shown in Fig. 1, an embodiment of the present invention provides a kind of control method of mobile terminal flash lamp, this method can be with Including following step 101- steps 103.
The temperature value of step 101, acquisition for mobile terminal Mobile terminal main board.
Illustratively, mobile terminal measures the temperature value of the mainboard by the temperature sensor near Mobile terminal main board. Temperature sensor can be that (Negative Temperature Coefficient, abbreviation NTC refer to subzero temperature to negative temperature coefficient Spend the prodigious semi-conducting material of coefficient or component) temperature sensor.Can also be other temperature sensors, it specifically can root Factually border use demand determines, the embodiment of the present invention is not construed as limiting.The concrete operating principle of NTC temperature sensors can refer to existing Some the relevant technologies, it will not be described here.Skilled person will appreciate that the embodiment of the present invention can also be surveyed using other methods The temperature value for obtaining the mainboard, specifically refers to existing the relevant technologies, it will not go into details for the embodiment of the present invention.
Step 102, the temperature value according to mainboard, mobile terminal adjust the current value of mobile terminal flash lamp.
Mobile terminal can adjust the current value of flash lamp according to the temperature value of the mainboard of step 101 acquisition, to It, can be in the premise for ensureing not damage flash element when using brightness of the current value of the flash lamp to control flash lamp Under, keep the brightness of flash lamp maximum or meets the needs of users.
Specifically, in conjunction with Fig. 1, as shown in Fig. 2, above-mentioned steps 102 may include following step 1021- steps 1023.
Step 1021 (optional), mobile terminal compare the size of the temperature value and the first predetermined threshold value of the mainboard.
First predetermined threshold value is that those skilled in the art are set according to actual conditions, and usual value range is 30 DEG C -40 DEG C, the embodiment of the present invention is not construed as limiting.Illustratively, the first predetermined threshold value can be 35 DEG C, compare the temperature value and 35 of mainboard DEG C size.
If the temperature value of the mainboard is more than the first predetermined threshold value, 1022 are thened follow the steps, if the temperature value of the mainboard is less than Or it is equal to the first predetermined threshold value, then follow the steps 1023.
If the temperature value of step 1022, mainboard is more than the first predetermined threshold value, mobile terminal is by the current value tune of flash lamp Whole is the first pre-set current value.
First pre-set current value is that those skilled in the art are set according to actual conditions, and usual value range is 40mA- 60mA, the embodiment of the present invention do not limit.Certainly, the first pre-set current value can also be 0, that is to say, that not allow to glisten at this time Lamp shines.
Illustratively, above-mentioned example is accepted, the first pre-set current value can be 40mA, if the temperature value of mainboard is more than 35 DEG C, then the current value of flash lamp is adjusted to 40mA.
If the temperature value of step 1023, mainboard is less than or equal to the first predetermined threshold value, mobile terminal is according to mobile terminal At least one of the temperature value of battery, the temperature value of flash lamp and information input by user adjust the current value of flash lamp.
It should be noted that:In the embodiment of the present invention, the case where for " being equal to ", any in two kinds of selections can be executed Kind, any selection can not also be executed.Illustratively, when step 1021 judges that the temperature value for obtaining mainboard is equal to the first default threshold When value, step 1022 can be executed, step 1023 can also be executed, can also not executed, original state is kept.
Information input by user can be fingerprinting operation information input by user, can also be flash lamp input by user The increment value or decreasing value of current value or the current value of flash lamp input by user can also be user on a display screen default The slide information etc. of region input, the embodiment of the present invention is not construed as limiting.
Illustratively, above-mentioned example is accepted, if the temperature value of mainboard is more than 35 DEG C, mobile terminal is according to mobile terminal electricity At least one of the temperature value in pond, the temperature value of flash lamp and information input by user adjust the current value of flash lamp.
By step 1021- steps 1023 according to the temperature value of mainboard, the scheme of electric current of flash lamp value is adjusted, it can be to avoid The problem of causing flash element to be damaged because mainboard temperature value is excessively high, and then influencing flash lamp lifetime.
When user is taken pictures or is illuminated using the flash lamp of mobile terminal in the environment of compared with low temperature, such as outside severe winter room When using flash lamp illumination under environment, the ambient temperature value residing for mobile terminal is very low at this time, and the temperature value of battery is also just very low, If the current value of flash lamp to be transferred to the maximum current value of its permission, the temperature value of flash lamp will not be very high, but by Internal resistance may become larger when battery is in low temperature, then increase flash lamp current value then may result in mobile phone electricity it is quick under Drop and it is abnormal shut down, or cause this problem of the shutdown suddenly of the battery of low battery state can not illuminate, and then influence User experience.
Illustratively, in conjunction with Fig. 2, as shown in figure 3, step 1023 can specifically pass through following step 1023a- 1023d is realized.
Step 1023a, the temperature value of acquisition for mobile terminal battery.
The method that mobile terminal obtains the temperature value of the battery can refer to mobile terminal in step 101 and obtain the mainboard The description of the method for temperature value, details are not described herein again.But mobile terminal obtains the method and mobile terminal of the temperature value of the battery The method for obtaining the temperature value of the mainboard can be identical, can not also be identical, is set with specific reference to actual conditions, and the present invention is implemented Example is not construed as limiting.
Step 1023b (optional), mobile terminal compare the size of the temperature value and the second predetermined threshold value of the battery.
Wherein, the second predetermined threshold value is less than or equal to the first predetermined threshold value.Second predetermined threshold value is those skilled in the art It is set according to actual conditions, usual value range is -5 DEG C -5 DEG C, and the embodiment of the present invention is not construed as limiting.Illustratively, first Predetermined threshold value can be 5 DEG C, the temperature value of comparative cell and 5 DEG C of size.
If the temperature value of battery is less than the second predetermined threshold value, 1023c is thened follow the steps, if the temperature value of battery is more than or waits In the second predetermined threshold value, 1023d is thened follow the steps.
It should be noted that:The temperature value of battery can usually reflect the ambient temperature value residing for mobile terminal.User makes When with mobile terminal, the circuit module on mainboard can consume current value and generate heat so that mainboard temperature value increases.Therefore mobile The temperature value of terminal mainboard will be generally greater than or equal to the temperature value of battery.Thus skilled person will appreciate that, if the temperature of mainboard Angle value is less than or equal to the first predetermined threshold value, then the temperature value of battery is also centainly less than or equal to the first predetermined threshold value;If battery Temperature value be greater than or equal to the second predetermined threshold value, then the temperature value of mainboard also greater than or be equal to the second predetermined threshold value.
If step 1023c, the temperature value of battery is less than the second predetermined threshold value, mobile terminal is by the current value tune of flash lamp Whole is the second pre-set current value.
Second pre-set current value can be identical with the first predetermined threshold value, can not also be identical, and the embodiment of the present invention does not limit It is fixed.Second pre-set current value is that those skilled in the art are set according to actual conditions, and usual value range is 60mA-80mA, The embodiment of the present invention does not limit.Certainly, the second pre-set current value can also be 0, that is to say, that not allow flash lamp to send out at this time Light.
Illustratively, above-mentioned example is accepted, the second pre-set current value can be 60mA, if the temperature value of mainboard is less than or waits In 35 DEG C, and the temperature value of battery is less than 5 DEG C, then the current value of flash lamp is adjusted to 60mA.
If step 1023d, the temperature value of battery is greater than or equal to the second predetermined threshold value, mobile terminal is increased with the first step-length The current value of big flash lamp.
First step-length is that those skilled in the art are set according to actual conditions, and usual value range is 5mA-20mA, this Inventive embodiments do not limit.
It should be noted that:The step of step is a dynamic, whenever the temperature value of mainboard is less than or equal to first in advance If threshold value, and the temperature value of battery be greater than or equal to the second predetermined threshold value when, then the step is executed, until the current value of flash lamp Reach the maximum current value of its permission.The maximum current value that flash lamp allows is according to factory settings such as the materials of flash lamp.
Illustratively, the first step-length can be 5mA, then above-mentioned example is accepted, if the temperature value of mainboard is less than or equal to 35 DEG C, and the temperature value of battery is greater than or equal to 5 DEG C, then mobile terminal increases the current value of flash lamp with a length of 5mA of the first step.
By step 1023a- steps 1023d in the case where the temperature value of mainboard is less than or equal to the first predetermined threshold value, The scheme of electric current of flash lamp value is adjusted according to the temperature value of battery, it can be to avoid in the case where battery temperature value be too low, because dodging The current value of light lamp is larger and the problem of lead to battery capacity rapid decrease and shut down suddenly, and then improve user experience.
Flash lamp may be because working long hours, and current value is excessive etc. causes its temperature value excessively high.If in flash of light light temperature Be worth it is excessively high in the case of, still make the current value of flash lamp larger, then may be damaged the element of flash lamp, or even damage flash of light Lamp, and then influence the service life of flash lamp.
Illustratively, in conjunction with Fig. 2, as shown in figure 4, step 1023 can specifically pass through following step 1023e- 1023h is realized.
Step 1023e, the temperature value of acquisition for mobile terminal flash lamp.
The method that mobile terminal obtains the temperature value of the flash lamp can refer to mobile terminal in step 101 and obtain the mainboard Temperature value method description, details are not described herein again.But mobile terminal obtains method and the movement of the temperature value of the flash lamp The method that terminal obtains the temperature value of the mainboard can be identical, can not also be identical, is set with specific reference to actual conditions, the present invention Embodiment is not construed as limiting.
Step 1023f (optional), mobile terminal compare the temperature value of the flash lamp and the size of third predetermined threshold value.
Third predetermined threshold value is that those skilled in the art are set according to actual conditions, the third of different types of flash lamp Predetermined threshold value is different, and the embodiment of the present invention is not construed as limiting.Illustratively, third predetermined threshold value can be 50 DEG C, compare flash lamp Temperature value and 50 DEG C of size.
If the temperature value of the flash lamp is greater than or equal to third predetermined threshold value, 1023g is thened follow the steps, if the flash lamp Temperature value is less than in third predetermined threshold value, thens follow the steps 1023h.
If step 1023g, the temperature value of flash lamp is greater than or equal to third predetermined threshold value, mobile terminal is with the second step-length Reduce the current value of flash lamp.
Second step-length is that those skilled in the art are set according to actual conditions, and usual value range is 5mA-20mA, this Inventive embodiments do not limit.Second step-length can be identical with the first step-length, can not also be identical, particularly according to practical feelings Condition setting, the embodiment of the present invention is not construed as limiting.
It should be noted that:The step of step is a dynamic, whenever the temperature value of mainboard is less than or equal to first in advance If threshold value, and the temperature value of flash lamp be greater than or equal to third predetermined threshold value when, then the step is executed, until the electric current of flash lamp Value reaches the minimum current value of its permission.The minimum current value that flash lamp allows is according to factory settings such as the materials of flash lamp 's.
Illustratively, the second step-length can be 8mA, then above-mentioned example is accepted, if the temperature value of mainboard is less than or equal to 35 DEG C, and when the temperature value of flash lamp is greater than or equal to 50 DEG C, then mobile terminal reduces the electricity of flash lamp with a length of 8mA of second step Flow valuve.
If step 1023h, the temperature value of flash lamp is less than third predetermined threshold value, mobile terminal is dodged with the increase of third step-length The current value of light lamp.
Third step-length is that those skilled in the art are set according to actual conditions, and usual value range is 5mA-20mA, this Inventive embodiments do not limit.Third step-length and the first step-length, the second step-length can be identical, can not also be identical, particularly It is set according to actual conditions, the embodiment of the present invention is not construed as limiting.
It should be noted that:The step of step is a dynamic, whenever the temperature value of mainboard is less than or equal to first in advance If threshold value, and the temperature value of flash lamp be less than third predetermined threshold value when, then the step is executed, until the current value of flash lamp reaches Its maximum current value allowed.The maximum current value that flash lamp allows is according to factory settings such as the materials of flash lamp.
Illustratively, third step-length can be 6mA, then above-mentioned example is accepted, if the temperature value of mainboard is less than or equal to 35 DEG C, and when the temperature value of flash lamp is less than 50 DEG C, then mobile terminal increases the current value of flash lamp with a length of 6mA of second step.
By step 1023e- steps 1023h in the case where the temperature value of mainboard is less than or equal to the first predetermined threshold value, The scheme of electric current of flash lamp value is adjusted according to the temperature value of flash lamp, can to avoid in the case where flash lamp temperature value is excessively high, The problem of damaging the element of flash lamp caused by the current value of flash lamp is larger, and then influencing flash lamp lifetime.
Illustratively, in conjunction with Fig. 2, as shown in figure 5, step 1023 can specifically pass through following step 1023i- 1023o is realized.
Step 1023i, the temperature value of acquisition for mobile terminal battery.
The description of step 1023a can be specifically referred to, details are not described herein again.
Step 1023j (optional), mobile terminal compare the size of the temperature value and the second predetermined threshold value of the battery.
The description of step 1023b can be specifically referred to, details are not described herein again.
If step 1023k, the temperature value of battery is less than the second predetermined threshold value, mobile terminal is by the current value tune of flash lamp Whole is the second pre-set current value.
The description of step 1023c can be specifically referred to, details are not described herein again.
If step 1023l, the temperature value of battery is greater than or equal to the second predetermined threshold value, acquisition for mobile terminal flash lamp Temperature value.
If specifically, the temperature value of mainboard is less than or equal to the first predetermined threshold value, and the temperature value of battery is greater than or equal to Second predetermined threshold value, the then temperature value of acquisition for mobile terminal flash lamp.The description of the specific temperature value for obtaining flash lamp can be with With reference to the description of step 1023e, details are not described herein again.
Step 1023m (optional), mobile terminal compare the temperature value of the flash lamp and the size of third predetermined threshold value.
The description of step 1023f can be specifically referred to, details are not described herein again.
If step 1023n, the temperature value of flash lamp is greater than or equal to third predetermined threshold value, mobile terminal is with the second step-length Reduce the current value of flash lamp.
It is default that even the temperature value of mainboard is less than or equal to the first predetermined threshold value, the temperature value of battery is greater than or equal to second Threshold value, and the temperature value of flash lamp is greater than or equal to third predetermined threshold value, then mobile terminal reduces flash lamp with the second step-length Current value.The description of step 1023g can be specifically referred to, details are not described herein again.
If step 1023o, the temperature value of flash lamp is less than third predetermined threshold value, mobile terminal is dodged with the increase of third step-length The current value of light lamp.
It is default that even the temperature value of mainboard is less than or equal to the first predetermined threshold value, the temperature value of battery is greater than or equal to second Threshold value, and the temperature value of flash lamp is less than third predetermined threshold value, then mobile terminal increases the current value of flash lamp with third step-length. The description of step 1023h can be specifically referred to, details are not described herein again.
Through the above steps 1023i-1023o the temperature value of mainboard be less than or equal to the first predetermined threshold value in the case of, The scheme that electric current of flash lamp value is adjusted according to the temperature value of the temperature value of battery and flash lamp, both can be to avoid in battery temperature Be worth it is too low in the case of, because the current value of flash lamp is larger lead to battery capacity rapid decrease and the problem of shut down suddenly, again The member of flash lamp can be damaged caused by the current value of flash lamp is larger to avoid in the case where flash lamp temperature value is excessively high Part, and then the problem of influence flash lamp lifetime.
With the development of mobile terminal, requirement of the user to mobile terminal is also higher and higher, and user is not intended merely to make It is illuminated with flash lamp, it is also desirable to which the brightness of flash lamp can be adjusted according to demand.For example, when walking under dark surrounds, use Wish that flash lamp can shine brighter in family;When dormitory is read a book, not influence other people, user wishes the brightness of flash lamp It is more slightly lower.Therefore needs are adjusted according to user demand to the current value of flash lamp.But temperature value, the mobile terminal of flash lamp Mainboard temperature value, temperature value of battery etc. can all influence the current value of flash lamp.
Illustratively, in conjunction with Fig. 2, as shown in fig. 6, step 1023 can specifically pass through following step 1023p- 1023s is realized.
Step 1023p, the temperature value of acquisition for mobile terminal battery of mobile terminal, the temperature value of flash lamp and user's input Fingerprinting operation information, fingerprinting operation information includes fingerprint feature information and fingerprinting operation directional information.
Wherein, the method for the temperature value of the temperature value of acquisition for mobile terminal battery and acquisition flash lamp can refer to above-mentioned The description of step 1023a and 1023e.
Acquisition for mobile terminal fingerprinting operation information input by user can be specifically when user wants to adjust the bright of flash lamp When spending, user touches the fingerprint collecting region on mobile terminal, and mobile terminal acquires the fingerprint of user by finger print acquisition module Operation information.The operation principle of specific finger print acquisition module can refer to existing the relevant technologies, and it will not go into details herein.
The fingerprinting operation information includes fingerprint feature information and fingerprinting operation directional information, fingerprint feature information be used for it is pre- If fingerprint feature information matched so that mobile terminal will not because user miss fingertip line pickup area due to de-regulation flash lamp Current value.Fingerprint feature information can be illustratively N (N is positive integer) a fingerprint characteristic point data, can also be that (M is M Positive integer) a fingerprint characteristic region data, can also be other characteristic information datas, the embodiment of the present invention is not construed as limiting. Fingerprinting operation directional information judges that user is intended to increase the current value of flash lamp for mobile terminal, is also intended to reduce flash lamp Current value.Fingerprinting operation directional information can be illustratively fingerprinting operation direction or basipetal fingerprint behaviour from lower to upper Make direction, fingerprinting operation direction from lower to upper is used to refer to increase the current value of flash lamp, basipetal fingerprinting operation side To the current value for being used to refer to reduction flash lamp, it can also be the fingerprinting operation direction turned left by the right side or grasped by fingerprint from left to right Make direction, the fingerprinting operation direction turned left by the right side is used to refer to increase the current value of flash lamp, by fingerprinting operation side from left to right Can also be other rational fingerprinting operation directions, the embodiment of the present invention is not to the current value for being used to refer to reduction flash lamp It is construed as limiting.
Step 1023q (optional), mobile terminal judge whether fingerprint feature information meets preset fingerprint characteristic information, and Whether the temperature value of battery is more than the second predetermined threshold value and whether the temperature value of flash lamp is less than third predetermined threshold value.
Preset fingerprint characteristic information is the advance typing of user and the fingerprint feature information of preservation in the terminal.It is exemplary , user carries out the typing of finger print in fingerprint collecting region, and after the fingerprint typing for completing a finger, mobile terminal carries Whether show user's fingerprint for the adjusting to brightness of flash lamp, after mobile terminal receives the "Yes" of user's selection, extraction is simultaneously Preserve the fingerprint feature information of the fingerprint.
How to judge that fingerprint feature information meets preset fingerprint characteristic information, illustratively, a default ratio can be set Example, and fingerprint feature information is N number of fingerprint characteristic point data, then when in fingerprint feature information fingerprint characteristic point data with it is pre- If the identical fingerprint characteristic point data accounted in total preset fingerprint characteristic information of fingerprint characteristic point data in fingerprint feature information Ratio when being greater than or equal to preset ratio, then may determine that obtain fingerprint feature information and meet preset fingerprint characteristic information, it is no It does not meet then.
Second predetermined threshold value can refer to the description of above-mentioned steps 1023b and 1023f with third predetermined threshold value, herein no longer It repeats.
Meet preset fingerprint characteristic information in fingerprint feature information, and the temperature value of battery is more than the second predetermined threshold value, with And in the case that the temperature value of flash lamp is less than third predetermined threshold value, step 1023r is executed, it is no to then follow the steps 1023s.
Step 1023r, mobile terminal adjusts the current value of flash lamp according to fingerprinting operation directional information.
Specifically, refering to what is shown in Fig. 7, mobile terminal can obtain fingerprinting operation direction letter with 201-203 as steps described below Breath.
Step 201, by the fingerprint collecting region of mobile terminal from top to bottom successively divide Q region, be followed successively by first to The regions Q.
Wherein, Q is the integer more than or equal to 2.
Exemplary, the fingerprint collecting region of mobile terminal is in turn divided into first area, second by Q=3 from top to bottom Region and third region.By the shape in fingerprint collecting region be it is rectangular for illustrate.The fingerprint collecting region division is illustrated Figure can refer to shown in Fig. 8.
It should be noted that:The step is to be directed to upper and lower fingerprinting operation, if it is the fingerprinting operation of left and right, be can refer to It states step and fingerprint collecting region is in turn divided into Q (Q is more than or equal to 2 integer) a region from left to right.
If step 202, finger print acquisition module detect that user refers in the first of fingerprint collecting region to the regions Q successively When the same position of line, then judge fingerprinting operation directional information for slide downward from top to bottom.
If step 203, finger print acquisition module detect that user refers in the Q to first area in fingerprint collecting region successively When the same position of line, then judge fingerprinting operation directional information for upward sliding from bottom to top.
It should be noted that:Fingerprinting operation directional information, example can also be obtained in the embodiment of the present invention with other methods Such as existing method in the related technology, it will not be described here.
Mobile terminal determines the current value for increasing or reducing flash lamp according to fingerprinting operation directional information, further according to default Electric current adjusted value, be calculated adjustment after flash lamp current value.Wherein preset electric current adjusted value people in the art Member may be set according to actual conditions, and the embodiment of the present invention is not construed as limiting.
Step 1023s, mobile terminal prompt does not allow the current value for adjusting flash lamp.
When fingerprint feature information meets preset fingerprint characteristic information, the temperature value of battery is more than the second predetermined threshold value, and When the temperature value of flash lamp is less than that at least one condition is unsatisfactory in third predetermined threshold value these three conditions, mobile terminal then carries Show the current value for not allowing to adjust flash lamp, the specific can be that mobile terminal shows " non-adjustable " on a display screen, it is mobile whole End can also show that other indicate that nonadjustable signal language, the embodiment of the present invention are not construed as limiting on a display screen.
Illustratively, in conjunction with Fig. 6, if as shown in figure 9, the fingerprinting operation information that step 1023p is obtained further includes fingerprint behaviour Make velocity information, then step 1023 can specifically be realized by following step 1023t-1023w.
Step 1023t, the temperature value of acquisition for mobile terminal battery of mobile terminal, the temperature value of flash lamp and user's input Fingerprinting operation information, fingerprinting operation information include fingerprint feature information, fingerprinting operation directional information and fingerprinting operation speed letter Breath.
Fingerprinting operation velocity information is used to indicate the adjusted value of current electric current of flash lamp value.Fingerprinting operation speed is fast, corresponding Current value adjusted value is big, and fingerprinting operation speed is slow, and corresponding current value adjusted value is small.It is a that S (S is positive integer) can specifically be preset Fingerprinting operation speed interval, each fingerprinting operation speed interval correspond to a preset adjusted value.Illustratively, mobile terminal is examined The fingerprinting operation of user is measured, then which preset fingerprinting operation speed is the secondary fingerprinting operation speed detected belong to Section, then the corresponding default adjusted value of the preset fingerprinting operation speed interval is the current value adjusted value of the secondary operation.
Others can refer to the description of above-mentioned steps 1023p, and details are not described herein.
Step 1023u (optional), mobile terminal judge that fingerprint feature information meets preset fingerprint characteristic information, and battery Temperature value be more than the temperature value of the second predetermined threshold value and flash lamp and be less than third predetermined threshold value.
Mobile terminal meets preset fingerprint characteristic information in fingerprint feature information, and the temperature value of battery is more than second and presets In the case that the temperature value of threshold value and flash lamp is less than third predetermined threshold value, step 1023u is executed, it is no to then follow the steps 1023s。
The description of above-mentioned steps 1023q can be specifically referred to, details are not described herein.
1023v, mobile terminal adjust the electric current of flash lamp according to fingerprinting operation directional information and fingerprinting operation velocity information Value.
Specifically, according to fingerprinting operation directional information, the current value for increasing or reducing flash lamp is determined.It can refer to above-mentioned Step 1023r obtains the description of fingerprinting operation directional information, and details are not described herein again.
Specifically, according to fingerprinting operation velocity information, the adjusted value of the current value of flash lamp is obtained.It can be used by detecting The same position of family fingerprint slip over successively first to the regions Q time, the fingerprinting operation velocity information is calculated.To root The adjusted value of the current value of preset flash lamp is obtained according to the fingerprinting operation velocity information.It should be noted that:The present invention is implemented Fingerprinting operation velocity information, such as existing method in the related technology can also be obtained with other methods in example, refused herein It repeats.
According to the adjusted value of the current value for the current value and flash lamp for increasing or reducing flash lamp, the electric current of flash lamp is adjusted Value.Specifically, electric current of the mobile terminal according to the current value for increasing or reducing flash lamp of above-mentioned determination and the flash lamp of acquisition The current value of the flash lamp after adjustment is calculated in the adjusted value of value.
Step 1023w, mobile terminal prompt does not allow the current value for adjusting flash lamp.
The description of above-mentioned steps 1023s can be specifically referred to, details are not described herein.
Temperature value, electricity of the scheme of 1023p-1023h or 1023t-1023w in the mainboard of mobile terminal through the above steps Under the premise of the temperature value in pond and the temperature value of flash lamp meet preset condition, it may be implemented to adjust sudden strain of a muscle according to the demand of user The current value of light lamp, meets user demand.The easy to operate excellent of mobile terminal fingerprint function is taken full advantage of simultaneously Point, and using fingerprint replace that touch screen is adjusted or button (+, -) adjusts, it can be achieved that the Cell Phone Design without button, and then promoted The appearance design of mobile phone and water resistance.
It should be noted that:The scheme of the current value of the above-mentioned adjustment flash lamp provided according to embodiments of the present invention, ability Field technique personnel also easily expect according to the scheme of the current value of information input by user adjustment flash lamp or according to mobile whole The scheme of the current value of the temperature value of end-cell and information input by user adjustment flash lamp or according to the temperature value of flash lamp and The scheme of the current value of information adjustment flash lamp input by user, it will not go into details for the specific embodiment of the present invention.
Step 103, mobile terminal control the brightness of flash lamp according to the current value of flash lamp.
Mobile terminal adjusted according to step 102 after flash lamp current value, control the brightness of flash lamp, specifically can be with With reference to existing the relevant technologies, it will not go into details herein.
An embodiment of the present invention provides a kind of control methods of mobile terminal flash lamp, obtain the temperature of Mobile terminal main board Value;According to the temperature value of mainboard, the current value of mobile terminal flash lamp is adjusted;According to the current value of flash lamp, flash lamp is controlled Brightness.With this solution, it can realize when mainboard temperature value is excessively high, the current value of flash lamp can be adjusted, and according to tune Current value after whole controls the brightness of flash lamp, so as to solve when mainboard temperature value is excessively high, because of electric current of flash lamp value Flash lamp device failure caused by larger, and then the problem of influence flash lamp lifetime.
As shown in Figure 10, the embodiment of the present invention provides a kind of mobile terminal 120, which includes:Acquisition module 121, adjust module 122 and control module 123;
Acquisition module 121, the temperature value for obtaining Mobile terminal main board;
Module 122 is adjusted, the temperature value of the mainboard for being obtained according to acquisition module 121 adjusts mobile terminal flash lamp Current value;
Control module 123, the current value of the flash lamp for being adjusted according to adjustment module 122, controls the brightness of flash lamp.
Optionally, module 122 is adjusted, if the temperature value specifically for the mainboard of the acquisition of acquisition module 121 is more than first in advance If threshold value, then the current value of flash lamp is adjusted to the first pre-set current value;If the temperature value for the mainboard that acquisition module 121 obtains Less than or equal to the first predetermined threshold value, then inputted according to the temperature value of battery of mobile terminal, the temperature value of flash lamp and user At least one of information adjustment flash lamp current value.
Optionally, module is adjusted, is specifically used for obtaining the temperature value of battery;And if being less than second for the temperature value of battery The current value of flash lamp is then adjusted to the second pre-set current value by predetermined threshold value;If the temperature value of battery is greater than or equal to second Predetermined threshold value then increases the current value of flash lamp with the first step-length;Wherein, the second predetermined threshold value is less than or equal to the first default threshold Value.
Optionally, module is adjusted, is specifically used for obtaining the temperature value of flash lamp;And if the temperature value for flash lamp is more than Or be equal to third predetermined threshold value, then reduce the current value of flash lamp with the second step-length;If it is pre- that the temperature value of flash lamp is less than third If threshold value, then increase the current value of flash lamp with third step-length.
Optionally, module is adjusted, is specifically used for obtaining the temperature value of battery;And if being less than second for the temperature value of battery The current value of flash lamp is then adjusted to the second pre-set current value by predetermined threshold value;If the temperature value of battery is greater than or equal to second Predetermined threshold value then obtains the temperature value of flash lamp;If the temperature value of flash lamp is greater than or equal to third predetermined threshold value, with second Step-length reduces the current value of flash lamp;If the temperature value of flash lamp is less than third predetermined threshold value, glistened with the increase of third step-length The current value of lamp.
Optionally, module is adjusted, is specifically used for obtaining the temperature value and use of the temperature value of battery of mobile terminal, flash lamp The fingerprinting operation information of family input, fingerprinting operation information includes fingerprint feature information and fingerprinting operation directional information;And it is used for Fingerprint feature information meets preset fingerprint characteristic information, and the temperature value of battery is more than the second predetermined threshold value and flash lamp In the case that temperature value is less than third predetermined threshold value, according to fingerprinting operation directional information, the current value of flash lamp is adjusted.
Optionally, fingerprinting operation information further includes:Fingerprinting operation velocity information;Module is adjusted, is specifically used for according to fingerprint Directional information and fingerprinting operation velocity information are operated, the current value of flash lamp is adjusted.
Optionally, module is adjusted, is specifically used for, according to fingerprinting operation directional information, determining the electricity for increasing or reducing flash lamp Flow valuve;According to fingerprinting operation velocity information, the adjusted value of the current value of flash lamp is obtained;According to the electricity for increasing or reducing flash lamp The adjusted value of the current value of flow valuve and flash lamp, adjusts the current value of flash lamp.
Mobile terminal provided in an embodiment of the present invention can realize in above method embodiment one of the arbitrary institutes of Fig. 2 to Fig. 9 The each process shown, to avoid repeating, details are not described herein again.
Mobile terminal provided in an embodiment of the present invention obtains the temperature value of Mobile terminal main board;According to the temperature value of mainboard, Adjust the current value of mobile terminal flash lamp;According to the current value of flash lamp, the brightness of flash lamp is controlled.With this solution, energy It is enough to realize when mainboard temperature value is excessively high, the current value of flash lamp can be adjusted, and according to the current value after adjustment, control flash of light The brightness of lamp, so as to solve when mainboard temperature value is excessively high, glisten lamp components caused by electric current of flash lamp value is larger Damage, and then the problem of influence flash lamp lifetime.
A kind of hardware architecture diagram of Figure 11 mobile terminals of each embodiment to realize the present invention.As shown in figure 11, The mobile terminal 100 includes but not limited to:Radio frequency unit 101, network module 102, audio output unit 103, input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, memory 109, processor 110, with And the equal components of power supply 111.It will be understood by those skilled in the art that mobile terminal structure shown in Figure 11 is not constituted to movement The restriction of terminal, mobile terminal may include either combining certain components or different than illustrating more or fewer components Component is arranged.In embodiments of the present invention, mobile terminal includes but not limited to mobile phone, tablet computer, laptop, palm electricity Brain, vehicle mobile terminals, wearable device and pedometer etc..
Wherein, sensor 105, the temperature value for obtaining Mobile terminal main board;
Processor 110, the temperature value of the mainboard for being obtained according to sensor 105 adjust the electricity of mobile terminal flash lamp Flow valuve;And according to the current value of the flash lamp after adjustment, control the brightness of flash lamp.
Mobile terminal provided in an embodiment of the present invention obtains the temperature value of Mobile terminal main board;According to the temperature value of mainboard, Adjust the current value of mobile terminal flash lamp;According to the current value of flash lamp, the brightness of flash lamp is controlled.With this solution, energy It is enough to realize when mainboard temperature value is excessively high, the current value of flash lamp can be adjusted, and according to the current value after adjustment, control flash of light The brightness of lamp, so as to solve when mainboard temperature value is excessively high, glisten lamp components caused by electric current of flash lamp value is larger Damage, and then the problem of influence flash lamp lifetime.
It should be understood that the embodiment of the present invention in, radio frequency unit 101 can be used for receiving and sending messages or communication process in, signal Send and receive, specifically, by from base station downlink data receive after, to processor 110 handle;In addition, by uplink Data are sent to base station.In general, radio frequency unit 101 includes but not limited to antenna, at least one amplifier, transceiver, coupling Device, low-noise amplifier, duplexer etc..In addition, radio frequency unit 101 can also by radio communication system and network and other set Standby communication.
Mobile terminal has provided wireless broadband internet to the user by network module 102 and has accessed, and such as user is helped to receive Send e-mails, browse webpage and access streaming video etc..
It is that audio output unit 103 can receive radio frequency unit 101 or network module 102 or in memory 109 The audio data of storage is converted into audio signal and exports to be sound.Moreover, audio output unit 103 can also be provided and be moved The relevant audio output of specific function that dynamic terminal 100 executes is (for example, call signal receives sound, message sink sound etc. Deng).Audio output unit 103 includes loud speaker, buzzer and receiver etc..
Input unit 104 is for receiving audio or video signal.Input unit 104 may include graphics processor (Graphics Processing Unit, GPU) 1041 and microphone 1042, graphics processor 1041 is in video acquisition mode Or the image data of the static images or video obtained by image capture apparatus (such as camera) in image capture mode carries out Reason.Treated, and picture frame may be displayed on display unit 106.Through graphics processor 1041, treated that picture frame can be deposited Storage is sent in memory 109 (or other storage mediums) or via radio frequency unit 101 or network module 102.Mike Wind 1042 can receive sound, and can be audio data by such acoustic processing.Treated audio data can be The format output of mobile communication base station can be sent to via radio frequency unit 101 by being converted in the case of telephone calling model.
Mobile terminal 100 further includes at least one sensor 105, such as optical sensor, motion sensor and other biographies Sensor.Specifically, optical sensor includes ambient light sensor and proximity sensor, wherein ambient light sensor can be according to environment The light and shade of light adjusts the brightness of display panel 1061, and proximity sensor can close when mobile terminal 100 is moved in one's ear Display panel 1061 and/or backlight.As a kind of motion sensor, accelerometer sensor can detect in all directions (general For three axis) size of acceleration, size and the direction of gravity are can detect that when static, can be used to identify mobile terminal posture (ratio Such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap);It passes Sensor 105 can also include fingerprint sensor, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer, wet Meter, thermometer, infrared sensor etc. are spent, details are not described herein.
Display unit 106 is for showing information input by user or being supplied to the information of user.Display unit 106 can wrap Display panel 1061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode may be used Forms such as (Organic Light-Emitting Diode, OLED) configure display panel 1061.
User input unit 107 can be used for receiving the number or character information of input, and generate the use with mobile terminal Family is arranged and the related key signals input of function control.Specifically, user input unit 107 include touch panel 1071 and Other input equipments 1072.Touch panel 1071, also referred to as touch screen collect user on it or neighbouring touch operation (for example user uses any suitable objects or attachment such as finger, stylus on touch panel 1071 or in touch panel 1071 Neighbouring operation).Touch panel 1071 may include both touch detecting apparatus and touch controller.Wherein, touch detection Device detects the touch orientation of user, and detects the signal that touch operation is brought, and transmits a signal to touch controller;Touch control Device processed receives touch information from touch detecting apparatus, and is converted into contact coordinate, then gives processor 110, receiving area It manages the order that device 110 is sent and is executed.Furthermore, it is possible to more using resistance-type, condenser type, infrared ray and surface acoustic wave etc. Type realizes touch panel 1071.In addition to touch panel 1071, user input unit 107 can also include other input equipments 1072.Specifically, other input equipments 1072 can include but is not limited to physical keyboard, function key (such as volume control button, Switch key etc.), trace ball, mouse, operating lever, details are not described herein.
Further, touch panel 1071 can be covered on display panel 1061, when touch panel 1071 is detected at it On or near touch operation after, send processor 110 to determine the type of touch event, be followed by subsequent processing device 110 according to touch The type for touching event provides corresponding visual output on display panel 1061.Although in fig. 11, touch panel 1071 with it is aobvious Show that panel 1061 is to realize the function that outputs and inputs of mobile terminal as two independent components, but in some embodiments In, can be integrated by touch panel 1071 and display panel 1061 and realize the function that outputs and inputs of mobile terminal, it is specific this Place does not limit.
Interface unit 108 is the interface that external device (ED) is connect with mobile terminal 100.For example, external device (ED) may include having Line or wireless head-band earphone port, external power supply (or battery charger) port, wired or wireless data port, storage card end Mouth, port, the port audio input/output (I/O), video i/o port, earphone end for connecting the device with identification module Mouthful etc..Interface unit 108 can be used for receiving the input (for example, data information, electric power etc.) from external device (ED) and By one or more elements that the input received is transferred in mobile terminal 100 or can be used in 100 He of mobile terminal Transmission data between external device (ED).
Memory 109 can be used for storing software program and various data.Memory 109 can include mainly storing program area And storage data field, wherein storing program area can storage program area, application program (such as the sound needed at least one function Sound playing function, image player function etc.) etc.;Storage data field can store according to mobile phone use created data (such as Audio data, phone directory etc.) etc..In addition, memory 109 may include high-speed random access memory, can also include non-easy The property lost memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Processor 110 is the control centre of mobile terminal, utilizes each of various interfaces and the entire mobile terminal of connection A part by running or execute the software program and/or module that are stored in memory 109, and calls and is stored in storage Data in device 109 execute the various functions and processing data of mobile terminal, to carry out integral monitoring to mobile terminal.Place Reason device 110 may include one or more processing units;Optionally, processor 110 can integrate application processor and modulatedemodulate is mediated Manage device, wherein the main processing operation system of application processor, user interface and application program etc., modem processor is main Processing wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 110.
Mobile terminal 100 can also include the power supply 111 (such as battery) powered to all parts, optionally, power supply 111 Can be logically contiguous by power-supply management system and processor 110, to realize management charging by power-supply management system, put The functions such as electricity and power managed.
In addition, mobile terminal 100 includes some unshowned function modules, details are not described herein.
Optionally, the embodiment of the present invention also provides a kind of mobile terminal, may include above-mentioned processor as shown in figure 11 110, memory 109, and it is stored in the computer program that can be run on memory 109 and on the processor 110, the calculating Realized when machine program is executed by processor 110 Fig. 2 to Fig. 9 in above method embodiment it is one of arbitrary shown in flash lamp control Each process of method, and identical technique effect can be reached, to avoid repeating, details are not described herein again.
The embodiment of the present invention also provides a kind of computer readable storage medium, and meter is stored on computer readable storage medium Calculation machine program, realized when which is executed by processor in above method embodiment Fig. 2 to Fig. 9 it is one of arbitrary shown in Each process of the control method of flash lamp, and identical technique effect can be reached, to avoid repeating, details are not described herein again.Its In, the computer readable storage medium, such as read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disc or CD etc..
It should be noted that herein, the terms "include", "comprise" or its any other variant are intended to non-row His property includes, so that process, method, article or device including a series of elements include not only those elements, and And further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsic Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including this There is also other identical elements in the process of element, method, article or device.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on this understanding, technical scheme of the present invention substantially in other words does the prior art Going out the part of contribution can be expressed in the form of software products, which is stored in a storage medium In (such as ROM/RAM, magnetic disc, CD), including some instructions are used so that a mobile terminal (can be mobile phone, computer, clothes Be engaged in device, air conditioner or the network equipment etc.) execute method described in each embodiment of the present invention.
The embodiment of the present invention is described with above attached drawing, but the invention is not limited in above-mentioned specific Embodiment, the above mentioned embodiment is only schematical, rather than restrictive, those skilled in the art Under the inspiration of the present invention, without breaking away from the scope protected by the purposes and claims of the present invention, it can also make very much Form belongs within the protection of the present invention.

Claims (15)

1. a kind of control method of mobile terminal flash lamp, which is characterized in that the method includes:
Obtain the temperature value of Mobile terminal main board;
According to the temperature value of the mainboard, the current value of the mobile terminal flash lamp is adjusted;
According to the current value of the flash lamp, the brightness of the flash lamp is controlled.
2. according to the method described in claim 1, it is characterized in that, the temperature value according to the mainboard, adjusts the shifting The current value of dynamic terminal flash lamp includes:
If the temperature value of the mainboard is more than the first predetermined threshold value, the current value of the flash lamp is adjusted to the first default electricity Flow valuve;
If the temperature value of the mainboard is less than or equal to first predetermined threshold value, according to the temperature of the battery of mobile terminal The current value of at least one of value, the temperature value of the flash lamp and information input by user adjustment flash lamp.
3. according to the method described in claim 2, it is characterized in that, described adjust according to the temperature value of the battery of mobile terminal The current value of the flash lamp includes:
Obtain the temperature value of the battery;
If the temperature value of the battery is less than the second predetermined threshold value, the current value of the flash lamp is adjusted to the second default electricity Flow valuve;
If the temperature value of the battery is greater than or equal to the second predetermined threshold value, increase the electric current of the flash lamp with the first step-length Value;
Wherein, second predetermined threshold value is less than or equal to first predetermined threshold value.
4. according to the method described in claim 2, it is characterized in that, described adjust the sudden strain of a muscle according to the temperature value of the flash lamp The current value of light lamp includes:
Obtain the temperature value of the flash lamp;
If the temperature value of the flash lamp is greater than or equal to third predetermined threshold value, reduce the electricity of the flash lamp with the second step-length Flow valuve;
If the temperature value of the flash lamp is less than third predetermined threshold value, increase the current value of the flash lamp with third step-length.
5. according to the method described in claim 2, it is characterized in that, the temperature value and institute according to the battery of mobile terminal The temperature value for stating flash lamp adjusts the current value of the flash lamp and includes:
Obtain the temperature value of the battery;
If the temperature value of the battery is less than the second predetermined threshold value, the current value of the flash lamp is adjusted to the second default electricity Flow valuve;
If the temperature value of the battery is greater than or equal to the second predetermined threshold value, the temperature value of the flash lamp is obtained;
If the temperature value of the flash lamp is greater than or equal to third predetermined threshold value, reduce the electricity of the flash lamp with the second step-length Flow valuve;
If the temperature value of the flash lamp is less than third predetermined threshold value, increase the current value of the flash lamp with third step-length.
6. according to the method described in claim 2, it is characterized in that, the temperature value according to the battery of mobile terminal, institute It states the temperature value of flash lamp and current value that information input by user adjusts the flash lamp includes:
Obtain the temperature value of the battery of mobile terminal, the temperature value of the flash lamp and fingerprinting operation input by user letter Breath, the fingerprinting operation information includes fingerprint feature information and fingerprinting operation directional information;
Meet preset fingerprint characteristic information in the fingerprint feature information, and the temperature value of the battery is more than the second default threshold In the case that the temperature value of value and the flash lamp is less than third predetermined threshold value, according to the fingerprinting operation directional information, adjust The current value of the whole flash lamp.
7. according to the method described in claim 6, it is characterized in that, the fingerprinting operation information further includes:Fingerprinting operation speed Information;
It is described according to the fingerprinting operation directional information, the current value for adjusting the flash lamp includes:
According to the fingerprinting operation directional information, the current value for increasing or reducing the flash lamp is determined;
According to the fingerprinting operation velocity information, the adjusted value of the current value of the flash lamp is obtained;
According to the adjusted value of the current value of the current value and the flash lamp that increase or reduce the flash lamp, the flash of light is adjusted The current value of lamp.
8. a kind of mobile terminal, which is characterized in that the mobile terminal includes:Acquisition module adjusts module and control module;
The acquisition module, the temperature value for obtaining Mobile terminal main board;
The adjustment module, the temperature value of the mainboard for being obtained according to the acquisition module, adjusts the mobile terminal The current value of flash lamp;
The control module, the current value of the flash lamp for being adjusted according to the adjustment module, controls the flash lamp Brightness.
9. mobile terminal according to claim 8, which is characterized in that the adjustment module, if being specifically used for the acquisition The temperature value for the mainboard that module obtains is more than the first predetermined threshold value, then it is pre- the current value of the flash lamp to be adjusted to first If current value;If the temperature value for the mainboard that the acquisition module obtains is less than or equal to first predetermined threshold value, root It is adjusted according at least one of the temperature value of the battery of mobile terminal, the temperature value of the flash lamp and information input by user The current value of the whole flash lamp.
10. mobile terminal according to claim 9, which is characterized in that the adjustment module is specifically used for obtaining the electricity The temperature value in pond;And if for the temperature value of the battery less than the second predetermined threshold value, by the current value tune of the flash lamp Whole is the second pre-set current value;If the temperature value of the battery is greater than or equal to the second predetermined threshold value, increased with the first step-length The current value of the flash lamp;Wherein, second predetermined threshold value is less than or equal to first predetermined threshold value.
11. mobile terminal according to claim 9, which is characterized in that the adjustment module is specifically used for obtaining the sudden strain of a muscle The temperature value of light lamp;And if being subtracted with the second step-length more than or equal to third predetermined threshold value for the temperature value of the flash lamp The current value of the small flash lamp;If the temperature value of the flash lamp is less than third predetermined threshold value, institute is increased with third step-length State the current value of flash lamp.
12. mobile terminal according to claim 9, which is characterized in that the adjustment module is specifically used for obtaining the electricity The temperature value in pond;And if for the temperature value of the battery less than the second predetermined threshold value, by the current value tune of the flash lamp Whole is the second pre-set current value;If the temperature value of the battery is greater than or equal to the second predetermined threshold value, the flash lamp is obtained Temperature value;If the temperature value of the flash lamp is greater than or equal to third predetermined threshold value, the flash of light is reduced with the second step-length The current value of lamp;If the temperature value of the flash lamp is less than third predetermined threshold value, the flash lamp is increased with third step-length Current value.
13. mobile terminal according to claim 9, which is characterized in that the adjustment module is specifically used for obtaining the shifting The temperature value of dynamic end cell, the temperature value of the flash lamp and fingerprinting operation information input by user, the fingerprinting operation Information includes fingerprint feature information and fingerprinting operation directional information;And for meeting preset fingerprint spy in the fingerprint feature information Reference ceases, and the temperature value of the battery is more than the second predetermined threshold value and the temperature value of the flash lamp is default less than third In the case of threshold value, according to the fingerprinting operation directional information, the current value of the flash lamp is adjusted.
14. mobile terminal according to claim 13, which is characterized in that the fingerprinting operation information further includes:Fingerprint is grasped Make velocity information;
The adjustment module is specifically used for according to the fingerprinting operation directional information, and determination increases or reduces the flash lamp Current value;According to the fingerprinting operation velocity information, the adjusted value of the current value of the flash lamp is obtained;According to increasing or reducing The adjusted value of the current value of the current value of the flash lamp and the flash lamp, adjusts the current value of the flash lamp.
15. a kind of mobile terminal, which is characterized in that including processor, memory and be stored on the memory and can be in institute The computer program run on processor is stated, such as claim 1 to 7 is realized when the computer program is executed by the processor Any one of described in mobile terminal flash lamp control method the step of.
CN201810166465.2A 2018-02-28 2018-02-28 A kind of control method and mobile terminal of mobile terminal flash lamp Pending CN108449474A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810166465.2A CN108449474A (en) 2018-02-28 2018-02-28 A kind of control method and mobile terminal of mobile terminal flash lamp

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810166465.2A CN108449474A (en) 2018-02-28 2018-02-28 A kind of control method and mobile terminal of mobile terminal flash lamp

Publications (1)

Publication Number Publication Date
CN108449474A true CN108449474A (en) 2018-08-24

Family

ID=63192832

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810166465.2A Pending CN108449474A (en) 2018-02-28 2018-02-28 A kind of control method and mobile terminal of mobile terminal flash lamp

Country Status (1)

Country Link
CN (1) CN108449474A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110519895A (en) * 2019-07-16 2019-11-29 闻泰科技(无锡)有限公司 Flash lamp temperature control method, device and mobile terminal
CN112714245A (en) * 2019-10-25 2021-04-27 Oppo广东移动通信有限公司 Flash lamp control method, electronic device and computer storage medium
CN114968378A (en) * 2021-02-23 2022-08-30 广州视源电子科技股份有限公司 Control method, device, equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010177496A (en) * 2009-01-30 2010-08-12 Dainippon Screen Mfg Co Ltd Thermal processing apparatus, and thermal processing method
CN103501384A (en) * 2013-09-17 2014-01-08 广东明创软件科技有限公司 Method for adjusting electric current of flash lamp of mobile phone for taking picture and mobile phone
CN105636310A (en) * 2015-03-27 2016-06-01 宇龙计算机通信科技(深圳)有限公司 Flash lamp brightness adjusting method, flash lamp brightness adjusting device and terminal
CN105824344A (en) * 2015-08-31 2016-08-03 维沃移动通信有限公司 Current adjusting method and terminal
CN106791021A (en) * 2016-11-30 2017-05-31 维沃移动通信有限公司 The control method and mobile terminal of a kind of flash lamp

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010177496A (en) * 2009-01-30 2010-08-12 Dainippon Screen Mfg Co Ltd Thermal processing apparatus, and thermal processing method
CN103501384A (en) * 2013-09-17 2014-01-08 广东明创软件科技有限公司 Method for adjusting electric current of flash lamp of mobile phone for taking picture and mobile phone
CN105636310A (en) * 2015-03-27 2016-06-01 宇龙计算机通信科技(深圳)有限公司 Flash lamp brightness adjusting method, flash lamp brightness adjusting device and terminal
CN105824344A (en) * 2015-08-31 2016-08-03 维沃移动通信有限公司 Current adjusting method and terminal
CN106791021A (en) * 2016-11-30 2017-05-31 维沃移动通信有限公司 The control method and mobile terminal of a kind of flash lamp

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110519895A (en) * 2019-07-16 2019-11-29 闻泰科技(无锡)有限公司 Flash lamp temperature control method, device and mobile terminal
CN110519895B (en) * 2019-07-16 2024-06-04 闻泰科技(无锡)有限公司 Flash lamp temperature control method and device and mobile terminal
CN112714245A (en) * 2019-10-25 2021-04-27 Oppo广东移动通信有限公司 Flash lamp control method, electronic device and computer storage medium
CN114968378A (en) * 2021-02-23 2022-08-30 广州视源电子科技股份有限公司 Control method, device, equipment and storage medium

Similar Documents

Publication Publication Date Title
CN108108007B (en) A kind of processing method and mobile terminal reducing power consumption
CN108268188B (en) A kind of control method and mobile terminal of display screen
CN108920059A (en) Message treatment method and mobile terminal
CN110045807A (en) A kind of voltage control method and terminal
CN110531915A (en) Screen operating method and terminal device
CN108628521A (en) A kind of screen operating method and mobile terminal
CN108427873A (en) A kind of biological feather recognition method and mobile terminal
CN110324497A (en) A kind of method of controlling operation thereof and terminal
CN108984066A (en) A kind of application icon display methods and mobile terminal
CN109388223A (en) One kind putting out screen display method, apparatus and terminal
CN109407949A (en) A kind of display control method and terminal
CN109885153A (en) A kind of screen control method and mobile terminal
CN109558046A (en) A kind of information display method and terminal device
CN110018805A (en) A kind of display control method and mobile terminal
CN109739300A (en) A kind of method of controlling antenna and terminal
CN109144393A (en) A kind of image display method and mobile terminal
CN108762564A (en) A kind of method of controlling operation thereof and terminal device
CN109145731A (en) A kind of fingerprint identification method, device and mobile terminal
CN108600544A (en) A kind of Single-hand control method and terminal
CN108449474A (en) A kind of control method and mobile terminal of mobile terminal flash lamp
CN109195191A (en) A kind of cell reselection control method and terminal
CN109660872A (en) A kind of method of adjustment and terminal of multimedia progress
CN109521937A (en) A kind of control method for screen display and mobile terminal
CN109033912A (en) A kind of recognition methods of identification code and mobile terminal
CN108388400A (en) A kind of operation processing method and mobile terminal

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20180824

RJ01 Rejection of invention patent application after publication