CN104168699A - Flashlight illumination brightness setting method and device - Google Patents

Flashlight illumination brightness setting method and device Download PDF

Info

Publication number
CN104168699A
CN104168699A CN201410407717.8A CN201410407717A CN104168699A CN 104168699 A CN104168699 A CN 104168699A CN 201410407717 A CN201410407717 A CN 201410407717A CN 104168699 A CN104168699 A CN 104168699A
Authority
CN
China
Prior art keywords
flashlight
illumination
brightness
intensity
value
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201410407717.8A
Other languages
Chinese (zh)
Other versions
CN104168699B (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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201410407717.8A priority Critical patent/CN104168699B/en
Publication of CN104168699A publication Critical patent/CN104168699A/en
Application granted granted Critical
Publication of CN104168699B publication Critical patent/CN104168699B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • 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

  • Circuit Arrangement For Electric Light Sources In General (AREA)

Abstract

The embodiment of the invention discloses a flashlight illumination brightness setting method and device. The flashlight illumination brightness setting method comprises the steps that after a flashlight application in a mobile terminal is switched on, illumination intensity of the surrounding environment is acquired through a photosensitive element, and the flashlight illumination brightness value is set according to the current operating mode of the flashlight application and the acquired illumination intensity. The flashlight illumination brightness setting device comprises an illumination intensity acquisition unit and an illumination brightness value setting unit, wherein the illumination intensity acquisition unit is used for acquiring the illumination intensity of the surrounding environment through the photosensitive element after the flashlight application in the mobile terminal is switched on, and the illumination brightness value setting unit is used for setting the flashlight illumination brightness value according to the current operating mode of the flashlight application and the acquired illumination intensity. The flashlight illumination brightness setting method and device solve the technical problem that an existing flashlight application can only provide an illumination light source with simplex brightness for a user, optimize the existing flashlight illumination technology in the mobile terminal, and meet the increasingly strong requirement for individualized and convenient flashlight illumination.

Description

The method to set up of flashlight lighting brightness and device
Technical field
The embodiment of the present invention relates to mobile communication technology, relates in particular to a kind of method to set up and device of flashlight lighting brightness.
Background technology
Along with the development of terminal technology, the hardware configuration in mobile terminal is also more and more higher.At present, in the mobile terminal of medium and high classes, substantially all dispose the camera of high pixel., in order to promote the shooting of special scenes, experience meanwhile, general at the other photoflash lamp of all having arranged in pairs or groups of camera, with the time standby photoflash lamp of realizing at insufficient light, carry out light filling.
In the prior art, a lot of mobile terminals have all utilized the existing function of photoflash lamp to make mobile terminal can serve as flashlight use.When user needs mobile terminal that illumination functions is provided, as long as in flashlight application program built-in or that user downloads and installs provides in mobile terminal human-computer interaction interface, tap corresponding button, can open photoflash lamp and provide illumination for user.In general, the application of existing flashlight can only provide the lighting source of unique brightness value for user by the mode lighting photoflash lamp and keep photoflash lamp Chang Liang.
But the progress of technology also makes people become higher for the requirement of flashlight function in mobile terminal, in mobile terminal, traditional flashlight lighting technology cannot meet the personalization that people strengthen day by day, the flashlight lighting demand of facilitation.
Summary of the invention
In view of this, the embodiment of the present invention provides a kind of method to set up and device of flashlight lighting brightness, to optimize existing flashlight lighting technology technology in mobile terminal, meets the personalization that people strengthen day by day, the flashlight lighting demand of facilitation.
In first aspect, the embodiment of the present invention provides a kind of method to set up of flashlight lighting brightness, comprising:
After flashlight application in opening mobile terminal, by photo-sensitive cell, obtain the intensity of illumination of surrounding environment;
According to flashlight, apply current mode of operation and the described intensity of illumination of obtaining, the brightness of illumination value of flashlight is set.
In second aspect, the embodiment of the present invention provides a kind of setting device of flashlight lighting brightness, comprising:
Intensity of illumination acquiring unit, after the flashlight application opening mobile terminal, obtains the intensity of illumination of surrounding environment by photo-sensitive cell;
Brightness of illumination value setting unit, for the described intensity of illumination of applying current mode of operation according to flashlight and obtaining, arranges the brightness of illumination value of flashlight.
The embodiment of the present invention, by after opening flashlight application, is obtained the intensity of illumination of surrounding environment by photo-sensitive cell; The described intensity of illumination of applying current mode of operation and obtaining according to flashlight, the technological means of the brightness of illumination value of flashlight is set, solved existing flashlight application the technical problem of the lighting source of unique brightness value can only be provided for user, optimize existing flashlight lighting technology technology in mobile terminal, met the flashlight lighting demand of the personalization that people strengthen day by day, facilitation.
Accompanying drawing explanation
Fig. 1 is the flow chart of method to set up of a kind of flashlight lighting brightness of first embodiment of the invention;
Fig. 2 is the flow chart of method to set up of a kind of flashlight lighting brightness of second embodiment of the invention;
Fig. 3 is the flow chart of method to set up of a kind of flashlight lighting brightness of third embodiment of the invention;
Fig. 4 is the flow chart of method to set up of a kind of flashlight lighting brightness of fourth embodiment of the invention;
Fig. 5 is the structure chart of setting device of a kind of flashlight lighting brightness of fifth embodiment of the invention.
Embodiment
In order to make the object, technical solutions and advantages of the present invention clearer, below in conjunction with accompanying drawing, the specific embodiment of the invention is described in further detail.Be understandable that, specific embodiment described herein is only for explaining the present invention, but not limitation of the invention.It also should be noted that, for convenience of description, in accompanying drawing, only show part related to the present invention but not full content.
The first embodiment
Fig. 1 is the flow chart of method to set up of a kind of flashlight lighting brightness of first embodiment of the invention, the method of the present embodiment can be carried out by the setting device of flashlight lighting brightness, this device can be realized by the mode of hardware and/or software, and being integrated in the terminal equipment at flashlight application place, or the subprogram of applying as flashlight.The method of the present embodiment specifically comprises the steps:
After step 110, the application of the flashlight in opening mobile terminal, by photo-sensitive cell, obtain the intensity of illumination of surrounding environment.
In the present embodiment, after user opens the flashlight application in mobile terminal, the intensity of illumination of surrounding environment is obtained in flashlight application by photo-sensitive cell.
In general, traditional camera is used " film " as the carrier of its recorded information, and " film " of digital camera is exactly its imaging photosensitive element.Photo-sensitive cell, be called again imageing sensor, it mainly comprises two types: CCD (Charge-coupled Device, charge coupled cell) and CMOS (Complementary Metal Oxide Semiconductor, CMOS (Complementary Metal Oxide Semiconductor) conductor).Photo-sensitive cell for mobile phone digital camera is all CMOS substantially.
After accepting illumination, in mobile terminal, the photo-sensitive cell of digital camera can produce corresponding electric current, and size of current is corresponding with light intensity, and flashlight application, by detecting the size of current on photo-sensitive cell, can be obtained the intensity of illumination of surrounding environment.
Step 120, the described intensity of illumination of applying current mode of operation and obtaining according to flashlight, arrange the brightness of illumination value of flashlight.
In the present embodiment, flashlight application, according to self current mode of operation and the described intensity of illumination of obtaining, arranges the brightness of illumination value of flashlight.
Flashlight application in existing mobile terminal, can only provide for user the light source of unique brightness of illumination value, and this has significant limitation in actual applications.
For example, in the process of taking pictures, if user thinks that light intensity is not enough, want to carry out light filling by flashlight lighting mode, certainly wish that flashlight application can provide than surrounding environment, or a brightness of illumination that benchmark light intensity is stronger; In another example, if user wants to read paper book at dark place by the mode by flashlight lighting, the high light of flashlight is seem especially dazzling of meeting under the setting off of the low light level around, now, if flashlight brightness can be suitable more secretly, can all bring very optimum experience effect etc. to user's eyes and reading experience, but the flashlight application in existing mobile terminal all cannot meet the demand.
In the present embodiment, flashlight is applied according to current mode of operation, and different flashlight brightness values is set, and to realize, farthest meets the actual demand of people to flashlight brightness.
One of the present embodiment preferred embodiment in, flashlight application can be stipulated two kinds of mode of operations: favorable balance pattern and unfavourable balance pattern.
Wherein, favorable balance pattern can be: flashlight brightness, along with the enhancing of surrounding environment illumination intensity weakens, strengthens along with weakening of surrounding environment illumination intensity.This mode of operation goes for user need to be provided in the scene of light source by flashlight in the dark.For example, user walking outside at night is, surrounding environment is darker, and flashlight brightness is stronger, and when surrounding environment brightens, flashlight brightness suitably dims with saves energy;
Unfavourable balance pattern can be: flashlight brightness, along with the enhancing of surrounding environment illumination intensity strengthens, weakens along with weakening of surrounding environment illumination intensity.Wherein, flashlight brightness strengthens and goes in the process of taking pictures along with the enhancing of surrounding environment illumination intensity, if user thinks that light intensity is not enough, wants to be undertaken in the scene of light filling by flashlight lighting mode; Flashlight brightness is wanted at dark place by reading in the scene of paper book by the mode of flashlight lighting along with weakening of surrounding environment illumination intensity goes for user.
One of the present embodiment preferred embodiment in, a favorable balance pattern can be only stipulated in flashlight application.And favorable balance pattern is specifically as follows: flashlight application is by the intensity of illumination of the surrounding environment of obtaining and default light intensity fiducial value comparison, when if above-mentioned intensity of illumination is less than default illumination fiducial value, the brightness of illumination value of flashlight is set to this default light intensity fiducial value.
The present embodiment another preferred embodiment in, a unfavourable balance pattern can be only stipulated in flashlight application.And unfavourable balance pattern is specifically as follows: flashlight application is by the intensity of illumination of the surrounding environment of obtaining and default light intensity fiducial value comparison, if above-mentioned intensity of illumination is less than default illumination fiducial value, brightness value that is less than light intensity fiducial value is set to the brightness of illumination value of flashlight; Otherwise brightness value that is greater than light intensity fiducial value is set to the brightness of illumination value of flashlight.
In another preferred implementation of the present embodiment, in flashlight application, can comprise above-mentioned favorable balance pattern and unfavourable balance pattern simultaneously, this is not limited.
The embodiment of the present invention, by after opening flashlight application, is obtained the intensity of illumination of surrounding environment by photo-sensitive cell; The described intensity of illumination of applying current mode of operation and obtaining according to flashlight, the technological means of the brightness of illumination value of flashlight is set, solved existing flashlight application the technical problem of the lighting source of unique brightness value can only be provided for user, optimize existing flashlight lighting technology technology in mobile terminal, met the flashlight lighting demand of the personalization that people strengthen day by day, facilitation.
The second embodiment
Fig. 2 is the flow chart of method to set up of a kind of flashlight lighting brightness of second embodiment of the invention.The present embodiment be take above-described embodiment and is optimized as basis, in the present embodiment, the described intensity of illumination of preferably step being applied to current mode of operation and being obtained according to flashlight, the brightness of illumination value that flashlight is set is optimized for: when flashlight is applied current mode of operation and is favorable balance pattern, according to the brightness of illumination value of flashlight described in the first correspondence setting of the described intensity of illumination of obtaining and intensity of illumination and brightness of illumination value;
Preferably by step when flashlight is applied current mode of operation and is favorable balance pattern, according to the brightness of illumination value of flashlight described in the first correspondence setting of the described intensity of illumination of obtaining and intensity of illumination and brightness of illumination value, be optimized for: when flashlight is applied current mode of operation and is favorable balance pattern, according to the first corresponding relation: G = 0 , B - M &GreaterEqual; 0 G = M , B - M < 0 , The brightness of illumination value G of described flashlight is set, and wherein, B is the described intensity of illumination of obtaining, and M is for setting light intensity fiducial value.
Accordingly, the method for the present embodiment comprises the steps:
After step 210, the application of the flashlight in opening mobile terminal, by photo-sensitive cell, obtain the intensity of illumination of surrounding environment.
Step 220, when flashlight is applied current mode of operation and is favorable balance pattern, calculate described intensity of illumination B and set the difference B-M between light intensity fiducial value M.
In the present embodiment, in flashlight application, stipulated the mode of operation of favorable balance.The flashlight lighting brightness setting up procedure of favorable balance pattern is as follows:
When the intensity of illumination B of the surrounding environment of obtaining when flashlight application is less than and sets light intensity fiducial value M, this default light intensity fiducial value M is set to the brightness of illumination value G of flashlight;
When the intensity of illumination B of the surrounding environment of obtaining when flashlight application is more than or equal to and sets light intensity fiducial value M, close flashlight application.
Wherein, setting illumination value M is a predefined experience illumination value.This value can be preset according to the conventional lighting criteria of indoor and outdoor.Preferably, can, according to the light source characteristic of metal halide lamp, select 50Lux as setting illumination value M.
Step 230, judge whether B-M is more than or equal to 0: if so, perform step 240; Otherwise, execution step 250.
Step 240, close flashlight application.
The brightness of illumination value G of step 250, flashlight is set to M.
The embodiment of the present invention, by after opening flashlight application, is obtained the intensity of illumination of surrounding environment by photo-sensitive cell; When flashlight is applied current mode of operation and is favorable balance pattern, according to the technological means of the brightness of illumination value of flashlight described in the first correspondence setting of the described intensity of illumination of obtaining and intensity of illumination and brightness of illumination value, reached when the intrinsic brilliance of environment is less than default normal brightness around, flashlight brightness meeting automatic light-supplementing is to normal brightness, and when the intrinsic brilliance of environment is greater than default normal brightness around, flashlight application can close to solve the technique effect of electric energy.Solved existing flashlight application the technical problem of the lighting source of unique brightness value can only be provided for user, optimize existing flashlight lighting technology technology in mobile terminal, met the flashlight lighting demand of the personalization that people strengthen day by day, facilitation.
The 3rd embodiment
Fig. 3 is the flow chart of method to set up of a kind of flashlight lighting brightness of third embodiment of the invention.The present embodiment be take above-described embodiment and is optimized as basis, in the present embodiment, the described intensity of illumination of preferably step being applied to current mode of operation and being obtained according to flashlight, the brightness of illumination value that flashlight is set is optimized for: when flashlight is applied current mode of operation and is unfavourable balance pattern, according to the brightness of illumination value of flashlight described in the second correspondence setting of the described intensity of illumination of obtaining and intensity of illumination and brightness of illumination value;
Preferably by step when flashlight is applied current mode of operation and is unfavourable balance pattern, according to the brightness of illumination of flashlight described in the second correspondence setting of the described intensity of illumination of obtaining and intensity of illumination and brightness of illumination value, be optimized for: when flashlight is applied current mode of operation and is unfavourable balance pattern, according to the second corresponding relation: G = k 1 * M , B - M &GreaterEqual; 0 G = k 2 * M , B - M < 0 , The brightness of illumination value G of described flashlight is set, and wherein, B is the described intensity of illumination of obtaining, and M is for setting light intensity fiducial value, k1>1,0<k2<1.
Accordingly, the method for the present embodiment comprises the steps:
After step 310, the application of the flashlight in opening mobile terminal, by photo-sensitive cell, obtain the intensity of illumination of surrounding environment.
Step 320, when flashlight is applied current mode of operation and is unfavourable balance pattern, calculate described intensity of illumination B and set the difference B-M between light intensity fiducial value M.
In the present embodiment, in flashlight application, stipulated the mode of operation of unfavourable balance.The flashlight lighting brightness setting up procedure of unfavourable balance pattern is as follows:
When the intensity of illumination B of the surrounding environment of obtaining when flashlight application is less than and sets light intensity fiducial value M, by a brightness value (k2*M who is less than light intensity fiducial value, wherein, 0<k2<1) be set to the brightness of illumination value of flashlight.
When the intensity of illumination B of the surrounding environment of obtaining when flashlight application is more than or equal to and sets light intensity fiducial value M, by a brightness value that is greater than light intensity fiducial value, (k1*M wherein, k1>1) is set to the brightness of illumination value of flashlight.
Wherein, setting illumination value M is a predefined experience illumination value.This value can be preset according to the conventional lighting criteria of indoor and outdoor.Preferably, can, according to the light source characteristic of metal halide lamp, select 50Lux as setting illumination value M.
Step 330, judge whether B-M is more than or equal to 0: if so, perform step 340; Otherwise, execution step 350.
The brightness of illumination value G of step 340, flashlight is set to k1*M, wherein, and k1>1.
In a preferred implementation of the present embodiment, can get k1=1.1.
The brightness of illumination value G of step 350, flashlight is set to k2*M, wherein, and 0<k2<1.
In a preferred implementation of the present embodiment, can get k2=0.8.
The embodiment of the present invention, by after opening flashlight application, is obtained the intensity of illumination of surrounding environment by photo-sensitive cell; When flashlight is applied current mode of operation and is unfavourable balance pattern, according to the technological means of the brightness of illumination value of flashlight described in the second correspondence setting of the described intensity of illumination of obtaining and intensity of illumination and brightness of illumination value, reached when the intrinsic brilliance of environment is less than default normal brightness around, a value that is less than normal brightness is adjusted in flashlight brightness meeting, thinks that user provides a sheen adapting with surrounding environment; And when the intrinsic brilliance of environment is greater than default normal brightness around, flashlight application can be adjusted to a value that is greater than normal brightness and carry out the technique effect of light filling for user.Solved existing flashlight application the technical problem of the lighting source of unique brightness value can only be provided for user, optimize existing flashlight lighting technology technology in mobile terminal, met the flashlight lighting demand of the personalization that people strengthen day by day, facilitation.
The 4th embodiment
Fig. 4 is the flow chart of method to set up of a kind of flashlight lighting brightness of fourth embodiment of the invention.The present embodiment be take above-described embodiment and is optimized as basis, in the present embodiment, in flashlight application, preferably comprises simultaneously and only comprise favorable balance and two kinds of patterns of unfavourable balance.
Accordingly, the method for the present embodiment comprises the steps:
After step 410, the application of the flashlight in opening mobile terminal, by photo-sensitive cell, obtain the intensity of illumination of surrounding environment.
Step 420, calculate described intensity of illumination B and set the difference B-M between light intensity fiducial value M.
Step 430, judge whether flashlight is applied current mode of operation is favorable balance pattern: if so, perform step 440; Otherwise, execution step 450.
In the present embodiment, flashlight application specifies favorable balance, two kinds of mode of operations of unfavourable balance, user can select suitable mode of operation according to actual needs.
Step 440, judge whether B-M is more than or equal to 0: if so, perform step 460; Otherwise, execution step 470.
Step 450, judge whether B-M is more than or equal to 0: if so, perform step 480; Otherwise, execution step 490.
Step 460, close flashlight application.
The brightness of illumination value G of step 470, flashlight is set to M.
The brightness of illumination value G of step 480, flashlight is set to k1*M, wherein, and k1>1.
The brightness of illumination value G of step 490, flashlight is set to k2*M, wherein, and 0<k2<1.
The embodiment of the present invention, by after opening flashlight application, is obtained the intensity of illumination of surrounding environment by photo-sensitive cell; The described intensity of illumination of applying current mode of operation and obtaining according to flashlight, the technological means of the brightness of illumination value of flashlight is set, solved existing flashlight application the technical problem of the lighting source of unique brightness value can only be provided for user, optimize existing flashlight lighting technology technology in mobile terminal, met the flashlight lighting demand of the personalization that people strengthen day by day, facilitation.
On the basis of the various embodiments described above, when described flashlight application comprises at least two mode of operations, described method also comprises: after opening flashlight application, if detected, the touch operation time of described photo-sensitive cell is surpassed to setting-up time threshold value, switch described flashlight and apply current mode of operation.
For example, when user opens after flashlight application, by pinning the photo-sensitive cell a period of time in mobile terminal, for example, 5s, 10s or 15s etc., can realize the switching of flashlight mode of operation.The benefit arranging is like this: user, use in the process of flashlight application, human-computer interaction interface without entering flashlight application, directly taps operation by the ad-hoc location at mobile terminal, can switch fast flashlight application mode of operation, switching efficiency is high, and user experiences.
The 5th embodiment
Figure 5 illustrates the structure chart of setting device of a kind of flashlight lighting brightness of fifth embodiment of the invention.As shown in Figure 5, described device comprises:
Intensity of illumination acquiring unit 51, after the flashlight application opening mobile terminal, obtains the intensity of illumination of surrounding environment by photo-sensitive cell.
Brightness of illumination value setting unit 52, for the described intensity of illumination of applying current mode of operation according to flashlight and obtaining, arranges the brightness of illumination value of flashlight.
The embodiment of the present invention, by after opening flashlight application, is obtained the intensity of illumination of surrounding environment by photo-sensitive cell; The described intensity of illumination of applying current mode of operation and obtaining according to flashlight, the technological means of the brightness of illumination value of flashlight is set, solved existing flashlight application the technical problem of the lighting source of unique brightness value can only be provided for user, optimize existing flashlight lighting technology technology in mobile terminal, met the flashlight lighting demand of the personalization that people strengthen day by day, facilitation.
On the basis of the various embodiments described above, described brightness of illumination value setting unit specifically can be for:
When flashlight is applied current mode of operation and is favorable balance pattern, according to the brightness of illumination value of flashlight described in the first correspondence setting of the described intensity of illumination of obtaining and intensity of illumination and brightness of illumination value.
On the basis of the various embodiments described above, described brightness of illumination value setting unit further specifically can be for:
When flashlight is applied current mode of operation and is favorable balance pattern, according to the first corresponding relation: G = 0 , B - M &GreaterEqual; 0 G = M , B - M < 0 , The brightness of illumination value G of described flashlight is set, and wherein, B is the described intensity of illumination of obtaining, and M is for setting light intensity fiducial value.
On the basis of the various embodiments described above, described brightness of illumination value setting unit specifically can be for:
When flashlight is applied current mode of operation and is unfavourable balance pattern, according to the brightness of illumination value of flashlight described in the second correspondence setting of the described intensity of illumination of obtaining and intensity of illumination and brightness of illumination value.
On the basis of the various embodiments described above, described brightness of illumination value setting unit further specifically can be for:
When flashlight is applied current mode of operation and is unfavourable balance pattern, according to the second corresponding relation: G = k 1 * M , B - M &GreaterEqual; 0 G = k 2 * M , B - M < 0 , The brightness of illumination value G of described flashlight is set, and wherein, B is the described intensity of illumination of obtaining, and M is for setting light intensity fiducial value, k1>1,0<k2<1.
On the basis of the various embodiments described above, also comprise: Working mode changeover unit, for when described flashlight application comprises at least two mode of operations, after opening flashlight application, if detected, the touch operation time of described photo-sensitive cell is surpassed to setting-up time threshold value, switch described flashlight and apply current mode of operation.
The setting device of the flashlight lighting brightness that the embodiment of the present invention provides can be used for carrying out the method to set up of the flashlight lighting brightness that any embodiment of the present invention provides, and possesses corresponding functional module, realizes identical beneficial effect.
Obviously, it will be understood by those skilled in the art that above-mentioned each module of the present invention or each step can be by server implementations as above.Alternatively, the embodiment of the present invention can realize by the executable program of computer installation, thereby they can be stored in storage device and be carried out by processor, described program can be stored in a kind of computer-readable recording medium, the above-mentioned storage medium of mentioning can be read-only memory, disk or CD etc.; Or they are made into respectively to each integrated circuit modules, or a plurality of modules in them or step are made into single integrated circuit module realize.Like this, the present invention is not restricted to the combination of any specific hardware and software.
The foregoing is only the preferred embodiments of the present invention, be not limited to the present invention, to those skilled in the art, the present invention can have various changes and variation.All any modifications of doing, be equal to replacement, improvement etc., within protection scope of the present invention all should be included within spirit of the present invention and principle.

Claims (12)

1. a method to set up for flashlight lighting brightness, is characterized in that, comprising:
After flashlight application in opening mobile terminal, by photo-sensitive cell, obtain the intensity of illumination of surrounding environment;
According to flashlight, apply current mode of operation and the described intensity of illumination of obtaining, the brightness of illumination value of flashlight is set.
2. method according to claim 1, is characterized in that, the described intensity of illumination of applying current mode of operation and obtaining according to flashlight, and the brightness of illumination value that flashlight is set comprises:
When flashlight is applied current mode of operation and is favorable balance pattern, according to the brightness of illumination value of flashlight described in the first correspondence setting of the described intensity of illumination of obtaining and intensity of illumination and brightness of illumination value.
3. method according to claim 2, it is characterized in that, when flashlight is applied current mode of operation and is favorable balance pattern, according to the brightness of illumination value of flashlight described in the first correspondence setting of the described intensity of illumination of obtaining and intensity of illumination and brightness of illumination value, specifically comprise:
When flashlight is applied current mode of operation and is favorable balance pattern, according to the first corresponding relation: G = 0 , B - M &GreaterEqual; 0 G = M , B - M < 0 , The brightness of illumination value G of described flashlight is set, and wherein, B is the described intensity of illumination of obtaining, and M is for setting light intensity fiducial value.
4. method according to claim 1, is characterized in that, the described intensity of illumination of applying current mode of operation and obtaining according to flashlight, and the brightness of illumination value that flashlight is set comprises:
When flashlight is applied current mode of operation and is unfavourable balance pattern, according to the brightness of illumination value of flashlight described in the second correspondence setting of the described intensity of illumination of obtaining and intensity of illumination and brightness of illumination value.
5. method according to claim 4, it is characterized in that, when flashlight is applied current mode of operation and is unfavourable balance pattern, according to the brightness of illumination of flashlight described in the second correspondence setting of the described intensity of illumination of obtaining and intensity of illumination and brightness of illumination value, specifically comprise:
When flashlight is applied current mode of operation and is unfavourable balance pattern, according to the second corresponding relation: G = k 1 * M , B - M &GreaterEqual; 0 G = k 2 * M , B - M < 0 , The brightness of illumination value G of described flashlight is set, and wherein, B is the described intensity of illumination of obtaining, and M is for setting light intensity fiducial value, k1>1,0<k2<1.
6. method according to claim 1, is characterized in that, when described flashlight application comprises at least two mode of operations, described method also comprises:
After opening flashlight application, if detected, the touch operation time of described photo-sensitive cell is surpassed to setting-up time threshold value, switch described flashlight and apply current mode of operation.
7. a setting device for flashlight lighting brightness, is characterized in that, comprising:
Intensity of illumination acquiring unit, after the flashlight application opening mobile terminal, obtains the intensity of illumination of surrounding environment by photo-sensitive cell;
Brightness of illumination value setting unit, for the described intensity of illumination of applying current mode of operation according to flashlight and obtaining, arranges the brightness of illumination value of flashlight.
8. device according to claim 7, is characterized in that, described brightness of illumination value setting unit specifically for:
When flashlight is applied current mode of operation and is favorable balance pattern, according to the brightness of illumination value of flashlight described in the first correspondence setting of the described intensity of illumination of obtaining and intensity of illumination and brightness of illumination value.
9. device according to claim 8, is characterized in that, described brightness of illumination value setting unit further specifically for:
When flashlight is applied current mode of operation and is favorable balance pattern, according to the first corresponding relation: G = 0 , B - M &GreaterEqual; 0 G = M , B - M < 0 , The brightness of illumination value G of described flashlight is set, and wherein, B is the described intensity of illumination of obtaining, and M is for setting light intensity fiducial value.
10. device according to claim 7, is characterized in that, described brightness of illumination value setting unit specifically for:
When flashlight is applied current mode of operation and is unfavourable balance pattern, according to the brightness of illumination value of flashlight described in the second correspondence setting of the described intensity of illumination of obtaining and intensity of illumination and brightness of illumination value.
11. devices according to claim 10, is characterized in that, described brightness of illumination value setting unit further specifically for:
When flashlight is applied current mode of operation and is unfavourable balance pattern, according to the second corresponding relation: G = k 1 * M , B - M &GreaterEqual; 0 G = k 2 * M , B - M < 0 , The brightness of illumination value G of described flashlight is set, and wherein, B is the described intensity of illumination of obtaining, and M is for setting light intensity fiducial value, k1>1,0<k2<1.
12. devices according to claim 7, it is characterized in that, also comprise: Working mode changeover unit, for when described flashlight application comprises at least two mode of operations, after opening flashlight application, if detected, the touch operation time of described photo-sensitive cell is surpassed to setting-up time threshold value, switch described flashlight and apply current mode of operation.
CN201410407717.8A 2014-08-18 2014-08-18 Flashlight illumination brightness setting method and device Active CN104168699B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410407717.8A CN104168699B (en) 2014-08-18 2014-08-18 Flashlight illumination brightness setting method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410407717.8A CN104168699B (en) 2014-08-18 2014-08-18 Flashlight illumination brightness setting method and device

Publications (2)

Publication Number Publication Date
CN104168699A true CN104168699A (en) 2014-11-26
CN104168699B CN104168699B (en) 2017-01-11

Family

ID=51912273

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410407717.8A Active CN104168699B (en) 2014-08-18 2014-08-18 Flashlight illumination brightness setting method and device

Country Status (1)

Country Link
CN (1) CN104168699B (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104661413A (en) * 2015-03-04 2015-05-27 广东欧珀移动通信有限公司 Method and device for adjusting brightness of flashlight
CN105430196A (en) * 2015-12-30 2016-03-23 广东欧珀移动通信有限公司 Method and device for controlling electric torch state of mobile terminal by means of positioning system
WO2017066303A1 (en) * 2015-10-14 2017-04-20 The Watt Stopper, Inc. Methods and devices for auto-calibrating light dimmers
WO2017107326A1 (en) * 2015-12-24 2017-06-29 中兴通讯股份有限公司 Control method and device, and terminal
CN107450726A (en) * 2017-08-01 2017-12-08 上海传英信息技术有限公司 A kind of flashlight brightness adjusting method and terminal, computer-readable recording medium
CN107787104A (en) * 2017-11-08 2018-03-09 北方民族大学 The control method and system of a kind of emergency light
CN110825296A (en) * 2019-11-07 2020-02-21 深圳传音控股股份有限公司 Application control method, device and computer readable storage medium
CN111645700A (en) * 2020-05-07 2020-09-11 博泰车联网(南京)有限公司 Control method, interaction method, mobile terminal and computer readable storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201450532U (en) * 2009-06-04 2010-05-05 宇龙计算机通信科技(深圳)有限公司 Movable terminal
CN101719944A (en) * 2009-12-09 2010-06-02 中兴通讯股份有限公司 Terminal for sensing light and method for adjusting human-computer interface by sensing light
US20110175534A1 (en) * 2010-01-18 2011-07-21 Hong Fu Jin Precision Industry (Shenzhen) Co., Ltd. Illumination device capable of adjusting light brightness and method thereof
CN202252884U (en) * 2011-08-12 2012-05-30 东莞金唐五金电器制造有限公司 Automatic dimming flashlight
CN103685902A (en) * 2012-09-03 2014-03-26 联想(北京)有限公司 Mobile phone using camera photosensitive chip to control flashlight

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201450532U (en) * 2009-06-04 2010-05-05 宇龙计算机通信科技(深圳)有限公司 Movable terminal
CN101719944A (en) * 2009-12-09 2010-06-02 中兴通讯股份有限公司 Terminal for sensing light and method for adjusting human-computer interface by sensing light
US20110175534A1 (en) * 2010-01-18 2011-07-21 Hong Fu Jin Precision Industry (Shenzhen) Co., Ltd. Illumination device capable of adjusting light brightness and method thereof
CN202252884U (en) * 2011-08-12 2012-05-30 东莞金唐五金电器制造有限公司 Automatic dimming flashlight
CN103685902A (en) * 2012-09-03 2014-03-26 联想(北京)有限公司 Mobile phone using camera photosensitive chip to control flashlight

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104661413A (en) * 2015-03-04 2015-05-27 广东欧珀移动通信有限公司 Method and device for adjusting brightness of flashlight
WO2017066303A1 (en) * 2015-10-14 2017-04-20 The Watt Stopper, Inc. Methods and devices for auto-calibrating light dimmers
US9723691B2 (en) 2015-10-14 2017-08-01 The Watt Stopper, Inc. Methods and devices for auto-calibrating light dimmers
WO2017107326A1 (en) * 2015-12-24 2017-06-29 中兴通讯股份有限公司 Control method and device, and terminal
CN105430196A (en) * 2015-12-30 2016-03-23 广东欧珀移动通信有限公司 Method and device for controlling electric torch state of mobile terminal by means of positioning system
CN105430196B (en) * 2015-12-30 2018-12-04 广东欧珀移动通信有限公司 A kind of method and device of the flashlight state of combined positioning system controlling terminal
CN107450726A (en) * 2017-08-01 2017-12-08 上海传英信息技术有限公司 A kind of flashlight brightness adjusting method and terminal, computer-readable recording medium
CN107787104A (en) * 2017-11-08 2018-03-09 北方民族大学 The control method and system of a kind of emergency light
CN110825296A (en) * 2019-11-07 2020-02-21 深圳传音控股股份有限公司 Application control method, device and computer readable storage medium
CN111645700A (en) * 2020-05-07 2020-09-11 博泰车联网(南京)有限公司 Control method, interaction method, mobile terminal and computer readable storage medium

Also Published As

Publication number Publication date
CN104168699B (en) 2017-01-11

Similar Documents

Publication Publication Date Title
CN104168699A (en) Flashlight illumination brightness setting method and device
CN102955326B (en) Electronic device for providing adjustable supplementary lighting
CN104581099A (en) Shooting method and terminal
JP2018523323A (en) Imaging method, imaging apparatus, and terminal
CN105049726A (en) Mobile terminal shooting method and mobile terminal
CN104428829A (en) Color control method and communication apparatus
CN103051804B (en) Intelligent photo taking method and system of mobile terminal
CN103312986A (en) Mobile terminal based front photographing fill light method and mobile terminal
CN109068057B (en) Automatic light following system based on accurate positioning
CN104410785A (en) An information processing method and electronic device
CN105872393A (en) High dynamic range image generation method and device
CN105517222B (en) Light adjusting method and device
CN106134189B (en) Image processing apparatus, photographic device, image processing method and program
CN104076898A (en) Method and device for controlling luminance of mobile terminal screen
CN104346057B (en) Background color adjusting method and device
CN103595842A (en) Method for adjusting illuminating brightness of flashlight serving as electric torch and mobile terminal
CN116405783A (en) Shooting light supplementing method and related device
CN104427317A (en) Image acquisition method and electronic equipment
CN108881730A (en) Image interfusion method, device, electronic equipment and computer readable storage medium
CN106165409A (en) Image processing apparatus, camera head, image processing method and program
CN105657283A (en) Image generating method, device and terminal equipment
CN104580892A (en) Method for terminal to take images
CN104394329A (en) Photographing method and device and mobile terminal
CN102905072A (en) Imaging apparatus and control method thereof, and image processing apparatus and control method thereof
CN202551195U (en) Control device for aerial photographing and videoing

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.