CN106170042A - Light compensation method and device, electronic equipment - Google Patents

Light compensation method and device, electronic equipment Download PDF

Info

Publication number
CN106170042A
CN106170042A CN201610556239.6A CN201610556239A CN106170042A CN 106170042 A CN106170042 A CN 106170042A CN 201610556239 A CN201610556239 A CN 201610556239A CN 106170042 A CN106170042 A CN 106170042A
Authority
CN
China
Prior art keywords
group
brightness
backlight
backlight lamps
constant current
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
CN201610556239.6A
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.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software 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 Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201610556239.6A priority Critical patent/CN106170042A/en
Publication of CN106170042A publication Critical patent/CN106170042A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/72409User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories
    • H04M1/72415User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories for remote control of appliances
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/57Mechanical or electrical details of cameras or camera modules specially adapted for being embedded in other devices
    • 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/73Circuitry for compensating brightness variation in the scene by influencing the exposure time
    • 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)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Studio Devices (AREA)

Abstract

The disclosure is directed to a kind of light compensation method and device, electronic equipment.Described method includes: receive take pictures request time, control the first constant current and receive source and increase the electric current in first group of backlight, so that described first group of backlight keeps the first flash luminance of the first setting duration;At the end of described first sets duration, open the shutter of photographic head;Control the second constant current reception source and increase the electric current in second group of backlight, so that described second group of backlight keeps the second flash luminance of the second setting duration.Disclosure technical scheme can drive first group of backlight and second group of backlight by the way of timesharing respectively, improve the ability of LED backlight moment flicker, make photographic head when taking pictures under dark surrounds, have the effect of the big depth of field, be effectively improved the experience of taking pictures of user.

Description

Light supplementing method and device and electronic equipment
Technical Field
The disclosure relates to the technical field of terminals, and in particular to a light supplementing method and device and an electronic device.
Background
The smart mobile phone is through setting up the flash light near the rear camera, and when ambient light was dim, the flash light can provide the light filling for the rear camera, however, when the user was autodyned through the front camera of smart mobile phone, correlation technique can not provide the light filling for the front camera, if the user need autodyne when ambient light is dim, can lead to the photographic effect not good.
Disclosure of Invention
In order to overcome the problems in the related art, embodiments of the present disclosure provide a light supplement method and apparatus, and an electronic device, so as to improve the intensity of instantaneous flicker of a backlight and ensure that a picture taken by a camera in a dark environment has a large depth of field.
According to a first aspect of the embodiments of the present disclosure, there is provided a light supplement method, including:
when a photographing request is received, controlling a first constant current receiving source to increase the current in a first group of backlight lamps so that the first group of backlight lamps keep the first flash brightness of a first set time length;
when the first set time length is over, opening a shutter of the camera;
and controlling a second constant current receiving source to increase the current in a second group of backlight lamps so that the second group of backlight lamps keep a second flash brightness for a second set time.
In one embodiment, the shutter is closed at the end of the second set length of time.
In an embodiment, the method may further comprise:
detecting the brightness of the environment where the camera is located;
determining the first set time length consistent with the brightness from a first list, wherein the first list is used for recording the corresponding relation between the brightness and the duration of the first group of backlight lamps;
and determining the second set time length consistent with the brightness from a second list, wherein the second list is used for recording the corresponding relation between the brightness and the duration of the second group of backlight and the like.
In one embodiment, the controlling the first constant current receiving source to increase the current in the first group of backlights when the photographing request is received comprises:
and when the photographing request is received and the current photographing mode is determined to be the light supplement mode, controlling the first constant current receiving source to increase the current in the first group of backlight lamps.
In an embodiment, the method may further comprise:
setting a photographing mode to a light supplementing mode according to a setting instruction of a user; or,
and detecting the brightness of the environment where the camera is located, and setting a photographing mode to be a light supplementing mode when the brightness is determined to be smaller than a preset threshold value.
In an embodiment, the method may further comprise:
when receiving a screen-on signal, controlling a third constant current receiving source to provide current for the first group of backlight lamps so that the first group of backlight lamps keep a first basic brightness, and controlling a fourth constant current receiving source to provide current for the second group of backlight lamps so that the second group of backlight lamps keep a second basic brightness;
the first basic brightness is smaller than the first flash brightness, and the second basic brightness is smaller than the second flash brightness.
According to a second aspect of the embodiments of the present disclosure, there is provided a light supplement device, including:
the backlight source comprises a central processing unit, a first group of backlight lamps, a second group of backlight lamps, a first constant current receiving source and a second constant current receiving source, wherein the first group of backlight lamps are electrically connected with the first constant current receiving source, and the second group of backlight lamps are electrically connected with the second constant current receiving source; wherein,
when the central processing unit determines that a photographing request is received, the first constant current receiving source increases the current of the first group of backlight lamps so that the first group of backlight lamps keep the first flash brightness of a first set time length;
and the second constant current receiving source increases the current in the second group of backlight lamps in the process that the shutter of the camera keeps an opening state so as to enable the second group of backlight lamps to keep the second flash brightness of a second set time length, and the shutter of the camera is opened when the first set time length is over.
In one embodiment, the shutter of the camera is closed at the end of the second set duration.
In one embodiment, the apparatus further comprises:
a brightness sensor configured to detect brightness of an environment in which the camera is located;
the cpu is further configured to determine the first set duration corresponding to the brightness detected by the brightness sensor from a first list recording a correspondence between brightness and the first set backlight duration, and determine the second set duration corresponding to the brightness detected by the brightness sensor from a second list recording a correspondence between brightness and the second set backlight duration.
In an embodiment, the central processor is further configured to:
setting a photographing mode to a light supplementing mode according to a setting instruction of a user; or,
and detecting the brightness of the environment where the camera is located, and setting a photographing mode to be a light supplementing mode when the brightness is determined to be smaller than a preset threshold value.
In an embodiment, the central processor is further configured to:
when receiving a screen-on signal, controlling a third constant current receiving source to provide current for the first group of backlight lamps so that the first group of backlight lamps keep a first basic brightness, and controlling a fourth constant current receiving source to provide current for the second group of backlight lamps so that the second group of backlight lamps keep a second basic brightness;
the first basic brightness is smaller than the first flash brightness, and the second basic brightness is smaller than the second flash brightness.
According to a third aspect of the embodiments of the present disclosure, there is provided an electronic apparatus including:
a central processing unit;
a memory for storing processor-executable instructions;
wherein the central processor is configured to:
monitoring whether a photographing request is received;
when a photographing request is received, controlling a first constant current receiving source to increase the current in a first group of backlight lamps so that the first group of backlight lamps keep the first flash brightness of a first set time length;
when the first set time length is over, opening a shutter of the camera;
and controlling a second constant current receiving source to increase the current in a second group of backlight lamps so that the second group of backlight lamps keep a second flash brightness for a second set time.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects:
before the shutter is opened, the current in the first group of backlight lamps is increased through the first constant current receiving source, so that the first group of backlight lamps keep the first flash brightness of the first set time duration, during the shutter opening period, the current in the second group of backlight lamps is increased through the second constant current source, so that the second group of backlight lamps keep the second flash brightness of the second set time duration, the first group of backlight lamps and the second group of backlight lamps are respectively driven in a time-sharing mode, the instant flickering capacity of the LED backlight lamps is improved, the camera has the effect of large depth of field when taking pictures in a dark environment, and the shooting experience of a user is effectively improved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description, serve to explain the principles of the invention.
Fig. 1A is a flowchart illustrating a light supplement method according to an exemplary embodiment.
Fig. 1B is a circuit structure diagram for a fill light method according to an exemplary embodiment.
Fig. 2A is a flowchart illustrating a light supplement method according to an exemplary embodiment.
Fig. 2B is a scene diagram illustrating a light supplement method according to an exemplary embodiment.
Fig. 3 is a flowchart illustrating a light supplement method according to an exemplary embodiment.
Fig. 4 is a flowchart illustrating a light supplement method according to a third exemplary embodiment.
Fig. 5 is a block diagram illustrating a light supplement apparatus according to an exemplary embodiment.
Fig. 6 is a block diagram of a light supplement device according to an exemplary embodiment.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present invention. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the invention, as detailed in the appended claims.
Fig. 1A is a schematic flowchart illustrating a light supplement method according to an exemplary embodiment, and fig. 1B is a circuit structure diagram applicable to the light supplement method according to an exemplary embodiment; the light supplement method can be applied to electronic devices (e.g., smart phones, tablet computers, digital cameras, etc.) with a photographing function, and as shown in fig. 1A, the light supplement method includes the following steps S101 to S103:
in step S101, when a photographing request is received, the first constant current receiving source is controlled to increase the current in the first group of backlights, so that the first group of backlights maintain a first flash brightness for a first set time.
In step S102, the shutter of the camera is opened at the end of the first set period of time.
In step S103, the second constant current receiving source is controlled to increase the current in the second group of backlights so that the second group of backlights keeps the second flash brightness for a second set time period.
In the above steps S101 and S102, in an embodiment, the first constant current receiving source may be disposed on a power control chip of the electronic device, and the effect similar to that of a flash may be achieved by controlling the first group of backlights for a first flash brightness of a first set duration.
In step S103, in an embodiment, the second constant current receiving source may also be disposed on a power control chip of the electronic device, and the current in the second group of backlights is controlled for a second set time period, so that the second group of backlights can maintain the second flash brightness for the second set time period, and the camera can achieve a sufficient exposure effect.
As shown in fig. 1B, taking a camera as a front camera of the electronic device 10 as an example for illustration, the first group of backlight 11 and the second group of backlight 12 are Light Emitting Diode (LED) backlights on a display screen of the electronic device 10, and can provide backlight when the display screen of the electronic device displays normally. When detecting that the front camera is turned on and receiving a photographing request through a system of the electronic device or a camera application program, controlling the first constant current receiving source 13 to increase the current in the first group of backlight lamps 11, wherein the first group of backlight lamps 11 continuously have a higher brightness (the first flash brightness is higher than the brightness of the display screen of the electronic device 10 in the case that the display screen of the electronic device 10 is lighted) for an instant (the first set time duration is described in the present disclosure), and when the first set time duration is over, turning on a shutter of the front camera; the second constant current receiving source 14 is controlled to increase the current in the second group of back lights 12 so that the second group of back lights 12 continues for a moment (the second set time period described in this disclosure) of higher brightness (the second flash brightness described in this disclosure, the second flash brightness being higher than the brightness in the case where the display screen of the electronic device 10 is lit), and optionally, the shutter is closed at the end of the second set time period. During this period, when receiving the bright screen signal, the third constant current receiving source 15 is controlled to supply current to the first group of backlight lamps 11 so that the first group of backlight lamps 11 maintain the first basic brightness, and the fourth constant current receiving source 16 is controlled to supply current to the second group of backlight lamps 12 so that the second group of backlight lamps maintain the second basic brightness; the first basic brightness is smaller than the first flash brightness, and the second basic brightness is smaller than the second flash brightness.
It will be understood by those skilled in the art that the first group of backlights 11 and the second group of backlights 12 in fig. 1B are only exemplified by one string of LED backlights disposed on the electronic device, and when a plurality of strings of LED backlights are disposed on the electronic device, for example, four strings of LED backlights, two of the strings may be used as the first group of backlights 11, and the other two strings may be used as the second group of backlights 12, that is, the number of strings of LED backlights of the first group of backlights 11 and the second group of backlights 12 is not limited by the present disclosure.
In the embodiment, before the shutter is opened, the current in the first group of backlight lamps is increased through the first constant current receiving source, so that the first group of backlight lamps keep the first flash brightness of the first set time duration, during the shutter opening period, the current in the second group of backlight lamps is increased through the second constant current source, so that the second group of backlight lamps continuously keeps the second flash brightness of the second set time duration, the first group of backlight lamps and the second group of backlight lamps are respectively driven in a time-sharing mode, the instant flickering capacity of the LED backlight lamps is improved, the camera has a large depth of field effect when taking pictures in a dark environment, and the shooting experience of a user is effectively improved.
In an embodiment, the method may further comprise:
at the end of the second set length of time, the shutter is closed.
In an embodiment, the method may further comprise:
detecting the brightness of the environment where the camera is located;
determining a first set time length consistent with the brightness from a first list, wherein the first list is used for recording the corresponding relation between the brightness and the duration of a first group of backlight lamps;
and determining a second set time length consistent with the brightness from a second list, wherein the second list is used for recording the corresponding relation between the brightness and the duration time of the second group of backlight lamps.
In one embodiment, controlling the first constant current receiving source to increase the current in the first group of backlights when the photographing request is received comprises:
and when the photographing request is received and the current photographing mode is determined to be the light supplement mode, controlling the first constant current receiving source to increase the current in the first group of backlight lamps.
In an embodiment, the method may further comprise:
setting a photographing mode to a light supplementing mode according to a setting instruction of a user; or,
and detecting the brightness of the environment where the camera is located, and setting the photographing mode to be a light supplementing mode when the brightness is determined to be smaller than a preset threshold value.
In an embodiment, the method may further comprise:
when receiving a screen-on signal, controlling a third constant current receiving source to provide current for a first group of backlight lamps so that the first group of backlight lamps keep a first basic brightness, and controlling a fourth constant current receiving source to provide current for a second group of backlight lamps so that the second group of backlight lamps keep a second basic brightness;
the first basic brightness is smaller than the first flash brightness, and the second basic brightness is smaller than the second flash brightness.
Please refer to the following embodiments for details of how to implement light supplement.
Therefore, the method provided by the embodiment of the disclosure can respectively drive the first group of backlight lamps and the second group of backlight lamps in a time-sharing manner, so that the instant flickering capability of the LED backlight lamps is improved, the camera has a large depth of field effect when taking a picture in a dark environment, and the shooting experience of a user is effectively improved.
The technical solutions provided by the embodiments of the present disclosure are described below with specific embodiments.
Fig. 2A is a flowchart illustrating a light supplement method according to an exemplary embodiment, and fig. 2B is a scene diagram illustrating the light supplement method according to an exemplary embodiment; the present embodiment utilizes the above method provided by the embodiment of the present disclosure to exemplarily explain how to adjust the first set time duration and the second set time duration, as shown in fig. 2A, including the following steps:
in step S201, the brightness of the environment in which the camera is located is detected.
In step S202, a first set time period corresponding to the brightness is determined from a first list, and the first list is used for recording the correspondence between the brightness and the duration of the first group of backlights.
In step S203, a second set time period corresponding to the brightness is determined from a second list for recording the correspondence between the brightness and the duration of the second group of backlights.
In the step S201, in an embodiment, the brightness of the environment where the camera 17 is located may be detected by an ambient light sensor on the electronic device 10, and in another embodiment, the brightness of the environment where the camera 17 is located may be detected by a sensing function of the image sensor on the camera 17 to the brightness.
In the step S202, in an embodiment, the correspondence between the brightness and the duration of the first group of backlights may be counted through a large number of tests to obtain the first list, for example, when the brightness is low, the duration of the first group of backlights is long, and when the brightness is high, the duration of the first group of backlights is short.
In the step S202, in an embodiment, the correspondence between the brightness and the duration of the second group of backlights may be counted through a large number of tests to obtain a second list, for example, when the brightness is lower, the exposure time may be longer, and when the brightness is higher, the exposure time may be shorter. In one embodiment, the second set time period may be the same as or different from the first set time period, for example, the first set time period and the second set time period may be set at 50 ms, and not more than 700 ms at maximum, if more than 700 ms, the first group of backlights may be caused to decay.
In this embodiment, the first set duration and the second set duration which are consistent with the brightness of the environment where the camera is located are determined in a list manner, so that the duration of the first group of backlights and the duration of the second group of backlights can be adjusted along with the change of the surrounding environment, and meanwhile, when the duration of the first group of backlights and the duration of the second group of backlights are not sufficient, the effect of large depth of field cannot be achieved in a dark environment, and light attenuation caused by the fact that the duration of the first group of backlights and the duration of the second group of backlights are too long can also be avoided, and the photographing experience of a user is effectively improved.
Fig. 3 is a schematic flowchart illustrating a light supplement method according to an exemplary embodiment; in this embodiment, by using the above method provided by the embodiment of the present disclosure, taking how to adjust the camera to the light supplement mode as an example and referring to fig. 1B for exemplary explanation, as shown in fig. 3, the method includes the following steps:
in step S301, determining whether the brightness of the environment where the camera is located is less than a preset threshold, and executing step S302 when the brightness is less than the preset threshold; when the brightness is larger than or equal to the preset threshold value, the ambient light brightness of the camera reaches a better state, and the camera does not need to be supplemented with light.
In step S302, when the brightness is smaller than the preset threshold, the camera is adjusted to the light supplement mode.
In step S303, in the light supplement mode, it is monitored whether the photographing key is triggered, when it is detected that the photographing key is triggered, it is determined that the photographing request is received, the method flow of the embodiment shown in fig. 1A is executed, light supplement is performed on the photographing process of the camera, and when the photographing key is not triggered, step S304 is executed.
In step S304, when the screen-on signal is received, the third constant current receiving source is controlled to provide current for the first group of backlight lamps, and the fourth constant current receiving source is controlled to provide current for the second group of backlight lamps, so that the first group of backlight lamps maintain a first basic brightness and the second group of backlight lamps maintain a second basic brightness, where the first basic brightness is less than the first flash brightness, and the second basic brightness is less than the second flash brightness.
In the step S301, in an embodiment, the preset threshold may be set according to a sensitivity of the camera to the brightness of the environment where the camera is located, and the size of the preset threshold is not limited in this disclosure.
In the step S303, in an embodiment, the photographing key may be a virtual key on a user interface of the camera application program or an entity key on the electronic device, and the disclosure does not limit a specific form of the photographing key.
In the above step S304, as shown in fig. 1B, the third constant current receiving source 15 is connected in parallel with the first constant current receiving source 13, and the fourth constant current receiving source 16 is connected in parallel with the second constant current receiving source 14, and by connecting the constant current receiving sources in parallel, normal backlight can be provided for the display screen of the electronic device at the third constant current receiving source 15 and the fourth constant current receiving source 16.
In this embodiment, through the luminance of automated inspection camera place environment, adjust the light filling mode with the camera according to luminance, when avoiding user's manual setting, through first constant current receiving source, second constant current receiving source drives first group backlight and second group backlight respectively and realizes shutter front light and shutter light filling, in order to reach the effect that realizes the big depth of field when using the camera to shoot under the dark surrounds, and can also avoid in the photo of shooing near object too bright, the object is too dark far away, effectively improve user's the experience of shooing.
Fig. 4 is a flowchart illustrating a light supplement method according to a third exemplary embodiment; in this embodiment, by using the above method provided by the embodiment of the present disclosure, taking how to adjust the camera to the light supplement mode as an example and referring to fig. 1B for exemplary explanation, as shown in fig. 4, the method includes the following steps:
in step S401, determining whether the camera sets the photographing mode to the light supplement mode according to a setting instruction of a user, executing step S402 when the camera is configured to the light supplement mode, and when the camera is not configured to the light supplement mode, automatically adjusting the camera to the light supplement mode according to the brightness in the manner of the embodiment shown in fig. 3;
in step S402, when the camera is configured in the light supplement mode, it is monitored whether the photographing key is triggered, when it is monitored that the photographing key is triggered, it is determined that the photographing request is received, the method flow of the embodiment shown in fig. 1A is executed, light supplement is performed on the photographing process of the camera, and when the photographing key is not triggered, step S403 is executed.
In step S403, when the screen-on signal is received, the third constant current receiving source is controlled to provide current for the first group of backlight lamps, and the fourth constant current receiving source is controlled to provide current for the second group of backlight lamps, so that the first group of backlight lamps maintain a first basic brightness and the second group of backlight lamps maintain a second basic brightness, where the first basic brightness is less than the first flash brightness, and the second basic brightness is less than the second flash brightness.
In step S401, in an embodiment, the fill-in mode of the camera may be set in a camera setting option of the electronic device.
The description of the above steps S402 and S403 can refer to the related description of the step S303 in the embodiment shown in fig. 3, and will not be described in detail here.
In this embodiment, the camera is manually set to the light supplement mode, so that the method shown in fig. 1A can be implemented in the light supplement mode by the camera, the flexibility of the user in actively controlling the light supplement mode of the camera is improved, and the photographing experience of the user is effectively improved.
Fig. 5 is a block diagram illustrating a light supplement device according to an exemplary embodiment, where as shown in fig. 5, the light supplement device includes:
the backlight lamp comprises a central processing unit 51, a first group of backlight lamps 11, a second group of backlight lamps 12, a first constant current receiving source 13 and a second constant current receiving source 14, wherein the first group of backlight lamps 11 are electrically connected with the first constant current receiving source 13, and the second group of backlight lamps 12 are electrically connected with the second constant current receiving source 14; wherein,
when the central processing unit 51 determines that a photographing request is received, the first constant current receiving source 13 increases the current of the first group of backlight lamps, so that the first group of backlight lamps 11 keep the first flash brightness for a first set time;
the second constant current receiver 14 increases the current in the second group of back lights 12 during the shutter of the camera remaining open to maintain the second group of back lights at the second flash brightness for a second set period of time, the shutter of the camera opening at the end of the first set period of time.
Optionally, the shutter of the camera is closed when the second set duration is over.
In an embodiment, the apparatus may further comprise:
a brightness sensor 52 configured to detect brightness of an environment in which the camera is located;
the central processor 51 is further configured to determine a first set time period corresponding to the brightness detected by the brightness sensor 56 from a first list for recording the correspondence of the brightness to the first set of backlight duration times and a second set time period corresponding to the brightness detected by the brightness sensor from a second list for recording the correspondence of the brightness to the second set of backlight duration times.
In an embodiment, the central processor 51 is further configured to:
setting a photographing mode to a light supplementing mode according to a setting instruction of a user; or,
and detecting the brightness of the environment where the camera is located, and setting the photographing mode to be a light supplementing mode when the brightness is determined to be smaller than a preset threshold value.
In an embodiment, the apparatus further comprises: the backlight source comprises a third constant current receiving source 15 and a fourth constant current receiving source 16, wherein the first group of backlight sources 11 are electrically connected with the third constant current receiving source 15, and the second group of backlight lamps 12 are electrically connected with the fourth constant current receiving source 16;
the central processor 51 is further configured to:
when receiving a screen-on signal, controlling a third constant current receiving source 15 to supply current to the first group of backlight lamps so that the first group of backlight lamps keep a first basic brightness, and controlling a fourth constant current receiving source 16 to supply current to the second group of backlight lamps so that the second group of backlight lamps keep a second basic brightness; the first basic brightness is smaller than the first flash brightness, and the second basic brightness is smaller than the second flash brightness.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
Fig. 6 is a block diagram of a light supplement device according to an exemplary embodiment. For example, the apparatus 600 may be an electronic device such as a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, an exercise device, a personal digital assistant, and the like.
Referring to fig. 6, apparatus 600 may include one or more of the following components: processing component 602, memory 604, power component 606, multimedia component 608, audio component 610, input/output (I/O) interface 612, sensor component 614, and communication component 616.
The processing component 602 generally controls overall operation of the device 600, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing elements 602 may include one or more processors 620 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 602 can include one or more modules that facilitate interaction between the processing component 602 and other components. For example, the processing component 602 can include a multimedia module to facilitate interaction between the multimedia component 608 and the processing component 602.
The memory 604 is configured to store various types of data to support operation at the device 600. Examples of such data include instructions for any application or method operating on device 600, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 604 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
Power component 606 provides power to the various components of device 600. Power components 606 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for device 600.
The multimedia component 608 includes a screen that provides an output interface between the device 600 and a user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 608 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when the device 600 is in an operating mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 610 is configured to output and/or input audio signals. For example, audio component 610 includes a Microphone (MIC) configured to receive external audio signals when apparatus 600 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signal may further be stored in the memory 604 or transmitted via the communication component 616. In some embodiments, audio component 610 further includes a speaker for outputting audio signals.
The I/O interface 612 provides an interface between the processing component 602 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor component 614 includes one or more sensors for providing status assessment of various aspects of the apparatus 600. For example, the sensor component 614 may detect an open/closed state of the device 600, the relative positioning of components, such as a display and keypad of the apparatus 600, the sensor component 614 may also detect a change in position of the apparatus 600 or a component of the apparatus 600, the presence or absence of user contact with the apparatus 600, orientation or acceleration/deceleration of the apparatus 600, and a change in temperature of the apparatus 600. The sensor assembly 614 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 614 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 614 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 616 is configured to facilitate communications between the apparatus 600 and other devices in a wired or wireless manner. The apparatus 600 may access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 616 receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 616 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the apparatus 600 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the above-described methods.
In an exemplary embodiment, a non-transitory computer readable storage medium comprising instructions, such as the memory 604 comprising instructions, executable by the processor 620 of the apparatus 600 to perform the above-described method is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (12)

1. A method for supplementing light, the method comprising:
when a photographing request is received, controlling a first constant current receiving source to increase the current in a first group of backlight lamps so that the first group of backlight lamps keep the first flash brightness of a first set time length;
when the first set time length is over, opening a shutter of the camera;
and controlling a second constant current receiving source to increase the current in a second group of backlight lamps so that the second group of backlight lamps keep a second flash brightness for a second set time.
2. The method of claim 1, further comprising:
and closing the shutter when the second set time length is over.
3. The method of claim 1, further comprising:
detecting the brightness of the environment where the camera is located;
determining the first set time length consistent with the brightness from a first list, wherein the first list is used for recording the corresponding relation between the brightness and the duration of the first group of backlight lamps;
and determining the second set time length consistent with the brightness from a second list, wherein the second list is used for recording the corresponding relation between the brightness and the duration time of the second group of backlight lamps.
4. The method according to any one of claims 1 to 3, wherein controlling the first constant current receiving source to increase the current in the first group of backlight lamps when the photographing request is received comprises:
and when the photographing request is received and the current photographing mode is determined to be the light supplement mode, controlling the first constant current receiving source to increase the current in the first group of backlight lamps.
5. The method of claim 4, further comprising:
setting a photographing mode to a light supplementing mode according to a setting instruction of a user; or,
and detecting the brightness of the environment where the camera is located, and setting a photographing mode to be a light supplementing mode when the brightness is determined to be smaller than a preset threshold value.
6. The method of claim 1, further comprising:
when receiving a screen-on signal, controlling a third constant current receiving source to provide current for the first group of backlight lamps so that the first group of backlight lamps keep a first basic brightness, and controlling a fourth constant current receiving source to provide current for the second group of backlight lamps so that the second group of backlight lamps keep a second basic brightness;
the first basic brightness is smaller than the first flash brightness, and the second basic brightness is smaller than the second flash brightness.
7. A light supplement apparatus, the apparatus comprising: the backlight source comprises a central processing unit, a first group of backlight lamps, a second group of backlight lamps, a first constant current receiving source and a second constant current receiving source, wherein the first group of backlight lamps are electrically connected with the first constant current receiving source, and the second group of backlight lamps are electrically connected with the second constant current receiving source; wherein,
when the central processing unit determines that a photographing request is received, the first constant current receiving source increases the current of the first group of backlight lamps so that the first group of backlight lamps keep the first flash brightness of a first set time length;
and the second constant current receiving source increases the current in the second group of backlight lamps in the process that the shutter of the camera keeps an opening state so as to enable the second group of backlight lamps to keep the second flash brightness of a second set time length, and the shutter of the camera is opened when the first set time length is over.
8. The apparatus of claim 7,
and closing the shutter of the camera when the second set time length is over.
9. The apparatus of claim 7, further comprising:
a brightness sensor configured to detect brightness of an environment in which the camera is located;
the cpu is further configured to determine the first set duration corresponding to the brightness detected by the brightness sensor from a first list recording a correspondence between brightness and the first set backlight duration, and determine the second set duration corresponding to the brightness detected by the brightness sensor from a second list recording a correspondence between brightness and the second set backlight duration.
10. The apparatus of claim 7, wherein the central processor is further configured to:
setting a photographing mode to a light supplementing mode according to a setting instruction of a user; or,
and detecting the brightness of the environment where the camera is located, and setting a photographing mode to be a light supplementing mode when the brightness is determined to be smaller than a preset threshold value.
11. The apparatus of claim 7, further comprising:
the backlight source comprises a first group of backlight sources, a second group of backlight sources and a third constant current receiving source, wherein the first group of backlight sources are electrically connected with the first constant current receiving source;
the central processor is further configured to:
when receiving a screen-on signal, controlling a third constant current receiving source to provide current for the first group of backlight lamps so that the first group of backlight lamps keep a first basic brightness, and controlling a fourth constant current receiving source to provide current for the second group of backlight lamps so that the second group of backlight lamps keep a second basic brightness;
the first basic brightness is smaller than the first flash brightness, and the second basic brightness is smaller than the second flash brightness.
12. An electronic device, characterized in that the electronic device comprises:
a central processing unit;
a memory for storing processor-executable instructions;
wherein the central processor is configured to:
monitoring whether a photographing request is received;
when a photographing request is received, controlling a first constant current receiving source to increase the current in a first group of backlight lamps so that the first group of backlight lamps keep the first flash brightness of a first set time length;
when the first set time length is over, opening a shutter of the camera;
and controlling a second constant current receiving source to increase the current in a second group of backlight lamps so that the second group of backlight lamps keep a second flash brightness for a second set time.
CN201610556239.6A 2016-07-14 2016-07-14 Light compensation method and device, electronic equipment Pending CN106170042A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610556239.6A CN106170042A (en) 2016-07-14 2016-07-14 Light compensation method and device, electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610556239.6A CN106170042A (en) 2016-07-14 2016-07-14 Light compensation method and device, electronic equipment

Publications (1)

Publication Number Publication Date
CN106170042A true CN106170042A (en) 2016-11-30

Family

ID=58065309

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610556239.6A Pending CN106170042A (en) 2016-07-14 2016-07-14 Light compensation method and device, electronic equipment

Country Status (1)

Country Link
CN (1) CN106170042A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106713781A (en) * 2017-01-23 2017-05-24 深圳市金立通信设备有限公司 Method for image processing and terminal
CN109074782A (en) * 2016-12-09 2018-12-21 华为技术有限公司 A kind of mobile device and its method for controlling backlight thereof, flash of light calibration method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103795929A (en) * 2014-02-13 2014-05-14 苏州佳世达电通有限公司 Photographing method of electronic device and electronic device
CN105472269A (en) * 2015-12-29 2016-04-06 广东欧珀移动通信有限公司 Self-timer light supplementing method and device, system, mobile terminal and self-timer stick
CN105516612A (en) * 2015-11-27 2016-04-20 三星电子(中国)研发中心 Photographing method and intelligent terminal
CN105554412A (en) * 2016-02-15 2016-05-04 广东欧珀移动通信有限公司 Photographing method and device based on screen light compensation and mobile terminal

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103795929A (en) * 2014-02-13 2014-05-14 苏州佳世达电通有限公司 Photographing method of electronic device and electronic device
CN105516612A (en) * 2015-11-27 2016-04-20 三星电子(中国)研发中心 Photographing method and intelligent terminal
CN105472269A (en) * 2015-12-29 2016-04-06 广东欧珀移动通信有限公司 Self-timer light supplementing method and device, system, mobile terminal and self-timer stick
CN105554412A (en) * 2016-02-15 2016-05-04 广东欧珀移动通信有限公司 Photographing method and device based on screen light compensation and mobile terminal

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109074782A (en) * 2016-12-09 2018-12-21 华为技术有限公司 A kind of mobile device and its method for controlling backlight thereof, flash of light calibration method and device
CN109074782B (en) * 2016-12-09 2021-02-26 华为技术有限公司 Mobile equipment and backlight control method and flash calibration method and device thereof
CN106713781A (en) * 2017-01-23 2017-05-24 深圳市金立通信设备有限公司 Method for image processing and terminal

Similar Documents

Publication Publication Date Title
CN110796988B (en) Backlight adjusting method and device
JP6273026B2 (en) Method and apparatus for controlling light emission
CN105245775B (en) camera imaging method, mobile terminal and device
EP2991067B1 (en) Backlight brightness control method and device
EP3495882B1 (en) Method and device for photographing images
CN111611034A (en) Screen display adjusting method and device and storage medium
CN107566750A (en) Control method, device and the storage medium of flash lamp
CN104410900B (en) A kind of method and device for controlling the indicator light being installed on smart machine
CN106228933B (en) Backlight circuit for lamp, method for implementing backlight and electronic equipment
CN106935207B (en) Brightness control method and device
CN106170042A (en) Light compensation method and device, electronic equipment
CN110879658A (en) Method and device for adjusting display brightness, electronic equipment and storage medium
CN106775246B (en) Screen brightness adjusting method and device
CN105161780B (en) terminal device charging method and terminal device
CN113241044B (en) Screen brightness adjusting method, device, equipment and storage medium
US11617023B2 (en) Method for brightness enhancement of preview image, apparatus, and medium
CN107528098B (en) Charging method and device
CN111277754B (en) Mobile terminal shooting method and device
CN111314550A (en) Display control method and device, mobile terminal and storage medium
CN112087539A (en) Screen light adjusting method for terminal equipment and terminal equipment
CN112019680A (en) Screen brightness adjusting method and device
CN112086075A (en) Screen display parameter adjusting method and device and storage medium
CN112437234B (en) Flash lamp, and flash lamp control method and device
CN111883040B (en) Display effect adjusting method and device of display screen, terminal equipment and medium
CN115129286A (en) Display brightness adjusting method and device, mobile terminal and storage medium

Legal Events

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

Application publication date: 20161130

RJ01 Rejection of invention patent application after publication