CN105827939A - Method for controlling flash lamp and electronic device - Google Patents

Method for controlling flash lamp and electronic device Download PDF

Info

Publication number
CN105827939A
CN105827939A CN201510615277.XA CN201510615277A CN105827939A CN 105827939 A CN105827939 A CN 105827939A CN 201510615277 A CN201510615277 A CN 201510615277A CN 105827939 A CN105827939 A CN 105827939A
Authority
CN
China
Prior art keywords
flash
parameter
light
force value
range
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201510615277.XA
Other languages
Chinese (zh)
Inventor
杜莉莉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201510615277.XA priority Critical patent/CN105827939A/en
Publication of CN105827939A publication Critical patent/CN105827939A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/70Circuitry for compensating brightness variation in the scene
    • H04N23/74Circuitry for compensating brightness variation in the scene by influencing the scene brightness using illuminating means
    • GPHYSICS
    • G03PHOTOGRAPHY; CINEMATOGRAPHY; ANALOGOUS TECHNIQUES USING WAVES OTHER THAN OPTICAL WAVES; ELECTROGRAPHY; HOLOGRAPHY
    • G03BAPPARATUS OR ARRANGEMENTS FOR TAKING PHOTOGRAPHS OR FOR PROJECTING OR VIEWING THEM; APPARATUS OR ARRANGEMENTS EMPLOYING ANALOGOUS TECHNIQUES USING WAVES OTHER THAN OPTICAL WAVES; ACCESSORIES THEREFOR
    • G03B15/00Special procedures for taking photographs; Apparatus therefor
    • G03B15/02Illuminating scene
    • G03B15/03Combinations of cameras with lighting apparatus; Flash units
    • G03B15/05Combinations of cameras with electronic flash apparatus; Electronic flash units
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/62Control of parameters via user interfaces

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Circuit Arrangement For Electric Light Sources In General (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention provides a method for controlling a flash lamp and an electronic device. The method comprise the steps of acquiring the pressure value of a pressure applied by a user onto a touch screen within a preset region; according to the corresponding relationship between preset flash control parameters and the range of pressure values, obtaining flash control parameters corresponding to the obtained pressure value; and controlling the light-emitting state of the flash lamp according to the obtained flash control parameters. According to the technical scheme of the invention, the problem in the prior art that the brightness of the flash lamp cannot be adjusted effectively according to user requirements before and after the switching-on of the flash lamp can be solved.

Description

A kind of method controlling flash lamp and electronic equipment
Technical field
The present invention relates to electronic technology field, especially relate to a kind of method controlling flash lamp and electronic equipment.
Background technology
Along with the development of science and technology, mobile terminal gradually has become as an indispensable part in people's live and work.Flash lamp, as the critically important function of mobile terminal, may act as in the dark for the pocket lamp of illumination, it is also possible to for assisting light filling when taking pictures or record a video.
But, flash lamp just starts to open at when, the brightness of flash lamp is maintained at certain value, will not adjust according to environment or use demand.It can thus be seen that when flash lamp being used as illumination or assisting light filling, brightness of flash lamp quickly effectively cannot be adjusted according to demands of individuals before and after opening flash lamp, reduce Consumer's Experience by user.
Summary of the invention
In order to solve prior art the most effectively cannot adjust before and after opening flash lamp the problem of brightness of flash lamp according to user's request, the invention provides a kind of method controlling flash lamp and electronic equipment.
In order to solve above-mentioned technical problem, the invention provides a kind of method controlling flash lamp, be applied to the electronic equipment with touch screen and flash lamp, described method includes:
Obtain the force value of the pressure that user is applied on the predeterminable area of touch screen;
Control the corresponding relation of parameter and range of pressure values according to default flash of light, obtain the flash of light corresponding with described force value and control parameter;
Described flash of light according to obtaining controls the luminance of flash lamp described in state modulator.
According to another aspect of the present invention, present invention also offers a kind of electronic equipment, have touch screen and flash lamp, described electronic equipment includes:
Pressure detecting module, for obtaining the force value of the pressure that user is applied on the predeterminable area of touch screen;
Data processing module, for controlling the corresponding relation of parameter and range of pressure values according to the flash of light preset, obtains the flash of light corresponding with described force value and controls parameter;
Brightness adjusting section, for controlling the luminance of flash lamp described in state modulator according to the described flash of light obtained.
The invention has the beneficial effects as follows:
The force value of the pressure that the present invention is applied on touch screen predeterminable area by the user obtained and default flash of light control the corresponding relation of parameter and range of pressure values, obtain the flash of light corresponding with force value and control parameter, then control state modulator flash lamp according to the flash of light obtained.The present invention solves the problem that the most effectively cannot adjust brightness of flash lamp according to user's request before and after opening flash lamp in prior art, make when flash lamp being used as illumination or assisting light filling, quickly effectively according to demands of individuals, brightness of flash lamp can be adjusted before and after opening flash lamp, meet the demand of different user, largely improve Consumer's Experience.
Accompanying drawing explanation
Fig. 1 represents the flow chart of steps of the method controlling flash lamp in embodiments of the invention;
Fig. 2 represents one of schematic diagram of predeterminable area of touch screen in embodiments of the invention;
Fig. 3 represents in embodiments of the invention the two of the schematic diagram of the predeterminable area of touch screen;
Fig. 4 represents in embodiments of the invention when the original state of flash lamp is opening, controls the flow chart of steps of the method for flash lamp;
Fig. 5 represents the flow chart of steps setting up the method controlling flash lamp after display controls parameter in embodiments of the invention;
Fig. 6 represents the flow chart of steps of the method for flash lamp when flash lamp is for taking pictures in embodiments of the invention;And
Fig. 7 represents the structured flowchart of electronic equipment in embodiments of the invention.
Detailed description of the invention
It is more fully described the exemplary embodiment of the disclosure below with reference to accompanying drawings.Although accompanying drawing showing the exemplary embodiment of the disclosure, it being understood, however, that may be realized in various forms the disclosure and should not limited by embodiments set forth here.On the contrary, it is provided that these embodiments are able to be best understood from the disclosure, and complete for the scope of the present disclosure can be conveyed to those skilled in the art.
Embodiment one
As it is shown in figure 1, the flow chart of steps of the method for controlling flash lamp in embodiments of the invention, the method includes:
Step 101, obtains the force value of the pressure that user is applied on the predeterminable area of touch screen.
In this step, concrete, the predeterminable area of the touch screen of electronic equipment can be the S region in Fig. 2, it is also possible to for the Y region in Fig. 3, same, predeterminable area can also include whole touch screen surface, and is not restricted to some region.Of course, it should be understood that the most do not limit the particular location of the predeterminable area of touch screen.
Step 102, controls the corresponding relation of parameter and range of pressure values according to default flash of light, obtains the flash of light corresponding with force value and controls parameter.
Concrete, it is shown in Table 1 below, controls the correspondence table of parameter and range of pressure values for default flash of light.
Table 1
Range of pressure values Flash of light controls parameter
N < m1 v0
m1≤ n < m2 v1
m(m-1)≤ n < mm v(m-1)
N > mm vm
In Table 1, n represents force value, miRepresent the minimum pressure values of the marginal value of the i-th range of pressure values, viRepresenting the flash of light control parameter that the i-th range of pressure values is corresponding, i represents positive integer.
In this step, concrete, can first determine the range of pressure values belonging to force value of acquisition, then control the corresponding relation of parameter and range of pressure values according to the flash of light preset in table 1, obtain the flash of light corresponding with force value and control parameter.Wherein, concrete, flash of light controls parameter and includes: flash luminance and/or flashing rate.
Step 103, controls the luminance of state modulator flash lamp according to the flash of light obtained.
In this step, electronic equipment controls the luminance of state modulator flash lamp according to the flash of light obtained.For example, it is assumed that it is the v in table 1 that the flash of light obtained controls parameter0, then flash lamp controls parameter v with flash of light0It is operated.Additionally, when flash lamp is controlling parameter v with flash of light0During being operated, if user changes force value so that it is the v in table 1 that corresponding the glistening of the range of pressure values belonging to force value after change controls parameter1, then flash lamp controls parameter v with the flash of light after change1It is operated.
The force value of the pressure that the present embodiment is applied on touch screen predeterminable area by the user obtained and default flash of light control the corresponding relation of parameter and range of pressure values, obtain the flash of light corresponding with force value and control parameter, then control the luminance of state modulator flash lamp according to the flash of light obtained.Concrete, when the range of pressure values belonging to the force value that user applies changes, the flash of light obtained according to force value controls parameter and changes therewith, thus the flash of light of flash lamp operation controls parameter and changes.When the present embodiment makes flash lamp no matter be as pocket lamp or assist light filling for taking pictures or recording a video, parameter can be controlled with the flash of light of user's request and be operated, meet the demand of different user, improve Consumer's Experience.
Embodiment two
As shown in Figure 4, in embodiments of the invention when the original state of flash lamp is opening, control the flow chart of steps of method of flash lamp, the method includes:
Step 201, obtains the force value of the pressure that user is applied on the predeterminable area of touch screen.
Concrete, the predeterminable area of the touch screen of electronic equipment can be the S region in Fig. 2, it is also possible to for the Y region in Fig. 3, same, predeterminable area can also include whole touch screen surface, and is not restricted to some region.Of course, it should be understood that the most do not limit the particular location of the predeterminable area of touch screen.Additionally, electronic equipment can obtain the force value of pressure by pressure transducer.Certainly, at this it should be noted that the mode obtaining force value is not limited to this kind of mode.
Step 202, the current flash of light obtaining flash lamp controls parameter.
In this step, if the original state of flash lamp is opening, then the current flash of light obtaining flash lamp is needed to control parameter.
Step 203, compares the range of pressure values that force value controls parameter corresponding with current flash of light.
In this step, the range of pressure values that the force value user of acquisition being applied on touch screen predeterminable area controls parameter corresponding with the current flash of light of acquisition compares.Wherein, if force value controls the minima of range of pressure values corresponding to parameter less than current flash of light, then step 204 is entered;If force value controls in the range of pressure values that parameter is corresponding in current flash of light, then enter step 205;If force value controls the maximum of range of pressure values corresponding to parameter more than current flash of light, then enter step 206.
Step 204, reduces flash luminance or the flashing rate of flash lamp.
In this step, concrete, if the force value obtained controls the minima of range of pressure values corresponding to parameter less than current flash of light, then reduce flash luminance or the flashing rate of flash lamp so that the flash luminance of flash lamp or the flash luminance of the flashing rate flash lamp corresponding with the range of pressure values belonging to force value or flashing rate are consistent.For example, as shown in table 1, when force value n is less than m1Time, can be considered as closing the operation of flash lamp, the most now flash of light controls parameter v0Value be zero.
Step 205, keeps flash luminance or the flashing rate of flash lamp.
Step 206, improves flash luminance or the flashing rate of flash lamp.
In this step, concrete, if the force value obtained controls the maximum of range of pressure values corresponding to parameter more than current flash of light, then improve flash luminance or the flashing rate of flash lamp so that the flash luminance of flash lamp or the flash luminance of the flashing rate flash lamp corresponding with the range of pressure values belonging to force value or flashing rate are consistent.For example, as shown in table 1, when force value n is more than or equal to m1Time, the flash of light corresponding to range of pressure values at force value n place can be obtained according to the corresponding relation in table 1 and control parameter, then the flash luminance of flash lamp or flashing rate are brought up to flash luminance corresponding to the range of pressure values at force value n place or flashing rate.
In the present embodiment, when the current state of flash lamp is opening, the relation between the range of pressure values that parameter is corresponding can be controlled according to the force value obtained and current flash of light, control the luminance of flash lamp.The force value that the present embodiment can apply according to user quickly adjusts the flash of light of flash lamp and controls parameter, disclosure satisfy that varying environment is adapted to select control parameter of more suitably glistening simultaneously, such as need not in the case of stronger flash of light controls parameter so that flash lamp is operated with more weak flash of light control parameter, improve Consumer's Experience.
Embodiment three
So that user understands the force value of the pressure that user is applied on the predeterminable area of touch screen more easily, it is also possible to set up display and control parameter.
Concrete, as it is shown in figure 5, the flow chart of steps of the method for controlling flash lamp after setting up display control parameter in embodiments of the invention.
Step 301, obtains the force value of the pressure that user is applied on the predeterminable area of touch screen.
Concrete, the predeterminable area of the touch screen of electronic equipment can be the S region in Fig. 2, it is also possible to for the Y region in Fig. 3, same, predeterminable area can also include whole touch screen surface, and is not restricted to some region.Of course, it should be understood that the most do not limit the particular location of the predeterminable area of touch screen.Additionally, electronic equipment can obtain the force value of pressure by pressure transducer.Certainly, at this it should be noted that the mode obtaining force value is not limited to this kind of mode.
Step 302, controls the corresponding relation of parameter and range of pressure values according to default display, obtains the display corresponding with force value and controls parameter.
Concrete, it is shown in Table 2 below, controls the correspondence table of parameter and range of pressure values for default display.
Table 2
Range of pressure values Display controls parameter
N < m1 c0
m1≤ n < m2 c1
m(m-1)≤ n < mm c(m-1)
N > mm cm
In table 2, n represents force value, miRepresent the minimum pressure values of the marginal value of the i-th range of pressure values, ciRepresenting the display control parameter that the i-th range of pressure values is corresponding, i represents positive integer.
In this step, concrete, the display corresponding with the force value obtained can be obtained control parameter according to the corresponding relation in table 2.At least include additionally, display controls parameter: the color of display or color depth.Accordingly, so that user is easy to control parameter according to display differentiates the force value applied, can will show that the color controlled in parameter is set to color depth and deepens along with the increase of range of pressure values.
Color and color depth that display controls the display in parameter at this are illustrated respectively.
Wherein, the color of display can include multiple, concrete, the force value that user applies according to the color identifying of display for convenience, the color of display could be arranged to the color of multiple easy resolution, and such as, the color of display can be the color that red, green, blue and purple etc. are easily differentiated.Additionally, the color of this multiple display and range of pressure values are relation one to one.At this it should be noted that the present embodiment the most specifically limits the kind of the color of display.
It addition, color depth could be arranged to multiple grade, for example, it is assumed that color is red, then color depth could be arranged to multiple grades such as light red, pink, normal complexion peony at prime.Concrete, so that user is easy to control parameter according to display differentiates the force value applied, in the color depth one-to-one relationship with range of pressure values, color depth can be deepened along with the increase of range of pressure values.N < m such as, as a example by redness, in range of pressure values is table 21Time, color depth could be arranged to light red, the n > m in range of pressure values is table 2mTime, color depth could be arranged to peony.At this it should be noted that different colors can arrange different grades of color depth, the present embodiment the most specifically limits color and the grade of color depth corresponding to this color.
Step 303, controls the display content of predeterminable area in state modulator touch screen according to the display obtained.
Concrete, for example, as shown in table 2, it is assumed that the range of pressure values at force value place is m1≤ n < m2, then according to the corresponding relation of table 2, with range of pressure values m1≤ n < m2It is c that corresponding display controls parameter1, then in touch screen, the display content of predeterminable area is c1
The present embodiment adds display and controls parameter, and preset the corresponding relation between range of pressure values and display control parameter.When the user applies pressure, touch screen then showing on predeterminable area, corresponding display controls parameter, and show that the color depth controlled in parameter is deepened along with the increase of range of pressure values, make user can control parameter according to the display of display and recognize the size of force value easily, further increase Consumer's Experience.
Embodiment four
In any embodiment in embodiment one and embodiment two, flash lamp can control parameter according to the flash of light of user's request and be operated, and includes flash luminance owing to flash of light controls parameter again, and therefore flash lamp can be taken pictures according to the flash luminance of user's request.
Concrete, as shown in Figure 6, the flow chart of steps of the method controlling flash lamp during for flash lamp for taking pictures.
Step 401, according to the corresponding relation of default flash luminance Yu range of pressure values, obtains the flash luminance corresponding with force value.
In this step, concrete, when flash application is in time taking pictures, as shown in table 1, when flash of light control parameter be flash luminance time, then electronic equipment can according to the flash luminance in table 1 and range of pressure values for relation, obtain the flash luminance corresponding with force value.As an example it is assumed that the range of pressure values at the force value place obtained is m1≤ n < m2, then the flash luminance obtained is and m1≤ n < m2Corresponding flash luminance v1
Step 402, controls flash fire according to the flash luminance obtained and takes pictures.
In this step, control flash fire according to the flash luminance obtained and take pictures.Concrete, for example, assume that the flash luminance obtained is the flash luminance v obtained that illustrates in step 4011, then flash lamp is with flash luminance v1Glisten and take pictures.
In the present embodiment, when flash lamp being used as light filling and taking pictures, can be according to the demand of user, take pictures with the flash luminance corresponding with the range of pressure values belonging to the force value that user applies, meet the demand that user can change the flash luminance of flash lamp according to external condition, improve Consumer's Experience.Additionally, when flash lamp is used as shooting light filling, the present embodiment is equally applicable.
At this it should be noted that the present embodiment can use with embodiment San Tong method, illustrating at this illustrates.
When the present embodiment uses with embodiment San Tong method, i.e. when controlling the display content of predeterminable area in state modulator touch screen according to the display corresponding with the range of pressure values belonging to force value obtained, flash lamp controls flash fire according to the flash luminance corresponding with the range of pressure values belonging to force value obtained and takes pictures simultaneously.For example, it is assumed that it is color depth that display controls parameter, and color is red, the range of pressure values n > m in table 2mCorresponding color depth is peony, then the range of pressure values at the force value place applied as user is the n > m in table 2mTime, in touch screen, the display content of predeterminable area is peony, if it is flash luminance that the flash of light now in table 1 controls parameter, and range of pressure values belonging to this force value is the n > m in table 1 simultaneouslym, then flash lamp is simultaneously with flash luminance vmGlisten and take pictures.
Embodiment five
In any embodiment in embodiment one and embodiment two, flash lamp can control parameter according to the flash of light of user's request and be operated, include flashing rate owing to flash of light controls parameter again, the variable flashing rate of flash lamp therefore can be utilized to make flash lamp have the function of emergency.Concrete, one can be increased and represent signal parameter, the most different flashing rates represents different representation signals.Concrete, it is shown in Table 3 below, for the corresponding relation of range of pressure values, flashing rate and representation signal.
Table 3
Range of pressure values Flashing rate Representation signal
n≥m f0 S
N < m f1 O
In table 3, n represents that force value, m represent the marginal value of range of pressure values, fiRepresenting flashing rate, S and O represents distress signal respectively.
Concrete, after obtaining the force value of the pressure applied, electronic equipment can obtain the representation signal corresponding with force value according to the corresponding relation of the flashing rate in table 3 Yu range of pressure values.
For example, as shown in table 3, it is assumed that the range of pressure values belonging to force value is n >=m, then according to the corresponding relation in table 3, the flashing rate corresponding with range of pressure values n >=m is f0, this flashing rate f0The representation signal represented is distress signal S.
At this it should be noted that only provide this one signal of distress signal in the present embodiment, but user can arrange the representative implication of representation signal the most voluntarily, does not limit at this.
The present embodiment adds representation signal parameter, and has preset the corresponding relation between range of pressure values, flashing rate and representation signal.When the range of pressure values difference at the force value place that user applies, flash lamp will be operated with different flashing rates, and the representation signal that now flashing rate is corresponding is also by difference so that flash lamp is provided with the function of emergency, further increases Consumer's Experience.
At this it should be noted that the present embodiment can use with embodiment three or embodiment four simultaneously, illustrating at this illustrates.
When the present embodiment uses with embodiment San Tong method, i.e. when controlling the display content of predeterminable area in state modulator touch screen according to the display corresponding with the range of pressure values belonging to force value obtained, flash lamp flashes with the flashing rate corresponding with the range of pressure values belonging to force value simultaneously.For example, it is assumed that it is color depth that display controls parameter, and color is red, the range of pressure values n > m in table 2mCorresponding color depth is peony, then the range of pressure values belonging to force value applied as user is the n > m in table 2mTime, in touch screen, the display content of predeterminable area is peony, if the range of pressure values now belonging to force value is the n >=m in table 3 simultaneously, then flash lamp is simultaneously with flashing rate f0Flash.
When the present embodiment uses with embodiment four simultaneously, i.e. when controlling flash fire according to the flash luminance corresponding with the range of pressure values belonging to force value obtained and take pictures, flash lamp flashes with the flashing rate corresponding with the range of pressure values belonging to force value simultaneously.Such as, when the flash of light control parameter in table 1 is flash luminance, the range of pressure values belonging to force value that user applies is the m in table 11≤ n < m2, then flash lamp is with flash luminance v1Glistening and take pictures, if the range of pressure values now belonging to force value is the n >=m in table 3 simultaneously, then flash lamp is simultaneously with flashing rate f0Flash.
Embodiment six
As it is shown in fig. 7, be the structured flowchart of a kind of electronic equipment in embodiments of the invention, this electronic equipment includes:
Pressure detecting module 501, for obtaining the force value of the pressure that user is applied on the predeterminable area of touch screen;
Data processing module 502, for controlling the corresponding relation of parameter and range of pressure values according to the flash of light preset, obtains the flash of light corresponding with force value and controls parameter;
Brightness adjusting section 503, for controlling the luminance of state modulator flash lamp according to the flash of light obtained.
Concrete, the predeterminable area of the touch screen of electronic equipment can be the S region in Fig. 2, it is also possible to for the Y region in Fig. 3, same, predeterminable area can also include whole touch screen surface, and is not restricted to some region.Of course, it should be understood that the most do not limit the particular location of the predeterminable area of touch screen.In addition, as shown in table 1, the correspondence table of parameter and range of pressure values is controlled for default flash of light, data processing module can obtain the flash of light corresponding with force value according to the force value that pressure detecting module obtains with the corresponding relation in table 1 and control parameter, finally, brightness adjusting section controls the luminance of state modulator flash lamp according to the flash of light obtained in table 1.
Optionally, when the original state of flash lamp is opening, electronic equipment also includes the first acquisition module, and the first acquisition module controls parameter for the current flash of light obtaining flash lamp;Brightness adjusting section 503 is for comparing the range of pressure values that force value controls parameter corresponding with current flash of light;If force value controls the minima of range of pressure values corresponding to parameter less than current flash of light, then reduce flash luminance or the flashing rate of flash lamp;If force value controls in the range of pressure values that parameter is corresponding, then to keep flash luminance or the flashing rate of flash lamp in current flash of light;If force value controls the maximum of range of pressure values corresponding to parameter more than current flash of light, then improve flash luminance or the flashing rate of flash lamp.
Optionally, electronic equipment also includes the second acquisition module and control module, second acquisition module for controlling the corresponding relation of parameter and range of pressure values according to the display preset, obtain the display corresponding with force value and control parameter, wherein, display controls parameter and at least includes: the color of display or color depth, wherein, color depth is deepened along with the increase of range of pressure values;Control module for controlling the display content of predeterminable area in state modulator touch screen according to the display obtained.
Optionally, flash of light control parameter includes: flash luminance and/or flashing rate.
Optionally, data processing module 502 is additionally operable to, and according to the corresponding relation of default flash luminance Yu range of pressure values, obtains the flash luminance corresponding with force value;Brightness adjusting section 503 is additionally operable to control flash fire according to the flash luminance obtained and take pictures.
The present embodiment is solved in prior art by pressure detecting module, data processing module and brightness adjusting section and just starts to open up at flash lamp, the brightness of flash lamp is maintained at certain value, the problem that will not adjust according to environment or use demand, make when flash lamp being used as illumination or assisting light filling, quickly effectively according to demands of individuals, brightness of flash lamp can be adjusted before and after opening flash lamp, meet the demand of more different user, largely improve Consumer's Experience.
It should be noted that, the electronic equipment provided in the above embodiment of the present invention is the electronic equipment applying the method for above-mentioned control flash lamp to obtain, all embodiments of the method for the most above-mentioned control flash lamp are all applicable to this electronic equipment, and all can reach same or analogous beneficial effect.
These many functional parts described in this description are all referred to as module, in order to specifically emphasize the independence of its implementation.Illustrating at this and illustrate, pressure detecting module can be pressure transducer.
Above-described is the preferred embodiment of the present invention; should be understood that for the ordinary person of the art; can also make some improvements and modifications under without departing from principle premise of the present invention, these improvements and modifications are the most within the scope of the present invention.

Claims (10)

1. the method controlling flash lamp, is applied to the electronic equipment with touch screen and flash lamp, it is characterised in that described method includes:
Obtain the force value of the pressure that user is applied on the predeterminable area of touch screen;
Control the corresponding relation of parameter and range of pressure values according to default flash of light, obtain the flash of light corresponding with described force value and control parameter;
Described flash of light according to obtaining controls the luminance of flash lamp described in state modulator.
Method the most according to claim 1, it is characterised in that when the original state of described flash lamp is opening, after obtaining the force value of the pressure that user is applied on the predeterminable area of touch screen, described method also includes:
The current flash of light obtaining flash lamp controls parameter;
The range of pressure values that described force value controls parameter corresponding with described current flash of light is compared;
If described force value controls the minima of range of pressure values corresponding to parameter less than described current flash of light, then reduce flash luminance or the flashing rate of described flash lamp;
If described force value controls in the range of pressure values that parameter is corresponding, then to keep flash luminance or the flashing rate of described flash lamp in described current flash of light;
If described force value controls the maximum of range of pressure values corresponding to parameter more than described current flash of light, then improve flash luminance or the flashing rate of described flash lamp.
Method the most according to claim 1, it is characterised in that after obtaining the force value of the pressure that user is applied on the predeterminable area of touch screen, described method also includes:
The corresponding relation of parameter and range of pressure values is controlled according to default display, obtain the display corresponding with described force value and control parameter, wherein, described display control parameter at least includes: the color of display or color depth, described color depth is deepened along with the increase of described range of pressure values;
Described display according to obtaining controls the display content of predeterminable area in touch screen described in state modulator.
4. according to the method described in any one of claims 1 to 3, it is characterised in that described flash of light controls parameter and includes: flash luminance and/or flashing rate.
Method the most according to claim 4, it is characterised in that default the glistening of described basis controls the corresponding relation of parameter and range of pressure values, the step obtaining the flash of light control parameter corresponding with described force value includes:
According to the corresponding relation of default flash luminance Yu range of pressure values, obtain the flash luminance corresponding with described force value;
The described flash of light that described basis obtains controls the step of the luminance of flash lamp described in state modulator and includes:
Control described flash fire according to the described flash luminance obtained and take pictures.
6. an electronic equipment, has touch screen and flash lamp, it is characterised in that described electronic equipment includes:
Pressure detecting module, for obtaining the force value of the pressure that user is applied on the predeterminable area of touch screen;
Data processing module, for controlling the corresponding relation of parameter and range of pressure values according to the flash of light preset, obtains the flash of light corresponding with described force value and controls parameter;
Brightness adjusting section, for controlling the luminance of flash lamp described in state modulator according to the described flash of light obtained.
Electronic equipment the most according to claim 6, it is characterised in that when the original state of described flash lamp is opening, described electronic equipment also includes the first acquisition module, and described first acquisition module controls parameter for the current flash of light obtaining flash lamp;Described brightness adjusting section is for comparing the range of pressure values that described force value controls parameter corresponding with described current flash of light;If described force value controls the minima of range of pressure values corresponding to parameter less than described current flash of light, then reduce flash luminance or the flashing rate of described flash lamp;If described force value controls in the range of pressure values that parameter is corresponding, then to keep flash luminance or the flashing rate of described flash lamp in described current flash of light;If described force value controls the maximum of range of pressure values corresponding to parameter more than described current flash of light, then improve flash luminance or the flashing rate of described flash lamp.
Electronic equipment the most according to claim 6, it is characterized in that, described electronic equipment also includes the second acquisition module and control module, described second acquisition module for controlling the corresponding relation of parameter and range of pressure values according to the display preset, obtain the display corresponding with described force value and control parameter, wherein, described display control parameter at least includes: the color of display or color depth, described color depth is deepened along with the increase of described range of pressure values;Described control module is for controlling the display content of predeterminable area in touch screen described in state modulator according to the described display obtained.
9. according to the electronic equipment described in claim 6~8, it is characterised in that described flash of light controls parameter and includes: flash luminance and/or flashing rate.
Electronic equipment the most according to claim 9, it is characterised in that described data processing module is additionally operable to, according to the corresponding relation of default flash luminance Yu range of pressure values, obtains the flash luminance corresponding with described force value;Described brightness adjusting section is additionally operable to control described flash fire according to the described flash luminance obtained and take pictures.
CN201510615277.XA 2015-09-24 2015-09-24 Method for controlling flash lamp and electronic device Pending CN105827939A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510615277.XA CN105827939A (en) 2015-09-24 2015-09-24 Method for controlling flash lamp and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510615277.XA CN105827939A (en) 2015-09-24 2015-09-24 Method for controlling flash lamp and electronic device

Publications (1)

Publication Number Publication Date
CN105827939A true CN105827939A (en) 2016-08-03

Family

ID=56514502

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510615277.XA Pending CN105827939A (en) 2015-09-24 2015-09-24 Method for controlling flash lamp and electronic device

Country Status (1)

Country Link
CN (1) CN105827939A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106375677A (en) * 2016-10-08 2017-02-01 珠海格力电器股份有限公司 Method and system for controlling flash lamp of electronic device
CN106941585A (en) * 2017-05-15 2017-07-11 上海与德科技有限公司 A kind of control device of flash lamp, control method and mobile terminal
CN107193444A (en) * 2017-06-22 2017-09-22 深圳传音通讯有限公司 The lamp control method and device of mobile terminal
CN108419337A (en) * 2018-04-18 2018-08-17 深圳市禾芯科技有限公司 Accessory, accessory control method and the accessories manufacturing method of portable electronic device
CN108541116A (en) * 2018-03-27 2018-09-14 努比亚技术有限公司 Lamp light control method, terminal and computer readable storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103294183A (en) * 2012-03-05 2013-09-11 联想(北京)有限公司 Terminal equipment and method for feeding back pressure by using same
CN103582862A (en) * 2011-06-01 2014-02-12 摩托罗拉移动有限责任公司 Using pressure differences with a touch-sensitive display screen
CN203618202U (en) * 2013-07-29 2014-05-28 张学钦 Flash lamp touch control system
CN104615378A (en) * 2015-02-28 2015-05-13 联想(北京)有限公司 Information processing method and electronic equipment
CN104618580A (en) * 2014-12-30 2015-05-13 广东欧珀移动通信有限公司 Photographing implementing method and terminal
CN104714741A (en) * 2013-12-11 2015-06-17 北京三星通信技术研究有限公司 Method and device for touch operation

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103582862A (en) * 2011-06-01 2014-02-12 摩托罗拉移动有限责任公司 Using pressure differences with a touch-sensitive display screen
CN103294183A (en) * 2012-03-05 2013-09-11 联想(北京)有限公司 Terminal equipment and method for feeding back pressure by using same
CN203618202U (en) * 2013-07-29 2014-05-28 张学钦 Flash lamp touch control system
CN104714741A (en) * 2013-12-11 2015-06-17 北京三星通信技术研究有限公司 Method and device for touch operation
CN104618580A (en) * 2014-12-30 2015-05-13 广东欧珀移动通信有限公司 Photographing implementing method and terminal
CN104615378A (en) * 2015-02-28 2015-05-13 联想(北京)有限公司 Information processing method and electronic equipment

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106375677A (en) * 2016-10-08 2017-02-01 珠海格力电器股份有限公司 Method and system for controlling flash lamp of electronic device
CN106941585A (en) * 2017-05-15 2017-07-11 上海与德科技有限公司 A kind of control device of flash lamp, control method and mobile terminal
CN107193444A (en) * 2017-06-22 2017-09-22 深圳传音通讯有限公司 The lamp control method and device of mobile terminal
CN108541116A (en) * 2018-03-27 2018-09-14 努比亚技术有限公司 Lamp light control method, terminal and computer readable storage medium
CN108419337A (en) * 2018-04-18 2018-08-17 深圳市禾芯科技有限公司 Accessory, accessory control method and the accessories manufacturing method of portable electronic device

Similar Documents

Publication Publication Date Title
CN105827939A (en) Method for controlling flash lamp and electronic device
US9812053B2 (en) Reducing LCD power consumption by preferentially dimming individual colors
CN109274985B (en) Video transcoding method and device, computer equipment and storage medium
CN105975238B (en) A kind of method of adjustment and terminal device of display parameters
US9641767B2 (en) Display apparatus and method using high dynamic range function for vehicle
CN104240674A (en) Method for adjusting display unit and electronic equipment
CN102810306A (en) Method for automatically controlling brightness of display screen wallpaper
WO2019134491A1 (en) Method and apparatus for processing image
CN110675839A (en) Screen adjusting method, electronic equipment and related device
JP5810803B2 (en) Method, apparatus and system for adjusting whiteboard image
CN105577935B (en) Screen luminance adjustment method and device
US20140292616A1 (en) Computer monitor equalization using handheld device
CN105118444B (en) A kind of information processing method and electronic equipment
US20160071489A1 (en) Control Method And Device Thereof
CN108615511A (en) Display methods and display device
CN104424915A (en) Electronic apparatus and method for controlling brightness for display
CN107277995A (en) The adjusting method of indicator lamp brightness
WO2019179059A1 (en) Fuzzy control-based saturation enhancement method and device
US20220015209A1 (en) Illumination control systems and methods
CN115546035A (en) Data processing method and device, electronic equipment and storage medium
WO2016078440A1 (en) Method and apparatus for controlling screen of mobile terminal
CN110891166B (en) Image color enhancement method and storage medium
CN114783354B (en) Color cast compensation method, architecture and medium
US20190304352A1 (en) Color temperature adjusting system and method
WO2022062802A1 (en) Flash lamp control method of mobile terminal, mobile terminal, storage medium, and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20160803