CN106341616A - Photographing method and mobile terminal - Google Patents

Photographing method and mobile terminal Download PDF

Info

Publication number
CN106341616A
CN106341616A CN201611004105.XA CN201611004105A CN106341616A CN 106341616 A CN106341616 A CN 106341616A CN 201611004105 A CN201611004105 A CN 201611004105A CN 106341616 A CN106341616 A CN 106341616A
Authority
CN
China
Prior art keywords
lamp
mobile terminal
photographing unit
brightness
light pattern
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201611004105.XA
Other languages
Chinese (zh)
Other versions
CN106341616B (en
Inventor
周佳
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Everest Mobile Communication Co Ltd
Original Assignee
Beijing Everest 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 Beijing Everest Mobile Communication Co Ltd filed Critical Beijing Everest Mobile Communication Co Ltd
Priority to CN201611004105.XA priority Critical patent/CN106341616B/en
Publication of CN106341616A publication Critical patent/CN106341616A/en
Application granted granted Critical
Publication of CN106341616B publication Critical patent/CN106341616B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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
    • 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/745Detection of flicker frequency or suppression of flicker wherein the flicker is caused by illumination, e.g. due to fluorescent tube illumination or pulsed LED illumination

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Studio Devices (AREA)
  • Telephone Function (AREA)

Abstract

The embodiment of the invention discloses a photographing method and a mobile terminal. A dark light mode is set in a mobile terminal. In a dark light mode, if an electronic torch and a camera are turned on simultaneously, whether a flashlight of the camera is turned on is determined when a photographing instruction of the camera is received; if so, the electronic torch is turned off and photographing is carried out by using the flashlight, and the electronic torch is turned on after completion of photographing by the flashlight; and if not, the electronic torch is kept to be in an on state and photographing is carried out by using the camera. Therefore, the mobile terminal can turn on the camera to carry out photographing under the circumstance that illumination is realized when the light is weak and the visibility is low, so that the user experience is improved.

Description

A kind of method taken pictures and mobile terminal
Technical field
The present invention relates to technical field of mobile terminals, particularly to a kind of method taken pictures and mobile terminal.
Background technology
At present, take pictures and become a kind of trend, the electronic product such as the commonly used mobile phone of people, panel computer, to take pictures, leads to Cross the dribs and drabs in the photographic head record life of electronic product.
For mobile terminal compares Professional Photography equipment, possess compact, easy to carry and simple operation and other advantages, But due to being subject to volumetric constraint in hardware configuration, so camera function is also slightly inferior.With user more and more using movement Terminal taking pictures, the requirement also more and more higher of the camera function to mobile terminal for the user.
Most of mobile phones have flashlight function, and simultaneously for the light filling when illumination is not enough, cell phone cameras have flash of light Lamp function, realizes the same led being generally arranged on the mobile phone back side of flashlight function and camera flashlamp function, at present A lot of mobile phone pocket lamps and photographing unit using there is conflict it is impossible to simultaneously using camera function and flashlight function.
Content of the invention
Embodiments provide a kind of method taken pictures and mobile terminal, to avoid prior art pocket lamp and photograph The problem that machine can not be opened simultaneously.
In a first aspect, embodiments providing a kind of method taken pictures, it is applied to mobile terminal, the method includes:
Under described half-light pattern, if described pocket lamp and described photographing unit are opened simultaneously, when receiving described photographing unit Photographing instruction when, judge whether the flash lamp of described photographing unit is opened;
If so, turn off described pocket lamp, turned off the light using described sudden strain of a muscle and taken pictures, finish being taken pictures using described flash lamp Afterwards, open described pocket lamp;
If it is not, keeping described pocket lamp to open, and taken pictures using described photographing unit.
Further, methods described also includes: in the state of described mobile terminal pocket lamp is in unlatching, if receiving User enters the instruction of photographing unit, prompts the user whether to enter described half-light pattern,
Or,
In the state of described mobile terminal photographing unit is in unlatching, if receiving the instruction that user opens pocket lamp, carry Show whether user enters described half-light pattern.
Further, methods described also includes:
If receiving the instruction that user does not enter described half-light pattern, described pocket lamp is closed, or exit described Photographing unit.
Further, described turn off described pocket lamp, turned off the light using described sudden strain of a muscle and taken pictures, using described flash lamp clap After finishing, open described pocket lamp, comprising:
Turn off described pocket lamp, taken pictures using described flash lamp in the first Preset Time;
Described pocket lamp is opened after the completion of described flash lamp is taken pictures in second Preset Time.
Further, methods described also includes:
When described photographing unit does not open flash lamp, and when described pocket lamp is opened, the brightness adjustment of described LED lamp is the One brightness;
When described photographing unit opens flash lamp and described pocket lamp opens, if being taken pictures using described flash lamp, will The brightness adjustment of described flash lamp is the second brightness;Take pictures finish after the brightness adjustment of described LED lamp is returned the first brightness;
Wherein, the corresponding brightness value of described second brightness is more than the corresponding brightness value of described first brightness.
Further, when described photographing unit flash lamp is taken pictures, the brightness adjustment of described flash lamp is the second brightness Before, methods described also includes:
Obtain environment illumination intensity information;
According to described environment illumination intensity information, determine the corresponding brightness value of described first brightness and described second brightness pair The brightness value answered.
Further, methods described also includes:
If described mobile terminal is currently at described half-light pattern, when the dump energy of described mobile terminal is less than default ratio During example, exit described half-light pattern, and point out user to select to keep it turned on one of pocket lamp or photographing unit;
If described mobile terminal is not presently within described half-light pattern, preset when the dump energy of described mobile terminal is less than During ratio, forbid entering described half-light pattern.
Second aspect, embodiments provides a kind of mobile terminal, and described mobile terminal is provided with for pocket lamp and photograph The LED lamp that camera flash-light uses, is preset with half-light pattern in described photographing unit, under described half-light pattern, described pocket lamp Can open with described photographing unit, described mobile terminal includes simultaneously:
Judging unit, for, under described half-light pattern, if described pocket lamp and described photographing unit are opened simultaneously, working as reception To described photographing unit photographing instruction when, judge whether the flash lamp of described photographing unit is opened;
Double open unit, for described photographing unit flash lamp open when, turn off described pocket lamp, turned off the light using described sudden strain of a muscle Taken pictures, after taking pictures using described flash lamp and finishing, opened described pocket lamp;
Described double unit of opening is additionally operable to, when the flash lamp of described photographing unit is closed, keep described pocket lamp to open, and make Taken pictures with described photographing unit.
Further, described mobile terminal also includes:
Tip element, in the state of being in unlatching in described mobile terminal pocket lamp, if receive user and enter shine The instruction of camera, prompts the user whether to enter described half-light pattern, or, it is in the shape of unlatching in described mobile terminal photographing unit Under state, if receiving the instruction that user opens pocket lamp, prompt the user whether to enter described half-light pattern.
Further, described mobile terminal also includes:
Closing unit, for when receiving the instruction that user does not enter described half-light pattern, described pocket lamp being closed, Or exit described photographing unit.
Further, described double open unit specifically for:
Turn off described pocket lamp, taken pictures using described flash lamp in the first Preset Time;
Described pocket lamp is opened after the completion of described flash lamp is taken pictures in second Preset Time.
Further, described mobile terminal also includes:
Brightness adjustment unit, for not opening flash lamp when described photographing unit, and when described pocket lamp is opened, will be described The brightness adjustment of LED lamp is the first brightness;When described photographing unit opens flash lamp and described pocket lamp opens, if using described Flash lamp is taken pictures, and the brightness adjustment of described flash lamp is the second brightness;Take pictures finish after by the brightness of described LED lamp Adjust back the first brightness;
Wherein, the corresponding brightness value of described second brightness is more than the corresponding brightness value of described first brightness.
Further, described mobile terminal also includes:
Acquiring unit, for when described photographing unit flash lamp is taken pictures, the brightness adjustment of described flash lamp being second Before brightness, obtain environment illumination intensity information;
Determining unit, for according to described environment illumination intensity information, determine the corresponding brightness value of described first brightness and The corresponding brightness value of described second brightness.
Further, described double open unit and be additionally operable to:
If described mobile terminal is currently at described half-light pattern, when the dump energy of described mobile terminal is less than default ratio During example, exit described half-light pattern, and point out user to select to keep it turned on one of pocket lamp or photographing unit;
If described mobile terminal is not presently within described half-light pattern, preset when the dump energy of described mobile terminal is less than During ratio, forbid entering described half-light pattern.
Pass through in the embodiment of the present invention to arrange half-light pattern in the terminal, under half-light pattern, if pocket lamp and photograph Camera is opened simultaneously, when receiving the photographing instruction of described photographing unit, judges whether the flash lamp of described photographing unit is opened, if It is to turn off described pocket lamp, is turned off the light using described sudden strain of a muscle and taken pictures, after being taken pictures using described flash lamp and finishing, open described Pocket lamp;If it is not, keeping described pocket lamp to open, and taken pictures using described photographing unit.Achieve in the embodiment of the present invention When light intensity is weak, visibility is low, mobile terminal, on the basis of meeting illumination, can be opened photographing unit simultaneously be taken pictures, Improve Consumer's Experience.
Brief description
Fig. 1 is an embodiment schematic diagram of the method taken pictures in the embodiment of the present invention;
Fig. 2 is another embodiment schematic diagram of the method taken pictures in the embodiment of the present invention;
Fig. 3 is an embodiment schematic diagram of mobile terminal in the embodiment of the present invention;
Fig. 4 is another embodiment schematic diagram of mobile terminal in the embodiment of the present invention.
Specific embodiment
The (if present) such as the term " first " in description and claims of this specification and above-mentioned accompanying drawing, " second " It is for distinguishing similar object, without for describing specific order or precedence.It should be appreciated that such number using According to can exchange in the appropriate case, so as the embodiments described herein can with except illustrate here or description content with Outer order is implemented.Additionally, term " comprising " and " having " and their any deformation are it is intended that cover non-exclusive bag Contain, for example, contain what process, method, system, product or the equipment of series of steps or unit were not necessarily limited to clearly to list Those steps or unit, but may include clearly not listing or intrinsic for these processes, method, product or equipment Other steps or unit.
The embodiment of the method in the embodiment of the present invention taken pictures is described below, the executive agent of this method taken pictures is to move Terminal, the mobile terminal described in the embodiment of the present invention can be the intelligent mobile terminals such as mobile phone, flat board.
Refer to Fig. 1, be an embodiment of the method taken pictures in the embodiment of the present invention, the method is applied to mobile whole End, described mobile terminal is provided with the LED lamp using for pocket lamp and camera flashlamp, is preset with half-light mould in described photographing unit Formula, under described half-light pattern, described pocket lamp and described photographing unit can be opened simultaneously, and the method includes:
101st, under described half-light pattern, judge whether described pocket lamp and described photographing unit are opened simultaneously, if so, execute Step 102;If it is not, normally using pocket lamp or photographing unit;
102nd, when receiving the photographing instruction of described photographing unit, judge whether the flash lamp of described photographing unit is opened;If It is, execution step 103, if it is not, execution step 104;
103rd, turn off described pocket lamp, turned off the light using described sudden strain of a muscle and taken pictures, after being taken pictures using described flash lamp and finishing, Open described pocket lamp;
104th, keep described pocket lamp to open, and taken pictures using described photographing unit.
Pass through in the embodiment of the present invention to arrange half-light pattern in the terminal, under half-light pattern, if pocket lamp and photograph Camera is opened simultaneously, when receiving the photographing instruction of described photographing unit, judges whether the flash lamp of described photographing unit is opened;If It is to turn off described pocket lamp, is turned off the light using described sudden strain of a muscle and taken pictures, after being taken pictures using described flash lamp and finishing, open described Pocket lamp;If it is not, keeping described pocket lamp to open, and taken pictures using described photographing unit.Achieve in the embodiment of the present invention When light intensity is weak, visibility is low, mobile terminal, on the basis of meeting illumination, can be opened photographing unit simultaneously be taken pictures, Improve Consumer's Experience.
Normally due to a LED lamp of pocket lamp and photographing unit, flash lamp when pocket lamp uses, is needed by prior art Camera flashlamp to be passed through drives, thus realizing opening, close and adjusting of pocket lamp.When opening pocket lamp, due to shining Camera software resource is taken by pocket lamp, and now photographing unit occurs the phenomenon that can not open.Specifically, when opening photograph When machine, a broadcast can be sent out to pocket lamp, judge pocket lamp state, if pocket lamp is to open, pocket lamp be closed Close;When opening pocket lamp, send out a broadcast to photographing unit, judge camera state, if photographing unit is to open, exit photograph Camera.
In the embodiment of the present invention, pass through flashlight systems drive module during mobile terminal-opening in mobile terminal system kernel Middle pocket lamp is registered as an independent equipment, and generate can be with the equipment section of system user space shared data function Point, under half-light pattern, pocket lamp can use as an independent equipment, in the case of in addition to half-light pattern, according to Existing scheme uses pocket lamp.So under half-light pattern, pocket lamp does not need to go to open LED lamp by camera flashlamp, Pocket lamp and photographing unit can be opened simultaneously.Wherein, system kernel can be: in android kernel, ios kernel, symbian Core, windows phone kernel.
Optionally, methods described can also include:
In the state of described mobile terminal pocket lamp is in unlatching, if receiving the instruction that user enters photographing unit, carry Show whether user enters described half-light pattern,
Or,
In the state of described mobile terminal photographing unit is in unlatching, if receiving the instruction that user opens pocket lamp, carry Show whether user enters described half-light pattern.
Now, one of photographing unit or pocket lamp are being had been switched on, if receiving another in unlatching photographing unit or pocket lamp During individual instruction, prompt the user whether to enter half-light pattern, because only that half-light pattern could start photographing unit and torch simultaneously Cylinder, other situations can only be opened one of.
If receiving the instruction that user enters described half-light pattern, normally start another in photographing unit or pocket lamp Individual, if receiving user do not enter described half-light pattern, one of pocket lamp or photographing unit can only be used, now can be by institute State pocket lamp to close or exit described photographing unit.
Optionally, as shown in Fig. 2 described step 103 may include that further
1031st, turn off described pocket lamp, taken pictures using described flash lamp in the first Preset Time;
1032nd, open described pocket lamp in the second Preset Time after the completion of described flash lamp is taken pictures.
When flash lamp is opened, if desired taken pictures using flash lamp, then can first turn off pocket lamp, in the first Preset Time Interior use flash lamp is taken pictures, and opens pocket lamp in the second Preset Time after the completion of flash lamp is taken pictures, when closing pocket lamp, can First to close the LED lamp on mobile terminal, then normally using flash lamp (using this LED lamp instantaneous flash), in flash lamp After the completion of taking pictures, reopen LED lamp.It is understood that close pocket lamp when, only by mobile terminal pocket lamp soft Part button cuts out, and the LED lamp on mobile terminal is not closed, and during using flash lamp, increases LED lamp driving current, increases LED lamp Brightness, realizes effect under flash lamp, upon taking a picture, recovers LED lamp brightness, specifically, can pass through universal input/output (general purpose input output, gpio) interface or i2c (inter-integrated circuit) interface set Put driving current size bigger to adjust the brightness of described LED lamp, driving current, the brightness of LED lamp is bigger.Wherein, described One Preset Time and described second time can identical it is also possible to different.
Because reply light intensity main in the embodiment of the present invention is than dark situation, if needing before and after using flash lamp When closing LED lamp, described first Preset Time and described second Preset Time can not be oversize, oversize when easily allowing user long Between be in dark surrounds, meanwhile, if led light, extinguish too fast switching be also easily caused LED lamp damage or reduce led Lamp service life, it is therefore preferred that described first Preset Time, the second Preset Time are respectively less than 3s and are more than 1s.
Optionally, methods described also includes:
When described photographing unit does not open flash lamp, and when described pocket lamp is opened, the brightness adjustment of described LED lamp is the One brightness;
When described photographing unit opens flash lamp and described pocket lamp opens, if being taken pictures using described flash lamp, will The brightness adjustment of described flash lamp is the second brightness;Take pictures finish after the brightness adjustment of described LED lamp is returned the first brightness;
Wherein, the corresponding brightness value of described second brightness is more than the corresponding brightness value of described first brightness.
Due to by universal input/output (general purpose input output, gpio) interface or i2c (inter-integrated circuit) interface arranges driving current size to adjust the brightness of described LED lamp, therefore, first The brightness value of brightness, the brightness value of the second brightness, can be represented by the driving current of LED lamp, for example, the first driving current Corresponding first brightness, the corresponding brightness value of the first driving current is the brightness value of the first brightness, in the same manner, the second driving current pair Answer the second brightness, the corresponding brightness value of the second driving current is the brightness value of the second brightness.
In some embodiments of the invention, when described photographing unit flash lamp is taken pictures, the brightness of described flash lamp is adjusted Whole be the second brightness before, methods described also includes:
Obtain environment illumination intensity;
According to described environment illumination intensity, determine that the corresponding brightness value of described first brightness and described second brightness are corresponding Brightness value.
Wherein, this environment illumination intensity information can be the luminous flux of mobile terminal camera, luminous flux be from light source to The luminous power that all directions project, the light energy that is, the per unit time is projected, represent with φ, unit is lumen (lumen, letter Claim lm).Aperture is used to control light to pass through the device that camera lens enters the light quantity of photosurface in fuselage, is usually located in camera lens, Expression aperture size physical quantity be f value, for the camera lens having manufactured, the diameter of camera lens be have determined constant , can only pass through to add polygon or circle inside camera lens, and the light to control camera lens for the poroid grating of variable area Flux, this device is aperture.Under normal circumstances, the diameter of camera lens is bigger, and luminous flux also can be bigger, but luminous flux not only takes Certainly in the diameter of camera lens, also relevant with aperture and eyeglass, luminous flux and aperture-coefficient are inversely proportional to, and just become with the light transmittance of eyeglass Than.
The photographic head of mobile terminal is typically camera module, and camera lens, aperture, eyeglass have all been fixed, therefore, same light The luminous flux of the photographic head under source is also substantially stationary.Under different light, the luminous flux of photographic head is different, therefore, is taking pictures every time When, mobile intelligent terminal can read the luminous flux of now photographic head by bus.
Specifically, described according to described environment illumination intensity, determine the brightness value of described first brightness and described second bright The mode spending corresponding brightness value may is that the luminous flux of the photographic head according to the mobile terminal obtaining, and preset light leads to Measure table corresponding with LED lamp driving current, LED lamp driving current when determining startup pocket lamp, and when starting flash lamp, LED lamp drives Streaming current, now, when starting pocket lamp, corresponding first brightness value of the first driving current of LED lamp is the first brightness and corresponds to Brightness value, when starting flash lamp, the corresponding brightness value of the second driving current of LED lamp is the brightness value of the second brightness.
Optionally, methods described also includes:
If described mobile terminal is currently at described half-light pattern, when the dump energy of described mobile terminal is less than default ratio During example, exit described half-light pattern, and point out user to select to keep it turned on pocket lamp or photographing unit;The selection of receive user refers to Order, keeps it turned on pocket lamp and closes photographing unit, or keeps it turned on photographing unit closing pocket lamp;
If described mobile terminal is not presently within described half-light pattern, preset when the dump energy of described mobile terminal is less than During ratio, forbid entering described half-light pattern.
So user is when mobile terminal electricity is low, you can to exit half-light pattern or to be prohibited from entering half-light pattern, with Reduce electric quantity consumption.If likewise, mobile terminal enters battery saving mode, if photographing unit is set to still can enter, also forbidding Enter half-light pattern.
The embodiment of in embodiment of the present invention mobile terminal is described below.
Refer to Fig. 3, be an embodiment schematic diagram of mobile terminal in the embodiment of the present invention, described mobile terminal is provided with The LED lamp using for pocket lamp and camera flashlamp, is preset with half-light pattern, in described half-light pattern in described photographing unit Under, described pocket lamp and described photographing unit can be opened simultaneously, and described mobile terminal includes:
Judging unit 301, under described half-light pattern, if described pocket lamp and described photographing unit are opened simultaneously, when Receive described photographing unit photographing instruction when, judge whether the flash lamp of described photographing unit is opened;
Double open unit 302, for described photographing unit flash lamp open when, turn off described pocket lamp, using described sudden strain of a muscle Turn off the light and taken pictures, after taking pictures using described flash lamp and finishing, open described pocket lamp;
Described double unit 302 of opening is additionally operable to, when the flash lamp of described photographing unit is closed, keep described pocket lamp to open, and Taken pictures using described photographing unit.
Optionally, as shown in figure 4, described mobile terminal can also include:
Tip element 303, in the state of being in unlatching in described mobile terminal pocket lamp, if receive user enter The instruction of photographing unit, prompts the user whether to enter described half-light pattern, or, it is in unlatching in described mobile terminal photographing unit Under state, if receiving the instruction that user opens pocket lamp, prompt the user whether to enter described half-light pattern.
Optionally, as shown in figure 4, described mobile terminal can also include:
Closing unit 304, for when receiving the instruction that user does not enter described half-light pattern, described pocket lamp being closed Close, or exit described photographing unit.
Optionally, described double open unit 302 and specifically can be used for:
Turn off described pocket lamp, taken pictures using described flash lamp in the first Preset Time;
Described pocket lamp is opened after the completion of described flash lamp is taken pictures in second Preset Time.
Optionally, as shown in figure 4, described mobile terminal can also include:
Brightness adjustment unit 305, for not opening flash lamp when described photographing unit, and when described pocket lamp is opened, by institute The brightness adjustment stating LED lamp is the first brightness;When described photographing unit opens flash lamp and described pocket lamp opens, if using institute State flash lamp to be taken pictures, the brightness adjustment of described flash lamp is the second brightness;Take pictures finish after described LED lamp is bright Degree adjusts back the first brightness;
Wherein, the corresponding brightness value of described second brightness is more than the corresponding brightness value of described first brightness.
Optionally, as shown in figure 4, described mobile terminal can also include:
Acquiring unit 306, for when described photographing unit flash lamp is taken pictures, the brightness adjustment of described flash lamp is the Before two brightness, obtain environment illumination intensity information;
Determining unit 307, for according to described environment illumination intensity information, determining the corresponding brightness value of described first brightness The corresponding brightness value with described second brightness.
Optionally, described double open unit 302 and be additionally operable to:
If described mobile terminal is currently at described half-light pattern, when the dump energy of described mobile terminal is less than default ratio During example, exit described half-light pattern, and point out user to select to keep it turned on one of pocket lamp or photographing unit;
If described mobile terminal is not presently within described half-light pattern, preset when the dump energy of described mobile terminal is less than During ratio, forbid entering described half-light pattern.
The embodiment of the present invention also provides a kind of computer-readable storage medium, and wherein, this computer-readable storage medium can be stored with journey Sequence, includes the part or all of step of the method at least taken pictures described in said method embodiment during this program performing.
Those skilled in the art can be understood that, for convenience and simplicity of description, in the above-described embodiments, Description to each embodiment all emphasizes particularly on different fields, and does not have the part describing in detail, may refer to other embodiment in certain embodiment Associated description.
It should be noted that for aforesaid each method embodiment, in order to be briefly described, therefore it is all expressed as a series of Combination of actions, but those skilled in the art should know, the present invention is not limited by described sequence of movement because According to the present invention, some steps can be carried out using other orders or simultaneously.Secondly, those skilled in the art also should know Know, embodiment described in this description belongs to preferred embodiment, involved action and the module not necessarily present invention Necessary.
It should be understood that disclosed system in several embodiments provided herein, apparatus and method are permissible Realize by another way.For example, device embodiment described above is only schematically, for example, described unit Divide, only a kind of division of logic function, actual can have other dividing mode when realizing, for example multiple units or assembly Can in conjunction with or be desirably integrated into another system, or some features can be ignored, or does not execute.Another, shown or The coupling each other discussing or direct-coupling or communication connection can be by some interfaces, the indirect coupling of device or unit Close or communicate to connect, can be electrical, mechanical or other forms.
The described unit illustrating as separating component can be or may not be physically separate, show as unit The part showing can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple On NE.The mesh to realize this embodiment scheme for some or all of unit therein can be selected according to the actual needs 's.
In addition, can be integrated in a processing unit in each functional unit in each embodiment of the present invention it is also possible to It is that unit is individually physically present it is also possible to two or more units are integrated in a unit.Above-mentioned integrated list Unit both can be to be realized in the form of hardware, it would however also be possible to employ the form of SFU software functional unit is realized.
If described integrated unit is realized and as independent production marketing or use using in the form of SFU software functional unit When, can be stored in a computer read/write memory medium.Based on such understanding, technical scheme is substantially The part in other words prior art being contributed or all or part of this technical scheme can be in the form of software products Embody, this computer software product is stored in a storage medium, including some instructions with so that a computer Equipment (can be personal computer, server, or network equipment etc.) executes the complete of each embodiment methods described of the present invention Portion or part steps.And aforesaid storage medium includes: u disk, portable hard drive, read only memory (rom, read-only Memory), random access memory (ram, random access memory), magnetic disc or CD etc. are various can store journey The medium of sequence code.
The above, above example only in order to technical scheme to be described, is not intended to limit;Although with reference to front State embodiment the present invention has been described in detail, it will be understood by those within the art that: it still can be to front State the technical scheme described in each embodiment to modify, or equivalent is carried out to wherein some technical characteristics;And these Modification or replacement, do not make the essence of appropriate technical solution depart from the scope of various embodiments of the present invention technical scheme.

Claims (14)

1. a kind of method taken pictures, is applied to mobile terminal it is characterised in that described mobile terminal is provided with for pocket lamp and photograph Machine flash lamp use LED lamp, be preset with half-light pattern in described photographing unit, under described half-light pattern, described pocket lamp and Described photographing unit can be opened simultaneously, and methods described includes:
Under described half-light pattern, if described pocket lamp and described photographing unit are opened, when the bat receiving described photographing unit simultaneously According to during instruction, judge whether the flash lamp of described photographing unit is opened;
If so, turn off described pocket lamp, turned off the light using described sudden strain of a muscle and taken pictures, after being taken pictures using described flash lamp and finishing, open Open described pocket lamp;
If it is not, keeping described pocket lamp to open, and taken pictures using described photographing unit.
2. method according to claim 1 is it is characterised in that methods described also includes:
In the state of described mobile terminal pocket lamp is in unlatching, if receiving the instruction that user enters photographing unit, point out to use Whether family enters described half-light pattern,
Or,
In the state of described mobile terminal photographing unit is in unlatching, if receiving the instruction that user opens pocket lamp, point out to use Whether family enters described half-light pattern.
3. method according to claim 2 is it is characterised in that methods described also includes:
If receiving the instruction that user does not enter described half-light pattern, described pocket lamp being closed, or exits described photograph Machine.
4. method according to claim 1 is it is characterised in that described turn off described pocket lamp, using described sudden strain of a muscle turn off the light into Row is taken pictures, and after taking pictures using described flash lamp and finishing, opens described pocket lamp, comprising:
Turn off described pocket lamp, taken pictures using described flash lamp in the first Preset Time;
Described pocket lamp is opened after the completion of described flash lamp is taken pictures in second Preset Time.
5. method according to claim 1 it is characterised in that
Methods described also includes:
When described photographing unit does not open flash lamp, and when described pocket lamp is opened, the brightness adjustment of described LED lamp is bright for first Degree;
When described photographing unit opens flash lamp and described pocket lamp opens, if being taken pictures using described flash lamp, will be described The brightness adjustment of flash lamp is the second brightness;Take pictures finish after the brightness adjustment of described LED lamp is returned the first brightness;
Wherein, the corresponding brightness value of described second brightness is more than the corresponding brightness value of described first brightness.
6. method according to claim 1 is it is characterised in that when described photographing unit flash lamp is taken pictures, by described sudden strain of a muscle Before the brightness adjustment of light lamp is the second brightness, methods described also includes:
Obtain environment illumination intensity information;
According to described environment illumination intensity information, determine that the corresponding brightness value of described first brightness and described second brightness are corresponding Brightness value.
7. method according to claim 1 is it is characterised in that methods described also includes:
If described mobile terminal is currently at described half-light pattern, when the dump energy of described mobile terminal is less than preset ratio When, exit described half-light pattern, and point out user to select to keep it turned on one of pocket lamp or photographing unit;
If described mobile terminal is not presently within described half-light pattern, when the dump energy of described mobile terminal is less than preset ratio When, forbid entering described half-light pattern.
8. a kind of mobile terminal is it is characterised in that described mobile terminal is provided with the led using for pocket lamp and camera flashlamp Lamp, is preset with half-light pattern in described photographing unit, under described half-light pattern, described pocket lamp and described photographing unit can be opened simultaneously Open, described mobile terminal includes:
Judging unit, under described half-light pattern, if described pocket lamp and described photographing unit are opened, when receiving simultaneously State photographing unit photographing instruction when, judge whether the flash lamp of described photographing unit is opened;
Double open unit, for described photographing unit flash lamp open when, turn off described pocket lamp, turned off the light using described sudden strain of a muscle and carry out Take pictures, after taking pictures using described flash lamp and finishing, open described pocket lamp;
Described double unit of opening is additionally operable to, when the flash lamp of described photographing unit is closed, keep described pocket lamp to open, and use institute State photographing unit to be taken pictures.
9. mobile terminal according to claim 8 is it is characterised in that described mobile terminal also includes:
Tip element, in the state of being in unlatching in described mobile terminal pocket lamp, if receive user to enter photographing unit Instruction, prompt the user whether to enter described half-light pattern, or, be in the state of unlatching in described mobile terminal photographing unit Under, if receiving the instruction that user opens pocket lamp, prompt the user whether to enter described half-light pattern.
10. mobile terminal according to claim 9 is it is characterised in that described mobile terminal also includes:
Closing unit, for when receiving the instruction that user does not enter described half-light pattern, described pocket lamp being closed, or Exit described photographing unit.
11. mobile terminals according to claim 8 it is characterised in that described double open unit specifically for:
Turn off described pocket lamp, taken pictures using described flash lamp in the first Preset Time;
Described pocket lamp is opened after the completion of described flash lamp is taken pictures in second Preset Time.
12. mobile terminals according to claim 8 are it is characterised in that described mobile terminal also includes:
Brightness adjustment unit, for not opening flash lamp when described photographing unit, and when described pocket lamp is opened, by described LED lamp Brightness adjustment be the first brightness;When described photographing unit opens flash lamp and described pocket lamp opens, if using described flash of light Lamp is taken pictures, and the brightness adjustment of described flash lamp is the second brightness;Take pictures finish after by the brightness adjustment of described LED lamp Return the first brightness;
Wherein, the corresponding brightness value of described second brightness is more than the corresponding brightness value of described first brightness.
13. mobile terminals according to claim 8 are it is characterised in that described mobile terminal also includes:
Acquiring unit, for when described photographing unit flash lamp is taken pictures, the brightness adjustment of described flash lamp being the second brightness Before, obtain environment illumination intensity information;
Determining unit, for according to described environment illumination intensity information, determining the corresponding brightness value of described first brightness and described The corresponding brightness value of second brightness.
14. mobile terminals according to claim 8 are it is characterised in that described pair is opened unit and be additionally operable to:
If described mobile terminal is currently at described half-light pattern, when the dump energy of described mobile terminal is less than preset ratio When, exit described half-light pattern, and point out user to select to keep it turned on one of pocket lamp or photographing unit;
If described mobile terminal is not presently within described half-light pattern, when the dump energy of described mobile terminal is less than preset ratio When, forbid entering described half-light pattern.
CN201611004105.XA 2016-11-15 2016-11-15 Photographing method and mobile terminal Active CN106341616B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611004105.XA CN106341616B (en) 2016-11-15 2016-11-15 Photographing method and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611004105.XA CN106341616B (en) 2016-11-15 2016-11-15 Photographing method and mobile terminal

Publications (2)

Publication Number Publication Date
CN106341616A true CN106341616A (en) 2017-01-18
CN106341616B CN106341616B (en) 2020-04-21

Family

ID=57841906

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611004105.XA Active CN106341616B (en) 2016-11-15 2016-11-15 Photographing method and mobile terminal

Country Status (1)

Country Link
CN (1) CN106341616B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107797614A (en) * 2017-10-27 2018-03-13 广东欧珀移动通信有限公司 Mobile terminal and its driving method with structure optical module

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110019991A1 (en) * 2009-07-24 2011-01-27 Samsung Electro-Mechanics Co., Ltd. Mobile terminal having camera flash and method for controlling camera flash
CN103957363A (en) * 2014-05-16 2014-07-30 深圳市中兴移动通信有限公司 Flash camera shooting method and camera shooting device
CN104301475A (en) * 2013-07-17 2015-01-21 联芯科技有限公司 Mobile terminal provided with functions of flash lamp and electric torch
CN104660902A (en) * 2015-02-09 2015-05-27 广东欧珀移动通信有限公司 Mobile terminal shooting method and device
CN104822018A (en) * 2015-03-26 2015-08-05 深圳市金立通信设备有限公司 Flash lamp control method of photographing device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110019991A1 (en) * 2009-07-24 2011-01-27 Samsung Electro-Mechanics Co., Ltd. Mobile terminal having camera flash and method for controlling camera flash
CN104301475A (en) * 2013-07-17 2015-01-21 联芯科技有限公司 Mobile terminal provided with functions of flash lamp and electric torch
CN103957363A (en) * 2014-05-16 2014-07-30 深圳市中兴移动通信有限公司 Flash camera shooting method and camera shooting device
CN104660902A (en) * 2015-02-09 2015-05-27 广东欧珀移动通信有限公司 Mobile terminal shooting method and device
CN104822018A (en) * 2015-03-26 2015-08-05 深圳市金立通信设备有限公司 Flash lamp control method of photographing device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107797614A (en) * 2017-10-27 2018-03-13 广东欧珀移动通信有限公司 Mobile terminal and its driving method with structure optical module
CN107797614B (en) * 2017-10-27 2021-08-27 Oppo广东移动通信有限公司 Mobile terminal with structure optical module and driving method thereof

Also Published As

Publication number Publication date
CN106341616B (en) 2020-04-21

Similar Documents

Publication Publication Date Title
US11626748B2 (en) Electronic device and method for wired and wireless charging in electronic device
CN104754239A (en) Photographing method and device
CN104428829B (en) Color control method and communication apparatus
CN105227834B (en) The photographic method and device of mobile intelligent terminal
CN104243842A (en) Flashlight intensity control method and image pickup device
US20150222135A1 (en) Charging circuit and electronic device having the same
CN107888842A (en) A kind of flash lamp control method and control system based on intelligent terminal
CN114256914A (en) Optional terminal charging method, graphical user interface and electronic equipment
CN112105981B (en) Automatic sending image capture glasses
CN103685902A (en) Mobile phone using camera photosensitive chip to control flashlight
CN106357970B (en) Light emission control device and its control method
CN108881730A (en) Image interfusion method, device, electronic equipment and computer readable storage medium
US9743009B2 (en) Image processing method and image processing device
CN105245685A (en) Method and terminal for controlling flash lamp
CN113873122A (en) Independent flash control method, system and device for double-flash camera and storage medium
CN106341616A (en) Photographing method and mobile terminal
CN101331742B (en) Improvements in a wireless terminal having a flashlight
CN205029744U (en) Light filling camera, control device , light filling device and be used for control system of light filling
CN106791462B (en) Method and system for supplementing light during photographing of front camera of mobile terminal
CN105575361A (en) Screen brightness adjusting method and apparatus thereof
CN105791689A (en) Image processing method and image processing device
CN104243838A (en) Photographing method and device based on flash lamp
CN108124098A (en) Electronic equipment and the method for focusing on automatically
CN108965845B (en) Image white balance calibration method, apparatus, storage medium and terminal
CN105049715B (en) A kind of flash photographing method and mobile terminal

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant