CN112714212B - Flashlight mode control method for flashlight of mobile phone - Google Patents

Flashlight mode control method for flashlight of mobile phone Download PDF

Info

Publication number
CN112714212B
CN112714212B CN201911024137.XA CN201911024137A CN112714212B CN 112714212 B CN112714212 B CN 112714212B CN 201911024137 A CN201911024137 A CN 201911024137A CN 112714212 B CN112714212 B CN 112714212B
Authority
CN
China
Prior art keywords
flashlight
temperature
mobile phone
time
flash lamp
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
CN201911024137.XA
Other languages
Chinese (zh)
Other versions
CN112714212A (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.)
Universal Global Technology Kunshan Co Ltd
Original Assignee
Universal Global Technology Kunshan 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 Universal Global Technology Kunshan Co Ltd filed Critical Universal Global Technology Kunshan Co Ltd
Priority to CN201911024137.XA priority Critical patent/CN112714212B/en
Publication of CN112714212A publication Critical patent/CN112714212A/en
Application granted granted Critical
Publication of CN112714212B publication Critical patent/CN112714212B/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/02Constructional features of telephone sets
    • H04M1/22Illumination; Arrangements for improving the visibility of characters on dials

Abstract

The invention provides a control method for flashlight mode of flashlight of mobile phone, which is applied in mobile phone, the mobile phone comprises flashlight and memory, wherein the flashlight can work in flashlight mode by control, the steps of the control method comprise: monitoring the temperature of the mobile phone, and obtaining closing time according to the monitored temperature; a flashlight mode of turning on a flashlight; calculating the service time of the flash lamp; comparing the using time with the closing time, closing the flash lamp if the using time is equal to or greater than the closing time, otherwise, continuously calculating the using time of the flash lamp; by the control method, the flash lamp can be kept not to overheat, and the quality of the image output by the camera module is maintained.

Description

Flashlight mode control method for flashlight of mobile phone
Technical Field
The invention relates to a flashlight of a mobile phone, in particular to a control method for a flashlight mode of the flashlight of the mobile phone, which can effectively avoid overheat of the flashlight of the mobile phone.
Background
The camera module of a typical smart phone has a default image quality stable temperature range (stable image temperature) and an operation temperature range (operating temperature) in operation, if the camera module is operated under the condition of a non-image quality stable temperature range, the image quality output by the camera module may be affected, and if the camera module is operated under the condition of a non-operation temperature range, the whole camera module may be disabled.
In existing smart phone designs, the flash is typically located quite close to the camera module. Generally, a flash lamp may be operated in a flash mode (flash mode) or a torch mode (torch mode), and when the flash lamp is operated in the flash mode, the flash lamp emits momentary light to supplement light to a person or object to be photographed, and when the flash lamp is operated in the torch mode, the flash lamp continuously emits light. However, in the design of the existing smart phone, the use time of the flashlight mode of the flashlight and the cooling time required after the flashlight is used are not limited, if the flashlight is operated in the flashlight mode for a long time, the flashlight may start to generate heat and overheat the adjacent camera module due to consuming a large amount of current, so that the output image of the camera module is unstable and even fails, and a good control mechanism of the flashlight mode of the flashlight is very needed.
Disclosure of Invention
Accordingly, one of the objectives of the present invention is to improve the prior art, and further to provide a flashlight mode control method for a flashlight of a mobile phone, which can avoid the situation that the flashlight is overheated to cause overheating of an adjacent camera module, resulting in unstable or even failure of the output image of the camera module when the flashlight mode of the flashlight is used.
According to the following embodiment, a method for controlling a flashlight mode of a flashlight of a mobile phone is provided, and the mobile phone includes a flashlight and a memory, the flashlight can be controlled to operate in the flashlight mode, and the method is characterized by comprising the following steps: monitoring the temperature of the mobile phone, and obtaining closing time according to the monitored temperature; a flashlight mode of turning on a flashlight; calculating the service time of the flash lamp; and comparing the use time with the closing time, closing the flash lamp if the use time is equal to or greater than the closing time, otherwise, continuously calculating the use time of the flash lamp.
By the control method, the mobile phone can determine the closing time at any time according to the temperature monitored at present, and the flash lamp is closed when the closing time is reached, so that the flash lamp is kept not to overheat, the camera module of the mobile phone positioned near the flash lamp is not overheated indirectly, and the quality of an output image of the camera module is maintained.
In one aspect, the temperature of the handset is monitored and the off time is obtained based on the monitored temperature, after which the flashlight mode of the flashlight is turned on.
In another aspect, the step of monitoring the temperature of the mobile phone is implemented by monitoring the temperature of the casing of the mobile phone, but the invention is not limited thereto.
In another aspect, a comparison table is stored in a memory of the mobile phone, the comparison table includes a temperature of the mobile phone, and a closing time and a cooling time corresponding to the temperature, and the mobile phone obtains the corresponding closing time and cooling time by querying the comparison table.
In another aspect, after the step of turning off the flash lamp, a wait cooling time of the flash lamp is also calculated, and the wait cooling time is compared with the cool-required time, and if the wait cooling time is equal to or greater than the cool-required time, the flash lamp is allowed to turn on the flashlight mode again, otherwise the wait cooling time is continuously calculated and the flash lamp is kept off, so that the flash lamp can continuously cool down.
In another aspect, the control method further includes a step of obtaining a temperature monitor to continuously monitor the temperature of the mobile phone, and when the temperature monitor monitors that the temperature of the mobile phone is higher than the emergency temperature, the temperature monitor sends an emergency temperature too high notification; and after the step of comparing the using time with the closing time and under the condition that the using time is smaller than the closing time, the method further comprises the step of judging whether an emergency temperature too high notification is received, if so, the flash lamp is closed, and otherwise, the using time of the flash lamp is continuously calculated. Through the temperature monitor, the mobile phone can be prevented from being overheated accidentally due to executing other application programs or other factors, and the mobile phone can close the flash lamp timely when the unexpected situation occurs.
In another aspect, in the step of determining whether the monitored temperature of the mobile phone is equal to or greater than the emergency temperature, if the monitored temperature of the mobile phone is not equal to or greater than the emergency temperature, determining whether the flashlight mode of the flashlight is actively turned off by the user, if the monitored temperature of the mobile phone is not equal to or greater than the emergency temperature, turning off the flashlight mode of the flashlight, otherwise continuously calculating the service time of the flashlight. Therefore, the flash lamp can be controlled better according to the actual use condition of the flash lamp.
Drawings
The detailed steps and features of the control method for flashlight mode of a flashlight for a mobile phone will be described in the following embodiments, however, it should be understood that the embodiments described below and the accompanying drawings are only illustrative, and should not be used to limit the scope of the claims of the present invention, wherein,
fig. 1 is a block diagram of constituent elements of a mobile phone of an embodiment.
Fig. 2A and 2B are flowcharts of steps of a control method of a flashlight mode of a flashlight of an embodiment.
Fig. 3 shows a control table of an embodiment.
(symbol description)
10: mobile phone
11: casing of machine
12: arithmetic processing unit
13: camera module
14: flash lamp
15: memory device
S1-S17: step (a)
Detailed Description
For the purpose of illustrating the technical features of the present invention in detail, the following examples are given and are illustrated in the accompanying drawings.
As shown in fig. 1, the control method provided in the embodiment is applied to a mobile phone 10 (e.g. a smart phone), and the mobile phone 10 includes an operation processing unit 12, and a camera module 13, a flash 14 and a memory 15 electrically connected to the operation processing unit 12. The arithmetic processing unit 12 is in the embodiment a processor of the handset 10. The camera module 13 may be turned on or off under the control of the arithmetic processing unit 12, and the camera module 13 may perform a photographing function when turned on. The flash 14 is disposed adjacent to the camera module 13 (not shown), the flash 14 may also be turned on or off under the control of the arithmetic processing unit 12, and the flash 14 may perform a flash mode (flash mode) or a torch mode (torch mode) when turned on. In the flash mode, the flash 14 will emit light instantaneously, once or at intervals, and in the flashlight mode, the flash 14 will emit light continuously. The memory 15 stores a comparison table (as shown in fig. 3), wherein the contents of the comparison table relate to a set of case temperatures T (i.e., T1, T2, T3, … …), and a set of off times t_off (i.e., A1, A2, A3, … …) and a set of cooling time t_cool (i.e., B1, B2, B3, … …) corresponding to the case temperatures T, which are temperatures of the case 11 of the mobile phone 10.
The control method provided in the embodiment includes the following steps, please refer to fig. 2A and fig. 2B.
Step S1: starting. The handset 10 is turned on and in normal operation so that the camera module 13 can be turned on and the flashlight mode of the flashlight 14 can be turned on.
Step S2 is performed after step S1. In step S2, the user turns on an Application (APP) of the mobile phone 10, so that the mobile phone 10 is ready to turn on the flashlight mode of the camera module 13 and the flashlight 14. In step S2, both the camera module 13 and the flash 14 are not yet turned on.
Step S3 is performed after step S2. In step S3, the arithmetic processing unit 12 determines whether the flash 14 is in the off cooling state, and if so, proceeds to step S16, otherwise proceeds to step S4. In step S16, the arithmetic processing unit 12 prohibits the on-flashlight mode of the flashlight 14, and after step S16, the flow proceeds to step S17, and all steps are ended.
After step S3, step S4 is performed, and the arithmetic processing unit 12 monitors and reads the housing temperature T of the housing 11 of the mobile phone 10, and obtains a temperature monitor on the mobile phone system, thereby continuously monitoring and reading the housing temperature T. When the temperature monitor monitors that the housing temperature T is higher than the urgent temperature, the temperature monitor will send out the urgent temperature too high notification to the arithmetic processing unit 12. In this embodiment, the temperature T of the casing is monitored and read by the mobile phone system, and the temperature T of the casing may also be monitored by hardware (e.g. a temperature sensor).
Step S5 is performed after step S4. In step S5, the arithmetic processing unit 12 refers to the comparison table in the memory 15 according to the case temperature T obtained in step S4, and further obtains the off time t_off and the cooling-required time t_cool corresponding to the case temperature T from the comparison table.
Step S5 is followed by step S6 of turning on the flashlight mode of the flash 14, allowing the user to take a picture or photograph using the camera module 13 and the flash 14.
Step S7 is performed after step S6. In step S7, the arithmetic processing unit 12 calculates the use time of the flash 14, that is, the time when the flash 14 turns on the flashlight mode and maintains the flashlight mode.
Step S8 (see fig. 2B) is performed after step S7. In step S8, the arithmetic processing unit 12 compares the use time of the flash 14 with the off time t_off obtained in step S5, and proceeds to step S12 if the use time of the flash 14 reaches the off time t_off (i.e., the use time is equal to or longer than the off time t_off), and proceeds to step S9 if the use time does not reach the off time t_off (i.e., the use time is shorter than the off time t_off).
In step S9, the operation processing unit 12 determines whether an urgent temperature excessive notification sent by the temperature monitor is received, for example, when the user performs photographing, the user executes other application programs (APP) at the same time to cause the case temperature T of the mobile phone 10 to be higher than the urgent temperature, and since the temperature monitor continuously monitors the case temperature T of the mobile phone 10 from step S4, if the operation processing unit 12 determines that the case temperature T is higher than the urgent temperature, the temperature monitor sends an urgent temperature excessive notification to the operation processing unit 12. If the arithmetic processing unit 12 receives the emergency temperature excessive notification, the process proceeds to step S12 as well, otherwise, the process proceeds to step S10.
In step S10, the arithmetic processing unit 12 determines whether the user actively turns off the flashlight mode of the flashlight 14, if yes, it goes to step S11, and if no, it goes back to step S8.
Step S11: the arithmetic processing unit 12 turns off the flashlight mode of the flashlight 14, and then proceeds to step S17, ending all the steps.
As described in the previous paragraph, if the use time reaches the off time t_off in step S8 or the arithmetic processing unit 12 receives the urgent excessive temperature notification in step S9, step S12 is executed in both cases: the flash 14 is forcibly turned off, so that the mobile phone 10 enters a cooling mode and starts to cool, and the camera module 13 and the flash 14 are prevented from overheating.
Step S13 is performed after step S12. In step S13, the arithmetic processing unit 12 calculates a wait cooling time t_count, which is a time when the flash 14 turns off the flashlight mode and maintains the off state.
Step S14 is performed after step S13. In step S14, the arithmetic processing unit 12 compares the waiting cooling time t_count with the cooling-required time t_cool obtained in step S5, proceeds to step S15 if the waiting cooling time t_count reaches the cooling-required time t_cool (i.e., the waiting cooling time t_count is equal to or greater than the cooling-required time t_cool), and returns to step S13 if the waiting cooling time t_count does not reach the cooling-required time t_cool (i.e., the waiting cooling time t_count is less than the cooling-required time t_cool).
After step S14, the operation processing unit 12 proceeds to step S15 to deactivate the cooling mode, so as to allow the mobile phone 10 to subsequently be able to turn on the flashlight mode of the flashlight 14 again.
Step S17: and (5) ending.
By the control method of the present embodiment, when the user is in the flashlight mode using the flash 14, if the use time of the flash 14 reaches the off time t_off corresponding to the case temperature T, the flash 14 is forcibly turned off, so as to avoid overheating of the flash 14 and the camera module 13, thereby affecting the quality of the image output by the camera module 13, and even the camera module 13 fails.
Finally, it should be understood that the steps disclosed in the above embodiments are only illustrative, and are not intended to limit the scope of the present invention, and other easily conceivable steps are also included in the scope of the present invention.

Claims (7)

1. A control method for flashlight mode of flashlight of mobile phone is disclosed, which is applied in mobile phone, the mobile phone comprises flashlight and memory, the flashlight can be operated in flashlight mode by control,
the control method is characterized by comprising the following steps:
monitoring the temperature of the mobile phone, and obtaining closing time according to the monitored temperature;
a flashlight mode of turning on the flashlight;
calculating the service time of the flash lamp; and
comparing the use time with the closing time, closing the flash lamp if the use time is equal to or greater than the closing time, otherwise continuously calculating the use time of the flash lamp,
the memory stores a comparison table, the comparison table comprises the temperature of the mobile phone and the closing time corresponding to the temperature, and the mobile phone obtains the closing time by inquiring the comparison table.
2. The method of claim 1, wherein the flashlight mode of the flashlight is turned on after monitoring the temperature of the phone.
3. The method for controlling a flashlight mode of a flashlight for a mobile phone of claim 2,
the step of monitoring the temperature of the handset is achieved by monitoring the temperature of the housing of the handset.
4. The method for controlling a flashlight mode of a flashlight for a mobile phone of claim 1,
in the step of monitoring the temperature of the mobile phone, a cooling-required time is obtained according to the monitored temperature, after the flash lamp is turned off, the waiting cooling time of the flash lamp is calculated, the waiting cooling time is compared with the cooling-required time, if the waiting cooling time is equal to or greater than the cooling-required time, the flash lamp is allowed to turn on the flashlight mode again, otherwise, the waiting cooling time of the flash lamp is continuously calculated, and the flashlight mode of turning off the flash lamp is maintained.
5. The method for controlling a flashlight mode of a flashlight for a mobile phone of claim 4,
the comparison table also comprises the required cooling time corresponding to the temperature, and the mobile phone obtains the required cooling time by inquiring the comparison table.
6. The method for controlling a flashlight mode of a flashlight for a mobile phone of claim 1,
the method also comprises the step of obtaining a temperature monitor to continuously monitor the temperature of the mobile phone;
when the temperature monitor monitors that the temperature of the mobile phone is higher than the emergency temperature, the temperature monitor sends out an emergency temperature too high notification;
and after the step of comparing the use time with the closing time and under the condition that the use time is smaller than the closing time, the method further comprises the step of judging whether the emergency overtemperature notification is received or not, if yes, closing the flash lamp, and otherwise, continuously calculating the use time of the flash lamp.
7. The method for controlling a flashlight mode of a flashlight for a mobile phone of claim 6,
in the step of judging whether the monitored temperature of the mobile phone is greater than or equal to the emergency temperature, if the judgment result is negative, judging whether the flashlight mode of the flashlight is actively turned off, if the judgment result is positive, turning off the flashlight mode of the flashlight, otherwise, continuously calculating the service time of the flashlight.
CN201911024137.XA 2019-10-25 2019-10-25 Flashlight mode control method for flashlight of mobile phone Active CN112714212B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911024137.XA CN112714212B (en) 2019-10-25 2019-10-25 Flashlight mode control method for flashlight of mobile phone

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911024137.XA CN112714212B (en) 2019-10-25 2019-10-25 Flashlight mode control method for flashlight of mobile phone

Publications (2)

Publication Number Publication Date
CN112714212A CN112714212A (en) 2021-04-27
CN112714212B true CN112714212B (en) 2024-03-15

Family

ID=75541509

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911024137.XA Active CN112714212B (en) 2019-10-25 2019-10-25 Flashlight mode control method for flashlight of mobile phone

Country Status (1)

Country Link
CN (1) CN112714212B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115379615B (en) * 2022-10-20 2023-04-07 荣耀终端有限公司 Electronic equipment and method for controlling brightness of light-emitting device

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5078039A (en) * 1988-09-06 1992-01-07 Lightwave Research Microprocessor controlled lamp flashing system with cooldown protection
KR20020059546A (en) * 2001-01-08 2002-07-13 구자홍 Method and Apparatus for Driving Lamp of Projection Type Video Display
CN101639607A (en) * 2008-07-29 2010-02-03 一品光学工业股份有限公司 Camera-used arrayed LED spotlight
CN201608751U (en) * 2010-03-02 2010-10-13 郝德胜 Mobile phone with glare light electric torch
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
CN105554991A (en) * 2016-03-05 2016-05-04 上海斐讯数据通信技术有限公司 Method for enhancing brightness of flashlight and intelligent terminal
CN106535434A (en) * 2016-11-29 2017-03-22 维沃移动通信有限公司 Method for controlling flash lamp of mobile terminal and mobile terminal
CN206136002U (en) * 2016-09-27 2017-04-26 王彦锋 Multi -media module device
CN106961516A (en) * 2017-02-27 2017-07-18 维沃移动通信有限公司 A kind of flash lamp control method and device
CN206918777U (en) * 2017-04-27 2018-01-23 安徽建筑大学 Intelligent voice control lamp

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4288553B2 (en) * 2000-07-25 2009-07-01 富士フイルム株式会社 Camera strobe device

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5078039A (en) * 1988-09-06 1992-01-07 Lightwave Research Microprocessor controlled lamp flashing system with cooldown protection
KR20020059546A (en) * 2001-01-08 2002-07-13 구자홍 Method and Apparatus for Driving Lamp of Projection Type Video Display
CN101639607A (en) * 2008-07-29 2010-02-03 一品光学工业股份有限公司 Camera-used arrayed LED spotlight
CN201608751U (en) * 2010-03-02 2010-10-13 郝德胜 Mobile phone with glare light electric torch
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
CN105554991A (en) * 2016-03-05 2016-05-04 上海斐讯数据通信技术有限公司 Method for enhancing brightness of flashlight and intelligent terminal
CN206136002U (en) * 2016-09-27 2017-04-26 王彦锋 Multi -media module device
CN106535434A (en) * 2016-11-29 2017-03-22 维沃移动通信有限公司 Method for controlling flash lamp of mobile terminal and mobile terminal
CN106961516A (en) * 2017-02-27 2017-07-18 维沃移动通信有限公司 A kind of flash lamp control method and device
CN206918777U (en) * 2017-04-27 2018-01-23 安徽建筑大学 Intelligent voice control lamp

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
使用超级电容驱动白光LED相机闪光灯;Pierre Mars;;今日电子(第12期);全文 *

Also Published As

Publication number Publication date
CN112714212A (en) 2021-04-27

Similar Documents

Publication Publication Date Title
EP3413545A1 (en) Screen brightness adjusting method and system for terminal, and terminal
US7962030B2 (en) Flash thermal feedback for camera auto-exposure
JP2005304027A (en) Digital camera capable of brightness and contrast control
US20150062417A1 (en) Video camera
CN112714212B (en) Flashlight mode control method for flashlight of mobile phone
KR20060090558A (en) Digital camera with photoflash controller
WO2016101713A1 (en) Method and device for controlling switch of socket
JP6704743B2 (en) Imaging device, control method thereof, and lens device
US20120293092A1 (en) Apparatus and method for controlling flash in portable terminal
KR20190097193A (en) Camera control method and terminal
CN107272188B (en) Zoom lens and electronic equipment
CN113885605A (en) Temperature control method, related device and storage medium
CN109292573B (en) Brake coil detection method, device, equipment and storage medium
JP2013083810A (en) Power supply control device, imaging device, power supply control method, power supply control program, and recording medium
JP2018113535A (en) Monitoring system and control method therefor
JP2015079883A (en) Electronic apparatus, and control method and program therefor
JP2016012972A (en) Current control device
TW200923554A (en) Projector and method for over-hot protecting same
JP5765916B2 (en) Power supply device and control method thereof
JP2021081621A (en) Lighting device, method for controlling the same, and imaging system
CN116917838A (en) Temperature control method, photographing apparatus, and storage medium
JP2003005023A (en) Image pickup device
JP5836642B2 (en) Temperature control apparatus, control method therefor, and program
JP2019212968A (en) Imaging apparatus and control method of the same
JP2018042144A (en) Monitoring camera control unit, monitoring camera control method, and monitoring camera control program

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
GR01 Patent grant
GR01 Patent grant