CN110213422B - Mobile terminal flash enabling control method, mobile terminal and storage medium - Google Patents

Mobile terminal flash enabling control method, mobile terminal and storage medium Download PDF

Info

Publication number
CN110213422B
CN110213422B CN201910399085.8A CN201910399085A CN110213422B CN 110213422 B CN110213422 B CN 110213422B CN 201910399085 A CN201910399085 A CN 201910399085A CN 110213422 B CN110213422 B CN 110213422B
Authority
CN
China
Prior art keywords
mobile terminal
flash lamp
photographing key
touch area
flash
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
CN201910399085.8A
Other languages
Chinese (zh)
Other versions
CN110213422A (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.)
Xiamen Reliable Intellectual Property Service Co ltd
Original Assignee
Huizhou TCL 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 Huizhou TCL Mobile Communication Co Ltd filed Critical Huizhou TCL Mobile Communication Co Ltd
Priority to CN201910399085.8A priority Critical patent/CN110213422B/en
Publication of CN110213422A publication Critical patent/CN110213422A/en
Application granted granted Critical
Publication of CN110213422B publication Critical patent/CN110213422B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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
    • H02J7/0091
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/02Constructional features of telephone sets
    • H04M1/23Construction or mounting of dials or of equivalent devices; Means for facilitating the use thereof
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2250/00Details of telephonic subscriber devices
    • H04M2250/22Details of telephonic subscriber devices including a touch pad, a touch sensor or a touch detector
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2250/00Details of telephonic subscriber devices
    • H04M2250/52Details of telephonic subscriber devices including functional features of a camera
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02BCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS
    • Y02B20/00Energy efficient lighting technologies, e.g. halogen lamps or gas discharge lamps
    • Y02B20/40Control techniques providing energy savings, e.g. smart controller or presence detection

Landscapes

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

Abstract

The invention discloses a mobile terminal flash lamp enabling control method, a mobile terminal and a storage medium, wherein in the method, a photographing key is arranged on a screen of the mobile terminal in advance, and when a user touches the photographing key, the flash lamp is started to charge; detecting the touch operation of a user on a photographing key, and starting a flash lamp to discharge when the touch area is larger than a set threshold; and detecting the touch operation of a user on the photographing key, and stopping charging the flash lamp when the touch area is smaller than or equal to a set threshold and the touch screen is released. When a user uses the mobile terminal to take photos under the condition of poor light, the charging time before the flash lamp is lightened can be reduced, so that the purpose of quick flashing is achieved, faster photo taking experience is provided for the user to take photos in a dark place, and convenience is provided for the user.

Description

Mobile terminal flash enabling control method, mobile terminal and storage medium
Technical Field
The invention relates to the technical field of mobile terminals, in particular to a method for controlling flash lamp enabling of a mobile terminal, the mobile terminal and a storage medium.
Background
At present, a camera is commonly used in mobile terminals, so that a user can take pictures through the mobile terminal. When the mobile terminal takes a picture, if the light is not good, the light is supplemented by a flash lamp installed on the mobile terminal. The flash lamp stores high voltage electricity through a capacitor, and the pulse triggers the flash tube to discharge so as to complete instant flash. The color temperature of a common electronic flash lamp is about 5500K, is close to the color temperature under sunlight in the daytime, and the luminescent property belongs to a cold light type and is suitable for shooting objects which are afraid of heat.
In the prior art, a mobile terminal detects that a user presses a photographing key, and in consideration of ensuring sufficient light before photographing, a flash lamp is started first and then starts photographing, the flash lamp needs to charge a capacitor first and then discharge the flash lamp, although the charging process is fast, the charging time cannot be ignored for high-speed photographing. The charging time in the actual use of the prior art often causes the speed difference between the photographing using the flash lamp and the non-using of the flash lamp, the photographing speed when the flash lamp is used is lower than the speed when the flash lamp is not used, the user experience is influenced, and the use by a user is inconvenient.
Accordingly, the prior art is yet to be improved and developed.
Disclosure of Invention
In view of the foregoing disadvantages of the prior art, an object of the present invention is to provide a method for controlling flash enable of a mobile terminal, and a storage medium, which can reduce the charging time before a flash is turned on when a user uses the mobile terminal to take a picture under poor light, so as to achieve the purpose of flashing quickly, provide a faster experience of taking a picture in a dark place for the user, and provide convenience for the user.
In order to achieve the purpose, the invention adopts the following technical scheme:
a mobile terminal flash lamp enabling control method comprises the following steps:
setting a photographing key on a screen of a mobile terminal in advance, and starting a flash lamp to charge when an instruction of touching the photographing key is received;
detecting the touch operation of a user on a photographing key, and starting a flash lamp to discharge when the touch area is larger than a set threshold;
and detecting the touch operation of a user on the photographing key, and stopping charging the flash lamp when the touch area is smaller than or equal to a set threshold and the touch screen is released.
The method for controlling flash lamp enable of the mobile terminal comprises the following steps of detecting touch operation of a user on a photographing key, and starting flash lamp discharge when a touch area is larger than a set threshold: and receiving an operation instruction of a user to start photographing.
The method for controlling the flash lamp enable of the mobile terminal comprises the following steps that a photographing key is arranged on a screen of the mobile terminal in advance, and when an instruction of touching the photographing key is received, the flash lamp charging is started:
setting a photographing key on a screen of a mobile terminal in advance, wherein a touch area of the photographing key is a rectangular touch area, and the rectangular touch area is determined by a lower left corner coordinate and an upper right corner coordinate of the rectangular touch area;
and when detecting that a touch point exists in the rectangular touch area, controlling to charge the flash lamp.
The method for controlling the flash lamp enable of the mobile terminal comprises the following steps that when an instruction of touching the photographing key is received, the flash lamp is started to be charged in the flash lamp charging step: and charging the power supply terminal of the flash lamp by applying a predetermined voltage.
The method for controlling the flash lamp enable of the mobile terminal comprises the following steps of detecting the touch operation of a user on a photographing key, and starting the flash lamp to discharge when the touch area is larger than a set threshold:
detecting the touch operation of a user on a photographing key to acquire the change of a touch area;
and starting the flash lamp to discharge when the touch area is larger than a set threshold.
The method for controlling flash enable of the mobile terminal comprises the following steps of: acquiring the minimum value of the abscissa, the maximum value of the abscissa, the minimum value of the ordinate and the maximum value of the ordinate of a touch point in a photographing key region; and calculating the area of a rectangle determined by the left lower corner coordinate and the right upper corner coordinate.
The method for controlling the flash lamp enable of the mobile terminal comprises the following steps of detecting the touch operation of a user on a photographing key, and stopping charging the flash lamp when the touch area is smaller than or equal to a set threshold and a touch screen is released:
detecting touch operation of a user on a photographing key;
when the touch area is smaller than or equal to the set threshold, releasing the touch screen;
and stopping charging the flash lamp.
A mobile terminal, comprising: a processor, a memory, and a communication bus;
the memory stores a mobile terminal flash enable control program executable by the processor;
the communication bus realizes connection communication between the processor and the memory; a photographing key is arranged on the screen of the mobile terminal;
the processor implements the following steps when executing the mobile terminal flash enable control program:
when an instruction of touching the photographing key is received, starting charging of a flash lamp;
detecting the touch operation of a user on a photographing key, and starting a flash lamp to discharge when the touch area is larger than a set threshold;
and detecting the touch operation of a user on the photographing key, and stopping charging the flash lamp when the touch area is smaller than or equal to a set threshold and the touch screen is released.
The mobile terminal, wherein the processor further implements the following steps when executing the mobile terminal flash enable control program:
setting a photographing key on a screen of a mobile terminal in advance, wherein a touch area of the photographing key is a rectangular touch area, and the rectangular touch area is determined by a lower left corner coordinate and an upper right corner coordinate of the rectangular touch area;
when a touch point is detected in the rectangular touch area, controlling to charge the flash lamp; charging the power supply end of the flash lamp by applying a preset voltage;
detecting the touch operation of a user on a photographing key to acquire the change of a touch area;
starting a flash lamp to discharge when the touch area is larger than a set threshold; receiving an operation instruction of a user to start photographing;
detecting touch operation of a user on a photographing key;
when the touch area is smaller than or equal to the set threshold, releasing the touch screen;
and stopping charging the flash lamp.
A computer readable storage medium, wherein the computer readable storage medium stores one or more programs which are executable by one or more processors to implement steps in a mobile terminal flash enable control method as described in any one of the above.
Compared with the prior art, the method for controlling the flash lamp enable of the mobile terminal, the mobile terminal and the storage medium provided by the invention have the advantages that the flash lamp is started to charge when a user touches the photographing key by arranging the photographing key on the screen of the mobile terminal in advance; detecting the touch operation of a user on a photographing key, and starting a flash lamp to discharge when the touch area is larger than a set threshold; and detecting the touch operation of a user on the photographing key, and stopping charging the flash lamp when the touch area is smaller than or equal to a set threshold and the touch screen is released. When a user uses the mobile terminal to take photos under the condition of poor light, the charging time before the flash lamp is lightened can be reduced, so that the purpose of quick flashing is achieved, faster photo taking experience is provided for the user to take photos in a dark place, and convenience is provided for the user.
Drawings
Fig. 1 is a flowchart of a flash enable control method of a mobile terminal according to the present invention.
Fig. 2 is a functional block diagram of a mobile terminal according to a preferred embodiment of the invention.
Fig. 3 is a functional block diagram of a preferred embodiment of the present invention for installing a mobile terminal.
Detailed Description
In order to make the objects, technical solutions and effects of the present invention clearer and clearer, the present invention is further described in detail below with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
Referring to fig. 1, the method for controlling flash enable of a mobile terminal according to the present invention includes the following steps:
s100, setting a photographing key on a screen of the mobile terminal in advance.
When the invention is implemented, a photographing key can be arranged on the screen of the mobile terminal in advance.
And S200, starting flash lamp charging when an instruction of touching the photographing key is received.
In the embodiment of the invention, when a user opens the camera function and receives an instruction of touching the photographing key, the flash lamp is started to charge; namely, when a user just touches the photographing key, the flash lamp charging is started; in a preferred embodiment, in order to save more energy, it may be set that when a user turns on a camera photographing function of a mobile terminal such as a mobile phone and turns on a flash function, flash charging is started when an instruction of touching the photographing key is received. In other words, in the embodiment of the invention, only when the function of the camera flash lamp is started, the flash lamp is started to charge when the instruction of touching the photographing key is received. When the camera is only started and the flash lamp is not started, the charging is not carried out, and the energy conservation is facilitated.
Wherein the charging the flash lamp includes:
the method comprises the steps that a preset voltage (3V) is applied to a power supply end of a flash lamp, wherein the flash lamp supplies power to two capacitor plates A and B, the capacitor plates A and B are respectively connected with two ends of the flash lamp, a switch is arranged in front of the capacitor plates A and B, the switch is disconnected when the flash lamp is charged, the voltage is applied to the two ends of the capacitor plates at the moment, and the capacitor plates are charged if the voltage is 3V; when the flash lamp needs to be lightened, the power supply to the capacitor plate needs to be cut off, and the switch is closed, so that the energy stored in the capacitor plate is put into the flash lamp.
S300, detecting the touch operation of a user on the photographing key, and starting the flash lamp to discharge when the touch area is larger than a set threshold.
In the embodiment of the invention, when the camera is started and the flash lamp function is started, the touch operation of a user on a photographing key is detected, and when the touch area is larger than a set threshold (for example, the touch operation area is larger than more than 10% of the area of the photographing key), the flash lamp is started to discharge to flash; and starts photographing.
S400, detecting the touch operation of a user on the photographing key, and stopping charging the flash lamp when the touch area is smaller than or equal to a set threshold and the touch screen is released.
Detecting the touch operation of a user on a photographing key, and when the touch area is smaller than or equal to a set threshold, for example, when the touch operation area is detected to be smaller than or equal to 10% of the area of the photographing key; and releasing the touch screen stops charging the flash lamp.
In this way, the method of the embodiment of the invention sets a photographing key on the screen of the mobile terminal in advance, and when a user touches the photographing key, the flash lamp is started to charge; detecting the touch operation of a user on a photographing key, and starting a flash lamp to discharge when the touch area is larger than a set threshold; and detecting the touch operation of a user on the photographing key, and stopping charging the flash lamp when the touch area is smaller than or equal to a set threshold and the touch screen is released. When a user uses the mobile terminal to take photos under the condition of poor light, the charging time before the flash lamp is lightened can be reduced, so that the purpose of quick flashing is achieved, faster photo taking experience is provided for the user to take photos in a dark place, and convenience is provided for the user.
In a further embodiment: specifically, step S100 includes:
s101, a photographing key is arranged on a screen of the mobile terminal in advance, the photographing key is a rectangular touch area, and the rectangular touch area is determined by a lower left corner coordinate and an upper right corner coordinate of the rectangular touch area;
specifically, step S200 includes:
and S201, when a touch point is detected in the rectangular touch area, charging a flash lamp.
Wherein, when receiving the instruction of touching the photographing key, the charging of the flash lamp in the step of starting the charging of the flash lamp comprises the following steps: and charging the power supply terminal of the flash lamp by applying a predetermined voltage.
For example, the charging a flash includes:
applying a certain voltage to a power supply end of a flash lamp, wherein the flash lamp supplies power to two capacitor plates, and the capacitor plates A and B are respectively connected with two ends of the flash lamp, and a switch is arranged in front of the capacitor plates A and B, when the flash lamp is charged, the switch is switched off, and at the moment, the voltage is applied to the two ends of the capacitor plates, and if 3V is adopted, the capacitor plates are charged; when the flash lamp needs to be lightened, the power supply to the capacitor plate needs to be cut off, and the switch is closed, so that the energy stored in the capacitor plate is put into the flash lamp.
In a further embodiment, initiating the flash discharge in step S300 includes initiating a photograph.
In a further embodiment, step S300 further includes:
detecting the touch operation of a user on a photographing key to acquire the change of a touch area;
and starting the flash lamp to discharge when the touch area is larger than a set threshold.
Wherein the obtaining a touch area comprises: acquiring the minimum value of the abscissa, the maximum value of the abscissa, the minimum value of the ordinate and the maximum value of the ordinate of a touch point in a photographing key region, calculating the coordinates of the lower left corner determined by the minimum value of the abscissa and the minimum value of the ordinate, determining the coordinates of the upper right corner determined by the maximum value of the abscissa and the maximum value of the ordinate, and calculating the area of a rectangle determined by the coordinates of the lower left corner and the coordinates of the upper right corner.
In a further embodiment, specifically, step S300 includes:
detecting touch operation of a user on a photographing key;
when the touch area is smaller than or equal to the set threshold, releasing the touch screen;
and stopping charging the flash lamp.
In the method, a photographing key is arranged on a screen of the mobile terminal in advance, and when a user touches the photographing key, the flash lamp is started to charge; detecting the touch operation of a user on a photographing key, and starting a flash lamp to discharge when the touch area is larger than a set threshold; and detecting the touch operation of a user on the photographing key, and stopping charging the flash lamp when the touch area is smaller than or equal to a set threshold and the touch screen is released. When a user uses the mobile terminal to take photos under the condition of poor light, the charging time before the flash lamp is lightened can be reduced, so that the purpose of quick flashing is achieved, faster photo taking experience is provided for the user to take photos in a dark place, and convenience is provided for the user.
As shown in fig. 2, based on the above-mentioned method for controlling flash light enable of a mobile terminal, the present invention also provides a mobile terminal, which may be a mobile phone, a desktop computer, a notebook, a palmtop computer, a server, or other computing devices. The mobile terminal comprises a processor 10, a memory 20 and a display screen 30, wherein the processor 10 is connected with the memory 20 through a communication bus 50, the display screen 30 is connected with the processor 10 through the communication bus 50, and the photographing key can be a software interface photographing key or a photographing key arranged on the surface of the mobile terminal. Fig. 2 shows only some of the components of the mobile terminal, but it is to be understood that not all of the shown components are required to be implemented, and that more or fewer components may be implemented instead.
The memory 20 may in some embodiments be an internal storage unit of the mobile terminal, such as a memory of the mobile terminal. The memory 20 may also be an external storage device of the mobile terminal in other embodiments, such as a plug-in usb disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like provided on the mobile terminal. Further, the memory 20 may also include both an internal storage unit and an external storage device of the mobile terminal. The memory 20 is used for storing application software installed in the mobile terminal and various data, such as program codes of the installed mobile terminal. The memory 20 may also be used to temporarily store data that has been output or is to be output. In one embodiment, the memory 20 has stored thereon a mobile terminal flash enable control method program 40, and the mobile terminal flash enable control method program 40 is executable by the processor 10 to implement the mobile terminal flash enable control method of the present application.
The processor 10 may be, in some embodiments, a Central Processing Unit (CPU), a microprocessor, a mobile phone baseband processor or other data Processing chip, and is configured to execute program codes stored in the memory 20 or process data, such as executing the flash enable control method of the mobile terminal.
The display 30 may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, an OLED (Organic Light-Emitting Diode) touch panel, or the like in some embodiments. The display screen 30 is used for displaying information at the mobile terminal and for displaying a visual user interface. The components 10-30 of the mobile terminal communicate with each other via a system bus.
In one embodiment, the following steps are implemented when the processor 10 executes the mobile terminal flash enable control method program 40 in the memory 20:
when an instruction of touching the photographing key is received, starting charging of a flash lamp;
detecting the touch operation of a user on a photographing key, and starting a flash lamp to discharge when the touch area is larger than a set threshold;
and detecting the touch operation of a user on the photographing key, and stopping charging the flash lamp when the touch area is smaller than or equal to a set threshold and the touch screen is released.
In a further embodiment of the mobile terminal, the processor, when executing the mobile terminal flash enable control program, further implements the steps of:
setting a photographing key on a screen of a mobile terminal in advance, wherein a touch area of the photographing key is a rectangular touch area, and the rectangular touch area is determined by a lower left corner coordinate and an upper right corner coordinate of the rectangular touch area;
when a touch point is detected in the rectangular touch area, controlling to charge the flash lamp; charging the power supply end of the flash lamp by applying a preset voltage;
detecting the touch operation of a user on a photographing key to acquire the change of a touch area;
starting a flash lamp to discharge when the touch area is larger than a set threshold; receiving an operation instruction of a user to start photographing;
detecting touch operation of a user on a photographing key;
when the touch area is smaller than or equal to the set threshold, releasing the touch screen;
charging of the flash is stopped, as described above.
Please refer to fig. 3, which is a functional block diagram of a mobile terminal equipped with a computer program for controlling flash enable of the mobile terminal according to a preferred embodiment of the present invention. In this embodiment, the system in which the mobile terminal flash enable control method program is installed may be divided into one or more modules, which are stored in the memory 20 and executed by one or more processors (the processor 10 in this embodiment) to complete the present invention. For example, in fig. 3, the mobile terminal in which the mobile terminal flash enable control method computer program is installed may be divided into a touch detection module 21, a flash charging module 22, and a flash stop module 23. The module referred to in the invention refers to a series of computer program instruction segments capable of completing specific functions, and is more suitable for describing the execution process of the mobile terminal flash lamp enabling control method program in the mobile terminal than the program. The following description will specifically describe the functionality of the modules 21-23.
The touch detection module 21 is configured to set a photographing key on a screen of the mobile terminal in advance, and start charging of the flash lamp when a user touches the photographing key;
the flash lamp charging module 22 is used for detecting the touch operation of a user on the photographing key and starting the flash lamp to discharge when the touch area is larger than a set threshold;
and a flash lamp charging stopping module 23, configured to detect a touch operation of a user on the photographing key, and stop charging the flash lamp when the touch area is smaller than or equal to a set threshold and the touch screen is released, which is specifically described above.
Based on the above embodiments, the present invention further provides a computer-readable storage medium storing one or more programs, which are executable by one or more processors to implement the steps in the mobile terminal flash enable control method according to any one of the above embodiments, specifically as described above.
In summary, according to the method for controlling flash lamp enable of the mobile terminal, the mobile terminal and the storage medium provided by the invention, the flash lamp is started to charge when the user touches the photographing key by setting the photographing key on the screen of the mobile terminal in advance; detecting the touch operation of a user on a photographing key, and starting a flash lamp to discharge when the touch area is larger than a set threshold; and detecting the touch operation of a user on the photographing key, and stopping charging the flash lamp when the touch area is smaller than or equal to a set threshold and the touch screen is released. When a user uses the mobile terminal to take photos under the condition of poor light, the charging time before the flash lamp is lightened can be reduced, so that the purpose of quick flashing is achieved, faster photo taking experience is provided for the user to take photos in a dark place, and convenience is provided for the user.
Of course, it will be understood by those skilled in the art that all or part of the processes of the methods of the above embodiments may be implemented by a computer program instructing relevant hardware (such as a processor, a controller, etc.), and the program may be stored in a computer readable storage medium, and when executed, the program may include the processes of the above method embodiments. The storage medium may be a memory, a magnetic disk, an optical disk, etc.
It is to be understood that the invention is not limited to the examples described above, but that modifications and variations may be effected thereto by those of ordinary skill in the art in light of the foregoing description, and that all such modifications and variations are intended to be within the scope of the invention as defined by the appended claims.

Claims (7)

1. A method for controlling the flash lamp enable of a mobile terminal is characterized by comprising the following steps:
setting a photographing key on a screen of a mobile terminal in advance, and starting a flash lamp to charge when an instruction of touching the photographing key is received; wherein, when receiving the instruction of touching the photographing key, the method specifically comprises the following steps: when a touch point is arranged in a touch area of the photographing key, a flash lamp is started to charge;
the method comprises the steps that a camera photographing function of the mobile terminal is turned on and a flash lamp is turned on before an instruction of touching a photographing key is given;
detecting the touch operation of a user on a photographing key, acquiring the change of a touch area, starting a flash lamp to discharge when the touch area is larger than a set threshold, and starting photographing;
and detecting the touch operation of a user on the photographing key, and stopping charging the flash lamp when the touch area is smaller than or equal to a set threshold and the touch screen is released.
2. The method for controlling flash enable of a mobile terminal according to claim 1, wherein a photographing key is set on a screen of the mobile terminal in advance, and when an instruction for touching the photographing key is received, the step of starting flash charging is as follows:
setting a photographing key on a screen of a mobile terminal in advance, wherein a touch area of the photographing key is a rectangular touch area, and the rectangular touch area is determined by a lower left corner coordinate and an upper right corner coordinate of the rectangular touch area;
and when detecting that a touch point exists in the rectangular touch area, controlling to charge the flash lamp.
3. The mobile terminal flash enable control method according to claim 1, wherein the step of starting flash charging in the step of starting flash charging when receiving the instruction of touching the photographing key comprises: and charging the power supply terminal of the flash lamp by applying a predetermined voltage.
4. The mobile terminal flash enable control method according to claim 1, wherein the step of acquiring the change in the touch area comprises: acquiring the minimum value of the abscissa, the maximum value of the abscissa, the minimum value of the ordinate and the maximum value of the ordinate of a touch point in a photographing key region; and calculating the area of a rectangle determined by the left lower corner coordinate and the right upper corner coordinate.
5. A mobile terminal, comprising: a processor, a memory, and a communication bus;
the memory stores a mobile terminal flash enable control program executable by the processor;
the communication bus realizes connection communication between the processor and the memory; a photographing key is arranged on the screen of the mobile terminal;
the processor implements the following steps when executing the mobile terminal flash enable control program:
when an instruction of touching the photographing key is received, starting charging of a flash lamp; wherein, when receiving the instruction of touching the photographing key, the method specifically comprises the following steps: when a touch point is arranged in a touch area of the photographing key, a flash lamp is started to charge;
the method comprises the steps that a camera photographing function of the mobile terminal is turned on and a flash lamp is turned on before an instruction of touching a photographing key is given;
detecting the touch operation of a user on a photographing key, acquiring the change of a touch area, starting a flash lamp to discharge when the touch area is larger than a set threshold, and starting photographing;
and detecting the touch operation of a user on the photographing key, and stopping charging the flash lamp when the touch area is smaller than or equal to a set threshold and the touch screen is released.
6. The mobile terminal of claim 5, wherein the processor, when executing the mobile terminal flash enable control program, further performs the steps of:
setting a photographing key on a screen of a mobile terminal in advance, wherein a touch area of the photographing key is a rectangular touch area, and the rectangular touch area is determined by a lower left corner coordinate and an upper right corner coordinate of the rectangular touch area;
when a touch point is detected in the rectangular touch area, controlling to charge the flash lamp; and charging the power supply terminal of the flash lamp by applying a predetermined voltage.
7. A computer-readable storage medium, storing one or more programs, which are executable by one or more processors, to implement the steps in the mobile terminal flash enable control method according to any one of claims 1 to 4.
CN201910399085.8A 2019-05-14 2019-05-14 Mobile terminal flash enabling control method, mobile terminal and storage medium Active CN110213422B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910399085.8A CN110213422B (en) 2019-05-14 2019-05-14 Mobile terminal flash enabling control method, mobile terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910399085.8A CN110213422B (en) 2019-05-14 2019-05-14 Mobile terminal flash enabling control method, mobile terminal and storage medium

Publications (2)

Publication Number Publication Date
CN110213422A CN110213422A (en) 2019-09-06
CN110213422B true CN110213422B (en) 2021-05-28

Family

ID=67785924

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910399085.8A Active CN110213422B (en) 2019-05-14 2019-05-14 Mobile terminal flash enabling control method, mobile terminal and storage medium

Country Status (1)

Country Link
CN (1) CN110213422B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103929542A (en) * 2014-04-29 2014-07-16 深圳市中兴移动通信有限公司 Mobile terminals and photographing method and device thereof
CN104881112A (en) * 2015-04-30 2015-09-02 广东欧珀移动通信有限公司 Awakening method and terminal
CN106941585A (en) * 2017-05-15 2017-07-11 上海与德科技有限公司 A kind of control device of flash lamp, control method and mobile terminal

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100340942B1 (en) * 1995-01-06 2002-11-30 삼성테크윈 주식회사 Flash device charged within short time
KR20050081722A (en) * 2004-02-16 2005-08-19 엘지전자 주식회사 Controlling apparatus and method for camera flash
CN101710922A (en) * 2009-11-10 2010-05-19 中兴通讯股份有限公司 Shooting method and system based on mobile terminal
US10230880B2 (en) * 2011-11-14 2019-03-12 Tseng-Lu Chien LED light has built-in camera-assembly for colorful digital-data under dark environment
CN105045517B (en) * 2015-08-27 2018-01-23 广东欧珀移动通信有限公司 A kind of flash adjustment method and user terminal
CN106933620A (en) * 2017-02-14 2017-07-07 珠海市魅族科技有限公司 A kind of filming control method and system
CN108595105A (en) * 2018-04-27 2018-09-28 Oppo广东移动通信有限公司 Light filling lamp control method, device, storage medium and electronic equipment

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103929542A (en) * 2014-04-29 2014-07-16 深圳市中兴移动通信有限公司 Mobile terminals and photographing method and device thereof
CN104881112A (en) * 2015-04-30 2015-09-02 广东欧珀移动通信有限公司 Awakening method and terminal
CN106941585A (en) * 2017-05-15 2017-07-11 上海与德科技有限公司 A kind of control device of flash lamp, control method and mobile terminal

Also Published As

Publication number Publication date
CN110213422A (en) 2019-09-06

Similar Documents

Publication Publication Date Title
US10574074B2 (en) Electronic device, method of controlling charging by electronic device, and method of supplying power by power supply device
CN108737869B (en) Smart television starting processing method based on human body induction and smart television system
US9772857B2 (en) Executing sub-programs stored in an on-chip memory and charging a device via USB before enumeration process
CN100472402C (en) Power management method for built-in camera
US20160140911A1 (en) Method of controlling mirror display and electronic device for the same
US20130086397A1 (en) Electronic apparatus and its control method
CN104461367A (en) Image display method and device of front camera of terminal
CN105531642A (en) Power managing method and electronic system applying the power managing method
US10379874B1 (en) Expedited resume process from low battery
CN110213422B (en) Mobile terminal flash enabling control method, mobile terminal and storage medium
US20150130778A1 (en) Handheld electronic device and power saving method thereof
US20120091823A1 (en) Mobile storage device and method for managing power consumption of the mobile storage device
JP2013120130A (en) Electronic equipment and timer time setting method
US11250759B1 (en) Systems and methods for adaptive color accuracy with multiple sensors to control a display's white point and to calibrate the display using pre-boot diagnostics
CN110213811B (en) Mobile terminal shutdown electric quantity control processing method, mobile terminal and storage medium
US9591278B2 (en) Projection system and projection control method
CN108388370B (en) Mobile terminal touch screen interruption detection method, mobile terminal and storage medium
US20140320426A1 (en) Electronic apparatus, control method and storage medium
CN112234704B (en) Flash lamp power supply switching circuit, flash lamp control method and electronic equipment
CN109275124B (en) Mobile terminal Bluetooth protocol stack loading processing method, mobile terminal and storage medium
CN109270332B (en) Burn-proof detection method for display screen of mobile terminal, mobile terminal and storage medium
CN111371945B (en) Network switching method based on face recognition, mobile terminal and storage medium
CN109218523B (en) Mobile terminal display data abnormity detection method, mobile terminal and storage medium
CN108390425B (en) Mobile terminal external charging chip switching method, mobile terminal and storage medium
CN109697086B (en) Mobile terminal application program starting processing method, mobile terminal and storage medium

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
TR01 Transfer of patent right

Effective date of registration: 20240117

Address after: Room 501, 85 Xiaguang Dongli, Haicang District, Xiamen City, Fujian Province, 361000

Patentee after: Xiamen reliable intellectual property service Co.,Ltd.

Address before: 516006 Zhongkai hi tech Zone, Huizhou, Guangdong, 86 Chang seven Road West

Patentee before: HUIZHOU TCL MOBILE COMMUNICATION Co.,Ltd.

TR01 Transfer of patent right