CN106331519A - Method for adjusting light-compensating lamp and mobile terminal - Google Patents

Method for adjusting light-compensating lamp and mobile terminal Download PDF

Info

Publication number
CN106331519A
CN106331519A CN201610933896.8A CN201610933896A CN106331519A CN 106331519 A CN106331519 A CN 106331519A CN 201610933896 A CN201610933896 A CN 201610933896A CN 106331519 A CN106331519 A CN 106331519A
Authority
CN
China
Prior art keywords
compensating lamp
light compensating
brightness value
photographed scene
described light
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
CN201610933896.8A
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 CN201610933896.8A priority Critical patent/CN106331519A/en
Publication of CN106331519A publication Critical patent/CN106331519A/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/71Circuitry for evaluating the brightness variation
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Circuit Arrangement For Electric Light Sources In General (AREA)
  • Studio Devices (AREA)
  • Telephone Function (AREA)

Abstract

The invention provides a method for adjusting a light-compensating lamp and a mobile terminal. The method comprises the steps that after the light-compensating lamp is turned on, whether a shooting scene changes or not when the light-compensating lamp is turned on is detected in real time; if it is detected that that the shooting scene changes, the light-compensating lamp is turned off; when the light-compensating lamp is turned off, the ambient brightness value of the shooting scene is acquired; the current value of the light-compensating lamp is determined according to the ambient brightness value; when the turn-off time of the light-compensating lamp reaches preset duration, the light-compensating lamp is turned on, and power is supplied to the light-compensating lamp according to the current value in the turn-on process. According to the light-compensating lamp adjusting scheme, the current value of the light-compensating lamp is adaptively adjusted according to changes of the brightness of the shooting scene, and the brightness of light emitted by the light-compensating lamp is matched with the brightness value of the shooting scene.

Description

A kind of light compensating lamp control method and mobile terminal
Technical field
The present invention relates to communication technical field, particularly relate to a kind of light compensating lamp control method and mobile terminal.
Background technology
The light compensating lamp arranged in mobile terminal is also flash lamp for photography, head lamp etc..Its Main Function is to lack light condition In the case of shooting time provide auxiliary light, to obtain effective picture material.At present, light compensating lamp had regulation brightness, The excellent handlings such as colour temperature, display dump energy.The most increasing producer starts to arrange in the terminal light filling Lamp, carries out light filling for mobile phone users in shooting process, thus the auto heterodyne effect under promoting dark situation.
At present, mobile terminal, when by light compensating lamp light filling, is typically all when light compensating lamp does not lights, according to photographed scene Brightness, it may be judged whether opening light compensating lamp, and arrange the current value of light compensating lamp, the brightness that current value difference light compensating lamp sends is not With.After light compensating lamp is opened, if photographed scene brightness changes, arranging current value before the most still opening according to light compensating lamp is Light compensating lamp is powered, the brightness of the light that light compensating lamp sends with change after photographed scene brightness do not mate, light filling weak effect.
Summary of the invention
The present invention provides a kind of light compensating lamp control method and mobile terminal, to solve to deposit in existing light compensating lamp regulation scheme Change when photographed scene brightness, the problem of light filling weak effect.
First aspect, it is provided that a kind of light compensating lamp control method, is applied to the mobile terminal with light compensating lamp and photographic head, Described method includes: after described light compensating lamp is opened, and whether detection photographed scene is sent out when opening compared to described light compensating lamp in real time Changing;If detecting, described photographed scene changes, then close described light compensating lamp;It is closed at described light compensating lamp Time, obtain the ambient brightness value of described photographed scene;According to described ambient brightness value, determine the current value of described light compensating lamp;When When the shut-in time of described light compensating lamp arrives preset duration, open described light compensating lamp, and according to described electric current in opening process Described light compensating lamp is powered by value.
Second aspect, it is provided that a kind of mobile terminal, including light compensating lamp and photographic head, described mobile terminal also includes: inspection Surveying module, after opening at described light compensating lamp, whether detection photographed scene occurs when opening compared to described light compensating lamp in real time Change;Closing module, if detecting that described photographed scene changes for described detection module, then closing described light compensating lamp; Brightness value acquisition module, for when described light compensating lamp is closed, obtains the ambient brightness value of described photographed scene;Electricity Flow valuve determines module, for according to described ambient brightness value, determines the current value of described light compensating lamp;Opening module, for working as institute When stating the shut-in time arrival preset duration of light compensating lamp, open described light compensating lamp, and according to described current value in opening process Described light compensating lamp is powered.
So, the light compensating lamp regulation scheme that the embodiment of the present invention provides, after light compensating lamp is opened, detects photographed scene in real time Whether change when opening compared to light compensating lamp;When detecting that photographed scene changes, then close light compensating lamp;Again obtain Take the ambient brightness value of photographed scene, according to ambient brightness value, determine the current value of light compensating lamp;Arrive when the shut-in time of light compensating lamp When reaching preset duration, open light compensating lamp, and according to described current value, light compensating lamp is powered in opening process.Visible, this The light compensating lamp regulation scheme that inventive embodiments provides, it is possible to adjust light compensating lamp adaptively according to the change of photographed scene brightness Current value, makes the brightness of the light that light compensating lamp sends mate with photographed scene brightness value, thus improves light filling effect.
Accompanying drawing explanation
In order to be illustrated more clearly that the technical scheme of the embodiment of the present invention, below by institute in the description to the embodiment of the present invention The accompanying drawing used is needed to be briefly described, it should be apparent that, the accompanying drawing in describing below is only some enforcements of the present invention Example, for those of ordinary skill in the art, on the premise of not paying creative work, it is also possible to according to these accompanying drawings Obtain other accompanying drawing.
Fig. 1 is the flow chart of a kind of light compensating lamp control method of the embodiment of the present invention one;
Fig. 2 is the flow chart of a kind of light compensating lamp control method of the embodiment of the present invention two;
Fig. 3 is the structured flowchart of a kind of mobile terminal of the embodiment of the present invention three;
Fig. 4 is the structured flowchart of the another kind of mobile terminal of the embodiment of the present invention three;
Fig. 5 is the structured flowchart of the detection module of a kind of mobile terminal of embodiment three;
Fig. 6 is the structured flowchart of the brightness value acquisition module of a kind of mobile terminal of embodiment three;
Fig. 7 is the structured flowchart of a kind of mobile terminal of the embodiment of the present invention four;
Fig. 8 is the structured flowchart of a kind of mobile terminal of the embodiment of the present invention five.
Detailed description of the invention
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Describe, it is clear that described embodiment is a part of embodiment of the present invention rather than whole embodiments wholely.Based on this Embodiment in bright, the every other enforcement that those of ordinary skill in the art are obtained under not making creative work premise Example, broadly falls into the scope of protection of the invention.
Embodiment one
With reference to Fig. 1, it is shown that the flow chart of a kind of light compensating lamp control method of the embodiment of the present invention one.
The light compensating lamp control method of the embodiment of the present invention comprises the following steps:
Step 101: after light compensating lamp is opened, whether detection photographed scene becomes when opening compared to light compensating lamp in real time Change.
Light compensating lamp control method in the embodiment of the present invention is applied to the mobile terminal with light compensating lamp and photographic head.Mobile Photographic head in terminal can be front-facing camera, it is also possible to for post-positioned pick-up head, correspondingly, light compensating lamp can be preposition light filling Lamp can also be rearmounted light compensating lamp, it is possible to ensure that there is light compensating lamp in the face, photographic head place opened.
The concrete mode whether detection photographed scene changes when opening compared to light compensating lamp, can be by art technology Personnel are configured according to the actual requirements, in the embodiment of the present invention are not specifically limited this.Such as: could be arranged to wait to clap Taking the photograph object is object of reference, determines whether photographed scene there occurs change.
Step 102: photographed scene changes if detecting, then close light compensating lamp.
Before light compensating lamp is opened, mobile terminal is provided with the electricity of light compensating lamp the most in advance according to the ambient brightness value of photographed scene Flow valuve, and when light compensating lamp is opened in a step 101, be that light compensating lamp is powered according to the current value arranged.Shooting field detected When scape changes, then need the current value of accommodation light compensating lamp.The electric current of the light compensating lamp ambient brightness to photographed scene There is interference, in order to obtain ambient brightness value accurately, then need the environment performing photographed scene under light compensating lamp closed mode bright The acquisition of angle value, therefore, needs in this step to close light compensating lamp.
Step 103: when light compensating lamp is closed, obtains the ambient brightness value of photographed scene.
The ambient brightness value of photographed scene is the deciding factor of the current value adjusting light compensating lamp, therefore, is determining light filling During lamp current, need to obtain the ambient brightness value of photographed scene.
Step 104: according to ambient brightness value, determine the current value of light compensating lamp.
The corresponding relation of ambient brightness value and current value can be preset in the terminal, depend on after determining ambient brightness value Current value is i.e. can determine that according to this corresponding relation.
With the current value of light compensating lamp inversely, ambient brightness value is the highest, current value for the ambient brightness value of photographed scene The least;Ambient brightness value is the lowest, then current value is the biggest.
Step 105: when the shut-in time of light compensating lamp arrives preset duration, open light compensating lamp, and depend in opening process According to current value, light compensating lamp is powered.
Wherein, preset duration can be configured according to the actual requirements by those skilled in the art, in the embodiment of the present invention This is not specifically limited.Such as: be arranged to 1ms, 2ms, 3ms etc..
After redefining the current value of light compensating lamp, be again turned on light compensating lamp, the now brightness of the light that light compensating lamp is sent with The ambient brightness value coupling of photographed scene, correspondingly, the light that now light compensating lamp is sent is that shooting picture carries out light compensation then Can reach good light filling effect, further help in mobile terminal and shoot high-quality picture.
The light compensating lamp control method that the embodiment of the present invention provides, after light compensating lamp is opened, detection photographed scene is compared in real time Whether change when light compensating lamp is opened;When detecting that photographed scene changes, then close light compensating lamp;Reacquire and clap Take the photograph the ambient brightness value of scene, according to ambient brightness value, determine the current value of light compensating lamp;Arrive pre-when the shut-in time of light compensating lamp If during duration, open light compensating lamp, and according to described current value, light compensating lamp is powered in opening process.Visible, the present invention The light compensating lamp control method that embodiment provides, it is possible to adjust the electric current of light compensating lamp according to the change of photographed scene brightness adaptively Value, makes the brightness of the light that light compensating lamp sends mate with photographed scene brightness value, thus improves light filling effect.
Embodiment two
With reference to Fig. 2, it is shown that the flow chart of a kind of light compensating lamp control method of the embodiment of the present invention two.
The light compensating lamp control method that the embodiment of the present invention provides specifically includes below scheme:
Step 201: when light compensating lamp is opened, obtains the first preview image of camera collection.
Light compensating lamp control method in the embodiment of the present invention is applied to the mobile terminal with light compensating lamp and photographic head.Mobile Photographic head in terminal can be front-facing camera, it is also possible to for post-positioned pick-up head, correspondingly, light compensating lamp can be preposition light filling Lamp can also be rearmounted light compensating lamp, it is possible to ensure that there is light compensating lamp in the face, photographic head place opened.
Real-time Collection preview image after photographic head unlatching, when processor obtains light compensating lamp unlatching, the first of camera collection is pre- Look at image.
Step 202: store the first preview image.
First preview image is stored, it is therefore an objective to as judge whether photographed scene change according to it One.
Step 203: after light compensating lamp is opened, obtains the second preview image of camera collection after light compensating lamp is opened.
Processor obtains the second preview image of camera collection after light compensating lamp is opened, and the second acquired preview image is also Be judge whether photographed scene change according to one of.
Step 204: the first preview image prestored and the second preview image are compared.
When comparison, mainly determine the object to be captured in two preview images, then by two preview images Object to be captured is compared, if the two is identical, it is determined that object to be captured does not changes;If the two is different, it is determined that treat Reference object changes.
Step 205: if the object to be captured in the first preview image and the second preview image changes, it is determined that shooting Scene changes when opening compared to light compensating lamp.
Correspondingly, if the object to be captured in the first preview image and the second preview image does not changes, it is determined that clap Take the photograph when scene is opened compared to light compensating lamp and do not change.
In the embodiment of the present invention, whether step 201 occurs to step 205 with object to be captured before and after opening according to light compensating lamp Change, determines the explanation that photographed scene is carried out as a example by not changing when opening compared to light compensating lamp, is implementing process In, it is not limited to this, it is also possible to determine according to following preferred formula:
The first preferably determines that the mode that photographed scene does not changes when opening compared to light compensating lamp is directed to comprise The mobile terminal of gyroscope, concrete mode is:
When light compensating lamp is opened, obtain the first data that gyroscope gathers;Store the first data;After obtaining light compensating lamp unlatching The second data that gyroscope gathers;The first data prestored and the second data are compared;If the first data and second The difference of data exceedes preset range, it is determined that photographed scene changes when opening compared to light compensating lamp.
Wherein, preset range can be configured according to the actual requirements by those skilled in the art, why is set to pre- If scope, and it is not provided with into 0, it is owing to there may be error when gyroscope itself carries out data acquisition, mobile terminal locations is not In the case of changing, the data of twice collection of gyroscope are the most different, if being set to 0, then can cause erroneous judgement, And be set to preset range, then can avoid the erroneous judgement problem caused because of gyro data Acquisition Error, thus promote judgement knot The accuracy of fruit.
The second preferably determines that the mode that photographed scene does not changes when opening compared to light compensating lamp is:
When light compensating lamp is opened, obtain the ambient brightness value of photographed scene, and be labeled as first environment brightness value;Storage the One ambient brightness value;Obtain the ambient brightness value of photographed scene after light compensating lamp is opened, and be labeled as second environment brightness value;Will be pre- The first environment brightness value and the second environment brightness value that first store are compared;If first environment brightness value and second environment brightness Value difference, it is determined that photographed scene changes when opening compared to light compensating lamp.
The preferred mode of the second is to judge, according to photographed scene ambient brightness value, the side whether photographed scene changes Formula, during implementing, those skilled in the art can determine bat to select any one mode above-mentioned according to the actual requirements Take the photograph whether scene changes, certainly, however it is not limited to this.
Step 206: photographed scene changes if detecting, then close light compensating lamp.
Before light compensating lamp is opened, mobile terminal is provided with the electricity of light compensating lamp the most in advance according to the ambient brightness value of photographed scene Flow valuve, and when light compensating lamp is opened in step 201, be that light compensating lamp is powered according to the current value arranged.Shooting field detected When scape changes, then need the current value of accommodation light compensating lamp.The electric current of the light compensating lamp ambient brightness to photographed scene There is interference, in order to obtain ambient brightness value accurately, then need the environment performing photographed scene under light compensating lamp closed mode bright The acquisition of angle value, therefore, needs in this step to close light compensating lamp.
If detecting, photographed scene does not changes, then keep light compensating lamp to be in opening, and maintain the electricity of light compensating lamp Flow valuve is constant.
Step 207: when light compensating lamp is closed, obtains the ambient brightness value of photographed scene.
The ambient brightness value of photographed scene is the deciding factor of the current value adjusting light compensating lamp, therefore, is determining light filling During lamp current, need to obtain the ambient brightness value of photographed scene.
The mode of the ambient brightness value of a kind of preferred acquisition photographed scene is as follows:
When mobile terminal includes light sensor, call the ambient brightness value of light sensor detection photographed scene;Obtain Take the ambient brightness value that light sensor detects.
The ambient brightness value degree of accuracy detected by light sensor is high.
Step 208: according to ambient brightness value, determine the current value of light compensating lamp.
The corresponding relation of ambient brightness value and current value can be preset in the terminal, depend on after determining ambient brightness value Current value is i.e. can determine that according to this corresponding relation.
Step 209: when the shut-in time of light compensating lamp arrives preset duration, open light compensating lamp, and depend in opening process According to current value, light compensating lamp is powered.
Wherein, preset duration can be configured according to the actual requirements by those skilled in the art, preferred preset duration Span be 1ms~5ms.Owing to 1ms to 5ms time interval is comparatively short, the when of regulation light compensating lamp brightness, mobile terminal User's perception was extinguished less than light compensating lamp, it is possible to reach in the case of light compensating lamp lights, according to the brightness regulation of shooting environmental The effect of the brightness of light compensating lamp.
The light compensating lamp control method that the embodiment of the present invention provides, after light compensating lamp is opened, detection photographed scene is compared in real time Whether change when light compensating lamp is opened;When detecting that photographed scene changes, then close light compensating lamp;Reacquire and clap Take the photograph the ambient brightness value of scene, according to ambient brightness value, determine the current value of light compensating lamp;Arrive pre-when the shut-in time of light compensating lamp If during duration, open light compensating lamp, and according to described current value, light compensating lamp is powered in opening process.Visible, the present invention The light compensating lamp regulation scheme that embodiment provides, it is possible to adjust the electric current of light compensating lamp according to the change of photographed scene brightness adaptively Value, makes the brightness of the light that light compensating lamp sends mate with photographed scene brightness value, thus promotes light filling effect.Additionally, the present invention is real Executing the light compensating lamp control method of example, adjust the brightness of light compensating lamp in 1ms to 5ms time interval, mobile phone users perception is not Extinguished to light compensating lamp, it is possible to reach in the case of light compensating lamp lights, bright according to the brightness regulation light compensating lamp of shooting environmental The effect of degree.
Embodiment three
With reference to Fig. 3, it is shown that the structured flowchart of a kind of mobile terminal of the embodiment of the present invention three.Mobile terminal 10 can realize The details of the light compensating lamp control method in embodiment one, embodiment two, and reach identical effect.
The mobile terminal 10 of the embodiment of the present invention includes light compensating lamp and photographic head, also includes: detection module 101, is used for After described light compensating lamp is opened, whether detection photographed scene changes when opening compared to described light compensating lamp in real time;Close module 102, if detecting that described photographed scene changes for described detection module 101, then close described light compensating lamp;Brightness value obtains Delivery block 103, for when described light compensating lamp is closed, obtains the ambient brightness value of described photographed scene;Current value Determine module 104, for according to described ambient brightness value, determine the current value of described light compensating lamp;Opening module 105, for working as When the shut-in time of described light compensating lamp arrives preset duration, open described light compensating lamp, and according to described electric current in opening process Described light compensating lamp is powered by value.
With reference to Fig. 4, on the basis of Fig. 3, mobile terminal 10 also includes such as lower module:
Image collection module 106, after opening at described light compensating lamp, described detection module 101 detects shooting field in real time Before whether scape changes when opening compared to described light compensating lamp, obtain the first preview image of described camera collection;The One memory module 107, is used for storing described first preview image.
Gyro data acquisition module 108, for when described mobile terminal includes gyroscope, opens at described light compensating lamp After, before whether described detection module 101 detects in real time and change when photographed scene is opened compared to described light compensating lamp, in institute When stating light compensating lamp unlatching, obtain the first data that described gyroscope gathers;Second memory module 109, is used for storing described first Data.
Scene environment brightness value acquisition module 110, after opening at described light compensating lamp, described detection module 101 is real-time Before whether detection photographed scene changes when opening compared to described light compensating lamp, when described light compensating lamp is opened, obtain institute State the ambient brightness value of photographed scene, and be labeled as first environment brightness value;3rd memory module 111, is used for storing described One ambient brightness value.
Preferably, the structured flowchart of described detection module 101 is as it is shown in figure 5, detection module 101 includes following submodule:
Image Acquisition submodule 1011, for obtaining the second preview graph of described camera collection after described light compensating lamp is opened Picture;Image comparer module 1012, for carrying out described first preview image prestored and described second preview image Comparison;First determines submodule 1013, if be used in described first preview image and described second preview image is to be captured right As changing, it is determined that photographed scene changes when opening compared to described light compensating lamp.
Data-acquisition submodule 1014, for obtaining the second data that after described light compensating lamp is opened, described gyroscope gathers; Comparing submodule 1015, for comparing described first data prestored and described second data;Second is true Stator modules 1016, if the difference for described first data and described second data exceedes preset range, it is determined that shooting field Scape changes when opening compared to described light compensating lamp.
Brightness value obtains submodule 1017, for obtaining the ambient brightness of described photographed scene after described light compensating lamp is opened Value, and it is labeled as second environment brightness value;Brightness value comparer module 1018, bright for the described first environment that will prestore Angle value and described second environment brightness value are compared;3rd determines submodule 1019, if for described first environment brightness value Different with described second environment brightness value, it is determined that photographed scene changes when opening compared to described light compensating lamp.
Preferably, as shown in Figure 6, brightness value acquisition module 103 includes the structured flowchart of described brightness value acquisition module 103 Following submodule:
Call submodule 1031, for including light sensor when described mobile terminal, be in closedown at described light compensating lamp During state, call described light sensor and detect the ambient brightness value of described photographed scene;Obtain submodule 1032, be used for obtaining The described ambient brightness value that described light sensor detects.
Preferably, the span of described preset duration is 1ms~5ms.
The mobile terminal of the embodiment of the present invention is used for realizing corresponding light compensating lamp regulation in previous embodiment one, embodiment two Method, does not repeats them here.
The mobile terminal of the embodiment of the present invention, when carrying out light compensating lamp regulation, after light compensating lamp is opened, detects shooting in real time Whether change when scene is opened compared to light compensating lamp;When detecting that photographed scene changes, then close light compensating lamp;Weight The new ambient brightness value obtaining photographed scene, according to ambient brightness value, determines the current value of light compensating lamp;When the closedown of light compensating lamp Between when arriving preset duration, open light compensating lamp, and according to described current value, light compensating lamp be powered in opening process.Can See, the mobile terminal that the embodiment of the present invention provides, it is possible to adjust light compensating lamp adaptively according to the change of photographed scene brightness Current value, makes the brightness of the light that light compensating lamp sends mate with photographed scene brightness value, thus promotes light filling effect.
Embodiment four
With reference to Fig. 7, it is shown that the structured flowchart of the mobile terminal of the embodiment of the present invention four.
The mobile terminal 700 of the embodiment of the present invention includes: at least one processor 701, memorizer 702, at least one net Network interface 704, user interface 703 and picture shooting assembly 706.Each assembly in mobile terminal 700 is coupled by bus system 705 Together.It is understood that bus system 705 is for realizing the connection communication between these assemblies.Bus system 705 is except including data Outside bus, also include power bus, control bus and status signal bus in addition.But for the sake of understanding explanation, in the figure 7 will Various buses are all designated as bus system 705.
Wherein, picture shooting assembly 706 may include that light compensating lamp, photographic head;User interface 703 can include display, keyboard Or pointing device (such as, mouse, trace ball (trackball), touch-sensitive plate or curved touch screen etc..
The memorizer 702 being appreciated that in the embodiment of the present invention can be volatile memory or nonvolatile memory, Maybe can include volatibility and nonvolatile memory.Wherein, nonvolatile memory can be read only memory (Read- OnlyMemory, ROM), programmable read only memory (ProgrammableROM, PROM), Erasable Programmable Read Only Memory EPROM (ErasablePROM, EPROM), Electrically Erasable Read Only Memory (ElectricallyEPROM, EEPROM) or sudden strain of a muscle Deposit.Volatile memory can be random access memory (RandomAccessMemory, RAM), and it is used as outside the most slow Deposit.By exemplary but be not restricted explanation, the RAM of many forms can use, such as static RAM (StaticRAM, SRAM), dynamic random access memory (DynamicRAM, DRAM), Synchronous Dynamic Random Access Memory (SynchronousDRAM, SDRAM), double data speed synchronous dynamic RAM (DoubleDataRate SDRAM, DDRSDRAM), enhancement mode Synchronous Dynamic Random Access Memory (Enhanced SDRAM, ESDRAM), synchronized links Dynamic random access memory (SynchlinkDRAM, SLDRAM) and direct rambus random access memory (DirectRambusRAM, DRRAM).The memorizer 702 of the system and method that the embodiment of the present invention describes is intended to include but does not limits In these and the memorizer of any other applicable type.
In some embodiments, memorizer 702 stores following element, executable module or data structure, or Their subset of person, or their superset: operating system 7021 and application program 7022.
Wherein, operating system 7021, including various system programs, such as ccf layer, core library layer, driving layer etc., it is used for Realize various basic business and process hardware based task.Application program 7022, including various application programs, such as media Player (MediaPlayer), browser (Browser) etc., be used for realizing various applied business.Realize embodiment of the present invention side The program of method can be included in application program 7022.
In embodiments of the present invention, by calling program or the instruction of memorizer 702 storage, concrete, can be application The program stored in program 7022 or instruction, processor 701, after the light compensating lamp in picture shooting assembly 706 is opened, is examined in real time Survey when photographed scene is opened compared to described light compensating lamp and whether change;If detecting, described photographed scene changes, then Close described light compensating lamp;When described light compensating lamp is closed, obtain the ambient brightness value of described photographed scene;According to institute State ambient brightness value, determine the current value of described light compensating lamp;When the shut-in time of described light compensating lamp arrives preset duration, open Described light compensating lamp, and according to described current value, described light compensating lamp is powered in opening process.
The method that the invention described above embodiment discloses can apply in processor 701, or is realized by processor 701. Processor 701 is probably a kind of IC chip, has the disposal ability of signal.During realizing, said method each Step can be completed by the instruction of the integrated logic circuit of the hardware in processor 701 or software form.Above-mentioned process Device 701 can be general processor, digital signal processor (DigitalSignalProcessor, DSP), special IC (ApplicationSpecificIntegratedCircuit, ASIC), ready-made programmable gate array (FieldProgrammableGateArray, FPGA) or other PLDs, discrete gate or transistor logic Device, discrete hardware components.Can realize or perform disclosed each method, step and the box in the embodiment of the present invention Figure.The processor etc. that general processor can be microprocessor or this processor can also be any routine.In conjunction with the present invention The step of the method disclosed in embodiment can be embodied directly in hardware decoding processor and perform, or uses decoding processor In hardware and software module combination execution complete.Software module may be located at random access memory, and flash memory, read only memory can In the storage medium that this areas such as program read-only memory or electrically erasable programmable memorizer, depositor are ripe.This storage Medium is positioned at memorizer 702, and processor 701 reads the information in memorizer 702, completes the step of said method in conjunction with its hardware Suddenly.
It is understood that embodiments described herein can use hardware, software, firmware, middleware, microcode or its Combination realizes.Realizing for hardware, processing unit can be implemented in one or more special IC (ApplicationSpecificIntegratedCircuits, ASIC), digital signal processor (DigitalSignalProcessing, DSP), digital signal processing appts (DSPDevice, DSPD), programmable logic device (ProgrammableLogicDevice, PLD), field programmable gate array (Field-ProgrammableGateArray, FPGA), general processor, controller, microcontroller, microprocessor, for performing other electronics list of herein described function In unit or a combination thereof.
Software is realized, can be by performing the module (such as process, function etc.) of function described in the embodiment of the present invention Realize the technology described in the embodiment of the present invention.Software code is storable in performing in memorizer and by processor.Storage Device can within a processor or realize outside processor.
Alternatively, processor 701 is after described light compensating lamp is opened, and detection photographed scene is opened compared to described light compensating lamp in real time Before whether changing when opening, it is additionally operable to: when described light compensating lamp is opened, obtain the first preview graph of described camera collection Picture;Store described first preview image.
Alternatively, whether processor 701 detects when changing when photographed scene is opened compared to described light compensating lamp in real time, Specifically for: obtain the second preview image of described camera collection after described light compensating lamp is opened;Described will prestored One preview image and described second preview image are compared;If in described first preview image and described second preview image Object to be captured changes, it is determined that photographed scene changes when opening compared to described light compensating lamp.
Alternatively, when described mobile terminal includes gyroscope, processor 701, after described light compensating lamp is opened, is examined in real time Survey before whether changing when photographed scene is opened compared to described light compensating lamp, be additionally operable to: when described light compensating lamp is opened, obtain Take the first data that described gyroscope gathers;Store described first data.
Alternatively, whether processor 701 detects when changing when photographed scene is opened compared to described light compensating lamp in real time, Specifically for: obtain the second data that after described light compensating lamp is opened, described gyroscope gathers;Described first number that will prestore Compare according to described second data;If the difference of described first data and described second data exceedes preset range, the most really Determine to change when photographed scene is opened compared to described light compensating lamp.
Alternatively, processor 701 is after described light compensating lamp is opened, and detection photographed scene is opened compared to described light compensating lamp in real time Before whether changing when opening, it is additionally operable to: when described light compensating lamp is opened, obtain the ambient brightness value of described photographed scene, And it is labeled as first environment brightness value;Store described first environment brightness value.
Alternatively, whether processor 701 detects when changing when photographed scene is opened compared to described light compensating lamp in real time, Specifically for: obtain the ambient brightness value of described photographed scene after described light compensating lamp is opened, and be labeled as second environment brightness value; The described first environment brightness value prestored and described second environment brightness value are compared;If described first environment brightness It is worth different with described second environment brightness value, it is determined that photographed scene changes when opening compared to described light compensating lamp.
Alternatively, when described mobile terminal includes light sensor, described processor 701 obtains described photographed scene During ambient brightness, specifically for: call described light sensor and detect the ambient brightness value of described photographed scene;Obtain described light The described ambient brightness value that dependent sensor detects.
Alternatively, the span of described preset duration is 1ms~5ms.
Mobile terminal 700 is capable of each process that in previous embodiment, mobile terminal realizes, for avoiding repeating, here Repeat no more.
The mobile terminal of the embodiment of the present invention, when carrying out light compensating lamp regulation, after light compensating lamp is opened, detects shooting in real time Whether change when scene is opened compared to light compensating lamp;When detecting that photographed scene changes, then close light compensating lamp;Weight The new ambient brightness value obtaining photographed scene, according to ambient brightness value, determines the current value of light compensating lamp;When the closedown of light compensating lamp Between when arriving preset duration, open light compensating lamp, and according to described current value, light compensating lamp be powered in opening process.Can See, the mobile terminal that the embodiment of the present invention provides, it is possible to adjust light compensating lamp adaptively according to the change of photographed scene brightness Current value, makes the brightness of the light that light compensating lamp sends mate with photographed scene brightness value, thus promotes light filling effect.
Embodiment five
With reference to Fig. 8, it is shown that the structured flowchart of the mobile terminal of the embodiment of the present invention five.
Mobile terminal in the embodiment of the present invention can be mobile phone, panel computer, personal digital assistant (PersonalDigital Assistant, PDA) or vehicle-mounted computer etc..
Mobile terminal in Fig. 8 includes radio frequency (RadioFrequency, RF) circuit 810, memorizer 820, input block 830, display unit 840, processor 860, voicefrequency circuit 870, WiFi (WirelessFidelity) module 880, power supply 890 and Picture shooting assembly 800.
Wherein, picture shooting assembly 800 is used for carrying out video and/or picture shooting, and camera assembly 800 includes: light compensating lamp, shooting Head;Input block 830 can be used for receiving numeral or the character information of user's input, and produces the user setup with mobile terminal And function controls relevant signal input.Specifically, in the embodiment of the present invention, this input block 830 can include touch surface Plate 8301.Contact panel 8301, also referred to as touch screen, touch screen can be Curved screen, can collect user thereon or neighbouring Touch operation (such as user uses any applicable object such as finger, stylus or adnexa operation on contact panel 8301), And drive corresponding attachment means according to formula set in advance.Optionally, contact panel 8301 can include touch detecting apparatus With two parts of touch controller.Wherein, the touch orientation of touch detecting apparatus detection user, and detect what touch operation brought Signal, transmits a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and it is changed Become contact coordinate, then give this processor 860, and order that processor 860 sends can be received and performed.Furthermore, it is possible to The polytypes such as resistance-type, condenser type, infrared ray and surface acoustic wave are used to realize contact panel 8301.Except contact panel 8301, input block 830 can also include other input equipments 8302, and other input equipments 8302 can include but not limited to thing One or many in reason keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, action bars etc. Kind.
Wherein, display unit 840 can be used for showing the information inputted by user or the information being supplied to user and movement The various menu interfaces of terminal.Display unit 840 can include display floater 8401, optionally, can use LCD or organic light emission The forms such as diode (OrganicLight-EmittingDiode, OLED) configure display floater 8401.
It should be noted that contact panel 8301 can cover display floater 8401, formed and touch display screen, when this touch display screen Detect thereon or after neighbouring touch operation, send processor 860 to determine the type of touch event, with preprocessor 860 provide corresponding visual output according to the type of touch event on touch display screen.
Touch display screen and include Application Program Interface viewing area and conventional control viewing area.This Application Program Interface viewing area And the arrangement mode of this conventional control viewing area does not limit, can be arranged above and below, left-right situs etc. can be distinguished two and show Show the arrangement mode in district.This Application Program Interface viewing area is displayed for the interface of application program.Each interface is permissible Including interface elements such as the icon of at least one application program and/or widget desktop controls.This Application Program Interface viewing area It can also be the empty interface not including any content.This conventional control viewing area is for showing the control that utilization rate is higher, such as, The application icons etc. such as settings button, interface numbering, scroll bar, phone directory icon.
Wherein processor 860 is the control centre of mobile terminal, utilizes each of various interface and the whole mobile phone of connection Individual part, is stored in the software program in first memory 8201 and/or module by running or performing, and calls and be stored in Data in second memory 8202, perform the various functions of mobile terminal and process data, thus carrying out whole to mobile terminal Body monitors.Optionally, processor 860 can include one or more processing unit.
In embodiments of the present invention, by call the software program and/or module stored in this first memory 8201 and/ Or the data in this second memory 8202, processor 860, after the light compensating lamp in picture shooting assembly 800 is opened, is examined in real time Survey when photographed scene is opened compared to described light compensating lamp and whether change;If detecting, described photographed scene changes, then Close described light compensating lamp;When described light compensating lamp is closed, obtain the ambient brightness value of described photographed scene;According to institute State ambient brightness value, determine the current value of described light compensating lamp;When the shut-in time of described light compensating lamp arrives preset duration, open Described light compensating lamp, and according to described current value, described light compensating lamp is powered in opening process.
Alternatively, processor 860 is after described light compensating lamp is opened, and detection photographed scene is opened compared to described light compensating lamp in real time Before whether changing when opening, it is additionally operable to: when described light compensating lamp is opened, obtain the first preview graph of described camera collection Picture;Store described first preview image.
Alternatively, whether processor 860 detects when changing when photographed scene is opened compared to described light compensating lamp in real time, Specifically for: obtain the second preview image of described camera collection after described light compensating lamp is opened;Described will prestored One preview image and described second preview image are compared;If in described first preview image and described second preview image Object to be captured changes, it is determined that photographed scene changes when opening compared to described light compensating lamp.
Alternatively, when described mobile terminal includes gyroscope, processor 860, after described light compensating lamp is opened, is examined in real time Survey before whether changing when photographed scene is opened compared to described light compensating lamp, be additionally operable to: when described light compensating lamp is opened, obtain Take the first data that described gyroscope gathers;Store described first data.
Alternatively, whether processor 860 detects when changing when photographed scene is opened compared to described light compensating lamp in real time, Specifically for: obtain the second data that after described light compensating lamp is opened, described gyroscope gathers;Described first number that will prestore Compare according to described second data;If the difference of described first data and described second data exceedes preset range, the most really Determine to change when photographed scene is opened compared to described light compensating lamp.
Alternatively, processor 860 is after described light compensating lamp is opened, and detection photographed scene is opened compared to described light compensating lamp in real time Before whether changing when opening, it is additionally operable to: when described light compensating lamp is opened, obtain the ambient brightness value of described photographed scene, And it is labeled as first environment brightness value;Store described first environment brightness value.
Alternatively, whether processor 860 detects when changing when photographed scene is opened compared to described light compensating lamp in real time, Specifically for: obtain the ambient brightness value of described photographed scene after described light compensating lamp is opened, and be labeled as second environment brightness value; The described first environment brightness value prestored and described second environment brightness value are compared;If described first environment brightness It is worth different with described second environment brightness value, it is determined that photographed scene changes when opening compared to described light compensating lamp.
Alternatively, when described mobile terminal includes light sensor, described processor 860 obtains described photographed scene During ambient brightness, specifically for: call described light sensor and detect the ambient brightness value of described photographed scene;Obtain described light The described ambient brightness value that dependent sensor detects.
Alternatively, the span of described preset duration is 1ms~5ms.
The mobile terminal of the embodiment of the present invention, when carrying out light compensating lamp regulation, after light compensating lamp is opened, detects shooting in real time Whether change when scene is opened compared to light compensating lamp;When detecting that photographed scene changes, then close light compensating lamp;Weight The new ambient brightness value obtaining photographed scene, according to ambient brightness value, determines the current value of light compensating lamp;When the closedown of light compensating lamp Between when arriving preset duration, open light compensating lamp, and according to described current value, light compensating lamp be powered in opening process.Can See, the mobile terminal that the embodiment of the present invention provides, it is possible to adjust light compensating lamp adaptively according to the change of photographed scene brightness Current value, makes the brightness of the light that light compensating lamp sends mate with photographed scene brightness value, thus promotes light filling effect.
For device embodiment, due to itself and embodiment of the method basic simlarity, so describe is fairly simple, relevant Part sees the part of embodiment of the method and illustrates.
Provided herein light compensating lamp control method and mobile terminal not with any certain computer, virtual system or other Equipment is intrinsic relevant.Various general-purpose systems can also be used together with based on teaching in this.As described above, structure tool The structure required by the system of the present invention program is had to be apparent from.Additionally, the present invention is also not for any certain programmed language Speech.It is understood that, it is possible to use various programming languages realize the content of invention described herein, and above to language-specific The description done is the preferred forms in order to disclose the present invention.
In description mentioned herein, illustrate a large amount of detail.It is to be appreciated, however, that the enforcement of the present invention Example can be put into practice in the case of not having these details.In some instances, it is not shown specifically known method, structure And technology, in order to do not obscure the understanding of this description.
Similarly, it will be appreciated that one or more in order to simplify that the disclosure helping understands in each inventive aspect, exist Above in the description of the exemplary embodiment of the present invention, each feature of the present invention is grouped together into single enforcement sometimes In example, figure or descriptions thereof.But, the method for the disclosure should not be construed to reflect an intention that i.e. required guarantor The application claims feature more more than the feature being expressly recited in each claim protected.More precisely, such as right As claim is reflected, inventive aspect is all features less than single embodiment disclosed above.Therefore, it then follows tool Claims of body embodiment are thus expressly incorporated in this detailed description of the invention, the conduct of the most each claim itself The independent embodiment of the present invention.
It will appreciated by the skilled person that and the module in the equipment in embodiment can be carried out adaptively Change and they are arranged in one or more equipment different from this embodiment.Can be the module in embodiment or list Unit or assembly are combined into a module or unit or assembly, and can put them in addition multiple submodule or subelement or Sub-component.In addition at least some in such feature and/or process or unit excludes each other, can use any Combine all features disclosed in this specification (including adjoint claim, summary and accompanying drawing) and so disclosed appoint Where method or all processes of equipment or unit are combined.Unless expressly stated otherwise, this specification (includes adjoint power Profit requires, summary and accompanying drawing) disclosed in each feature can be carried out generation by providing identical, equivalent or the alternative features of similar purpose Replace.
Although additionally, it will be appreciated by those of skill in the art that embodiments more described herein include other embodiments Some feature included by rather than further feature, but the combination of the feature of different embodiment means to be in the present invention's Within the scope of and form different embodiments.Such as, in detail in the claims, embodiment required for protection one of arbitrarily Can mode use in any combination.
The all parts embodiment of the present invention can realize with hardware, or to run on one or more processor Software module realize, or with combinations thereof realize.It will be understood by those of skill in the art that and can use in practice Microprocessor or digital signal processor (DSP) realize some in light compensating lamp regulation scheme according to embodiments of the present invention Or all some or all functions of parts.The present invention be also implemented as perform method as described herein one Equipment or device program (such as, computer program and computer program) partly or completely.Such realization is originally The program of invention can store on a computer-readable medium, or can be to have the form of one or more signal.So Signal can download from internet website and obtain, or provide on carrier signal, or provide with any other form.
The present invention will be described rather than limits the invention to it should be noted above-described embodiment, and ability Field technique personnel can design alternative embodiment without departing from the scope of the appended claims.In the claims, Any reference marks that should not will be located between bracket is configured to limitations on claims.Word " includes " not excluding the presence of not Arrange element in the claims or step.Word "a" or "an" before being positioned at element does not excludes the presence of multiple such Element.The present invention and can come real by means of including the hardware of some different elements by means of properly programmed computer Existing.If in the unit claim listing equipment for drying, several in these devices can be by same hardware branch Specifically embody.Word first, second and third use do not indicate that any order.These word explanations can be run after fame Claim.
Those of ordinary skill in the art are it is to be appreciated that combine that the disclosed embodiments in the embodiment of the present invention describe is each The unit of example and algorithm steps, it is possible to being implemented in combination in of electronic hardware or computer software and electronic hardware.These Function performs with hardware or software mode actually, depends on application-specific and the design constraint of technical scheme.Specialty Technical staff specifically should can be used for using different methods to realize described function to each, but this realization should not Think beyond the scope of this invention.
Those skilled in the art is it can be understood that arrive, for convenience and simplicity of description, the system of foregoing description, The specific works process of device and unit, is referred to the corresponding process in preceding method embodiment, does not repeats them here.
In embodiment provided herein, it should be understood that disclosed apparatus and method, can be passed through other Mode realizes.Such as, device embodiment described above is only schematically, such as, the division of described unit, it is only A kind of logic function divides, actual can have when realizing other dividing mode, the most multiple unit or assembly can in conjunction with or Person is desirably integrated into another system, or some features can be ignored, or does not performs.Another point, shown or discussed is mutual Between coupling direct-coupling or communication connection can be the INDIRECT COUPLING by some interfaces, device or unit or communication link Connect, can be electrical, machinery or other form.
The described unit illustrated as separating component can be or may not be physically separate, shows as unit The parts shown can be or may not be physical location, i.e. may be located at a place, or can also be distributed to multiple On NE.Some or all of unit therein can be selected according to the actual needs to realize the mesh of the present embodiment scheme 's.
It addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, it is also possible to It is that unit is individually physically present, it is also possible to two or more unit are integrated in a unit.
If described function is using the form realization of SFU software functional unit and as independent production marketing or use, permissible It is stored in a computer read/write memory medium.Based on such understanding, technical scheme is the most in other words The part contributing prior art or the part of this technical scheme can embody with the form of software product, this meter Calculation machine software product is stored in a storage medium, including some instructions with so that a computer equipment (can be individual People's computer, server, or the network equipment etc.) perform all or part of step of method described in each embodiment of the present invention. And aforesaid storage medium includes: USB flash disk, portable hard drive, ROM, RAM, magnetic disc or CD etc. are various can store program code Medium.
The above, the only detailed description of the invention of the present invention, but protection scope of the present invention is not limited thereto, and any Those familiar with the art, in the technical scope that the invention discloses, can readily occur in change or replace, should contain Cover within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with scope of the claims.

Claims (18)

1. a light compensating lamp control method, is applied to the mobile terminal with light compensating lamp and photographic head, it is characterised in that described side Method includes:
After described light compensating lamp is opened, whether detection photographed scene changes when opening compared to described light compensating lamp in real time;
If detecting, described photographed scene changes, then close described light compensating lamp;
When described light compensating lamp is closed, obtain the ambient brightness value of described photographed scene;
According to described ambient brightness value, determine the current value of described light compensating lamp;
When the shut-in time of described light compensating lamp arrives preset duration, open described light compensating lamp, and according to institute in opening process State current value described light compensating lamp is powered.
Method the most according to claim 1, it is characterised in that described after described light compensating lamp is opened, detects shooting in real time Before the step whether scene changes when opening compared to described light compensating lamp, described method also includes:
When described light compensating lamp is opened, obtain the first preview image of described camera collection;
Store described first preview image.
Method the most according to claim 2, it is characterised in that described real-time detection photographed scene is compared to described light compensating lamp The step whether changed during unlatching, including:
Obtain the second preview image of described camera collection after described light compensating lamp is opened;
Described first preview image prestored and described second preview image are compared;
If the object to be captured in described first preview image and described second preview image changes, it is determined that photographed scene Change when opening compared to described light compensating lamp.
Method the most according to claim 1, it is characterised in that when described mobile terminal includes gyroscope, described in institute After stating light compensating lamp unlatching, before the step that whether detection photographed scene changes when opening compared to described light compensating lamp in real time, Described method also includes:
When described light compensating lamp is opened, obtain the first data that described gyroscope gathers;
Store described first data.
Method the most according to claim 4, it is characterised in that described real-time detection photographed scene is compared to described light compensating lamp The step whether changed during unlatching, including:
Obtain the second data that after described light compensating lamp is opened, described gyroscope gathers;
Described first data prestored and described second data are compared;
If the difference of described first data and described second data exceedes preset range, it is determined that photographed scene is compared to described benefit Light modulation changes when opening.
Method the most according to claim 1, it is characterised in that described after described light compensating lamp is opened, detects shooting in real time Before the step whether scene changes when opening compared to described light compensating lamp, described method also includes:
When described light compensating lamp is opened, obtain the ambient brightness value of described photographed scene, and be labeled as first environment brightness value;
Store described first environment brightness value.
Method the most according to claim 6, it is characterised in that described real-time detection photographed scene is compared to described light compensating lamp The step whether changed during unlatching, including:
Obtain the ambient brightness value of described photographed scene after described light compensating lamp is opened, and be labeled as second environment brightness value;
The described first environment brightness value prestored and described second environment brightness value are compared;
If described first environment brightness value is different with described second environment brightness value, it is determined that photographed scene is compared to described light filling Lamp changes when opening.
Method the most according to any one of claim 1 to 7, it is characterised in that when described mobile terminal includes photosensitive biography During sensor, the step of the ambient brightness of the described photographed scene of described acquisition, including:
Call described light sensor and detect the ambient brightness value of described photographed scene;
Obtain the described ambient brightness value that described light sensor detects.
Method the most according to any one of claim 1 to 7, it is characterised in that the span of described preset duration is 1ms~5ms.
10. a mobile terminal, including light compensating lamp and photographic head, it is characterised in that described mobile terminal also includes:
Detection module, after opening at described light compensating lamp, detection photographed scene when opening compared to described light compensating lamp is in real time No change;
Closing module, if detecting that described photographed scene changes for described detection module, then closing described light compensating lamp;
Brightness value acquisition module, for when described light compensating lamp is closed, obtains the ambient brightness of described photographed scene Value;
Current value determines module, for according to described ambient brightness value, determines the current value of described light compensating lamp;
Opening module, for when the shut-in time of described light compensating lamp arrives preset duration, opens described light compensating lamp, and is opening During according to described current value, described light compensating lamp is powered.
11. mobile terminals according to claim 10, it is characterised in that described mobile terminal also includes:
Image collection module, after opening at described light compensating lamp, described detection module detects photographed scene in real time compared to institute State before whether changing when light compensating lamp is opened, obtain the first preview image of described camera collection;
First memory module, is used for storing described first preview image.
12. mobile terminals according to claim 11, it is characterised in that described detection module includes:
Image Acquisition submodule, for obtaining the second preview image of described camera collection after described light compensating lamp is opened;
Image comparer module, for comparing described first preview image prestored and described second preview image Right;
First determines submodule, if the object to be captured in described first preview image and described second preview image occurs Change, it is determined that photographed scene changes when opening compared to described light compensating lamp.
13. mobile terminals according to claim 10, it is characterised in that described mobile terminal also includes:
Gyro data acquisition module, for when described mobile terminal includes gyroscope, after described light compensating lamp is opened, described Before whether detection module detects in real time and change when photographed scene is opened compared to described light compensating lamp, open at described light compensating lamp Qi Shi, obtains the first data that described gyroscope gathers;
Second memory module, is used for storing described first data.
14. mobile terminals according to claim 13, it is characterised in that described detection module includes:
Data-acquisition submodule, for obtaining the second data that after described light compensating lamp is opened, described gyroscope gathers;
Comparing submodule, for comparing described first data prestored and described second data;
Second determines submodule, if the difference for described first data and described second data exceedes preset range, it is determined that Photographed scene changes when opening compared to described light compensating lamp.
15. mobile terminals according to claim 10, it is characterised in that described mobile terminal also includes:
Scene environment brightness value acquisition module, after opening at described light compensating lamp, described detection module detects shooting field in real time Before whether scape changes when opening compared to described light compensating lamp, when described light compensating lamp is opened, obtain described photographed scene Ambient brightness value, and be labeled as first environment brightness value;
3rd memory module, is used for storing described first environment brightness value.
16. mobile terminals according to claim 15, it is characterised in that described detection module includes:
Brightness value obtains submodule, for obtaining the ambient brightness value of described photographed scene after described light compensating lamp is opened, and labelling For second environment brightness value;
Brightness value comparer module, for entering the described first environment brightness value prestored and described second environment brightness value Row comparison;
3rd determines submodule, if different with described second environment brightness value for described first environment brightness value, it is determined that clap Take the photograph when scene is opened compared to described light compensating lamp and change.
17. according to the mobile terminal according to any one of claim 10 to 16, it is characterised in that described brightness value acquisition module Including:
Call submodule, for including light sensor when described mobile terminal, when described light compensating lamp is closed, adjust The ambient brightness value of described photographed scene is detected with described light sensor;
Obtain submodule, for obtaining the described ambient brightness value that described light sensor detects.
18. according to the mobile terminal according to any one of claim 10 to 16, it is characterised in that the value of described preset duration Scope is 1ms~5ms.
CN201610933896.8A 2016-10-31 2016-10-31 Method for adjusting light-compensating lamp and mobile terminal Pending CN106331519A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610933896.8A CN106331519A (en) 2016-10-31 2016-10-31 Method for adjusting light-compensating lamp and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610933896.8A CN106331519A (en) 2016-10-31 2016-10-31 Method for adjusting light-compensating lamp and mobile terminal

Publications (1)

Publication Number Publication Date
CN106331519A true CN106331519A (en) 2017-01-11

Family

ID=57819437

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610933896.8A Pending CN106331519A (en) 2016-10-31 2016-10-31 Method for adjusting light-compensating lamp and mobile terminal

Country Status (1)

Country Link
CN (1) CN106331519A (en)

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106899803A (en) * 2017-01-20 2017-06-27 维沃移动通信有限公司 A kind of pan-shot light supplement control method and mobile terminal
CN107071272A (en) * 2017-02-17 2017-08-18 奇酷互联网络科技(深圳)有限公司 Control method, device and the terminal of camera light compensating lamp brightness
CN107172754A (en) * 2017-06-23 2017-09-15 维沃移动通信有限公司 A kind of light filling lamp driving method, light filling circuit and mobile terminal
CN107592453A (en) * 2017-09-08 2018-01-16 维沃移动通信有限公司 A kind of image pickup method and mobile terminal
CN107787104A (en) * 2017-11-08 2018-03-09 北方民族大学 The control method and system of a kind of emergency light
CN107968920A (en) * 2017-11-28 2018-04-27 努比亚技术有限公司 A kind of parameter determination method and electronic equipment, storage medium
CN108063900A (en) * 2017-12-12 2018-05-22 青岛海信移动通信技术股份有限公司 The regulation and control method, apparatus and storage medium of a kind of light compensating lamp
CN110536070A (en) * 2018-05-23 2019-12-03 杭州海康威视数字技术股份有限公司 A kind of infrared lamp control method, device and four mesh adjustable cameras
CN110602380A (en) * 2019-08-15 2019-12-20 深圳壹账通智能科技有限公司 Video shooting method, device, equipment and medium based on ambient light detection
CN111935415A (en) * 2020-08-18 2020-11-13 浙江大华技术股份有限公司 Brightness adjusting method and device, storage medium and electronic device
US10992875B2 (en) 2017-12-27 2021-04-27 Hangzhou Hikvision Digital Technology Co., Ltd. Method and apparatus for controlling infrared lamp, and four-lens adjustable camera
CN113840095A (en) * 2021-09-06 2021-12-24 浙江大华技术股份有限公司 Light supplement lamp control method and related device
CN115103096A (en) * 2022-06-16 2022-09-23 西安文理学院 Artificial intelligence machine vision image acquisition system
CN115604572A (en) * 2022-09-02 2023-01-13 荣耀终端有限公司(Cn) Image acquisition method and device

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101102416A (en) * 2007-07-25 2008-01-09 北京中星微电子有限公司 A method and device for automatic control of light supplementary light of shooting device
WO2009013850A1 (en) * 2007-07-23 2009-01-29 Panasonic Corporation Imaging device
CN101750848A (en) * 2008-12-11 2010-06-23 鸿富锦精密工业(深圳)有限公司 Pick-up device and light filling method
CN102573239A (en) * 2012-01-16 2012-07-11 迅驰(北京)视讯科技有限公司 Method and device for intelligently controlling brightness of flash of camera
CN102946517A (en) * 2012-11-20 2013-02-27 浙江银江智慧交通集团有限公司 Intelligent control strobe light supplementing method and device of camera
CN105049737A (en) * 2015-05-20 2015-11-11 广东欧珀移动通信有限公司 Light supplement control method, apparatus and mobile terminal
CN105472269A (en) * 2015-12-29 2016-04-06 广东欧珀移动通信有限公司 Self-timer light supplementing method and device, system, mobile terminal and self-timer stick
CN105979678A (en) * 2016-06-17 2016-09-28 上海与德通讯技术有限公司 Control circuit and control method for light-compensation intensity

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009013850A1 (en) * 2007-07-23 2009-01-29 Panasonic Corporation Imaging device
CN101102416A (en) * 2007-07-25 2008-01-09 北京中星微电子有限公司 A method and device for automatic control of light supplementary light of shooting device
CN101750848A (en) * 2008-12-11 2010-06-23 鸿富锦精密工业(深圳)有限公司 Pick-up device and light filling method
CN102573239A (en) * 2012-01-16 2012-07-11 迅驰(北京)视讯科技有限公司 Method and device for intelligently controlling brightness of flash of camera
CN102946517A (en) * 2012-11-20 2013-02-27 浙江银江智慧交通集团有限公司 Intelligent control strobe light supplementing method and device of camera
CN105049737A (en) * 2015-05-20 2015-11-11 广东欧珀移动通信有限公司 Light supplement control method, apparatus and mobile terminal
CN105472269A (en) * 2015-12-29 2016-04-06 广东欧珀移动通信有限公司 Self-timer light supplementing method and device, system, mobile terminal and self-timer stick
CN105979678A (en) * 2016-06-17 2016-09-28 上海与德通讯技术有限公司 Control circuit and control method for light-compensation intensity

Cited By (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106899803A (en) * 2017-01-20 2017-06-27 维沃移动通信有限公司 A kind of pan-shot light supplement control method and mobile terminal
CN107071272B (en) * 2017-02-17 2020-10-16 奇酷互联网络科技(深圳)有限公司 Method and device for controlling brightness of camera fill-in light and terminal
CN107071272A (en) * 2017-02-17 2017-08-18 奇酷互联网络科技(深圳)有限公司 Control method, device and the terminal of camera light compensating lamp brightness
CN107172754A (en) * 2017-06-23 2017-09-15 维沃移动通信有限公司 A kind of light filling lamp driving method, light filling circuit and mobile terminal
CN107592453A (en) * 2017-09-08 2018-01-16 维沃移动通信有限公司 A kind of image pickup method and mobile terminal
CN107787104A (en) * 2017-11-08 2018-03-09 北方民族大学 The control method and system of a kind of emergency light
CN107968920A (en) * 2017-11-28 2018-04-27 努比亚技术有限公司 A kind of parameter determination method and electronic equipment, storage medium
CN108063900A (en) * 2017-12-12 2018-05-22 青岛海信移动通信技术股份有限公司 The regulation and control method, apparatus and storage medium of a kind of light compensating lamp
CN108063900B (en) * 2017-12-12 2020-04-07 青岛海信移动通信技术股份有限公司 Method and device for regulating and controlling light supplementing lamp and storage medium
US10992875B2 (en) 2017-12-27 2021-04-27 Hangzhou Hikvision Digital Technology Co., Ltd. Method and apparatus for controlling infrared lamp, and four-lens adjustable camera
CN110536070B (en) * 2018-05-23 2020-12-25 杭州海康威视数字技术股份有限公司 Infrared lamp control method and device and four-eye adjustable camera
CN110536070A (en) * 2018-05-23 2019-12-03 杭州海康威视数字技术股份有限公司 A kind of infrared lamp control method, device and four mesh adjustable cameras
CN110602380A (en) * 2019-08-15 2019-12-20 深圳壹账通智能科技有限公司 Video shooting method, device, equipment and medium based on ambient light detection
CN111935415A (en) * 2020-08-18 2020-11-13 浙江大华技术股份有限公司 Brightness adjusting method and device, storage medium and electronic device
CN113840095A (en) * 2021-09-06 2021-12-24 浙江大华技术股份有限公司 Light supplement lamp control method and related device
CN115103096A (en) * 2022-06-16 2022-09-23 西安文理学院 Artificial intelligence machine vision image acquisition system
CN115604572A (en) * 2022-09-02 2023-01-13 荣耀终端有限公司(Cn) Image acquisition method and device
CN115604572B (en) * 2022-09-02 2023-12-01 荣耀终端有限公司 Image acquisition method, electronic device and computer readable storage medium

Similar Documents

Publication Publication Date Title
CN106331519A (en) Method for adjusting light-compensating lamp and mobile terminal
CN106131341B (en) A kind of photographic method and mobile terminal
CN106101569A (en) A kind of method of light filling of taking pictures and mobile terminal
CN106899803A (en) A kind of pan-shot light supplement control method and mobile terminal
CN107368150A (en) A kind of photographic method and mobile terminal
CN106572349A (en) Camera cleanliness detection method and mobile terminal
CN107357540A (en) The method of adjustment and mobile terminal of a kind of display direction
CN106055369A (en) Starting method for mobile terminal applications and mobile terminal
CN105847680A (en) Camera power consumption control method and mobile terminal
CN106326710A (en) Method for rapidly starting payment interface and mobile terminal
CN106231187A (en) A kind of method shooting image and mobile terminal
CN106101553A (en) A kind of photographic method and mobile terminal
CN106101544A (en) A kind of image processing method and mobile terminal
CN106027907A (en) Method for automatically adjusting camera, and mobile terminal
CN106227488A (en) The display packing of a kind of reminder message and mobile terminal
CN106993091A (en) A kind of image weakening method and mobile terminal
CN106372893A (en) Code scanning interface switching method and apparatus
CN106293214A (en) A kind of method of illumination and mobile terminal
CN106131398A (en) A kind of image browsing method and mobile terminal
CN106210512A (en) A kind of photographic head changing method and mobile terminal
CN106357989A (en) Brightness adjustment method and mobile terminal
CN106961516A (en) A kind of flash lamp control method and device
CN106332217A (en) Wireless routing method and mobile terminal
CN107463051A (en) A kind of exposure method and device
CN105827909A (en) Dual-camera quick start method and mobile terminal

Legal Events

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

Application publication date: 20170111

RJ01 Rejection of invention patent application after publication