CN110213422A - Mobile terminal flash lamp enables control method, mobile terminal and storage medium - Google Patents
Mobile terminal flash lamp enables control method, mobile terminal and storage medium Download PDFInfo
- Publication number
- CN110213422A CN110213422A CN201910399085.8A CN201910399085A CN110213422A CN 110213422 A CN110213422 A CN 110213422A CN 201910399085 A CN201910399085 A CN 201910399085A CN 110213422 A CN110213422 A CN 110213422A
- Authority
- CN
- China
- Prior art keywords
- mobile terminal
- flash lamp
- camera button
- touch
- user
- 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.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 45
- 238000001514 detection method Methods 0.000 claims description 12
- 238000004891 communication Methods 0.000 claims description 9
- 239000003990 capacitor Substances 0.000 description 14
- 230000006870 function Effects 0.000 description 8
- 238000009434 installation Methods 0.000 description 5
- 230000005611 electricity Effects 0.000 description 4
- 230000006399 behavior Effects 0.000 description 3
- 238000004590 computer program Methods 0.000 description 3
- 238000010586 diagram Methods 0.000 description 3
- 210000003205 muscle Anatomy 0.000 description 3
- 230000008569 process Effects 0.000 description 3
- 239000004973 liquid crystal related substance Substances 0.000 description 2
- 238000004364 calculation method Methods 0.000 description 1
- 230000007812 deficiency Effects 0.000 description 1
- 238000007599 discharging Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000004134 energy conservation Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 238000007689 inspection Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- SPJMAPNWDLIVRR-UHFFFAOYSA-M sodium;3-chloro-2-phenylphenolate Chemical compound [Na+].[O-]C1=CC=CC(Cl)=C1C1=CC=CC=C1 SPJMAPNWDLIVRR-UHFFFAOYSA-M 0.000 description 1
- 230000009466 transformation Effects 0.000 description 1
- 230000001960 triggered effect Effects 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G03—PHOTOGRAPHY; CINEMATOGRAPHY; ANALOGOUS TECHNIQUES USING WAVES OTHER THAN OPTICAL WAVES; ELECTROGRAPHY; HOLOGRAPHY
- G03B—APPARATUS 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/00—Special procedures for taking photographs; Apparatus therefor
- G03B15/02—Illuminating scene
- G03B15/03—Combinations of cameras with lighting apparatus; Flash units
-
- H02J7/0091—
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/02—Constructional features of telephone sets
- H04M1/22—Illumination; Arrangements for improving the visibility of characters on dials
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/02—Constructional features of telephone sets
- H04M1/23—Construction or mounting of dials or of equivalent devices; Means for facilitating the use thereof
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72448—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
-
- H—ELECTRICITY
- H05—ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
- H05B—ELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
- H05B47/00—Circuit arrangements for operating light sources in general, i.e. where the type of light source is not relevant
- H05B47/10—Controlling the light source
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M2250/00—Details of telephonic subscriber devices
- H04M2250/22—Details of telephonic subscriber devices including a touch pad, a touch sensor or a touch detector
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M2250/00—Details of telephonic subscriber devices
- H04M2250/52—Details of telephonic subscriber devices including functional features of a camera
-
- Y—GENERAL 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
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02B—CLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS
- Y02B20/00—Energy efficient lighting technologies, e.g. halogen lamps or gas discharge lamps
- Y02B20/40—Control 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 mobile terminal flash lamps to enable control method, mobile terminal and storage medium, and the method will start flashlight charging when user touches the camera button by the way that camera button is arranged on mobile terminal screen in advance;Touch operation of the user in camera button is detected, starts flash discharge when touching area and being greater than the thresholding of setting;Touch operation of the user in camera button is detected, area is less than or equal to the thresholding of setting and release touch screen then stops charging to flash lamp when touching.When user is taken a picture using mobile terminal in the case where light is bad, the time of the charging before flash lamp is lighted can be reduced, it to achieve the purpose that quick-flash, takes a picture in the dark for user and experience of taking a picture faster is provided, provided conveniently for user.
Description
Technical field
The present invention relates to technical field of mobile terminals, and in particular to a kind of mobile terminal flash lamp enables control method, moves
Dynamic terminal and storage medium.
Background technique
Currently, mobile terminal is commonly used camera, allow users to take a picture by mobile terminal.Work as movement
When terminal carries out photograph taking, need to carry out light filling by installing flash lamp on mobile terminals if light is bad.
Flash lamp stores high-voltage electricity by capacitor, and pulse-triggered makes the tube discharge that glistens, and completes instantaneous flash.Common X-flash
Colour temperature be about 5500K, the colour temperature close under sunlight on daytime, luminosity belongs to cold light type, is suitble to shooting the object that To Be Protected from Heat.
In the prior art, mobile terminal detects that user presses camera button, it is contemplated that guarantee light before taking a picture
Abundance, therefore start flash lamp first, then restart and takes a picture, and flash lamp needs sudden strain of a muscle of discharging again of first being charged for capacitor
Light, although charging process is quickly, for taking pictures at a high speed, the charging time cannot still be ignored.The prior art is in actual use
The charging time, which often will cause, takes pictures using speed glisten by difference, use of taking pictures when flash lamp and when not using flash lamp
Speed ratio of taking pictures when lamp is slow without using speed when flash lamp, influences the experience of user, it has not been convenient to which user uses.
Therefore, the existing technology needs to be improved and developed.
Summary of the invention
Place in view of above-mentioned deficiencies of the prior art, it is enabled that the purpose of the present invention is to provide a kind of mobile terminal flash lamps
Control method, mobile terminal and storage medium, it is intended to when user is taken pictures using mobile terminal in the case where light is bad
When piece, it is possible to reduce time of charging before flash lamp is lighted claps for user in the dark to achieve the purpose that quick-flash
Photo provides experience of taking a picture faster, provides conveniently for user.
In order to achieve the above object, this invention takes following technical schemes:
A kind of enabled control method of mobile terminal flash lamp, wherein include the following steps:
Camera button is set on mobile terminal screen in advance, flash lamp will be started when receiving the instruction for touching the camera button
Charging;
Touch operation of the user in camera button is detected, starts flash discharge when touching area and being greater than the thresholding of setting;
Touch operation of the user in camera button is detected, is less than or equal to the thresholding set and release touch screen then when touching area
Stopping charges to flash lamp.
The mobile terminal flash lamp enables control method, wherein touch behaviour of the detection user in camera button
After the step of making, starting flash discharge when touching area and being greater than the thresholding of setting further include: the operation for receiving user refers to
Starting is enabled to take pictures.
The mobile terminal flash lamp enables control method, wherein described be arranged on mobile terminal screen in advance is clapped
According to key, when receiving the instruction for touching the camera button will start flashlight charging the step of:
Camera button is set on mobile terminal screen in advance, and the touch area of the camera button is rectangular touch area, the square
Shape touch area is determined by its lower-left angular coordinate and upper right angular coordinate;
When having detected has touch point in the rectangular touch area, control charges to flash lamp.
The mobile terminal flash lamp enables control method, wherein described to receive the finger for touching the camera button
When enabling by start flashlight charging step in flash lamp carry out charging include: to be filled to flash lamp feeder ear plus predetermined voltage
Electricity.
The mobile terminal flash lamp enables control method, wherein touch behaviour of the detection user in camera button
Make, when touch area be greater than setting thresholding when starting flash discharge the step of include:
Touch operation of the user in camera button is detected, the variation for touching area is obtained;
Start flash discharge when touching area and being greater than the thresholding of setting.
The mobile terminal flash lamp enables control method, wherein the step of acquisition touches the variation of area is wrapped
It includes: obtaining the abscissa minimum value of touch point in key range of taking pictures, abscissa maximum value, ordinate minimum value, ordinate maximum
Value;And calculate by abscissa minimum value, ordinate minimum value determines lower-left angular coordinate, and by abscissa maximum value, ordinate is most
It is big to be worth determining upper right angular coordinate, by the area for the rectangle that the lower-left angular coordinate and upper right angular coordinate determine.
The mobile terminal flash lamp enables control method, wherein touch behaviour of the detection user in camera button
Make, when touching, area is less than or equal to the thresholding of setting and release touch screen then stops the step of charging to flash lamp packet
It includes:
Detect touch operation of the user in camera button;
It is less than or equal to the thresholding set and release touch screen when touching area;
Stopping charges to flash lamp.
A kind of mobile terminal, wherein include: processor, memory and communication bus;
Being stored on the memory can be made to can control program by the mobile terminal flash lamp that the processor executes;
The communication bus realizes the connection communication between processor and memory;What is be arranged on the mobile terminal screen takes pictures
Key;
The processor executes the mobile terminal flash lamp and realizes following steps when making can control program:
Flashlight charging will be started when receiving the instruction for touching the camera button;
Touch operation of the user in camera button is detected, starts flash discharge when touching area and being greater than the thresholding of setting;
Touch operation of the user in camera button is detected, is less than or equal to the thresholding set and release touch screen then when touching area
Stopping charges to flash lamp.
The mobile terminal, wherein the processor executes the mobile terminal flash lamp and goes back reality when making can control program
Existing following steps:
Camera button is set on mobile terminal screen in advance, and the touch area of the camera button is rectangular touch area, the square
Shape touch area is determined by its lower-left angular coordinate and upper right angular coordinate;
When having detected has touch point in the rectangular touch area, control charges to flash lamp;Flash lamp is supplied
It charges plus predetermined voltage at electric end;
Touch operation of the user in camera button is detected, the variation for touching area is obtained;
Start flash discharge when touching area and being greater than the thresholding of setting;And the operation start instruction for receiving user is taken pictures;
Detect touch operation of the user in camera button;
It is less than or equal to the thresholding set and release touch screen when touching area;
Stopping charges to flash lamp.
A kind of computer readable storage medium, wherein the computer-readable recording medium storage has one or more
Program, one or more of programs can be executed by one or more processor, to realize described in any one as above
Mobile terminal flash lamp enables the step in control method.
Compared to the prior art, mobile terminal flash lamp provided by the invention enables control method, mobile terminal and storage
Medium, the method are dodged starting when user touches the camera button by the way that camera button is arranged on mobile terminal screen in advance
The charging of light lamp;Touch operation of the user in camera button is detected, starting flash lamp is put when touching area and being greater than the thresholding of setting
Electricity;Touch operation of the user in camera button is detected, is less than or equal to the thresholding set and release touch screen then when touching area
Stopping charges to flash lamp.When user is taken a picture using mobile terminal in the case where light is bad, can subtract
The time of charging before flash lamp is lighted less takes a picture in the dark for user and provides more to achieve the purpose that quick-flash
Fast experience of taking a picture provides conveniently for user.
Detailed description of the invention
Fig. 1 is the flow chart that mobile terminal flash lamp provided by the invention enables control method.
Fig. 2 is the functional block diagram of mobile terminal preferred embodiment of the present invention.
Fig. 3 is the functional block diagram of present invention installation mobile terminal preferred embodiment.
Specific embodiment
To make the purpose of the present invention, technical solution and effect clearer, clear and definite, right as follows in conjunction with drawings and embodiments
The present invention is further described.It should be appreciated that described herein, specific examples are only used to explain the present invention, is not used to
Limit the present invention.
Referring to Fig. 1, mobile terminal flash lamp provided by the invention enable control method the following steps are included:
S100, camera button is set on mobile terminal screen in advance.
In the specific implementation, camera button can be arranged in the present invention on mobile terminal screen in advance.
S200, flashlight charging will be started when receiving the instruction for touching the camera button.
It, will starting when user opens camera function, receives the instruction for touching the camera button in the embodiment of the present invention
Flashlight charging;Flashlight charging will be started by just having touched the camera button in user;In preferably embodiment, in order to more save
Can, it can be set when user opens the camera camera function of mobile terminal such as mobile phone, and opens flash lamp function, receive
Flashlight charging will be started when touching the instruction of the camera button.I.e. in the embodiment of the present invention, only camera flash-light function is opened
Qi Shi will start flashlight charging when receiving the instruction for touching the camera button.When unlatching camera does not open flash lamp function,
It does not charge, is more advantageous to energy conservation.
It is wherein, described to charge to flash lamp, comprising:
Predetermined voltage (3V) is added to flash lamp feeder ear, wherein flash lamp is that two capacitor plates are powered, capacitor plate A and B,
Wherein, capacitor plate A and B is separately connected the both ends of flash lamp, and in front of have a switch, should when to flashlight charging
Switch disconnects, and adds voltage to capacitor plate both ends at this time, and such as 3V can then charge to capacitance pole;When needing flash lamp point
When bright, then need to disconnect the power supply to capacitor plate, and will close the switch, then the energy stored in capacitor plate can be made to be put into sudden strain of a muscle
In light lamp.
The touch operation of S300, detection user in camera button, the starting flash of light when touching area and being greater than the thresholding of setting
Lamp electric discharge.
In the embodiment of the present invention, when opening camera and opening flash lamp function, touch of the user in camera button is detected
Operation is greater than thresholding (such as 10% or more of touch operation area greater than the camera button area) Shi Qidong set when touching area
Flash discharge, with flash of light;And starts and take pictures.
The touch operation of S400, detection user in camera button, when touch area is less than or equal to the thresholding of setting and releases
Touch screen is put then to stop charging to flash lamp.
Touch operation of the user in camera button is detected, is less than or equal to the thresholding set when touching area, such as work as inspection
Survey touch operation area is less than or equal to camera button area 10%;And release touch screen then stops charging to flash lamp.
In this way, method described in the embodiment of the present invention works as user by the way that camera button is arranged on mobile terminal screen in advance
Flashlight charging will be started when touching the camera button;Touch operation of the user in camera button is detected, is set when touch area is greater than
Start flash discharge when fixed thresholding;Touch operation of the user in camera button is detected, is set when touch area is less than or equal to
Fixed thresholding and release touch screen then stops charging to flash lamp.When user's situation bad in light using mobile terminal
Under when being taken a picture, it is possible to reduce flash lamp light before charging time, to achieve the purpose that quick-flash, for
Family is taken a picture in the dark provides experience of taking a picture faster, provides conveniently for user.
Further carry out in example: specifically, step S100 includes:
Camera button is arranged in S101 on mobile terminal screen in advance, which is the touch area of rectangle, the touch of the rectangle
Region is determined by its lower-left angular coordinate and upper right angular coordinate;
Specifically, step S200 includes:
S201 just charges to flash lamp when detecting has touch point in above-mentioned rectangular touch area.
Wherein, it is described when receiving the instruction for touching the camera button by start flashlight charging step in flash of light
It includes: to charge to flash lamp feeder ear plus predetermined voltage that lamp, which carries out charging,.
For example, described charge to flash lamp, comprising:
Certain voltage is added to flash lamp feeder ear, wherein flash lamp is that two capacitor plates are powered, capacitor plate A and B,
In, capacitor plate A and B are separately connected the both ends of flash lamp, and in front of have a switch, when to flashlight charging, this is opened
Shutdown is opened, and adds voltage to capacitor plate both ends at this time, and such as 3V can then charge to capacitance pole;When needing flash lamp to light
When, then it needs to disconnect the power supply to capacitor plate, and will close the switch, then the energy stored in capacitor plate can be made to be put into flash of light
In lamp.
It further carries out in example, starting flash discharge in step S300 later includes that starting is taken pictures.
It further carries out in example, step S300 further include:
Touch operation of the user in camera button is detected, the variation for touching area is obtained;
Start flash discharge when touching area and being greater than the thresholding of setting.
Wherein, the acquisition touches area, comprising: obtains the abscissa minimum value of touch point in key range of taking pictures, horizontal seat
Maximum value, ordinate minimum value, ordinate maximum value are marked, and is calculated by abscissa minimum value, ordinate minimum value determines lower-left
Angular coordinate, by abscissa maximum value, ordinate maximum value determines upper right angular coordinate, by the lower-left angular coordinate and upper right angular coordinate
The area of determining rectangle.
It further carries out in example, specifically, step S300 includes:
Detect touch operation of the user in camera button;
It is less than or equal to the thresholding set and release touch screen when touching area;
Stopping charges to flash lamp.
Therefore the present invention provides a kind of mobile terminal flash lamps to enable control method, the method passes through preparatory
Camera button is set on mobile terminal screen, flashlight charging will be started when user touches the camera button;Detection user is clapping
According to the touch operation on key, start flash discharge when touching area and being greater than the thresholding of setting;User is detected in camera button
Touch operation, when touch area be less than or equal to setting thresholding and release touch screen then stop charging to flash lamp.
When user is taken a picture using mobile terminal in the case where light is bad, it is possible to reduce flash lamp light before charging
Time take a picture in the dark for user and experience of taking a picture faster be provided, mentioned for user to achieve the purpose that quick-flash
For convenient.
As shown in Fig. 2, enabling control method based on above-mentioned mobile terminal flash lamp, the present invention further correspondingly provides a kind of shifting
Dynamic terminal, the mobile terminal can be mobile phone, desktop PC, notebook, palm PC and server etc. and calculate equipment.
The mobile terminal includes processor 10, memory 20 and display screen 30, and processor 10 is connected by communication bus 50 and memory 20
It connects, the display screen 30 is connect by communication bus 50 with processor 10, the camera button being arranged on the mobile terminal screen, is clapped
It can be software interface camera button according to key, naturally it is also possible to be the camera button that mobile terminal surface is set.Fig. 2 illustrates only shifting
The members of dynamic terminal, it should be understood that being not required for implementing all components shown, the implementation that can be substituted is more
Or less component.
The memory 20 can be the internal storage unit of the mobile terminal in some embodiments, such as mobile whole
The memory at end.The memory 20 is also possible to the External memory equipment of the mobile terminal in further embodiments, such as
The plug-in type USB flash disk being equipped on the mobile terminal, intelligent memory card (Smart Media Card, SMC), secure digital
(Secure Digital, SD) card, flash card (Flash Card) etc..Further, the memory 20 can also both include
The internal storage unit of institute's mobile terminal also includes External memory equipment.The memory 20 is installed on the movement for storing
The application software and Various types of data of terminal, such as the program code etc. of the installation mobile terminal.The memory 20 can be with
For temporarily storing the data that has exported or will export.In one embodiment, it is stored on memory 20 mobile whole
Flash lamp is held to enable control method program 40, which, which enables control method program 40, to be held by processor 10
Row, to realize that mobile terminal flash lamp enables control method in the application.
The processor 10 can be in some embodiments a central processing unit (Central Processing Unit,
CPU), microprocessor, mobile phone baseband processor or other data processing chips, for running the journey stored in the memory 20
Sequence code or processing data, such as execute the mobile terminal flash lamp and enable control method etc..
The display screen 30 can be LED display, liquid crystal display, touch liquid crystal display in some embodiments
And OLED(Organic Light-Emitting Diode, Organic Light Emitting Diode) touch device etc..The display screen 30 is used
In the information for being shown in the mobile terminal and for showing visual user interface.The component 10- of the mobile terminal
30 are in communication with each other by system bus.
In one embodiment, control method journey is enabled when processor 10 executes mobile terminal flash lamp in the memory 20
It is performed the steps of when sequence 40
Flashlight charging will be started when receiving the instruction for touching the camera button;
Touch operation of the user in camera button is detected, starts flash discharge when touching area and being greater than the thresholding of setting;
Touch operation of the user in camera button is detected, is less than or equal to the thresholding set and release touch screen then when touching area
Stopping charges to flash lamp.
The mobile terminal further carries out example, and the processor, which executes the mobile terminal flash lamp, to be made to can control journey
Following steps are also realized when sequence:
Camera button is set on mobile terminal screen in advance, and the touch area of the camera button is rectangular touch area, the square
Shape touch area is determined by its lower-left angular coordinate and upper right angular coordinate;
When having detected has touch point in the rectangular touch area, control charges to flash lamp;Flash lamp is supplied
It charges plus predetermined voltage at electric end;
Touch operation of the user in camera button is detected, the variation for touching area is obtained;
Start flash discharge when touching area and being greater than the thresholding of setting;And the operation start instruction for receiving user is taken pictures;
Detect touch operation of the user in camera button;
It is less than or equal to the thresholding set and release touch screen when touching area;
Stopping charges to flash lamp, as detailed above.
Referring to Fig. 3, its mobile end for enabling control method computer program for present invention installation mobile terminal flash lamp
Hold the functional block diagram of preferred embodiment.In the present embodiment, the enabled control method program of installation mobile terminal flash lamp is
System can be divided into one or more modules, and one or more of modules are stored in the memory 20, and by
One or more processors (the present embodiment is the processor 10) are performed, to complete the present invention.For example, in Fig. 3, installation
The mobile terminal that mobile terminal flash lamp enables control method computer program can be divided into touch detection module 21, flash of light
Lamp charging module 22, flash lamp stop mold filling block 23.The so-called module of the present invention is a series of meters for referring to complete specific function
Calculation machine program instruction section enables control method program in the movement more suitable for describing the mobile terminal flash lamp than program
Implementation procedure in terminal.The function of the module 21-23 will specifically be introduced by being described below.
Touch detection module 21, for camera button to be arranged on mobile terminal screen in advance, when user touches the camera button
When will start flashlight charging;
Flashlight charging module 22 is greater than the door set when touching area for detecting touch operation of the user in camera button
Start flash discharge in limited time;
Flash lamp stops mold filling block 23, for detecting touch operation of the user in camera button, sets when touch area is less than or equal to
Fixed thresholding and release touch screen then stops charging to flash lamp, as detailed above.
Based on the above embodiment, described computer-readable to deposit the present invention also provides a kind of computer readable storage medium
Storage media is stored with one or more program, and one or more of programs can be executed by one or more processor,
To realize that the mobile terminal flash lamp as described in above-mentioned any one enables the step in control method, as detailed above.
In conclusion mobile terminal flash lamp provided by the invention enables control method, mobile terminal and storage medium, institute
Method is stated by the way that camera button is arranged on mobile terminal screen in advance, fills starting flash lamp when user touches the camera button
Electricity;Touch operation of the user in camera button is detected, starts flash discharge when touching area and being greater than the thresholding of setting;Detection
Touch operation of the user in camera button, when touching, area is less than or equal to the thresholding of setting and release touch screen then stops to sudden strain of a muscle
Light lamp charges.When user is taken a picture using mobile terminal in the case where light is bad, it is possible to reduce flash lamp
The time of charging before lighting takes a picture to provide in the dark and take pictures faster to achieve the purpose that quick-flash for user
Piece experience, provides conveniently for user.
Certainly, those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method,
It is that related hardware (such as processor, controller etc.) can be instructed to complete by computer program, the program can store
In a computer-readable storage medium, which may include the process such as above-mentioned each method embodiment when being executed.Its
Described in storage medium can be for memory, magnetic disk, CD etc..
It should be understood that the application of the present invention is not limited to the above for those of ordinary skills can
With improvement or transformation based on the above description, all these modifications and variations all should belong to the guarantor of appended claims of the present invention
Protect range.
Claims (10)
1. a kind of mobile terminal flash lamp enables control method, which comprises the steps of:
Camera button is set on mobile terminal screen in advance, flash lamp will be started when receiving the instruction for touching the camera button
Charging;
Touch operation of the user in camera button is detected, starts flash discharge when touching area and being greater than the thresholding of setting;
Touch operation of the user in camera button is detected, is less than or equal to the thresholding set and release touch screen then when touching area
Stopping charges to flash lamp.
2. mobile terminal flash lamp according to claim 1 enables control method, which is characterized in that the detection user exists
Touch operation in camera button, when touch area be greater than setting thresholding when starting flash discharge the step of after further include:
The operation start instruction for receiving user is taken pictures.
3. mobile terminal flash lamp according to claim 1 enables control method, which is characterized in that described in advance in movement
The step of camera button is set on terminal screen, flashlight charging will be started when receiving the instruction for touching the camera button:
Camera button is set on mobile terminal screen in advance, and the touch area of the camera button is rectangular touch area, the square
Shape touch area is determined by its lower-left angular coordinate and upper right angular coordinate;
When having detected has touch point in the rectangular touch area, control charges to flash lamp.
4. mobile terminal flash lamp according to claim 1 enables control method, which is characterized in that described to receive touching
When touching the instruction of the camera button by start flashlight charging step in flash lamp carry out charging include: to flash lamp power
It charges plus predetermined voltage at end.
5. mobile terminal flash lamp according to claim 1 enables control method, which is characterized in that the detection user exists
Touch operation in camera button, when touch area be greater than setting thresholding when starting flash discharge the step of include:
Touch operation of the user in camera button is detected, the variation for touching area is obtained;
Start flash discharge when touching area and being greater than the thresholding of setting.
6. mobile terminal flash lamp according to claim 5 enables control method, which is characterized in that the acquisition touch surface
The step of long-pending variation includes: the abscissa minimum value for obtaining touch point in key range of taking pictures, and abscissa maximum value, ordinate is most
Small value, ordinate maximum value;And calculate by abscissa minimum value, ordinate minimum value determines lower-left angular coordinate, most by abscissa
Big value, ordinate maximum value determines upper right angular coordinate, by the area for the rectangle that the lower-left angular coordinate and upper right angular coordinate determine.
7. mobile terminal flash lamp according to claim 1 enables control method, which is characterized in that the detection user exists
Touch operation in camera button, when touch area be less than or equal to setting thresholding and release touch screen then stop to flash lamp into
Row charging the step of include:
Detect touch operation of the user in camera button;
It is less than or equal to the thresholding set and release touch screen when touching area;
Stopping charges to flash lamp.
8. a kind of mobile terminal characterized by comprising processor, memory and communication bus;
Being stored on the memory can be made to can control program by the mobile terminal flash lamp that the processor executes;
The communication bus realizes the connection communication between processor and memory;What is be arranged on the mobile terminal screen takes pictures
Key;
The processor executes the mobile terminal flash lamp and realizes following steps when making can control program:
Flashlight charging will be started when receiving the instruction for touching the camera button;
Touch operation of the user in camera button is detected, starts flash discharge when touching area and being greater than the thresholding of setting;
Touch operation of the user in camera button is detected, is less than or equal to the thresholding set and release touch screen then when touching area
Stopping charges to flash lamp.
9. mobile terminal according to claim 8, which is characterized in that the processor, which executes the mobile terminal flash lamp, to be made
Following steps are also realized when can control program:
Camera button is set on mobile terminal screen in advance, and the touch area of the camera button is rectangular touch area, the square
Shape touch area is determined by its lower-left angular coordinate and upper right angular coordinate;
When having detected has touch point in the rectangular touch area, control charges to flash lamp;Flash lamp is supplied
It charges plus predetermined voltage at electric end;
Touch operation of the user in camera button is detected, the variation for touching area is obtained;
Start flash discharge when touching area and being greater than the thresholding of setting;And the operation start instruction for receiving user is taken pictures;
Detect touch operation of the user in camera button;
It is less than or equal to the thresholding set and release touch screen when touching area;
Stopping charges to flash lamp.
10. a kind of computer readable storage medium, which is characterized in that the computer-readable recording medium storage have one or
Multiple programs, one or more of programs can be executed by one or more processor, to realize that claim 1-7 such as appoints
Mobile terminal flash lamp described in meaning one enables the step in control method.
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 true CN110213422A (en) | 2019-09-06 |
CN110213422B 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 (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1156842A (en) * | 1995-01-06 | 1997-08-13 | 三星航空产业株式会社 | High-speed charge flash for camera |
CN1658060A (en) * | 2004-02-16 | 2005-08-24 | 乐金电子(中国)研究开发中心有限公司 | Controlling method and device for flash lamp of camera |
CN101710922A (en) * | 2009-11-10 | 2010-05-19 | 中兴通讯股份有限公司 | Shooting method and system based on mobile terminal |
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 |
CN106933620A (en) * | 2017-02-14 | 2017-07-07 | 珠海市魅族科技有限公司 | A kind of filming control method and system |
CN106941585A (en) * | 2017-05-15 | 2017-07-11 | 上海与德科技有限公司 | A kind of control device of flash lamp, control method and mobile terminal |
CN108255343A (en) * | 2015-08-27 | 2018-07-06 | 广东欧珀移动通信有限公司 | A kind of flash adjustment method and user terminal and medium product |
CN108595105A (en) * | 2018-04-27 | 2018-09-28 | Oppo广东移动通信有限公司 | Light filling lamp control method, device, storage medium and electronic equipment |
US20180332204A1 (en) * | 2011-11-14 | 2018-11-15 | Tseng-Lu Chien | LED Light Has Built-In Camera-Assembly for Colorful Digital-Data Under Dark Environment |
-
2019
- 2019-05-14 CN CN201910399085.8A patent/CN110213422B/en active Active
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1156842A (en) * | 1995-01-06 | 1997-08-13 | 三星航空产业株式会社 | High-speed charge flash for camera |
CN1658060A (en) * | 2004-02-16 | 2005-08-24 | 乐金电子(中国)研究开发中心有限公司 | Controlling method and device for flash lamp of camera |
CN101710922A (en) * | 2009-11-10 | 2010-05-19 | 中兴通讯股份有限公司 | Shooting method and system based on mobile terminal |
US20180332204A1 (en) * | 2011-11-14 | 2018-11-15 | Tseng-Lu Chien | LED Light Has Built-In Camera-Assembly for Colorful Digital-Data Under Dark Environment |
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 |
CN108255343A (en) * | 2015-08-27 | 2018-07-06 | 广东欧珀移动通信有限公司 | A kind of flash adjustment method and user terminal and medium product |
CN106933620A (en) * | 2017-02-14 | 2017-07-07 | 珠海市魅族科技有限公司 | A kind of filming control method and system |
CN106941585A (en) * | 2017-05-15 | 2017-07-11 | 上海与德科技有限公司 | A kind of control device of flash lamp, control method and mobile terminal |
CN108595105A (en) * | 2018-04-27 | 2018-09-28 | Oppo广东移动通信有限公司 | Light filling lamp control method, device, storage medium and electronic equipment |
Also Published As
Publication number | Publication date |
---|---|
CN110213422B (en) | 2021-05-28 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106505695B (en) | A kind of charge control method, device and terminal | |
CN103631359A (en) | Information processing method and electronic equipment | |
CN105467202B (en) | Electric quantity detection method and device and terminal | |
CN107957293B (en) | Ambient light intensity detection method and device, storage medium and electronic equipment | |
CN103682491A (en) | Charging method between electronic devices, charging circuits and electronic devices | |
CN105656113A (en) | Method for charging control and electronic device thereof | |
CN110351479A (en) | Light supplement control method, light filling lamp fitting and electronic equipment | |
CN105204603A (en) | Mobile terminal picture taking method and device and mobile picture taking terminal | |
CN106685018A (en) | Reverse charging method and device as well as terminal | |
CN103853628A (en) | HANDHELD ELECTRONIC APPARATUS AND METHOD for initiating application softwares of the handheld electronic apparatus | |
CN107092352A (en) | A kind of screen control method answered based on distance perspective and terminal | |
TW202030579A (en) | Indicator for ac power adapter | |
CN110213422A (en) | Mobile terminal flash lamp enables control method, mobile terminal and storage medium | |
CN106973231A (en) | Picture synthetic method and system | |
CN115379615B (en) | Electronic equipment and method for controlling brightness of light-emitting device | |
CN204517927U (en) | Electronic equipment | |
CN110213811A (en) | Mobile terminal shutdown electricity control processing method, mobile terminal and storage medium | |
CN103095929B (en) | Method and system capable of preventing terminal from restarting repeatedly and mobile terminal using the same | |
CN107690033A (en) | Mobile terminal, call processing method, terminal device and storage medium | |
CN104460936A (en) | Control method and electronic device | |
CN109547643A (en) | Mobile terminal shutdown charging method, mobile terminal and storage medium | |
CN103235271A (en) | Method of detecting power of touch pen | |
CN203406640U (en) | Super mobile power supply device | |
CN208691426U (en) | A kind of control terminal for area of handling a case | |
CN106066438A (en) | A kind of mobile terminal is based on the method and system of OTG detection equipment charge state |
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 |