WO2020238877A1 - 补光控制方法、补光灯配件及电子设备 - Google Patents

补光控制方法、补光灯配件及电子设备 Download PDF

Info

Publication number
WO2020238877A1
WO2020238877A1 PCT/CN2020/092226 CN2020092226W WO2020238877A1 WO 2020238877 A1 WO2020238877 A1 WO 2020238877A1 CN 2020092226 W CN2020092226 W CN 2020092226W WO 2020238877 A1 WO2020238877 A1 WO 2020238877A1
Authority
WO
WIPO (PCT)
Prior art keywords
fill light
light
electronic device
accessory
fill
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.)
Ceased
Application number
PCT/CN2020/092226
Other languages
English (en)
French (fr)
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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to EP20814939.3A priority Critical patent/EP3926943B1/en
Priority to JP2021560670A priority patent/JP7309906B2/ja
Priority to US17/437,733 priority patent/US20220155656A1/en
Priority to KR1020217040642A priority patent/KR20220008308A/ko
Publication of WO2020238877A1 publication Critical patent/WO2020238877A1/zh
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G03PHOTOGRAPHY; CINEMATOGRAPHY; ANALOGOUS TECHNIQUES USING WAVES OTHER THAN OPTICAL WAVES; ELECTROGRAPHY; HOLOGRAPHY
    • G03BAPPARATUS OR ARRANGEMENTS FOR TAKING PHOTOGRAPHS OR FOR PROJECTING OR VIEWING THEM; APPARATUS OR ARRANGEMENTS EMPLOYING ANALOGOUS TECHNIQUES USING WAVES OTHER THAN OPTICAL WAVES; ACCESSORIES THEREFOR
    • G03B15/00Special procedures for taking photographs; Apparatus therefor
    • G03B15/02Illuminating scene
    • G03B15/03Combinations of cameras with lighting apparatus; Flash units
    • G03B15/04Combinations of cameras with non-electronic flash apparatus; Non-electronic flash units
    • G03B15/041Separatable flash apparatus; Means for mounting the flash apparatus on the photographic apparatus
    • GPHYSICS
    • G03PHOTOGRAPHY; CINEMATOGRAPHY; ANALOGOUS TECHNIQUES USING WAVES OTHER THAN OPTICAL WAVES; ELECTROGRAPHY; HOLOGRAPHY
    • G03BAPPARATUS OR ARRANGEMENTS FOR TAKING PHOTOGRAPHS OR FOR PROJECTING OR VIEWING THEM; APPARATUS OR ARRANGEMENTS EMPLOYING ANALOGOUS TECHNIQUES USING WAVES OTHER THAN OPTICAL WAVES; ACCESSORIES THEREFOR
    • G03B15/00Special procedures for taking photographs; Apparatus therefor
    • G03B15/02Illuminating scene
    • G03B15/03Combinations of cameras with lighting apparatus; Flash units
    • G03B15/05Combinations of cameras with electronic flash apparatus; Electronic flash units
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J50/00Circuit arrangements or systems for wireless supply or distribution of electric power
    • H02J50/10Circuit arrangements or systems for wireless supply or distribution of electric power using inductive coupling
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/56Cameras or camera modules comprising electronic image sensors; Control thereof provided with illuminating means
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/63Control of cameras or camera modules by using electronic viewfinders
    • H04N23/631Graphical user interfaces [GUI] specially adapted for controlling image capture or setting capture parameters
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/65Control of camera operation in relation to power supply
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/667Camera operation mode switching, e.g. between still and video, sport and normal or high- and low-resolution modes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/70Circuitry for compensating brightness variation in the scene
    • H04N23/71Circuitry for evaluating the brightness variation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/70Circuitry for compensating brightness variation in the scene
    • H04N23/74Circuitry for compensating brightness variation in the scene by influencing the scene brightness using illuminating means
    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05BELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
    • H05B41/00Circuit arrangements or apparatus for igniting or operating discharge lamps
    • H05B41/14Circuit arrangements
    • H05B41/30Circuit arrangements in which the lamp is fed by pulses, e.g. flash lamp
    • H05B41/32Circuit arrangements in which the lamp is fed by pulses, e.g. flash lamp for single flash operation
    • GPHYSICS
    • G03PHOTOGRAPHY; CINEMATOGRAPHY; ANALOGOUS TECHNIQUES USING WAVES OTHER THAN OPTICAL WAVES; ELECTROGRAPHY; HOLOGRAPHY
    • G03BAPPARATUS OR ARRANGEMENTS FOR TAKING PHOTOGRAPHS OR FOR PROJECTING OR VIEWING THEM; APPARATUS OR ARRANGEMENTS EMPLOYING ANALOGOUS TECHNIQUES USING WAVES OTHER THAN OPTICAL WAVES; ACCESSORIES THEREFOR
    • G03B2206/00Systems for exchange of information between different pieces of apparatus, e.g. for exchanging trimming information, for photo finishing
    • GPHYSICS
    • G03PHOTOGRAPHY; CINEMATOGRAPHY; ANALOGOUS TECHNIQUES USING WAVES OTHER THAN OPTICAL WAVES; ELECTROGRAPHY; HOLOGRAPHY
    • G03BAPPARATUS OR ARRANGEMENTS FOR TAKING PHOTOGRAPHS OR FOR PROJECTING OR VIEWING THEM; APPARATUS OR ARRANGEMENTS EMPLOYING ANALOGOUS TECHNIQUES USING WAVES OTHER THAN OPTICAL WAVES; ACCESSORIES THEREFOR
    • G03B2215/00Special procedures for taking photographs; Apparatus therefor
    • G03B2215/05Combinations of cameras with electronic flash units
    • G03B2215/0503Built-in units
    • GPHYSICS
    • G03PHOTOGRAPHY; CINEMATOGRAPHY; ANALOGOUS TECHNIQUES USING WAVES OTHER THAN OPTICAL WAVES; ELECTROGRAPHY; HOLOGRAPHY
    • G03BAPPARATUS OR ARRANGEMENTS FOR TAKING PHOTOGRAPHS OR FOR PROJECTING OR VIEWING THEM; APPARATUS OR ARRANGEMENTS EMPLOYING ANALOGOUS TECHNIQUES USING WAVES OTHER THAN OPTICAL WAVES; ACCESSORIES THEREFOR
    • G03B2215/00Special procedures for taking photographs; Apparatus therefor
    • G03B2215/05Combinations of cameras with electronic flash units
    • G03B2215/0514Separate unit
    • G03B2215/0557Multiple units, e.g. slave-unit
    • GPHYSICS
    • G03PHOTOGRAPHY; CINEMATOGRAPHY; ANALOGOUS TECHNIQUES USING WAVES OTHER THAN OPTICAL WAVES; ELECTROGRAPHY; HOLOGRAPHY
    • G03BAPPARATUS OR ARRANGEMENTS FOR TAKING PHOTOGRAPHS OR FOR PROJECTING OR VIEWING THEM; APPARATUS OR ARRANGEMENTS EMPLOYING ANALOGOUS TECHNIQUES USING WAVES OTHER THAN OPTICAL WAVES; ACCESSORIES THEREFOR
    • G03B2215/00Special procedures for taking photographs; Apparatus therefor
    • G03B2215/05Combinations of cameras with electronic flash units
    • G03B2215/0514Separate unit
    • G03B2215/056Connection with camera, e.g. adapter
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02BCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS
    • Y02B20/00Energy efficient lighting technologies, e.g. halogen lamps or gas discharge lamps
    • Y02B20/40Control techniques providing energy savings, e.g. smart controller or presence detection

Definitions

  • This application relates to the field of computer technology, and in particular to a method for controlling supplementary light, accessories for supplementary light and electronic equipment.
  • a supplementary light accessory can be installed on the electronic device.
  • the fill light accessories usually include fill light and control buttons for controlling the fill light (such as switch buttons, brightness adjustment buttons, etc.).
  • the user can control the fill light through the control buttons on the fill light accessories, for example, You can turn on the fill light or turn off the fill light through the switch button, and adjust the brightness of the fill light through the brightness adjustment button.
  • the flexibility of the above control process for the fill light is poor.
  • the present application provides a supplementary light control method, supplementary light accessories and electronic equipment, which improve the flexibility of controlling the supplementary light.
  • an embodiment of the present application provides a method for controlling light supplementation. After the electronic device obtains the camera start instruction, it is determined whether there is a supplementary light accessory available. After it is determined that there is an available supplementary light accessory, the electronic device starts The camera device in the electronic equipment and controls the lighting of the fill light in the fill light accessories.
  • the electronic device can start the camera device, and the electronic device can also automatically detect whether there are available fill light accessories. After the electronic device determines that there are available fill light accessories, The electronic device can control the lighting of the fill light in the fill light accessory, that is, the electronic device can control the fill light in the fill light accessory, which improves the flexibility of controlling the fill light.
  • the electronic device and the fill light accessory are respectively provided with a wireless charging component; after the electronic device determines that there is an available fill light accessory, the electronic device can also control the wireless charging component in the electronic device to The wireless charging component in the fill light accessory is charged, wherein the wireless charging component in the fill light accessory is used to supply power to the fill light.
  • the electronic device can conveniently and quickly charge the wireless charging component in the fill light accessory, so that the wireless charging component can supply power to the fill light.
  • the small size of the charging component makes the overall size of the fill light accessory small.
  • the modes of the electronic device include a forward charging mode and a reverse charging mode; before controlling the wireless charging component in the electronic device to charge the wireless charging component in the fill light accessory, the electronic device can also The mode of the electronic device is set to a reverse charging mode; wherein the forward charging mode is used to indicate that the electronic device is wirelessly charged by other devices, and the reverse charging mode is used to instruct the electronic device to wirelessly charge other devices.
  • the electronic device has a forward charging mode and a reverse charging mode.
  • the wireless charging component in the electronic device needs to be charged to the wireless charging component in the fill light accessory, first set the mode of the electronic device to reverse.
  • the wireless charging component of the electronic device can be charged to the wireless charging component in the fill light accessory, and the control process is simple and convenient.
  • the lighting of the fill light can be controlled by the following feasible implementations: acquiring fill light parameters of the fill light, and the fill light parameters include at least one of the following: the mode of the fill light, the fill light Brightness; according to the fill light parameters, control to light up the fill light.
  • accurate lighting of the fill light can be realized according to the fill light parameters of the fill light, that is, after the fill light is turned on, the brightness and/or mode of the fill light can be adapted to the current photographing environment.
  • the fill light parameters of the fill light can be obtained through the following feasible implementations: obtain the ambient brightness and/or the image captured by the camera; according to the ambient brightness and/or the image captured by the camera , Determine the fill light parameters.
  • the supplemental light parameters determined by the electronic device are related to the current shooting environment, so that the determined supplemental light parameters are more accurate.
  • controlling the lighting of the fill light includes: acquiring the brightness of the environment and/or the brightness of the image captured by the camera; determining that the brightness of the environment is less than the first threshold, and/or the brightness of the image captured by the camera When the brightness of the image is less than the second threshold, control to light up the fill light.
  • the ambient brightness is less than the first threshold, and/or the brightness of the image collected by the camera is less than the second threshold, it means that the camera has a demand for supplementary light, and the electronic device lights up the supplementary light again, so that The flexibility to control the fill light is higher.
  • determining whether there is an available fill light accessory includes: determining whether there is a fill light accessory flag in the preset storage space; if so, determining that there is an available fill light accessory; if not , It is determined that there are no available fill light accessories.
  • the electronic device can determine whether there is an available fill light accessory according to whether there is a fill light accessory flag in the preset storage space, so that the electronic device can quickly determine whether there is an available fill light accessory.
  • the electronic device before the electronic device obtains the camera start instruction, the electronic device can perform the fill light accessory detection; if the available fill light accessory is detected, the fill light is written in the preset storage space Lamp accessory flag bit; if no available fill light accessories are detected, it is determined whether the fill light accessory flag bit is included in the preset storage space, and if so, the fill light accessory flag bit is deleted.
  • the electronic device and the fill light accessory are respectively provided with a near field communication NFC device and a magnetic field sensor; the electronic device can perform the fill light accessory detection through the following feasible implementation methods:
  • the magnetic field sensor detects the magnetic field signal; after the magnetic field sensor in the electronic device detects the magnetic field signal, the NFC device in the electronic device reads the NFC information sent by the NFC device in the fill light accessory, and the NFC information is used to indicate the fill light accessory ⁇ ; Determine whether the NFC information indicates fill light accessories, if so, determine that the available fill light accessories are detected, if not, determine that no available fill light accessories are detected.
  • the electronic device first performs preliminary device discovery based on the magnetic field signal. After the electronic device determines that it has found a device with a magnetic field sensor based on the magnetic field signal, the electronic device reads the NFC information based on the NFC device, and determines based on the NFC information Have you found the fill light accessories? In this way, the device with the magnetic field sensor can be discovered in time through the magnetic field sensor. After the device with the magnetic field sensor is discovered, it can be accurately determined whether there are available supplementary light accessories according to the NFC device. Not only can the supplementary light accessories be found in time, but also It can make the accuracy of finding the fill light accessories higher.
  • the electronic device may also display a fill light control icon; receive a control instruction input by the user to the fill light control icon; according to the control instruction, Control the fill light.
  • the electronic device can display the shooting interface and the fill light control icon, and the user can control the fill light according to the fill light control icon displayed by the electronic device, which further improves the flexibility of controlling the fill light.
  • the embodiments of the present application provide a supplementary light accessory, including: supplementary light, fixed component, communication component, control component, and power supply component.
  • the supplementary light, communication component, control component and power supply component are arranged on the fixed component On, where
  • the fixing part is used to fix on the electronic equipment, and the electronic equipment includes a camera device;
  • the communication component is used to receive the control instruction sent by the electronic device and send the control instruction to the control component;
  • the control component is used to control the fill light according to the control instruction
  • the power supply component is used to supply power to the fill light
  • the fill light is used to fill light to the shooting environment of the imaging device.
  • the control component can obtain the control instruction sent by the electronic device through the communication component, and control the supplementary light according to the control instruction.
  • the control instruction is sent by the electronic device, that is, the electronic device can control the supplementary light in the supplementary light accessory, so that the control of the supplementary light accessory is more flexible.
  • the power supply component is a first wireless charging component
  • the electronic device further includes a second wireless charging component, wherein the first wireless charging component is used to receive charging from the second wireless charging component.
  • the electronic device can easily and quickly charge the wireless charging component in the fill light accessory, so that the wireless charging component can supply power to the fill light, because the size of the wireless charging component is relatively small. Small, making the overall size of the fill light accessories smaller.
  • the control instruction includes fill light parameters, and the fill light parameters include at least one of the following: the mode of the fill light, the brightness of the fill light; the control component is also used to, according to the received electronic device
  • the fill light parameter in the sent control command controls the lighting of the fill light.
  • control component can control the fill light according to the fill light parameter, so that the control component can control the fill light with higher accuracy.
  • the supplementary light accessory further includes a discovery component, and the discovery component is arranged on the fixed component, wherein the discovery component is used to make the electronic device discover the supplementary light accessory.
  • the discovery component includes a magnetic field sensor and/or a near field communication NFC device, where the magnetic field sensor is used to transmit a magnetic field signal; the NFC device is used to send NFC information to the NFC device in the electronic device, and the NFC information Used to indicate the information of the supplementary light accessories in question.
  • the magnetic field sensor in the electronic device can detect the magnetic field signal. Therefore, when the fill light accessory is installed in the electronic device, the electronic device can quickly determine the detection through the magnetic field sensor in the electronic device To a device with a magnetic field sensor; further, after the electronic device determines that a device with a magnetic field sensor is found according to the magnetic field signal, the electronic device reads the NFC information according to the NFC device, and determines whether the supplementary light accessory is found according to the NFC information . In this way, the device with the magnetic field sensor can be discovered in time through the magnetic field sensor. After the device with the magnetic field sensor is discovered, it can be accurately determined whether there are available supplementary light accessories according to the NFC device. Not only can the supplementary light accessories be found in time, but also It can make the accuracy of finding the fill light accessories higher.
  • an embodiment of the present application provides a light supplement control device, which is applied to an electronic device, the electronic device includes a camera device, and the device includes a judgment module, an activation module, and a control module, wherein:
  • the judging module is configured to, after obtaining the camera start instruction, determine whether there is an available light supplement lamp accessory, and the light supplement light accessory includes a light supplement lamp;
  • the activation module is configured to activate the camera device after the determination module determines that there is an available fill light accessory;
  • the control module is used to control the lighting of the fill light.
  • the electronic device and the supplementary light accessory are respectively provided with wireless charging components; wherein,
  • the control module is further configured to control the wireless charging component in the electronic device to charge the wireless charging component in the supplementary light accessory after the determination module determines that there is an available supplementary light accessory, where all The wireless charging component in the supplementary light accessory is used to supply power to the supplementary light.
  • control module is specifically configured to:
  • the fill light parameter includes at least one of the following: a mode of the fill light, and the brightness of the fill light;
  • control to light the fill light lamp According to the fill light parameter, control to light the fill light lamp.
  • control module is specifically configured to:
  • the compensation light parameter is determined according to the environmental brightness and/or the image captured by the imaging device.
  • control module is specifically configured to:
  • control to turn on the fill light When it is determined that the environmental brightness is less than the first threshold, and/or the brightness of the image captured by the imaging device is less than the second threshold, control to turn on the fill light.
  • the judgment module is specifically configured to:
  • the device further includes a detection module, a write module, and a delete module, wherein:
  • the detection module is used to perform the detection of the fill light accessories before obtaining the camera start instruction
  • the writing module is configured to write the fill light accessory flag bit in the preset storage space when the detection module detects an available fill light accessory;
  • the deletion module is configured to determine whether the supplementary light accessory flag bit is included in the preset storage space when the detection module does not detect the available supplementary light accessory, and if so, delete the supplementary light Lamp accessories sign.
  • the electronic equipment and the fill light accessory are respectively provided with a near field communication NFC device and a magnetic field sensor; the detection module is specifically configured to:
  • the NFC device in the electronic device After the magnetic field sensor in the electronic device detects the magnetic field signal, the NFC device in the electronic device reads the NFC information sent by the NFC device in the fill light accessory, and the NFC information is used to indicate the Information about the accessories of the fill light;
  • NFC information indicates a supplementary light accessory, if so, it is determined that an available supplementary light accessory is detected, and if not, it is determined that an available supplementary light accessory is not detected.
  • the device further includes a display module and a receiving module, wherein:
  • the display module is configured to display the supplementary light control icon after the judgment module determines that there are available supplementary light accessories;
  • the receiving module is configured to receive a control instruction input by a user on the control icon of the fill light;
  • the control module is further configured to control the fill light according to the control instruction.
  • an embodiment of the present application provides an electronic device including a memory and a processor, and the processor executes program instructions in the memory and executes the following steps according to the program instructions:
  • the camera device After it is determined that there are available supplementary light accessories, the camera device is activated and the supplementary light is controlled to light up.
  • the electronic device and the fill light accessory further include wireless charging components, respectively; the processor is further configured to:
  • the wireless charging component in the electronic device is controlled to charge the wireless charging component in the supplement light accessory, wherein the wireless charging component in the supplement light accessory is used for Supply power to the fill light.
  • the processor is specifically configured to:
  • the fill light parameter includes at least one of the following: a mode of the fill light, and the brightness of the fill light;
  • control to light the fill light lamp According to the fill light parameter, control to light the fill light lamp.
  • the processor is specifically configured to:
  • the compensation light parameter is determined according to the environmental brightness and/or the image captured by the imaging device.
  • the processor is specifically configured to:
  • control to turn on the fill light When it is determined that the environmental brightness is less than the first threshold, and/or the brightness of the image captured by the imaging device is less than the second threshold, control to turn on the fill light.
  • the processor is specifically configured to:
  • the processor before the processor obtains the camera start instruction, the processor is further configured to:
  • the fill light accessories flag bit is included in the preset storage space, and if so, the fill light accessories flag bit is deleted.
  • the electronic device and the fill light accessory are respectively provided with a near field communication NFC device and a magnetic field sensor, wherein:
  • the magnetic field sensor in the electronic device is used to detect a magnetic field signal
  • the processor is further configured to, after determining that the magnetic field sensor in the electronic device detects the magnetic field signal, control the NFC device in the electronic device to read the NFC information sent by the NFC device in the fill light accessory,
  • the NFC information is used to indicate the information of the fill light accessory;
  • the processor is further configured to determine whether the NFC information indicates a fill light accessory, if so, determine that an available fill light accessory is detected, if not, determine that an available fill light accessory is not detected.
  • the electronic device further includes a display, wherein:
  • the display is configured to display the supplement light control icon after the processor determines that there are available supplement light accessories;
  • the processor is further configured to receive a control instruction input by a user on the control icon of the supplement light, and control the supplement light according to the control instruction.
  • the present application provides a storage medium, where the storage medium is used to store a computer program, and the computer program is used to implement the fill-in light control method according to any one of the above-mentioned first aspects.
  • a computer program product includes: computer program code, when the computer program code runs on a computer, the computer executes the first aspect or any one of the first aspects The control method of the fill light in the possible implementation mode.
  • the present application provides a chip, the chip including a processor, configured to execute the fill light control method described in any one of the first aspect.
  • the electronic device after the electronic device obtains the camera start instruction, the electronic device can start the camera device, and the electronic equipment can also automatically detect whether there are available supplementary light accessories After the electronic device determines that there are available supplementary light accessories, the electronic device can control to light up the supplementary light in the supplementary light accessories, that is, the electronic device can control the supplementary light in the supplementary light accessories, which improves the compensation The flexibility of light control.
  • FIG. 1A is a schematic structural diagram of a supplementary light accessory provided by an embodiment of the application.
  • 1B is a schematic structural diagram of another light supplement lamp accessory provided by an embodiment of the application.
  • FIG. 1C is a schematic structural diagram of another light supplement lamp accessory provided by an embodiment of the application.
  • FIG. 2 is a schematic structural diagram of an electronic device provided by an embodiment of the application.
  • FIG. 3 is a schematic diagram of the cooperative use process of the supplementary light accessory and the electronic device provided by the embodiment of the application;
  • FIG. 4 is a schematic flowchart of a method for supplementary light control provided by an embodiment of the application.
  • FIG. 5 is a schematic flowchart of another light supplement control method provided by an embodiment of the application.
  • FIG. 6 is a schematic diagram of a terminal interface provided by an embodiment of this application.
  • FIG. 7 is a schematic diagram of another terminal interface provided by an embodiment of the application.
  • FIG. 8 is a schematic diagram of another terminal interface provided by an embodiment of this application.
  • FIG. 9 is a schematic diagram of another terminal interface provided by an embodiment of this application.
  • FIG. 10 is a schematic diagram of another terminal interface provided by an embodiment of the application.
  • FIG. 11 is a schematic diagram of a supplementary light control process provided by an embodiment of the application.
  • FIG. 12 is a schematic flowchart of yet another method for controlling supplementary light according to an embodiment of the application.
  • FIG. 13 is a schematic structural diagram of a supplementary light control device provided by an embodiment of the application.
  • FIG. 14 is a schematic structural diagram of another light supplement control device provided by an embodiment of the application.
  • 15 is a schematic structural diagram of another electronic device provided by an embodiment of the application.
  • FIG. 16 is a schematic structural diagram of yet another electronic device provided by an embodiment of this application.
  • the embodiments of the present application relate to supplementary light fittings and electronic equipment. To facilitate understanding, the supplementary light fittings and electronic equipment are first described.
  • FIG. 1A is a schematic structural diagram of a supplementary light accessory provided by an embodiment of the application.
  • FIG. 1B is a schematic structural diagram of another light supplement lamp accessory provided by an embodiment of the application.
  • FIG. 1C is a schematic structural diagram of another light supplement lamp accessory provided by an embodiment of the application.
  • the fill light accessory 10 may include a fill light 101, a fixing part 102, a communication part 103, a control part 104 and a power supply part 105.
  • the fill light 101, the communication part 103, the control part 104 and the power supply part 105 are arranged on the fixing part 102, and the fixing part 102 may be fixed on the electronic device.
  • the fill light 101 may emit light when the electronic device is shooting, so as to improve the shooting effect of the electronic device.
  • the fill light 101 may be a light emitting diode (LED) fill light.
  • the shape of the fill light 101 can be ring, circle, square and so on.
  • the fill light 101 can be rotated along the fixed part 102.
  • the fill light 101 can be rotated to the upper surface of the fixed part 102.
  • the fill light 101 when shooting by the front camera of an electronic device, the fill light 101 can be rotated to the position shown in FIG. 1A, and when shooting by the rear camera of an electronic device, the fill light 101 can be rotated To the position shown in FIG.
  • the fill light 101 can also be rotated to the position shown in FIG. 1B.
  • a reversing structure (not shown in Figures 1A-1C) can be provided in the fill light accessory, and the reversing structure is connected to the fill light 101 and the fixing part 102, and the fill light 101 can be controlled along the The fixed member 102 rotates.
  • the fixing component 102 may be fixed on the electronic device, so that the fill light accessory 10 is fixed on the electronic device.
  • the fixing component 102 can be sleeved on the electronic device.
  • the fixing component 102 can be sleeved on the back shell of the mobile phone.
  • the communication component 103 may establish a communication connection with the electronic device, receive a control instruction sent by the electronic device for controlling the fill light, and send the control instruction to the control component 104.
  • the communication component 103 may be a near field communication (NFC) device, a wireless charging transmission component, a Bluetooth communication component, a wireless fidelity (WiFi) component, a mobile communication component, etc.
  • the control instruction may also include supplementary light parameters.
  • the supplementary light parameters may include at least one of the following: the mode of the supplementary light and the brightness of the supplementary light.
  • control component 104 is used to control the fill light.
  • the control component 103 can control the state (on or off), brightness, and light emitting mode of the fill light 101.
  • the control component 104 may receive a control instruction for controlling the fill light 101 sent by the communication component 103, and control the fill light according to the control instruction.
  • the control component 104 may control the light supplement lamp according to the light supplement parameter.
  • the control component 104 may be a control chip.
  • the control component 104 can also control the power supply component 105.
  • the control component can control the power supply component to start/end charging, or control the power supply component 105 to start/end power supply to the fill light 101.
  • the power supply component 105 can supply power to the fill light 101.
  • the power supply component 105 may be a wireless charging component.
  • the wireless charging component may be a wireless charging coil.
  • the wireless charging component in the fill light accessory 10 can be charged through the wireless charging component in the electronic device.
  • the wireless charging component can supply power to the fill light 101 to light up the fill light 101.
  • the power supply component 105 can also be a battery, and the battery can supply power to the fill light.
  • the power supply component 105 may also be a power supply line. One end of the power supply line is connected to the fill light 101, and the other end of the power supply line may be connected to a power supply interface of the electronic device, so that the electronic device supplies power to the fill light through the power supply line.
  • the fill light accessory 10 may further include a discovery component 106, and the electronic device can discover the fill light accessory 10 according to the discovery component 106 in the fill light accessory 10.
  • the discovery component 106 may include a magnetic field sensor and/or an NFC device, and the magnetic field sensor may emit a magnetic field signal.
  • the magnetic field sensor may be a Hall sensor.
  • the discovery component 106 includes a magnetic field sensor.
  • the electronic device can also be provided with a magnetic field sensor.
  • the electronic device can detect the magnetic field signal through the magnetic field sensor in the electronic device. After the magnetic field sensor in the electronic device detects the magnetic field signal, the electronic device can determine that it has discovered Fill light accessories 10.
  • the electronic device can also display a variety of possible device identifications with the magnetic field sensor (such as device name, etc.), and the user can select the device in the electronic device according to the actual situation Identification. When the device identification selected by the user is the device identification of the supplementary light accessory, the electronic device can determine that the supplementary light accessory 10 is found.
  • the discovery component 106 includes an NFC device.
  • the electronic device may also be provided with an NFC device.
  • the electronic device can read NFC information (for example, the information of the device where the NFC device is located) through the NFC device in the electronic device. After the NFC device reads the NFC information, if the NFC information indicates the information of the supplementary light accessory 10, the electronic device can determine that the supplementary light accessory 10 is found.
  • the discovery component 106 includes a magnetic field sensor and an NFC device.
  • the electronic device can also be equipped with a magnetic field sensor and an NFC device. After the magnetic field sensor in the electronic device detects the magnetic field signal, the electronic device can read NFC information through the NFC device in the electronic device. Taking, after reading the NFC information through the NFC device in the electronic device, if the NFC information indicates the information of the supplementary light accessory 10, the electronic device can determine that the supplementary light accessory 10 is found.
  • FIGS. 1A to 1C are only illustrative of the supplementary light fitting 10 in the form of examples, and are not intended to limit the structure of the supplementary light fitting 10.
  • the structure of the fill light fitting 10 can be set according to actual needs.
  • FIG. 2 is a schematic structural diagram of an electronic device provided by an embodiment of the application.
  • the electronic device 20 may include a processor 201, a display 202, a sensor 203, a communication component 204, a camera 205, a memory 206, a battery 207, a charging management component 208 and buttons 209.
  • the electronic device 20 may be a device with a shooting function, such as a mobile phone, a tablet computer, and a camera.
  • the processor 201 may include one or more processing units.
  • the processor 201 may include an application processor (AP), a modem processor, and a graphics processing unit (GPU).
  • the different processing units may be independent devices or integrated in one or more processors.
  • the electronic device 20 may also include one or more processors 201.
  • the controller may be the nerve center and command center of the electronic device 20. The controller can generate operation control signals according to the instruction operation code and timing signals to complete the control of fetching and executing instructions.
  • a memory may also be provided in the processor 201 to store instructions and data.
  • the memory in the processor 201 is a cache memory.
  • the memory can store instructions or data that the processor 201 has just used or recycled. If the processor 201 needs to use the instruction or data again, it can be directly called from the memory. This avoids repeated access, reduces the waiting time of the processor 201, and improves the processing efficiency of the electronic device 20.
  • the display screen 202 is used to display images, videos, etc.
  • the display screen 202 includes a display panel.
  • the display panel can adopt liquid crystal display (LCD), organic light-emitting diode (OLED), active-matrix organic light-emitting diode or active-matrix organic light-emitting diode (active-matrix organic light-emitting diode).
  • LCD liquid crystal display
  • OLED organic light-emitting diode
  • active-matrix organic light-emitting diode active-matrix organic light-emitting diode
  • AMOLED flexible light-emitting diode (FLED), Miniled, MicroLed, Micro-oLed, quantum dot light-emitting diode (QLED), etc.
  • the electronic device 20 may include one or N display screens 194, and N is a positive integer greater than one.
  • the electronic device 20 may implement a display function through a GPU, a display screen 202, and an application processor.
  • the GPU is an image processing microprocessor, which is connected to the display screen 202 and the application processor.
  • the GPU is used to perform mathematical and geometric calculations for graphics rendering.
  • the processor 201 may include one or more GPUs, which execute instructions to generate or change display information.
  • the sensor 203 may include a touch sensor, an ambient light sensor, a magnetic field sensor, and the like.
  • the touch sensor may be arranged on the display screen, and the touch screen is composed of the touch sensor and the display screen 202, which is also called a touch screen.
  • the touch sensor is used to detect touch operations acting on or near it.
  • the touch sensor can pass the detected touch operation to the application processor to determine the type of touch event.
  • the visual output related to the touch operation can be provided through the display screen 202.
  • the touch sensor may also be arranged on the surface of the electronic device 20, and the position of the display screen 202 is different.
  • the touch sensor can also be called a touch panel or a touch-sensitive surface.
  • the ambient light sensor is used to sense the brightness of the ambient light, and feed back the brightness of the ambient light to the processor 201, so that the processor 201 performs corresponding processing according to the brightness of the ambient light.
  • the sensor 203 may also include others, for example, a pressure sensor, a gyroscope sensor, an air pressure sensor, an acceleration sensor, a distance sensor, a proximity light sensor, a fingerprint sensor, a temperature sensor, a bone conduction sensor, and so on.
  • the communication component 204 may establish a communication connection with the supplementary light accessory 10 (or the communication component in the supplementary light accessory 10), and communicate with the supplementary light accessory 10.
  • the communication component 204 may be an NFC device, a wireless charging transmission component, a Bluetooth communication component, a WiFi component, a mobile communication component, and the like.
  • the camera device 205 may be a camera with a video and/or image shooting function.
  • the electronic device 20 can implement a shooting function through an ISP, one or more camera devices 205, a video codec, a GPU, one or more display screens, and an application processor.
  • the memory 206 may be used to store one or more computer programs, and the one or more computer programs include instructions.
  • the processor 201 can execute the above-mentioned instructions stored in the internal memory 206.
  • the memory 206 may include a program storage area and a data storage area.
  • the storage program area can store the operating system; the storage program area can also store one or more application programs (such as a gallery, contacts, etc.) and so on.
  • the data storage area can store data (such as photos, contacts, etc.) created during the use of the electronic device 20.
  • the memory may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, universal flash storage (UFS), and the like.
  • the charging management component 208 may be connected to the battery 207 and may receive charging input from the charger.
  • the charger can be a wireless charger or a wired charger.
  • the charging management component 208 may receive the charging input of the wired charger through the USB interface.
  • the charging management component 208 may receive the wireless charging input through the wireless charging coil of the electronic device 20.
  • the charging management component 208 can also control the battery to reversely charge the wireless charging coil in the fill light accessory 10 through the wireless charging coil.
  • the button 209 includes a power-on button, a shooting button, a volume button, and the like.
  • the button 209 may be a mechanical button or a touch button.
  • the electronic device 20 may receive key input, and generate key signal input related to user settings and function control of the electronic device 20.
  • the electronic device 20 may also include other components, for example, an external memory interface, a USB interface, an antenna, an audio component, a speaker, a receiver, a microphone, an earphone interface, a motor, an indicator, and a subscriber identification module (SIM) card. Interface etc.
  • FIG. 2 only illustrates the structure of the electronic device 20 in the form of an example, and does not limit the structure of the electronic device 20. In the actual application process, the structure of the electronic device 20 can be set according to actual needs. The implementation of this application The example does not specifically limit this.
  • FIG. 3 is a schematic diagram of the cooperative use process of the supplementary light accessory and the electronic device provided by the embodiment of the application.
  • FIG. 3 which includes a supplementary light fitting 10 and an electronic device 20.
  • the fixing part of the supplementary light fitting 10 matches the shape of the rear shell of the electronic device 20 so that the fixing part of the supplementary light fitting 10 can be sleeved on the rear shell of the electronic device 20.
  • the supplementary light accessory 10 is installed on the electronic device 20, the user can control and activate the camera device in the electronic device 20.
  • the electronic device 20 can display the shooting interface and control to light up the fill light in the fill light accessory 10.
  • the electronic device can also control the brightness and light emitting mode of the fill light. In order to improve the shooting effect of the camera device.
  • FIG. 4 is a schematic flowchart of a method for controlling supplementary light provided by an embodiment of the application. Referring to Figure 4, the method may include:
  • the electronic device performs a supplementary light accessory test to determine whether there is an available supplementary light accessory.
  • the electronic device may periodically perform the supplementary light fitting detection, for example, the electronic device may perform the supplementary light fitting detection every 2 seconds.
  • the electronic device can perform real-time detection of fill light accessories.
  • the electronic device may perform the supplementary light accessory detection under the trigger of the user, for example, the supplementary light accessory detection may be performed after the electronic device receives a preset instruction input by the user.
  • the electronic device can detect the fill light accessories through feasible implementation methods:
  • a magnetic field sensor may be provided in the electronic device and the supplementary light accessory respectively, and the electronic device can detect the supplementary light accessory through the signal collected by the magnetic field sensor.
  • the magnetic field sensor may be a Hall sensor.
  • the magnetic field sensor in the electronic device can detect the magnetic field signal of the magnetic field sensor in the fill light accessory, and then the electronic The device can determine that there are available fill light accessories.
  • the electronic device can also display a variety of possible device identifications with the magnetic field sensor (such as device name, etc.), and the user can select the device in the electronic device according to the actual situation Identification.
  • the electronic device can determine that the supplementary light accessory is found.
  • the electronic device can detect whether there is an available supplementary light accessory, the process is simple and convenient, and the cost is low.
  • NFC devices can be set in the electronic equipment and the supplementary light accessories respectively, and the electronic equipment can perform the supplementary light accessories detection through the NFC information collected by NFC.
  • the NFC device in the supplement light accessory can send NFC information
  • the NFC device in the electronic device can receive NFC information
  • the NFC information can include the information of the supplement light accessory.
  • the NFC device in the electronic device can receive the NFC information sent by the NFC device in the supplementary light accessory.
  • the electronic device can determine that there is an available supplementary light accessory.
  • the electronic device can also determine whether the supplementary light accessory and the electronic device match according to the NFC information. When it is determined that the supplementary light accessory matches the electronic device, the electronic device can determine that there is an available supplementary light accessory.
  • the electronic device can accurately determine whether there is an available fill light accessory based on the received NFC information.
  • the electronic equipment and the fill light accessories are respectively equipped with a magnetic field sensor and an NFC device.
  • the electronic equipment can detect the magnetic field signal through the magnetic field sensor in the electronic equipment. After the magnetic field sensor in the electronic equipment detects the magnetic field signal, it passes through the NFC in the electronic equipment.
  • the device reads the NFC information sent by the NFC device in the fill light accessory.
  • the NFC information is used to indicate the information of the fill light accessory.
  • the electronic device determines whether the NFC information indicates the fill light accessory. If it is, it determines that the available fill light is detected Light accessories, if not, it is determined that no available fill light accessories are detected.
  • the electronic device first conducts preliminary device discovery based on the magnetic field signal. After the electronic device determines that it has discovered a device with a magnetic field sensor based on the magnetic field signal, the electronic device reads NFC information based on the NFC device, and According to the NFC information, determine whether the fill light accessory is found. In this way, the device with the magnetic field sensor can be discovered in time through the magnetic field sensor. After the device with the magnetic field sensor is discovered, it can be accurately determined whether there are available supplementary light accessories according to the NFC device. Not only can the supplementary light accessories be found in time, but also It can make the accuracy of finding the fill light accessories higher.
  • the user After the user installs the supplementary light accessory on the electronic device, the user can input a preset instruction into the electronic device. Accordingly, the electronic device can determine that the supplementary light accessory is detected after obtaining the preset instruction.
  • the user may perform a pressing operation on a preset button in the electronic device, and after the electronic device detects the pressing operation on the preset button, the electronic device determines that the available fill light accessory is detected.
  • the user can input a click operation on the preset icon in the preset interface of the electronic device. After the electronic device detects the click operation on the preset icon, the electronic device determines that the available fill light accessory is detected.
  • the user can control whether the fill light accessory can be discovered according to actual needs, so that the flexibility of using the fill light accessory is higher.
  • the supplementary light accessory is provided with a first interface
  • the electronic device is provided with a second interface.
  • the user can connect the first interface and the second interface.
  • the first interface may be a plug
  • the second interface may be a jack.
  • the electronic device detects the first interface of the fill light accessory through the second interface, it determines that there is an available fill light accessory.
  • the electronic device detects the fill light accessory.
  • the electronic device can also detect whether there is an available fill light accessory through other feasible implementations. This is the case in this application. There is no specific limitation.
  • the electronic device sets the state of the supplementary light accessory to a valid state.
  • the electronic device can set the status of the fill light accessory to a valid state through the following feasible implementation methods:
  • the status bit of the fill light accessory is stored in the first preset storage space of the electronic device.
  • the electronic device can set the status bit of the fill light accessory to the first A preset value, and the first preset value is used to indicate that the status of the fill light accessory is valid. For example, after the electronic device detects that there is an available fill light accessory, the electronic device can determine whether the status bit of the fill light accessory is the first preset value, if so, it will not modify the status bit of the fill light accessory, if not , Modify the status bit of the fill light accessory to the first preset value.
  • the electronic device can write the flag bit of the fill light accessories in the second preset storage space, where the second preset storage space includes the fill light accessories
  • the flag bit is used to indicate the presence of fill light accessories available for electronic equipment. For example, after the electronic device detects that there is an available fill light accessory, the electronic device can determine whether there is a flag bit of the fill light accessory in the second preset storage space, and if so, it does not write to the second preset storage space Enter the flag bit of the fill light accessory, if not, write the flag bit of the fill light accessory into the second preset storage space.
  • a wireless charging component is provided in the fill light accessory, and the wireless charging component is used to supply power to the fill light in the fill light accessory.
  • the electronic device can easily and quickly charge the wireless charging component in the fill light accessory, so that the wireless charging component can supply power to the fill light, because the size of the wireless charging component is relatively small. Small, making the overall size of the fill light accessories smaller.
  • the electronic device may precharge the fill light accessory to increase the voltage of the wireless charging component to the operating voltage of the fill light. In this way, since the working voltage of the wireless charging component has been increased to the operating voltage of the fill light, when the fill light is determined to be turned on, the fill light can be quickly lit, so that the delay of the fill light being turned on is small .
  • the electronic device may set the wireless charging component in the electronic device to a reverse charging mode, so that the wireless charging component in the electronic device can reversely charge the wireless charging component in the supplementary light accessory.
  • the electronic device sets the state of the supplementary light accessory to an invalid state.
  • the electronic device can set the state of the fill light accessory to an invalid state through the following feasible implementation methods:
  • the status bit of the fill light accessory is stored in the first preset storage space of the electronic device.
  • the electronic device can set the status bit of the fill light accessory to The second preset value, the second preset value is used to indicate that the status of the fill light accessory is in an invalid state. For example, after the electronic device detects that there is an available fill light accessory, the electronic device can determine whether the status bit of the fill light accessory is the second preset value, if so, it will not modify the status bit of the fill light accessory, if not , Modify the status bit of the fill light accessory to the second preset value.
  • the electronic device can clear (delete) the flag bit of the fill light accessory in the second preset storage space, where the second preset storage space does not include the fill light accessory.
  • the flag bit of the light fitting is used to indicate that the status of the fill light fitting is invalid. For example, after the electronic device detects that there is no available fill light accessory, the electronic device can determine whether there is a flag bit of the fill light accessory in the second preset storage space, and if so, delete the information in the second preset storage space. The flag bit of the fill light accessory, if not, the flag bit of the fill light accessory is not written into the second preset storage space.
  • the electronic device can detect whether there is an available fill light accessory, if it detects an available fill light accessory, the status of the fill light accessory is set to a valid state, if it is not detected To the available fill light accessories, set the status of the fill light accessories to an invalid state, so that after the electronic equipment starts the camera device, the electronic equipment can determine whether there is an available fill light according to the status of the fill light accessories Accessories, so that the electronic device can quickly determine whether there are available fill light accessories.
  • FIG. 5 is a schematic flowchart of another supplementary light control method provided by an embodiment of the application. Referring to Figure 5, the method may include:
  • the electronic device obtains a camera start instruction.
  • the camera start instruction is used to instruct to start the camera application program and the camera device in the electronic device.
  • the camera start instruction can be obtained through the following feasible implementation methods:
  • a camera application corresponding to the camera device is installed in the electronic device.
  • the user can input a click operation on the icon of the camera application.
  • the electronic device generates a camera start instruction according to the user's input click operation on the icon of the camera application.
  • Fig. 6 is a schematic diagram of a terminal interface provided by an embodiment of the application. Please refer to Fig. 6, including interface 601 and interface 602.
  • the camera application is installed in the mobile phone, and the icon of the camera application is displayed on the desktop of the mobile phone.
  • the user can input a click operation on the icon of the camera application .
  • the mobile phone After the mobile phone obtains the user's click operation on the icon input of the camera application, the mobile phone can generate a camera start instruction and start the camera device according to the camera start instruction.
  • Other applications other than the camera application can be installed in the electronic device, and other applications can call the camera application to start the camera device while the other application is running.
  • the display page of other applications may include a call icon for the camera application, the user can click the call icon, and the electronic device can generate a camera start instruction according to the user's click operation on the call icon.
  • FIG. 7 is a schematic diagram of another terminal interface provided by an embodiment of the application. Please refer to FIG. 7, which includes interface 701 and interface 702.
  • a chat application is installed in the mobile phone.
  • the chat interface includes a call icon for calling the camera application: the "shooting" icon.
  • the user can Click the "shooting" icon to operate.
  • the mobile phone After the mobile phone obtains the user's click operation on the "shooting" icon, the mobile phone can generate a camera start instruction and start the camera device according to the camera start instruction.
  • the user can perform a pressing operation on the preset physical button in the electronic device, and the electronic device generates a camera start instruction after acquiring the pressing operation corresponding to the preset physical button.
  • the electronic device may also obtain the camera start instruction through other feasible implementation manners, which is not specifically limited in the embodiment of the present application.
  • the electronic device starts the camera application and the camera device according to the camera start instruction.
  • the camera application and the camera device can be started at the same time.
  • one or more camera applications can be installed in the electronic device.
  • the electronic device starts the one camera application.
  • the electronic device can determine the camera application to be started according to the acquired camera start instruction.
  • the camera start instruction can include the identification of the camera application to be started, and the electronic device can Start the corresponding camera application according to the identification of the camera application to be started.
  • S503 The electronic device judges whether the state of the supplementary light accessory is a valid state.
  • the electronic device may obtain the status bit of the fill light accessory stored in the first preset storage space, and determine whether the status of the fill light accessory is a valid state according to the value of the status bit. For example, when the status bit of the fill light accessory stored in the first preset storage space is the first preset value, it is determined that the status of the fill light accessory is a valid state. When the status bit of the fill light accessory stored in the first preset storage space is the second preset value, it is determined that the status of the fill light accessory is an invalid state.
  • the electronic device may determine whether the flag bit of the supplement light accessory is stored in the second preset storage space, if yes, determine the status of the supplement light accessory as a valid state, if not, determine the status of the supplement light accessory The status is invalid.
  • S502 and S503 can be executed sequentially or in parallel, and the execution order of S502 and S503 is not specifically limited in this application.
  • the electronic device displays the shooting interface and the supplementary light control icon.
  • the shooting interface is an interface in a camera application installed in the electronic device.
  • the fill light control icon may include at least one of the following icons:
  • Fill light status icon the user can operate the fill light status icon to control the lighting or extinguishing of the fill light.
  • the user can operate the fill light mode icon to select the mode of the fill light.
  • the mode of the fill light may include a warm light mode, a cold light mode, and the like.
  • Fill light brightness icon the user can operate the fill light brightness icon to determine the brightness of the fill light.
  • the electronic device can display the shooting interface and the fill light control icon through the following feasible implementation methods:
  • the shooting interface includes a fill light control icon.
  • FIG. 8 is a schematic diagram of another terminal interface provided by an embodiment of the application.
  • the shooting interface includes a fill light control icon (the icon shown in area A), and the fill light control icon is a part of the elements in the shooting interface.
  • the position of the fill light control icon in the shooting interface can be fixed.
  • the fill light control icon can be located on the image window (the window where the captured image is located), and the fill light control icon can also be located outside the image window.
  • the fill light control icon is located at a fixed position on the terminal interface, which is convenient for the user to learn the fill light control icon, making the use of the light distribution lamp accessory less difficult.
  • the fill light control icon is suspended on the shooting interface.
  • FIG. 9 is a schematic diagram of another terminal interface provided by an embodiment of the application. Please refer to FIG. 9, which includes interface 901, interface 902, and interface 903.
  • the fill light prompt icon B is displayed in the form of floating in the shooting interface.
  • the user can input preset operations (such as click operation, double-click operation, etc.) on the fill light prompt icon B to make the electronic device display the supplement light.
  • the fill light prompt icon B can be displayed in different positions on the shooting interface. For example, the user can drag the fill light prompt icon B to make the fill light prompt icon B located in different positions on the shooting interface.
  • the user can input a preset operation to the fill light prompt icon B, so that the electronic device displays the fill light control icon.
  • the electronic device displays the fill light control icon (the icon shown in area C), and the user can input corresponding operations on the fill light control icon to control the fill light.
  • the user can also enter a click operation in the shooting interface, except for area C, so that the electronic device cancels the display of the fill light control icon and displays the fill light prompt Icon B.
  • the fill light can be controlled in the electronic device without changing the camera application program. Since the fill light prompt icon B occupies a small area in the shooting interface, it avoids a bad experience in shooting.
  • the shooting interface and the fill light control icon are located in different areas of the display interface of the electronic device.
  • FIG. 10 is a schematic diagram of another terminal interface provided by an embodiment of the application.
  • the terminal interface includes a fill light control icon area M and a shooting area N, where the fill light control icon area M includes a fill light control icon.
  • the fill light control icon is displayed in the fill light control icon area, so that the user can conveniently determine the position of the fill light control icon in the display interface.
  • the electronic device controls the lighting of the fill light in the fill light accessories.
  • the electronic device can control the lighting of the fill light in the fill light accessories through the following feasible implementation methods:
  • the electronic device determines that the status of the fill light accessory is a valid state
  • the electronic device lights the fill light in the fill light accessory according to the valid state. That is, when the electronic device determines that the status of the supplementary light accessory is in a valid state, it automatically lights the supplementary light in the supplementary light accessory.
  • the state corresponding to the fill light status icon is the on state by default, that is, the state corresponding to the fill light status icon in the fill light control icon displayed by the electronic device is the on state by default.
  • the fill light in the fill light accessory can be quickly turned on, so that the delay in lighting the fill light is small.
  • the status corresponding to the fill light status icon displayed by the electronic device is the off state by default, and the user can operate the fill light status icon to switch the status corresponding to the fill light status icon to the on state. After the electronic device detects that the state corresponding to the fill light status icon is switched to the on state, the electronic device controls to light the fill light.
  • the user when the user needs to turn on the fill light, the user can operate the fill light status icon to enable the electronic device to control the lighting of the fill light, making the control of the fill light flexible Higher.
  • the electronic device acquires the brightness of the environment and/or the brightness of the image collected by the camera device of the electronic device, and when the brightness of the environment is less than the first threshold and/or the brightness of the image collected by the camera device of the electronic device is less than the second threshold, the electronic device Control to light up the fill light.
  • the ambient brightness is less than the first threshold, and/or the brightness of the image collected by the camera is less than the second threshold, it indicates that the camera has a demand for supplementary light, and then the electronic device lights up the supplementary light The light makes the control of the fill light more flexible.
  • the electronic device can send a lighting instruction (one of the control instructions) to the communication component in the supplement light accessory, and the communication component in the supplement light accessory can send this point to the control component in the supplement light accessory
  • the control component can control the fill light to turn on.
  • the control component may control the fill light to communicate with the power supply component according to the lighting instruction, so that the power supply component successfully supplies power to the fill light, and then lights the fill light.
  • the lighting instruction may also include supplementary light parameters. Accordingly, the control component can control the lighting of the supplementary light according to the supplementary light parameters, so that the supplementary light emits light according to the supplementary light parameters.
  • the control component may control the brightness of the fill light lamp to be the brightness in the fill light parameter.
  • the control component may control the light emitting mode of the fill light lamp to be the mode in the fill light parameter.
  • the electronic device can send a lighting instruction to the NFC device in the fill light accessory through the NFC device.
  • a wireless charging coil is provided in both the electronic device and the supplementary light fitting (the communication component is a wireless charging coil)
  • the electronic device can send the wireless charging coil in the supplementary light fitting through the wireless charging coil in the supplementary light fitting Light up the command.
  • the electronic device starts to charge the wireless charging component when the electronic device determines that the status of the supplementary light accessory is a valid state.
  • the electronic device may set the wireless charging component in the electronic device to a reverse charging mode, so that the wireless charging component in the electronic device can reversely charge the wireless charging component in the supplementary light accessory.
  • the electronic device may first obtain the fill light parameters of the fill light.
  • the fill light can be controlled according to the fill light parameters of the fill light.
  • the fill light parameters of the fill light may include the mode of the fill light, the brightness of the fill light, and the like.
  • the electronic device may determine the preset parameter as the fill light parameter of the fill light.
  • the preset parameters can be preset parameters suitable for various shooting scenes. In this way, not only the electronic device can quickly obtain the fill light parameters, but also the fill light parameters when the fill light is lit. Appropriate, that is, under the supplemental light parameters, the supplemental light can provide appropriate supplemental light for the shooting scene of the camera device of the electronic device to improve the shooting effect.
  • the electronic device may determine the fill light parameter of the fill light based on the brightness of the ambient light and/or the image collected by the camera device of the electronic device.
  • the fill light parameter determined by the electronic device is related to the current shooting environment, so that the determined fill light parameter is more accurate.
  • S504 and S505 can be executed sequentially or in parallel, and the embodiment of the present application does not limit the execution order of S504 and S505.
  • S506 The electronic device receives the control instruction input by the user.
  • control instruction is used to control the fill light.
  • the user can input the fill light control operation to the fill light control icon, and the electronic device generates a control instruction according to the fill light control operation.
  • the control instruction can control the mode, brightness, and switch status of the fill light (fill light The on state or off state of the light) is controlled.
  • the user when the user needs to adjust the brightness of the fill light, the user can input the brightness adjustment operation of the fill light to the fill light brightness icon.
  • the user when the user needs to adjust the brightness of the fill light, the user can slide the sliding control in the fill light brightness icon to realize the input of the fill light brightness adjustment operation.
  • the electronic device controls the fill light in the fill light accessories according to the control instruction.
  • the electronic device may send a control instruction to the communication component in the supplementary light accessory, and the communication component sends the control instruction to the control component in the supplementary light accessory, so that the control component controls the supplementary light according to the control instruction.
  • the control instruction may also include the switch state (open state or closed state). If the switch state included in the control instruction is different from the current state of the fill light, the control component controls the fill light according to the switch state in the control instruction The state of the light.
  • the control instruction may also include supplementary light parameters. Accordingly, the control component can control the lighting of the supplementary light according to the supplementary light parameters, so that the supplementary light emits light according to the supplementary light parameters.
  • the control component may control the brightness of the fill light lamp to be the brightness in the fill light parameter.
  • the control component may control the light emitting mode of the fill light lamp to be the mode in the fill light parameter.
  • the electronic device can send a control instruction to the NFC device in the fill light accessory through the NFC device.
  • the electronic device and the fill light accessory are both equipped with a wireless charging coil (the communication component is a wireless charging coil)
  • the electronic device can send the wireless charging coil in the fill light accessory through the wireless charging coil in the fill light accessory Control instruction.
  • the electronic device can start the camera application and the camera device, the electronic device can also automatically detect whether there are available fill light accessories, and the electronic device determines After there are available fill light accessories, the electronic device can control the lighting of the fill light in the fill light accessories, that is, the electronic device can control the fill light in the fill light accessories, which improves the control of the fill light. flexibility.
  • the electronic device can display the shooting interface and the fill light control icon, and the user can control the fill light according to the fill light control icon displayed by the electronic device, which further improves the flexibility of controlling the fill light.
  • FIG. 11 is a schematic diagram of a supplementary light control process provided by an embodiment of the application.
  • the control component in the fill light accessory is a control chip
  • the power supply component is a wireless charging coil
  • the communication component is an NFC device
  • the found component is a Hall sensor.
  • the electronic device is a mobile phone.
  • the fill light accessory Before performing the fill light shooting, the fill light accessory can be set on the back shell of the mobile phone.
  • the Hall sensor in the mobile phone detects the magnetic field signal. After the Hall sensor in the mobile phone detects the magnetic field signal, the mobile phone determines that it has found the fill light accessory. After the mobile phone determines that the supplementary light accessory is found, the mobile phone can read the NFC information in the supplementary light accessory through the NFC device.
  • the NFC information indicates the information of the supplementary light accessory.
  • the mobile phone can determine the found supplementary light based on the read NFC information. Whether the light accessories match the mobile phone.
  • the mobile phone After the mobile phone determines that the found fill light accessory matches the mobile phone, the mobile phone determines that there is an available fill light accessory, and writes the mark bit of the fill light accessory in the memory.
  • the mobile phone also sets the wireless charging coil in the mobile phone to the reverse charging mode.
  • the wireless charging coil in the mobile phone establishes a connection with the wireless charging coil in the supplement light accessory, and the mobile phone uses the wireless charging coil to connect to the wireless charging coil in the supplement light accessory.
  • Reverse charging in the process of reversely charging the wireless charging coil in the supplement light accessory, the voltage of the wireless charging coil in the supplement light accessory is gradually increased.
  • a camera application is installed in the mobile phone, and an icon of the camera application is displayed on the display desktop of the mobile phone.
  • the user can input a click operation on the icon of the camera application, and the mobile phone generates a camera start instruction according to the input click operation on the icon of the camera application input by the user.
  • the mobile phone starts the camera application and camera device according to the camera start instruction.
  • the mobile phone determines that there is a flag bit of the fill light accessory in the memory, and the mobile phone sends a lighting instruction to the NFC device in the fill light accessory, and the NFC device sends
  • the control chip sends a lighting instruction, and the control chip lights up the fill light in the fill light accessory according to the lighting instruction.
  • the camera interface and the fill light control icon are displayed in the mobile phone.
  • the user can input a sliding operation on the sliding control in the fill light brightness icon.
  • the mobile phone generates the brightness adjustment instruction of the fill light according to the sliding operation input by the user on the sliding control in the brightness icon of the fill light, and sends the brightness adjustment instruction of the fill light to the NFC device in the fill light accessory, NFC
  • the device sends a brightness adjustment instruction of the supplement light to the control chip, and the control chip adjusts the brightness of the supplement light according to the brightness adjustment instruction of the supplement light.
  • the mobile phone after the mobile phone obtains the camera start instruction, the mobile phone can start the camera device, and the mobile phone can also automatically detect whether there are available supplementary light accessories. After the mobile phone determines that there are available supplementary light accessories , The mobile phone can control the fill light in the fill light accessory, that is, the mobile phone can control the fill light in the fill light accessory, which improves the flexibility of controlling the fill light.
  • the mobile phone can display the shooting interface and the fill light control icon, and the user can control the fill light according to the fill light control icon displayed on the mobile phone, which further improves the flexibility of controlling the fill light.
  • FIG. 12 is a schematic flowchart of yet another method for controlling supplementary light according to an embodiment of the application. Referring to Figure 12, the method may include:
  • the fill light accessories include fill light.
  • the electronic device after the electronic device obtains the camera start instruction, the electronic device can start the camera device, the electronic device can also automatically detect whether there is an available supplement light accessory, and the electronic device determines that there is an available supplement After the light fitting, the electronic device can control to light the fill light in the fill light fitting, that is, the electronic device can control the fill light in the fill light fitting, which improves the flexibility of controlling the fill light.
  • FIG. 13 is a schematic structural diagram of a supplementary light control device provided by an embodiment of the application.
  • the supplemental light control device 130 may be applied to electronic equipment, which includes a camera device.
  • the supplemental light control device 130 includes a judgment module 131, an activation module 132, and a control module 133.
  • the judging module 131 is configured to, after obtaining the camera start instruction, determine whether there is an available light supplement lamp accessory, and the light supplement light accessory includes a light supplement lamp;
  • the activation module 132 is configured to activate the camera device after the judgment module determines that there is an available fill light accessory;
  • the control module 133 is used to control the lighting of the fill light.
  • the structure of the electronic device where the supplemental light control device 130 shown in the embodiment of the present application is located may be as shown in FIG. 2, and the supplementary light control device 130 may be the processor 201 in the electronic device shown in FIG. Part or all.
  • the fill light accessories can be as shown in Figure 1A-1C.
  • the supplemental light control device provided in the embodiment of the present application can execute the technical solutions shown in the foregoing method embodiments, and its implementation principles and beneficial effects are similar, and details are not described herein again.
  • the electronic device and the supplementary light accessory are respectively provided with wireless charging components; wherein,
  • the control module 133 is further configured to control the wireless charging component in the electronic device to charge the wireless charging component in the supplementary light accessory after the determination module determines that there is an available supplementary light accessory, wherein: The wireless charging component in the supplementary light accessory is used to supply power to the supplementary light.
  • control module 133 is specifically configured to:
  • the fill light parameter includes at least one of the following: a mode of the fill light, and the brightness of the fill light;
  • control to light the fill light lamp According to the fill light parameter, control to light the fill light lamp.
  • control module 133 is specifically configured to:
  • the compensation light parameter is determined according to the environmental brightness and/or the image captured by the imaging device.
  • control module 133 is specifically configured to:
  • control to turn on the fill light When it is determined that the environmental brightness is less than the first threshold, and/or the brightness of the image captured by the imaging device is less than the second threshold, control to turn on the fill light.
  • the judgment module 131 is specifically configured to:
  • FIG. 14 is a schematic structural diagram of another light supplement control device provided by an embodiment of the application.
  • the light supplement control device 130 further includes a detection module 134, a writing module 135, and a deletion module 136. Among them,
  • the detection module 134 is configured to perform the detection of the fill light accessories before obtaining the camera start instruction
  • the writing module 135 is configured to write the fill light accessory flag bit in the preset storage space when the detection module detects an available fill light accessory;
  • the deletion module 136 is configured to: when the detection module does not detect the available fill light accessories, determine whether the preset storage space includes the fill light accessories flag bit, and if so, delete the supplement light accessories. Light accessories sign.
  • the electronic device and the fill light accessory are respectively provided with a near field communication NFC device and a magnetic field sensor; the detection module 134 is specifically configured to:
  • the NFC device in the electronic device After the magnetic field sensor in the electronic device detects the magnetic field signal, the NFC device in the electronic device reads the NFC information sent by the NFC device in the fill light accessory, and the NFC information is used to indicate the Information about the accessories of the fill light;
  • NFC information indicates a supplementary light accessory, if so, it is determined that an available supplementary light accessory is detected, and if not, it is determined that an available supplementary light accessory is not detected.
  • the device further includes a display module 137 and a receiving module 138, wherein:
  • the display module 137 is configured to display the supplementary light control icon after the judgment module determines that there are available supplementary light accessories;
  • the receiving module 138 is configured to receive a control instruction input by a user to the control icon of the fill light;
  • the control module 133 is further configured to control the fill light according to the control instruction.
  • the supplemental light control device provided in the embodiment of the present application can execute the technical solutions shown in the foregoing method embodiments, and its implementation principles and beneficial effects are similar, and details are not described herein again.
  • FIG. 15 is a schematic structural diagram of another electronic device provided by an embodiment of the application.
  • the electronic device 150 may include a processor 151, a memory 152, and a communication bus 153, and the processor 151 and the memory 152 communicate through the communication bus 153.
  • the processor 151 executes the program instructions in the memory 152, and executes the following steps according to the program instructions:
  • the camera device After it is determined that there are available supplementary light accessories, the camera device is activated and the supplementary light is controlled to light up.
  • the fill light accessories can be as shown in Figure 1A-1C.
  • the electronic device provided in the embodiments of the present application can execute the technical solutions shown in the foregoing method embodiments, and its implementation principles and beneficial effects are similar, and will not be repeated here.
  • FIG. 16 is a schematic structural diagram of yet another electronic device provided by an embodiment of this application.
  • the electronic device 150 further includes a wireless charging component 154, and the fill light accessory is also provided with a wireless charging component, wherein the processor 151 is also used for:
  • the wireless charging component 154 in the electronic device is controlled to charge the wireless charging component in the supplement light accessory, wherein the wireless charging component in the supplement light accessory is used for To supply power to the fill light.
  • the processor 151 is specifically configured to:
  • the fill light parameter includes at least one of the following: a mode of the fill light, and the brightness of the fill light;
  • control to light the fill light lamp According to the fill light parameter, control to light the fill light lamp.
  • the processor 151 is specifically configured to:
  • the compensation light parameter is determined according to the environmental brightness and/or the image captured by the imaging device.
  • the processor 151 is specifically configured to:
  • control to turn on the fill light When it is determined that the environmental brightness is less than the first threshold, and/or the brightness of the image captured by the imaging device is less than the second threshold, control to turn on the fill light.
  • the processor 151 is specifically configured to:
  • the processor 151 is further configured to:
  • the fill light accessories flag bit is included in the preset storage space, and if so, the fill light accessories flag bit is deleted.
  • the electronic device 150 further includes a near field communication NFC device 155 and a magnetic field sensor 156
  • the fill light accessory further includes an NFC device and a magnetic field sensor
  • the magnetic field sensor 156 in the electronic device is used to detect magnetic field signals
  • the processor 151 is further configured to, after determining that the magnetic field sensor 156 in the electronic device detects the magnetic field signal, control the NFC device 155 in the electronic device to read the data sent by the NFC device in the fill light accessory NFC information, where the NFC information is used to indicate the information of the fill light accessory;
  • the processor 151 is further configured to determine whether the NFC information indicates a fill light accessory, if so, determine that an available fill light accessory is detected, and if not, determine that an available fill light accessory is not detected.
  • the electronic device 150 further includes a display 157, wherein:
  • the display 157 is configured to display the fill light control icon after the processor 151 determines that there are available fill light accessories;
  • the processor 151 is further configured to receive a control instruction input by a user to the control icon of the supplement light, and control the supplement light according to the control instruction.
  • the electronic device 150 provided in the embodiment of the present application can execute the technical solutions shown in the foregoing method embodiments, and its implementation principles and beneficial effects are similar, and will not be repeated here.
  • the aforementioned processor 151 may be a central processing unit (central processing unit, CPU), or other general-purpose processors, DSPs, application specific integrated circuits (application specific integrated circuits, ASICs), etc.
  • the general-purpose processor may be a microprocessor or the processor may also be any conventional processor or the like.
  • the electronic device shown in FIG. 15-16 and the electronic device shown in FIG. 2 may be the same electronic device, and FIGS. 15-16 and FIG. 2 only describe the structure of the electronic device from different angles.
  • the electronic device involved in the present application may be the electronic device shown in any of the embodiments in FIG. 2, FIG. 15, and FIG. 16, or may be a combination of the electronic devices shown in the embodiments in FIG. 2, FIG. 15 and FIG. 16.
  • the electronic device 150 shown in FIGS. 15-16 includes the same device as the electronic device 20 shown in FIG. 2, the same device may have the same function, for example, the electronic device shown in FIGS. 15-16
  • the processor 151 in the device 150 has the same function as the processor 201 in the electronic device 20 shown in FIG. 2.
  • the memory 152 in the electronic device 150 shown in FIGS. 15-16 is similar to that of the electronic device 20 shown in FIG.
  • the functions of the memory 206 are the same.
  • An embodiment of the present application provides a storage medium, where the storage medium is used to store a computer program, and the computer program is used to implement the supplemental light control method described in the foregoing embodiment.
  • the embodiment of the present application provides a chip, which is used to support the electronic device to realize the functions shown in the embodiment of the present application (for example, obtain a camera start instruction, determine whether there is an available fill light accessory, start the camera device, and control Turn on the supplementary light, etc.), the chip is specifically used in a chip system, and the chip system may be composed of a chip, or may include a chip and other discrete devices.
  • the chip in the terminal device implements the above method
  • the chip includes a processing unit. Further, the chip may also include a communication unit.
  • the processing unit may be, for example, a processor.
  • the communication unit for example, It can be an input/output interface, pin or circuit, etc.
  • the processing unit executes all or part of the actions performed by each processing module (for example, the processing modules in FIG. 15-16) in the embodiment of the present application, and the communication unit may execute corresponding receiving or sending actions.
  • the processing module of the terminal device may be the processing unit of the chip, and the receiving module or the sending module of the terminal device is the communication unit of the chip.
  • All or part of the steps in the foregoing method embodiments can be implemented by a program instructing relevant hardware.
  • the aforementioned program can be stored in a readable memory.
  • the program executes the steps of the above-mentioned method embodiments; and the aforementioned memory (storage medium) includes: read-only memory (ROM), RAM, flash memory, hard disk, solid state hard disk, magnetic tape (magnetic tape), floppy disk (floppy disk), optical disc (optical disc) and any combination thereof.
  • These computer program instructions can be provided to the processing unit of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing equipment to generate a machine, so that the instructions executed by the processing unit of the computer or other programmable data processing equipment are generated for use It is a device that realizes the functions specified in one process or multiple processes in the flowchart and/or one block or multiple blocks in the block diagram.
  • These computer program instructions can also be stored in a computer-readable memory that can guide a computer or other programmable data processing equipment to work in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture including the instruction device.
  • the device implements the functions specified in one process or multiple processes in the flowchart and/or one block or multiple blocks in the block diagram.
  • These computer program instructions can also be loaded on a computer or other programmable data processing equipment, so that a series of operation steps are executed on the computer or other programmable equipment to produce computer-implemented processing, so as to execute on the computer or other programmable equipment.
  • the instructions provide steps for implementing functions specified in a flow or multiple flows in the flowchart and/or a block or multiple blocks in the block diagram.
  • the term “including” and its variations may refer to non-limiting inclusion; the term “or” and its variations may refer to “and/or”.
  • the terms “first”, “second”, etc. in the present application are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence.
  • “plurality” means two or more.
  • “And/or” describes the association relationship of the associated objects, indicating that there can be three types of relationships, for example, A and/or B, which can mean: A alone exists, A and B exist at the same time, and B exists alone.
  • the character “/” generally indicates that the associated objects are in an "or” relationship.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Power Engineering (AREA)
  • Human Computer Interaction (AREA)
  • Circuit Arrangement For Electric Light Sources In General (AREA)
  • Studio Devices (AREA)
  • Endoscopes (AREA)
  • Stroboscope Apparatuses (AREA)

Abstract

本申请实施例提供一种补光控制方法、补光灯配件及电子设备,该方法可以应用于电子设备,电子设备中包括摄像装置,该方法包括:在获取到摄像启动指令之后,判断是否存在可用的补光灯配件,补光灯配件中包括补光灯;在确定存在可用的补光灯配件后,启动摄像装置,并控制点亮补光灯。提高了对补光灯控制的灵活性。

Description

补光控制方法、补光灯配件及电子设备
本申请要求在2019年5月30日提交中国国家知识产权局、申请号为201910464034.9的中国专利申请的优先权,发明名称为“补光控制方法、补光灯配件及电子设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及计算机技术领域,尤其涉及一种补光控制方法、补光灯配件及电子设备。
背景技术
目前,很多电子设备(例如手机、平板电脑等)中设置有摄像装置,电子设备可以通过摄像装置进行摄像。
在实际应用过程中,为了提高电子设备的拍摄效果,可以在电子设备上安装补光灯配件。补光灯配件通常包括补光灯和对补光灯进行控制的控制按钮(例如开关按钮、亮度调节按钮等),用户可以通过补光灯配件上的控制按钮对补光灯进行控制,例如,可以通过开关按钮控制打开补光灯或者关闭补光灯,通过亮度调节按钮调节补光灯的亮度。然而,上述对补光灯的控制过程的灵活性差。
发明内容
本申请提供一种补光控制方法、补光灯配件及电子设备,提高了对补光灯控制的灵活性。
第一方面,本申请实施例提供一种补光控制方法,在电子设备获取到摄像启动指令之后,判断是否存在可用的补光灯配件,在确定存在可用的补光灯配件后,电子设备启动电子设备中的摄像装置,并控制点亮补光灯配件中的补光灯。
在上述过程中,在电子设备获取到摄像启动指令之后,电子设备可以启动摄像装置,电子设备还可以自动检测是否存在可用的补光灯配件,在电子设备确定存在可用的补光灯配件之后,电子设备可以控制点亮补光灯配件中的补光灯,即,电子设备可以控制补光灯配件中的补光灯,提高了对补光灯进行控制的灵活性。
在一种可能的实施方式中,电子设备和补光灯配件中分别设置有无线充电部件;在电子设备确定存在可用的补光灯配件后,电子设备还可以控制电子设备中的无线充电部件向补光灯配件中的无线充电部件充电,其中,补光灯配件中的无线充电部件用于向补光灯供电。
在上述过程中,通过在补光灯配件中设置无线充电部件,使得电子设备可以方便快速的向补光灯配件中的无线充电部件充电,进而使得无线充电部件可以向补光灯供电,由于无线充电部件的尺寸较小,使得补光灯配件的整体尺寸较小。
在一种可能的实施方式中,电子设备的模式包括正向充电模式和反向充电模式;控制电子设备中的无线充电部件向补光灯配件中的无线充电部件充电之前,电子设备还可以将电子设备的模式设置为反向充电模式;其中,正向充电模式用于指示电子设备被其它设备无线充电,反向充电模式用于指示电子设备向其它设备无线充电。
在上述过程中,电子设备具有正向充电模式和反向充电模式,当需要通过电子设备中的无线充电部件向补光灯配件中的无线充电部件充电时,先将电子设备的模式设置为反向充电 模式,即可实现电子设备的无线充电部件向补光灯配件中的无线充电部件充电,控制过程简单方便。
在一种可能的实施方式中,可以通过如下可行的实现方式控制点亮补光灯:获取补光灯的补光参数,补光参数包括如下至少一种:补光灯的模式、补光灯的亮度;根据补光参数,控制点亮补光灯。
在上述过程中,根据补光灯的补光参数可以实现对补光灯进行精确的点亮,即,点亮补光灯后即可使得补光灯的亮度和/或模式适合当前拍照环境。
在一种可能的实施方式中,可以通过如下可行的实现方式获取补光灯的补光参数:获取环境亮度和/或摄像装置拍摄得到的图像;根据环境亮度和/或摄像装置拍摄得到的图像,确定补光参数。
在上述过程中,电子设备确定得到的补光参数与当前拍摄环境相关,使得确定得到的补光参数的准确性较高。
在一种可能的实施方式中,控制点亮补光灯,包括:获取环境亮度和/或摄像装置拍摄得到的图像的亮度;在确定环境亮度小于第一阈值,和/或摄像装置拍摄得到的图像的亮度小于第二阈值时,控制点亮补光灯。
在上述过程中,在环境亮度小于第一阈值,和/或摄像装置采集得到的图像的亮度小于第二阈值时,说明摄像装置具有补光的需求,则电子设备再点亮补光灯,使得对补光灯控制的灵活性较高。
在一种可能的实施方式中,判断是否存在可用的补光灯配件,包括:判断预设存储空间中是否存在补光灯配件标志位;若是,则确定存在可用的补光灯配件;若否,则确定不存在可用的补光灯配件。
在上述过程中,电子设备根据预设存储空间是否存在补光灯配件标志位即可判断是否存在可用的补光灯配件,使得电子设备可以快速确定是否存在可用的补光灯配件。
在一种可能的实施方式中,在电子设备获取到摄像启动指令之前,电子设备可以进行补光灯配件检测;若检测到可用的补光灯配件,则在预设存储空间中写入补光灯配件标志位;若未检测到可用的补光灯配件,则判断预设存储空间中是否包括补光灯配件标志位,若是,删除补光灯配件标志位。
在一种可能的实施方式中,电子设备和补光灯配件中分别设置有近场通信NFC器件和磁场传感器;电子设备可以通过如下可行的实现方式进行补光灯配件检测:通过电子设备中的磁场传感器检测磁场信号;在电子设备中的磁场传感器检测到磁场信号之后,通过电子设备中的NFC器件读取补光灯配件中的NFC器件发送的NFC信息,NFC信息用于指示补光灯配件的信息;判断NFC信息是否指示补光灯配件,若是,则确定检测到可用的补光灯配件,若否,则确定未检测到可用的补光灯配件。
在上述过程中,电子设备先根据磁场信号进行初步的设备发现,在电子设备根据磁场信号确定发现了具有磁场传感器的设备之后,电子设备再根据NFC器件进行NFC信息读取,并根据NFC信息确定是否发现了补光灯配件。这样,通过磁场传感器可以及时的发现具有磁场传感器的设备,在发现具有磁场传感器的设备之后,根据NFC器件可以准确的判断是否存在可用的补光灯配件,不但可以及时发现补光灯配件,还可以使得发现补光灯配件的准确性较高。
在一种可能的实施方式中,在电子设备确定存在可用的补光灯配件后,电子设备还可以显示补光灯控制图标;接收用户对补光灯控制图标输入的控制指令;根据控制指令,控制补 光灯。
在上述过程中,电子设备可以显示拍摄界面和补光灯控制图标,用户可以根据电子设备显示的补光灯控制图标对补光灯进行控制,进一步提高了对补光灯进行控制的灵活性。
第二方面,本申请实施例提供一种补光灯配件,包括:补光灯、固定部件、通信部件、控制部件和供电部件,补光灯、通信部件、控制部件和供电部件设置在固定部件上,其中,
固定部件用于固定在电子设备上,电子设备中包括摄像装置;
通信部件用于接收电子设备发送的控制指令,并向控制部件发送控制指令;
控制部件用于根据控制指令控制补光灯,供电部件用于向补光灯供电,补光灯用于向摄像装置的拍摄环境补光。
在上述补光灯配件中,由于补光灯配件中包括通信部件和控制部件,使得控制部件可以通过通信部件获取电子设备发送的控制指令,并根据控制指令控制补光灯。控制指令是电子设备发送的,即,电子设备可以对补光灯配件中的补光灯进行控制,使得对补光灯配件的控制的灵活性较高。
在一种可能的实施方式中,供电部件为第一无线充电部件,电子设备还包括第二无线充电部件,其中,第一无线充电部件用于接收第二无线充电部件的充电。
通过在补光灯配件中设置无线充电部件,使得电子设备可以方便快速的向补光灯配件中的无线充电部件充电,进而使得无线充电部件可以向补光灯供电,由于无线充电部件的尺寸较小,使得补光灯配件的整体尺寸较小。
在一种可能的实施方式中,控制指令中包括补光参数,补光参数包括如下至少一种:补光灯的模式、补光灯的亮度;控制部件还用于,根据接收到的电子设备发送的控制指令中的补光参数控制点亮补光灯。
由于控制指令中包括补光参数,使得控制部件可以根据补光灯的补光参数可以实现对补光灯进行控制,使得控制部件对补光灯控制的精确度较高。
在一种可能的实施方式中,补光灯配件还包括发现部件,发现部件设置在固定部件上,其中,发现部件用于使得电子设备发现补光灯配件。
在一种可能的实施方式中,发现部件包括磁场传感器和/或近场通信NFC器件,其中,磁场传感器用于发射磁场信号;NFC器件用于向电子设备中的NFC器件发送NFC信息,NFC信息用于指示所诉补光配件的信息。
由于发现部件中的磁场传感器可以发射磁场信号,电子设备中的磁场传感器可以进行磁场信号检测,因此,当补光灯配件安装在电子设备之后,电子设备可以通过电子设备中的磁场传感器快速确定检测到具有磁场传感器的设备;进一步的,在电子设备根据磁场信号确定发现了具有磁场传感器的设备之后,电子设备再根据NFC器件进行NFC信息读取,并根据NFC信息确定是否发现了补光灯配件。这样,通过磁场传感器可以及时的发现具有磁场传感器的设备,在发现具有磁场传感器的设备之后,根据NFC器件可以准确的判断是否存在可用的补光灯配件,不但可以及时发现补光灯配件,还可以使得发现补光灯配件的准确性较高。
第三方面,本申请实施例提供一种补光控制装置,应用于电子设备,所述电子设备中包括摄像装置,所述装置包括判断模块、启动模块和控制模块,其中,
所述判断模块用于,在获取到摄像启动指令之后,判断是否存在可用的补光灯配件,所述补光灯配件中包括补光灯;
所述启动模块用于,在所述判断模块确定存在可用的补光灯配件后,启动所述摄像装置;
所述控制模块用于,控制点亮所述补光灯。
在一种可能的实施方式中,所述电子设备和所述补光灯配件中分别设置有无线充电部件;其中,
所述控制模块还用于,在所述判断模块确定存在可用的补光灯配件后,控制所述电子设备中的无线充电部件向所述补光灯配件中的无线充电部件充电,其中,所述补光灯配件中的无线充电部件用于向所述补光灯供电。
在一种可能的实施方式中,所述控制模块具体用于:
获取所述补光灯的补光参数,所述补光参数包括如下至少一种:补光灯的模式、补光灯的亮度;
根据所述补光参数,控制点亮所述补光灯。
在一种可能的实施方式中,所述控制模块具体用于:
获取环境亮度和/或所述摄像装置拍摄得到的图像;
根据所述环境亮度和/或所述摄像装置拍摄得到的图像,确定所述补光参数。
在一种可能的实施方式中,所述控制模块具体用于:
获取环境亮度和/或所述摄像装置拍摄得到的图像的亮度;
在确定所述环境亮度小于第一阈值,和/或所述摄像装置拍摄得到的图像的亮度小于第二阈值时,控制点亮所述补光灯。
在一种可能的实施方式中,所述判断模块具体用于:
判断预设存储空间中是否存在补光灯配件标志位;
若是,则确定存在可用的补光灯配件;
若否,则确定不存在可用的补光灯配件。
在一种可能的实施方式中,所述装置还包括检测模块、写入模块和删除模块,其中,
所述检测模块用于,在获取到摄像启动指令之前,进行补光灯配件检测;
所述写入模块用于,在所述检测模块检测到可用的补光灯配件时,则在所述预设存储空间中写入所述补光灯配件标志位;
所述删除模块用于,在所述检测模块未检测到可用的补光灯配件时,则判断所述预设存储空间中是否包括所述补光灯配件标志位,若是,删除所述补光灯配件标志位。
在一种可能的实施方式中,所述电子设备和所述补光灯配件中分别设置有近场通信NFC器件和磁场传感器;所述检测模块具体用于:
通过所述电子设备中的磁场传感器检测磁场信号;
在所述电子设备中的磁场传感器检测到磁场信号之后,通过所述电子设备中的NFC器件读取所述补光灯配件中的NFC器件发送的NFC信息,所述NFC信息用于指示所述补光灯配件的信息;
判断所述NFC信息是否指示补光灯配件,若是,则确定检测到可用的补光灯配件,若否,则确定未检测到可用的补光灯配件。
在一种可能的实施方式中,所述装置还包括显示模块和接收模块,其中,
所述显示模块用于,在所述判断模块确定存在可用的补光灯配件后,显示补光灯控制图标;
所述接收模块用于,接收用户对所述补光灯控制图标输入的控制指令;
所述控制模块还用于,根据所述控制指令,控制所述补光灯。
第四方面,本申请实施例提供一种电子设备,包括存储器和处理器,所述处理器执行所述存储器中的程序指令,并根据所述程序指令执行如下步骤:
在获取到摄像启动指令之后,判断是否存在可用的补光灯配件,所述补光灯配件中包括补光灯;
在确定存在可用的补光灯配件后,启动所述摄像装置,并控制点亮所述补光灯。
在一种可能的实施方式中,所述电子设备和所述补光灯配件中还分别包括无线充电部件;所述处理器还用于:
在确定存在可用的补光灯配件后,控制所述电子设备中的无线充电部件向所述补光灯配件中的无线充电部件充电,其中,所述补光灯配件中的无线充电部件用于向所述补光灯供电。
在一种可能的实施方式中,所述处理器具体用于:
获取所述补光灯的补光参数,所述补光参数包括如下至少一种:补光灯的模式、补光灯的亮度;
根据所述补光参数,控制点亮所述补光灯。
在一种可能的实施方式中,所述处理器具体用于:
获取环境亮度和/或所述摄像装置拍摄得到的图像;
根据所述环境亮度和/或所述摄像装置拍摄得到的图像,确定所述补光参数。
在一种可能的实施方式中,所述处理器具体用于:
获取环境亮度和/或所述摄像装置拍摄得到的图像的亮度;
在确定所述环境亮度小于第一阈值,和/或所述摄像装置拍摄得到的图像的亮度小于第二阈值时,控制点亮所述补光灯。
在一种可能的实施方式中,所述处理器具体用于:
判断所述存储器的预设存储空间中是否存在补光灯配件标志位;
若是,则确定存在可用的补光灯配件;
若否,则确定不存在可用的补光灯配件。
在一种可能的实施方式中,在所述处理器获取到摄像启动指令之前,所述处理器还用于:
进行补光灯配件检测;
若检测到可用的补光灯配件,则在所述预设存储空间中写入所述补光灯配件标志位;
若未检测到可用的补光灯配件,则判断所述预设存储空间中是否包括所述补光灯配件标志位,若是,删除所述补光灯配件标志位。
在一种可能的实施方式中,所述电子设备和所述补光灯配件中分别设置有近场通信NFC器件和磁场传感器,其中,
所述电子设备中的磁场传感器用于检测磁场信号;
所述处理器还用于,在确定所述电子设备中的磁场传感器检测到磁场信号之后,控制所述电子设备中的NFC器件读取所述补光灯配件中的NFC器件发送的NFC信息,所述NFC信息用于指示所述补光灯配件的信息;
所述处理器还用于,判断所述NFC信息是否指示补光灯配件,若是,则确定检测到可用的补光灯配件,若否,则确定未检测到可用的补光灯配件。
在一种可能的实施方式中,所述电子设备还包括显示器,其中,
所述显示器用于,在所述处理器确定存在可用的补光灯配件后,显示补光灯控制图标;
所述处理器还用于,接收用户对所述补光灯控制图标输入的控制指令,并根据所述控制指令,控制所述补光灯。
第五方面,本申请提供一种存储介质,所述存储介质用于存储计算机程序,所述计算机程序用于实现上述第一方面任一项所述的补光灯控制方法。
第六方面,提供了一种计算机程序产品,所述计算机程序产品包括:计算机程序代码,当所述计算机程序代码在计算机上运行时,使得计算机执行上述第一方面或第一方面中任一种可能实现方式中的补光灯控制方法。
第七方面,本申请提供一种芯片,所述芯片包括处理器,用于执行上述第一方面任意一项所述的补光灯控制方法。
本申请实施例提供的补光控制方法、补光灯配件及电子设备,在电子设备获取到摄像启动指令之后,电子设备可以启动摄像装置,电子设备还可以自动检测是否存在可用的补光灯配件,在电子设备确定存在可用的补光灯配件之后,电子设备可以控制点亮补光灯配件中的补光灯,即,电子设备可以控制补光灯配件中的补光灯,提高了对补光灯进行控制的灵活性。
附图说明
图1A为本申请实施例提供的一种补光灯配件的结构示意图;
图1B为本申请实施例提供的另一种补光灯配件的结构示意图;
图1C为本申请实施例提供的又一种补光灯配件的结构示意图;
图2为本申请实施例提供的电子设备的结构示意图;
图3为本申请实施例提供的补光灯配件和电子设备的配合使用过程示意图;
图4为本申请实施例提供的一种补光控制方法的流程示意图;
图5为本申请实施例提供的另一种补光控制方法的流程示意图;
图6为本申请实施例提供的一种终端界面示意图;
图7为本申请实施例提供的另一种终端界面示意图;
图8为本申请实施例提供的又一种终端界面示意图;
图9为本申请实施例提供的再一种终端界面示意图;
图10为本申请实施例提供的另一种终端界面示意图;
图11为本申请实施例提供的补光控制过程示意图;
图12为本申请实施例提供的又一种补光控制方法的流程示意图;
图13为本申请实施例提供的一种补光控制装置的结构示意图;
图14为本申请实施例提供的另一种补光控制装置的结构示意图;
图15为本申请实施例提供的另一种电子设备的结构示意图;
图16为本申请实施例提供的又一种电子设备的结构示意图。
具体实施方式
本申请实施例涉及补光灯配件和电子设备,为了便于理解,首先对补光灯配件和电子设备进行说明。
图1A为本申请实施例提供的一种补光灯配件的结构示意图。图1B为本申请实施例提供的另一种补光灯配件的结构示意图。图1C为本申请实施例提供的又一种补光灯配件的结构示意图。请参见图1A,补光灯配件10可以包括补光灯101、固定部件102、通信部件103、控制部件104和供电部件105。补光灯101、通信部件103、控制部件104和供电部件105设置在固定部件102上,固定部件102可以固定在电子设备上。
可选的,补光灯101可以在电子设备进行拍摄时发光,以提升电子设备的拍摄效果。补光灯101可以为发光二极管(light emitting diode,LED)补光灯。补光灯101的形状可以为 环形、圆形、方形等。为了位于使用和携带,补光灯101可以沿着固定部件102进行旋转,例如,请参见图1B,补光灯101可以旋转至固定部件102的上表面。例如,当通过电子设备的前置摄像装置进行拍摄时,可以将补光灯101旋转至图1A所示的位置,当通过电子设备的后置摄像装置进行拍摄时,可以将补光灯101旋转至图1A所示的位置,也可以将补光灯101旋转至图1B所示的位置。可选的,补光灯配件中可以设置翻转结构(图1A-图1C中未示出),翻转结构分别与补光灯101和固定部件102连接,可以通过翻转结构控制补光灯101沿着固定部件102旋转。
可选的,固定部件102可以固定在电子设备上,以使补光灯配件10固定在电子设备上。固定部件102可以套设在电子设备上,例如,当电子设备为手机时,则固定部件102可以套设在手机的后壳上。
可选的,通信部件103可以与电子设备建立通信连接,接收电子设备发送的用于对补光灯进行控制的控制指令,并向控制部件104发送控制指令。通信部件103可以为近场通信(near field communication,NFC)器件、无线充电传输部件、蓝牙通信部件、无线保真(wireless fidelity,WiFi)部件、移动通信部件等。可选的,控制指令中还可以包括补光参数,例如,补光参数可以包括如下至少一种:补光灯的模式、补光灯的亮度。
可选的,控制部件104用于对补光灯进行控制,例如,控制部件103可以对补光灯101的状态(开启或者关闭)、亮度、发光模式等进行控制。例如,控制部件104可以接收通信部件103发送的用于对补光灯101进行控制的控制指令,并根据控制指令对补光灯进行控制。当控制指令中包括补光参数时,控制部件104可以根据补光参数控制补光灯。控制部件104可以为控制芯片。控制部件104还可以对供电部件105进行控制,例如,控制部件可以控制供电部件开始/结束充电,或者,控制供电部件105开始/结束向补光灯101供电。
可选的,供电部件105可以向补光灯101供电。供电部件105可以为无线充电部件,例如,无线充电部件可以为无线充电线圈,可以通过电子设备中的无线充电部件对补光灯配件10中的无线充电部件进行充电,当补光灯配件10中的无线充电部件的电压值达到补光灯101的工作电压时,无线充电部件可以向补光灯101供电,以点亮补光灯101。供电部件105还可以为电池,电池可以向补光灯供电。供电部件105还可以为供电线,供电线的一端与补光灯101连接,供电线的另一端可以与电子设备的供电接口连接,以使电子设备通过供电线向补光灯供电。
可选的,请参见图1C,补光灯配件10还可以包括发现部件106,电子设备可以根据补光灯配件10中的发现部件106发现补光灯配件10。发现部件106可以包括磁场传感器和/或NFC器件,磁场传感器可以发射磁场信号,例如,磁场传感器可以为霍尔传感器。
发现部件106包括磁场传感器,电子设备中也可以设置有磁场传感器,电子设备可以通过电子设备中的磁场传感器检测磁场信号,当电子设备中的磁场传感器检测到磁场信号之后,电子设备可以确定发现了补光灯配件10。可选的,在电子设备中的磁场传感器检测到磁场信号之后,电子设备还可以显示多种可能的具有磁场传感器的设备标识(例如设备名称等),用户可以根据实际情况在电子设备中选择设备标识,当用户选择的设备标识为补光灯配件的设备标识时,则电子设备可以确定发现了补光灯配件10。
发现部件106包括NFC器件,电子设备中也可以设置有NFC器件,电子设备可以通过电子设备中的NFC器件进行NFC信息(例如,NFC器件所在的设备的信息)读取,当通过电子设备中的NFC器件读取到NFC信息后,若NFC信息指示为补光灯配件10的信息,则电子设备可以确定发现了补光灯配件10。
发现部件106包括磁场传感器和NFC器件,电子设备中也可以设置有磁场传感器和NFC器件,当电子设备中的磁场传感器检测到磁场信号之后,电子设备可以通过电子设备中的NFC器件进行NFC信息读取,当通过电子设备中的NFC器件读取到NFC信息后,若NFC信息指示为补光灯配件10的信息,则电子设备可以确定发现了补光灯配件10。
需要说明的是,图1A-图1C只是以示例的形式示意补光灯配件10,并非对补光灯配件10的结构进行的限定。当然,在实际应用过程中,可以根据实际需要设置补光灯配件10的结构。
图2为本申请实施例提供的电子设备的结构示意图。请参见图2,电子设备20可以包括处理器201、显示屏202、传感器203、通信部件204、摄像装置205、存储器206、电池207、充电管理部件208和按键209。电子设备20可以为手机、平板电脑、相机等具有拍摄功能的设备。
可选的,处理器201可以包括一个或多个处理单元,例如:处理器201可以包括应用处理器(application processor,AP),调制解调处理器,图形处理器(graphics processing unit,GPU),图像信号处理器(image signal processor,ISP),控制器,视频编解码器,数字信号处理器(digital signal processor,DSP),基带处理器,和/或神经网络处理器(neural-network processing unit,NPU)等。其中,不同的处理单元可以是独立的器件,也可以集成在一个或多个处理器中。在一些实施例中,电子设备20也可以包括一个或多个处理器201。其中,控制器可以是电子设备20的神经中枢和指挥中心。控制器可以根据指令操作码和时序信号,产生操作控制信号,完成取指令和执行指令的控制。处理器201中还可以设置存储器,用于存储指令和数据。在一些实施例中,处理器201中的存储器为高速缓冲存储器。该存储器可以保存处理器201刚用过或循环使用的指令或数据。如果处理器201需要再次使用该指令或数据,可从所述存储器中直接调用。这就避免了重复存取,减少了处理器201的等待时间,因而提高了电子设备20的处理效率。
可选的,显示屏202用于显示图像,视频等。显示屏202包括显示面板。显示面板可以采用液晶显示屏(liquid crystal display,LCD),有机发光二极管(organic light-emitting diode,OLED),有源矩阵有机发光二极体或主动矩阵有机发光二极体(active-matrix organic light emitting diode的,AMOLED),柔性发光二极管(flex light-emitting diode,FLED),Miniled,MicroLed,Micro-oLed,量子点发光二极管(quantum dot light emitting diodes,QLED)等。在一些实施例中,电子设备20可以包括1个或N个显示屏194,N为大于1的正整数。可选的,电子设备20可以通过GPU,显示屏202,以及应用处理器等可以实现显示功能。GPU为图像处理的微处理器,连接显示屏202和应用处理器。GPU用于执行数学和几何计算,用于图形渲染。处理器201可包括一个或多个GPU,其执行指令以生成或改变显示信息。
可选的,传感器203可以包括触摸传感器、环境光传感器、磁场传感器等。其中,触摸传感器可以设置于显示屏,由触摸传感器与显示屏202组成触摸屏,也称触控屏。触摸传感器用于检测作用于其上或附近的触摸操作。触摸传感器可以将检测到的触摸操作传递给应用处理器,以确定触摸事件类型。可以通过显示屏202提供与触摸操作相关的视觉输出。触摸传感器也可以设置于电子设备20的表面,与显示屏202所处的位置不同。触摸传感器也可称触控面板或触敏表面。环境光传感器用于感知环境光亮度,并将环境光亮度反馈至处理器201,以使处理器201根据环境光亮度进行相应的处理。当然,传感器203还可以包括其它,例如,压力传感器、陀螺仪传感器、气压传感器、加速度传感器、距离传感器、接近光传感器、指纹传感器、温度传感器、骨传导传感器等。
可选的,通信部件204可以与补光灯配件10(或者补光灯配件10中的通信部件)建立通信连接,并与补光灯配件10进行通信。例如,通信部件204可以为NFC器件、无线充电传输部件、蓝牙通信部件、WiFi部件、移动通信部件等。
可选的,摄像装置205可以为摄像头,具有视频和/或图像的拍摄功能。电子设备20可以通过ISP,一个或多个摄像装置205,视频编解码器,GPU,一个或多个显示屏以及应用处理器等实现拍摄功能。
可选的,存储器206可以用于存储一个或多个计算机程序,该一个或多个计算机程序包括指令。处理器201可以通过运行存储在内部存储器206的上述指令。存储器206可以包括存储程序区和存储数据区。其中,存储程序区可存储操作系统;该存储程序区还可以存储一个或多个应用程序(比如图库、联系人等)等。存储数据区可存储电子设备20使用过程中所创建的数据(比如照片,联系人等)等。此外,存储器可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件,闪存器件,通用闪存存储器(universal flash storage,UFS)等。
可选的,充电管理部件208可以与电池207连接,可以从充电器接收充电输入。其中,充电器可以是无线充电器,也可以是有线充电器。在一些有线充电的实施例中,充电管理部件208可以通过USB接口接收有线充电器的充电输入。在一些无线充电的实施例中,充电管理部件208可以通过电子设备20的无线充电线圈接收无线充电输入。充电管理部件208还可以控制电池通过无线充电线圈向补光灯配件10中的无线充电线圈进行反向充电。
可选的,按键209包括开机键、拍摄键、音量键等。按键209可以是机械按键,也可以是触摸式按键。电子设备20可以接收按键输入,产生与电子设备20的用户设置以及功能控制有关的键信号输入。
当然,电子设备20还可以包括其它部件,例如,外部存储器接口、USB接口、天线、音频部件、扬声器、受话器、麦克风、耳机接口、马达、指示器、用户标识模块(subscriber identification module,SIM)卡接口等。需要说明的是,图2只是以示例的形式示意电子设备20的结构,并非对电子设备20的结构进行的限定,在实际应用过程中,可以根据实际需要设置电子设备20的结构,本申请实施例对此不作具体限定。
下面,结合图3,以电子设备为手机为例,对补光灯配件和电子设备的配合使用方式进行说明。
图3为本申请实施例提供的补光灯配件和电子设备的配合使用过程示意图。请参见图3,包括补光灯配件10和电子设备20。补光灯配件10的固定部件和电子设备20的后壳形状相匹配,以使补光灯配件10的固定部件可以套设在电子设备20的后壳上。在补光灯配件10安装在电子设备20上之后,用户可以控制启动电子设备20中的摄像装置。在电子设备20中的摄像装置启动之后,电子设备20可以显示拍摄界面,并控制点亮补光灯配件10中的补光灯,电子设备还可以控制补光灯的发光亮度、发光模式等,以提高摄像装置的拍摄效果。
下面,通过具体实施例对本申请所示的技术方案进行详细说明。需要说明的是,下面几个实施例可以单独存在,也可以相互结合,对于相同或相似的内容,在不同的实施例中不再重复说明。
图4为本申请实施例提供的一种补光控制方法的流程示意图。请参见图4,该方法可以包括:
S401、电子设备进行补光灯配件检测,以判断是否存在可用的补光灯配件。
若是,则执行S402。
若否,则执行S403。
可选的,电子设备可以周期性的进行补光灯配件检测,例如,电子设备可以每2秒进行一次补光灯配件检测。或者,电子设备可以实时进行补光灯配件检测。或者,电子设备可以在用户的触发下进行补光灯配件检测,例如,在电子设备接收到用户输入的预设指令之后再进行补光灯配件检测。
可选的,电子设备可以通过可行的实现方式进行补光灯配件检测:
一种可行的实现方式:
电子设备和补光灯配件中可以分别设置有磁场传感器,电子设备可以通过磁场传感器采集得到的信号进行补光灯配件检测。可选的,磁场传感器可以为霍尔传感器。
在实际应用过程中,在当补光灯配件与电子设备之间的距离小于第一预设距离时,电子设备中的磁场传感器可以检测到补光灯配件中的磁场传感器的磁场信号,进而电子设备可以确定存在可用的补光灯配件。
可选的,在电子设备中的磁场传感器检测到磁场信号之后,电子设备还可以显示多种可能的具有磁场传感器的设备标识(例如设备名称等),用户可以根据实际情况在电子设备中选择设备标识,当用户选择的设备标识为补光灯配件的设备标识时,则电子设备可以确定发现了补光灯配件。
在该种可行的实现方式中,通过在电子设备和补光灯配件中设置磁场传感器,电子设备即可检测是否存在可用的补光灯配件,过程简单方便,且成本较低。
另一种可行的实现方式:
电子设备和补光灯配件中可以分别设置NFC器件,电子设备可以通过NFC采集得到的NFC信息进行补光灯配件检测。
在实际应用过程中,补光灯配件中的NFC器件可以进行NFC信息发送,电子设备中的NFC器件可以进行NFC信息接收,NFC信息可以包括补光灯配件的信息。当补光灯配件与电子设备之间的距离小于第二预设距离时,电子设备中的NFC器件可以接收到补光灯配件中的NFC器件发送的NFC信息。相应的,在电子设备中的NFC器件接收的NFC信息用于指示补光灯配件时,则电子设备可以确定存在可用的补光灯配件。可选的,在电子设备还可以根据NFC信息确定补光灯配件和电子设备是否匹配,在确定补光灯配件和电子设备匹配时,电子设备可以确定存在可用的补光灯配件。
在该种可行的实现方式中,电子设备根据接收到的NFC信息可以准确的判断是否存在可用的补光灯配件。
又一种可行的实现方式:
电子设备和补光灯配件中分别设置有磁场传感器和NFC器件,电子设备可以通过电子设备中的磁场传感器检测磁场信号,在电子设备中的磁场传感器检测到磁场信号之后,通过电子设备中的NFC器件读取补光灯配件中的NFC器件发送的NFC信息,NFC信息用于指示补光灯配件的信息,电子设备判断NFC信息是否指示补光灯配件,若是,则确定检测到可用的补光灯配件,若否,则确定未检测到可用的补光灯配件。
在该种可行的实现方式中,电子设备先根据磁场信号进行初步的设备发现,在电子设备根据磁场信号确定发现了具有磁场传感器的设备之后,电子设备再根据NFC器件进行NFC信息读取,并根据NFC信息确定是否发现了补光灯配件。这样,通过磁场传感器可以及时的发现具有磁场传感器的设备,在发现具有磁场传感器的设备之后,根据NFC器件可以准确的判断是否存在可用的补光灯配件,不但可以及时发现补光灯配件,还可以使得发现补光灯配 件的准确性较高。
再一种可行的实现方式:
在用户将补光灯配件安装在电子设备之后,用户可以在电子设备中输入预设指令,相应的,电子设备在获取到预设指令之后,可以确定检测到了补光灯配件。
例如,用户可以对电子设备中的预设按键进行按压操作,电子设备在检测到对预设按键的按压操作之后,电子设备确定检测到可用的补光灯配件。例如,用户可以对电子设备中预设界面中的预设图标输入点击操作,电子设备在检测到对预设图标的点击操作之后,电子设备确定检测到可用的补光灯配件。
在该种可行的实现方式中,用户可以根据实际需要控制补光灯配件是否可以被发现,使得使用补光灯配件的灵活性较高。
又一种可行的实现方式:
补光灯配件中设置有第一接口,电子设备中设置有第二接口,在用户将补光灯配件安装在电子设备之后,用户可以将第一接口和第二接口连接。例如,第一接口可以为插头,第二接口可以为插孔。相应的,电子设备在通过第二接口检测到补光灯配件的第一接口时,则确定存在可用的补光灯配件。
在该种可行的实现方式中,提高物理器件的连接即可确定检测到可用的补光灯配件,使得检测是否存在可用的补光灯配件的便捷性较高。
需要说明的是,上述只是以示例的形式示意电子设备检测补光灯配件的方式,当然,电子设备还可以通过其它可行的实现方式检测是否存在可用的补光灯配件,本申请实施例对此不作具体限定。
S402、电子设备将补光灯配件的状态设置为有效状态。
可选的,电子设备可以通过如下可行的实现方式将补光灯配件的状态设置为有效状态:
一种可行的实现方式:
在电子设备的第一预设存储空间中存储着补光灯配件的状态位,当电子设备检测到存在可用的补光灯配件时,则电子设备可以将补光灯配件的状态位设置为第一预设值,第一预设值用于指示补光灯配件的状态为有效状态。例如,电子设备在检测到存在可用的补光灯配件之后,电子设备可以判断补光灯配件的状态位是否为第一预设值,若是,则不修改补光灯配件的状态位,若否,则将补光灯配件的状态位修改为第一预设值。
另一种可行的实现方式:
在电子设备检测到存在可用的补光灯配件之后,电子设备可以在第二预设存储空间中写入补光灯配件的标志位,其中,第二预设存储空间中包括补光灯配件的标志位用于指示存在电子设备可用的补光灯配件。例如,电子设备在检测到存在可用的补光灯配件之后,电子设备可以判断第二预设存储空间中是否存在补光灯配件的标志位,若是,则不向第二预设存储空间中写入补光灯配件的标志位,若否,则向第二预设存储空间中写入补光灯配件的标志位。
可选的,补光灯配件中设置有无线充电部件,无线充电部件用于向补光灯配件中的补光灯供电。通过在补光灯配件中设置无线充电部件,使得电子设备可以方便快速的向补光灯配件中的无线充电部件充电,进而使得无线充电部件可以向补光灯供电,由于无线充电部件的尺寸较小,使得补光灯配件的整体尺寸较小。
在该种情况下,在电子设备确定存在可用的补光灯配件之后,电子设备可以对补光灯配件进行预充电,以将无线充电部件的电压提升至补光灯的工作电压。这样,由于无线充电部件的工作电压已提升至补光灯的工作电压,在确定点亮补光灯时,使得补光灯可以被快速点 亮,使得补光灯被点亮的延时较小。
例如,电子设备可以将电子设备中的无线充电部件设置为反向充电模式,以使电子设备中的无线充电部件可以向补光灯配件中的无线充电部件进行反向充电。
S403、电子设备将补光灯配件的状态设置为无效状态。
可选的,电子设备可以通过如下可行的实现方式将补光灯配件的状态设置无效状态:
一种可行的实现方式:
在电子设备的第一预设存储空间中存储着补光灯配件的状态位,当电子设备检测到不存在可用的补光灯配件时,则电子设备可以将补光灯配件的状态位设置为第二预设值,第二预设值用于指示补光灯配件的状态为无效状态。例如,电子设备在检测到存在可用的补光灯配件之后,电子设备可以判断补光灯配件的状态位是否为第二预设值,若是,则不修改补光灯配件的状态位,若否,则将补光灯配件的状态位修改为第二预设值。
另一种可行的实现方式:
在电子设备检测到不存在可用的补光灯配件之后,电子设备可以在第二预设存储空间中清空(删除)补光灯配件的标志位,其中,第二预设存储空间中不包括补光灯配件的标志位用于指示补光灯配件的状态为无效状态。例如,电子设备在检测到不存在可用的补光灯配件之后,电子设备可以判断第二预设存储空间中是否存在补光灯配件的标志位,若是,则删除第二预设存储空间中的补光灯配件的标志位,若否,则不向第二预设存储空间中写入补光灯配件的标志位。
在图4所示的实施例中,电子设备可以检测到是否存在可用的补光灯配件,若检测到可用的补光灯配件,则将补光灯配件的状态设置为有效状态,若未检测到可用的补光灯配件,则将补光灯配件的状态设置为无效状态,这样,在电子设备启动摄像装置之后,电子设备根据补光灯配件的状态即可确定是否存在可用的补光灯配件,使得电子设备可以快速的确定是否存在可用的补光灯配件。
在上述任意一个实施例的基础上,下面,结合图5对电子设备对补光灯配件的控制过程进行说明。
图5为本申请实施例提供的另一种补光控制方法的流程示意图。请参见图5,该方法可以包括:
S501、电子设备获取摄像启动指令。
其中,摄像启动指令用于指示启动电子设备中的摄像应用程序和摄像装置。
可选的,可以通过如下可行的实现方式获取摄像启动指令:
一种可行的实现方式:
电子设备中安装有摄像装置对应的摄像应用程序,用户可以对摄像应用程序的图标输入点击操作,电子设备根据用户对摄像应用程序的图标输入点击操作生成摄像启动指令。
下面,结合图6,以电子设备为手机为例,对该种可行的实现方式进行说明。
图6为本申请实施例提供的一种终端界面示意图。请参见图6,包括界面601和界面602。
请参见界面601,手机中安装有摄像应用程序,且在手机的桌面显示有该摄像应用程序的图标,当用户需要启动摄像装置进行拍摄时,则用户可以对该摄像应用程序的图标输入点击操作。
请参见界面602,手机获取到用户对摄像应用程序的图标输入的点击操作之后,手机可以生成摄像启动指令,并根据摄像启动指令启动摄像装置。
另一种可行的实现方式:
电子设备中可以安装除摄像应用程序之外的其它应用程序,其它应用程序可以调用摄像应用程序,以实现在其它应用程序运行的过程中启动摄像装置。例如,其它应用程序的显示页面中可以包括对摄像应用程序的调用图标,用户可以对该调用图标进行点击操作,电子设备可以根据用户对调用图标输入的点击操作生成摄像启动指令。
下面,结合图7,以电子设备为手机为例,对该种可行的实现方式进行说明。
图7为本申请实施例提供的另一种终端界面示意图。请参见图7,包括界面701和界面702。
请参见界面701,手机中安装有聊天应用程序,在聊天界面中包括对摄像应用程序进行调用的调用图标:“拍摄”图标,当用户需要在聊天内容中增加拍摄的图片时,用户可以对该“拍摄”图标进行点击操作。
请参见界面702,手机获取到用户对“拍摄”图标输入的点击操作之后,手机可以生成摄像启动指令,并根据摄像启动指令启动摄像装置。
又一种可行的实现方式:
用户可以对电子设备中的预设物理按键进行按压操作,电子设备在获取到预设物理按键对应的按压操作之后,生成摄像启动指令。
当然,电子设备还可以通过其它可行的实现方式获取摄像启动指令,本申请实施例对此不作具体限定。
S502、电子设备根据摄像启动指令,启动摄像应用程序和摄像装置。
可选的,可以同时启动摄像应用程序和摄像装置。
可选的,电子设备中可以安装一个或者多个摄像应用程序。当电子设备中安装一个摄像应用程序时,则电子设备启动该一个摄像应用程序。当电子设备中安装多个摄像应用程序时,则电子设备可以根据获取到的摄像启动指令确定启动的摄像应用程序,例如,摄像启动指令中可以包括待启动的摄像应用程序的标识,电子设备可以根据待启动的摄像应用程序的标识启动对应的摄像应用程序。
S503、电子设备判断补光灯配件的状态是否为有效状态。
可选的,电子设备可以获取第一预设存储空间中存储的补光灯配件的状态位,并根据状态位的值判断补光灯配件的状态是否为有效状态。例如,当第一预设存储空间中存储的补光灯配件的状态位为第一预设值,则确定补光灯配件的状态为有效状态。当第一预设存储空间中存储的补光灯配件的状态位为第二预设值,则确定补光灯配件的状态为无效状态。
可选的,电子设备可以判断第二预设存储空间中是否存储有补光灯配件的标志位,若是,则确定补光灯配件的状态为有效状态,若否,则确定补光灯配件的状态为无效状态。
在判断补光灯配件的状态为有效装置时,确定存在可用的补光灯配件。在判断补光灯配件的状态为无效装置时,确定不存在可用的补光灯配件。
需要说明的是,S502和S503可以顺序执行,也可以并行执行,本申请对S502和S503的执行顺序不作具体限定。
S504、在确定补光灯配件的状态为有效状态时,电子设备显示拍摄界面和补光灯控制图标。
可选的,拍摄界面为电子设备中安装的摄像应用程序中的界面。
可选的,补光灯控制图标可以包括如下图标中的至少一种:
补光灯状态图标,用户可以对补光灯状态图标进行操作,以控制补光灯的点亮或者熄灭。
补光灯模式图标,用户可以对补光灯模式图标进行操作,以选择补光灯的模式。例如, 补光灯的模式可以包括暖光模式、冷光模式等。
补光灯亮度图标,用户可以对补光灯亮度图标进行操作,以确定补光灯的亮度。
可选的,电子设备可以通过如下可行的实现方式显示拍摄界面和补光灯控制图标:
一种可行的实现方式:拍摄界面中包括补光灯控制图标。
下面,结合图8,对该种可行的实现方式进行说明。
图8为本申请实施例提供的又一种终端界面示意图。请参见图8,拍摄界面中包括补光灯控制图标(区域A中所示的图标),补光灯控制图标为拍摄界面中的一部分元素。补光灯控制图标在拍摄界面中的位置可以为固定的。补光灯控制图标可以位于图像窗口(拍摄得到的图像所在的窗口)之上,补光灯控制图标也可以位于图像窗口之外。
在该种可行的实现方式中,补光灯控制图标位于终端界面的固定位置,便于用户学习补光灯控制图标,使得配光灯配件的使用难度较低。
另一种可行的实现方式:补光灯控制图标悬浮在拍摄界面上。
下面,结合图9,对该种可行的实现方式进行说明。
图9为本申请实施例提供的再一种终端界面示意图。请参见图9,包括界面901、界面902和界面903。
请参见界面901,在拍摄界面中以悬浮的形式显示补光灯提示图标B,用户可以对补光灯提示图标B输入预设操作(例如点击操作、双击操作等),以使电子设备显示补光灯控制图标。该补光灯提示图标B可以显示在拍摄界面的不同位置,例如,用户可以对该补光灯提示图标B进行拖拽操作,以使补光灯提示图标B位于拍摄界面的不同位置。当用户需要对补光灯进行控制时,用户可以对该补光灯提示图标B输入预设操作,以使电子设备显示补光灯控制图标。
请参见界面902,电子设备显示补光灯控制图标(区域C中所示的图标),用户可以对补光灯控制图标输入相应操作,以实现对补光灯进行控制。在用户不需要对补光灯进行控制时,用户还可以在拍摄界面中、除区域C之外的区域中输入点击操作,以使电子设备取消显示补光灯控制图标,并显示补光灯提示图标B。
请参见界面903,在用户在拍摄界面中、除区域C之外的区域中输入点击操作之后,电子设备取消显示补光灯控制图标,并显示补光灯提示图标B。
在该种可行的实现方式中,无需对摄像应用程序进行更改即可实现在电子设备中对补光灯进行控制。由于补光灯提示图标B在拍摄界面中所占的区域较小,避免对拍摄造成不良体验。
再一种可行的实现方式:拍摄界面和补光灯控制图标位于电子设备的显示界面的不同区域。
下面,结合图10,对该种可行的实现方式进行说明。
图10为本申请实施例提供的另一种终端界面示意图。请参见图10,终端界面包括补光灯控制图标区域M和拍摄区域N,其中,补光灯控制图标区域M中包括补光灯控制图标。
在该种可行的实现方式中,在补光灯控制图标区域中显示补光灯控制图标,使得用户可以方便的确定补光灯控制图标在显示界面中的位置。
S505、电子设备控制点亮补光灯配件中的补光灯。
可选的,电子设备可以通过如下可行的实现方式控制点亮补光灯配件中的补光灯:
一种可行的实现方式:
在电子设备确定补光灯配件的状态为有效状态时,电子设备根据该有效状态点亮补光灯 配件中的补光灯。即,电子设备在确定补光灯配件的状态为有效状态时,自动点亮补光灯配件中的补光灯。
可选的,补光灯状态图标对应的状态默认为开启状态,即,电子设备显示的补光灯控制图标中的补光灯状态图标对应的状态默认为开启状态。
在该种可行的实现方式中,在电子设备启动摄像装置之后,补光灯配件中的补光灯可以被快速点亮,使得补光灯被点亮的延迟较小。
另一种可行的实现方式:
电子设备显示的补光灯状态图标对应的状态默认为关闭状态,用户可以对补光灯状态图标进行操作,以使补光灯状态图标对应的状态切换为开启状态。在电子设备检测到补光灯状态图标对应的状态切换为开启状态之后,电子设备控制点亮补光灯。
在该种可行的实现方式中,在用户需要点亮补光灯时,用户可以对补光灯状态图标进行操作,以使电子设备控制点亮补光灯,使得对补光灯控制的灵活性较高。
再一种可行的实现方式:
电子设备获取环境亮度和/或电子设备的摄像装置采集得到的图像的亮度,并根据环境亮度小于第一阈值和/或电子设备的摄像装置采集得到的图像的亮度小于第二阈值时,电子设备控制点亮补光灯。
在该种可行的方式中,在环境亮度小于第一阈值,和/或摄像装置采集得到的图像的亮度小于第二阈值时,说明摄像装置具有补光的需求,则电子设备再点亮补光灯,使得对补光灯控制的灵活性较高。
可选的,电子设备可以向补光灯配件中的通信部件发送点亮指令(控制指令中的一种),补光灯配件中的通信部件可以向补光灯配件中的控制部件发送该点亮指令,控制部件可以根据该点亮指令控制补光灯点亮。例如,控制部件可以根据该点亮指令控制补光灯与供电部件连通,以使供电部件成功的向补光灯供电,进而点亮补光灯。可选的,点亮指令中还可以包括补光参数,相应的,控制部件可以根据补光参数控制点亮补光灯,以使补光灯根据补光参数进行发光。例如,当补光参数中包括亮度时,则控制部件可以控制补光灯的亮度为补光参数中的亮度。当补光参数中包括模式时,则控制部件可以控制补光灯的发光模式为补光参数中的模式。
例如,当电子设备和补光灯配件中均设置有NFC器件(通信部件为NFC器件)时,则电子设备可以通过NFC器件向补光灯配件中的NFC器件发送点亮指令。当电子设备和补光灯配件中均设置有无线充电线圈(通信部件为无线充电线圈)时,则电子设备可以通过补光灯配件中的无线充电线圈向补光灯配件中的无线充电线圈发送点亮指令。
可选的,若补光灯配件中的供电部件为无线充电部件,则在电子设备确定补光灯配件的状态为有效状态时,电子设备开始向无线充电部件充电。例如,电子设备可以将电子设备中的无线充电部件设置为反向充电模式,以使电子设备中的无线充电部件可以向补光灯配件中的无线充电部件进行反向充电。
可选的,在电子设备控制点亮补光灯配件中的补光灯之前,电子设备可以先获取补光灯的补光参数。相应的,在电子设备点亮补光灯时,可以根据补光灯的补光参数控制点亮补光灯。补光灯的补光参数可以包括补光灯的模式、补光灯的亮度等。
可选的,电子设备可以将预设参数确定为补光灯的补光参数。例如,预设参数可以为预先设置的适用于多种拍摄场景的参数,这样,不但可以使得电子设备可以快速获取得到补光灯参数,还可以使得补光灯被点亮时的补光参数较为合适,即,在该补光参数下,补光灯可 以为电子设备的摄像装置的拍摄场景进行合适的补光,以提升拍摄效果。
可选的,电子设备可以根据环境光亮度和/或电子设备的摄像装置采集得到的图像确定补光灯的补光参数。这样,电子设备确定得到的补光参数与当前拍摄环境相关,使得确定得到的补光参数的准确性较高。
需要说明的是,S504和S505可以顺序执行,也可以并行执行,本申请实施例不限定S504和S505的执行顺序。
S506、电子设备接收用户输入的控制指令。
其中,控制指令用于对补光灯进行控制。
可选的,用户可以对补光灯控制图标输入补光灯控制操作,电子设备根据该补光灯控制操作生成控制指令,该控制指令可以对补光灯的模式、亮度、开关状态(补光灯的打开状态或关闭状态)进行控制。
例如,当用户需要对补光灯的亮度进行调节时,用户可以对补光灯亮度图标输入补光灯亮度调节操作。例如,请参见图10,当用户需要对补光灯的亮度进行调节时,用户可以对补光灯亮度图标中的滑动控件进行滑动操作,以实现输入补光灯亮度调节操作。
S507、电子设备根据控制指令控制补光灯配件中的补光灯。
可选的,电子设备可以向补光灯配件中的通信部件控制指令,通信部件向补光灯配件中的控制部件发送该控制指令,以使控制部件根据该控制指令控制补光灯。可选的,控制指令中还可以包括开关状态(打开状态或关闭状态),若控制指令中包括的开关状态与补光灯的当前状态不同,则控制部件根据控制指令中的开关状态控制补光灯的状态。可选的,控制指令中还可以包括补光参数,相应的,控制部件可以根据补光参数控制点亮补光灯,以使补光灯根据补光参数进行发光。例如,当补光参数中包括亮度时,则控制部件可以控制补光灯的亮度为补光参数中的亮度。当补光参数中包括模式时,则控制部件可以控制补光灯的发光模式为补光参数中的模式。
例如,当电子设备和补光灯配件中均设置有NFC器件(通信部件为NFC器件)时,则电子设备可以通过NFC器件向补光灯配件中的NFC器件发送控制指令。当电子设备和补光灯配件中均设置有无线充电线圈(通信部件为无线充电线圈)时,则电子设备可以通过补光灯配件中的无线充电线圈向补光灯配件中的无线充电线圈发送控制指令。
在图5所示的实施例中,在电子设备获取到摄像启动指令之后,电子设备可以启动摄像应用程序和摄像装置,电子设备还可以自动检测是否存在可用的补光灯配件,在电子设备确定存在可用的补光灯配件之后,电子设备可以控制点亮补光灯配件中的补光灯,即,电子设备可以控制补光灯配件中的补光灯,提高了对补光灯进行控制的灵活性。电子设备可以显示拍摄界面和补光灯控制图标,用户可以根据电子设备显示的补光灯控制图标对补光灯进行控制,进一步提高了对补光灯进行控制的灵活性。
在上述任意一个实施例的基础上,下面,结合图11,通过具体示例,对补光控制方法进行详细说明。
图11为本申请实施例提供的补光控制过程示意图。请参见图11,补光灯配件中的控制部件为控制芯片,供电部件为无线充电线圈,通信部件为NFC器件,发现部件为霍尔传感器。电子设备为手机。
请参见图11,在进行补光拍摄之前,可以先将补光灯配件套设在手机的后壳。手机中的霍尔传感器进行磁场信号检测,在手机中的霍尔传感器检测到磁场信号之后,手机确定发现了补光灯配件。在手机确定发现补光灯配件之后,手机可以通过NFC器件读取补光灯配件中 的NFC信息,NFC信息指示了补光灯配件的信息,手机可以根据读取到的NFC信息判断发现的补光灯配件和手机是否匹配。
在手机确定发现的补光灯配件和手机匹配之后,手机确定存在可用的补光灯配件,并在内存中写入补光灯配件的标志位。手机还将手机中的无线充电线圈设置为反向充电模式,手机中的无线充电线圈与补光灯配件中的无线充电线圈建立连接,手机通过无线充电线圈向补光灯配件中的无线充电线圈反向充电,在向补光灯配件中的无线充电线圈反向充电的过程中,补光灯配件中的无线充电线圈的电压被逐步提升。
请参见界面1101,手机中安装有摄像应用程序,手机的显示桌面中显示有该摄像应用程序的图标。当用户需要摄像时,用户可以对该摄像应用程序的图标输入点击操作,手机根据用户输入的对摄像应用程序的图标输入点击操作生成摄像启动指令。
请参见界面1102,手机根据摄像启动指令启动摄像应用程序和摄像装置,手机判断内存中存在补光灯配件的标志位,则手机向补光灯配件中的NFC器件发送点亮指令,NFC器件向控制芯片发送点亮指令,控制芯片根据该点亮指令点亮补光灯配件中的补光灯。在手机启动摄像应用程序之后,手机中显示摄像界面和补光灯控制图标(包括补光灯状态图标、补光灯模式图标、补光灯亮度图标)。当用户需要调节补光灯的亮度时,用户可以对补光亮度图标中的滑动控件输入滑动操作。
请参见界面1103,手机根据用户对补光灯亮度图标中的滑动控件输入的滑动操作,生成补光灯亮度调节指令,并向补光灯配件中的NFC器件发送补光灯亮度调节指令,NFC器件向控制芯片发送补光灯亮度调节指令,控制芯片根据该补光灯亮度调节指令调节补光灯的亮度。
在图11所示的实施例中,在手机获取到摄像启动指令之后,手机可以启动摄像装置,手机还可以自动检测是否存在可用的补光灯配件,在手机确定存在可用的补光灯配件之后,手机可以控制点亮补光灯配件中的补光灯,即,手机可以控制补光灯配件中的补光灯,提高了对补光灯进行控制的灵活性。手机可以显示拍摄界面和补光灯控制图标,用户可以根据手机显示的补光灯控制图标对补光灯进行控制,进一步提高了对补光灯进行控制的灵活性。
图12为本申请实施例提供的又一种补光控制方法的流程示意图。请参见图12,该方法可以包括:
S1201、在获取到摄像启动指令之后,判断是否存在可用的补光灯配件。
其中,补光灯配件中包括补光灯。
可选的,可以通过S503所示的方式判断是否存在可用的补光灯配件,此处不再进行赘述。
S1202、在确定存在可用的补光灯配件后,启动摄像装置,并控制点亮补光灯。
需要说明的是,S1202的执行过程可以参见S504-S505的执行过程,此处不再进行赘述。
在图12所示的实施例中,在电子设备获取到摄像启动指令之后,电子设备可以启动摄像装置,电子设备还可以自动检测是否存在可用的补光灯配件,在电子设备确定存在可用的补光灯配件之后,电子设备可以控制点亮补光灯配件中的补光灯,即,电子设备可以控制补光灯配件中的补光灯,提高了对补光灯进行控制的灵活性。
图13为本申请实施例提供的一种补光控制装置的结构示意图。该补光控制装置130可以应用于电子设备,所述电子设备中包括摄像装置。请参见图13,该补光控制装置130包括判断模块131、启动模块132和控制模块133,其中,
所述判断模块131用于,在获取到摄像启动指令之后,判断是否存在可用的补光灯配件,所述补光灯配件中包括补光灯;
所述启动模块132用于,在所述判断模块确定存在可用的补光灯配件后,启动所述摄像 装置;
所述控制模块133用于,控制点亮所述补光灯。
可选的,本申请实施例所示的补光控制装置130所在的电子设备的结构可以如图2所示,补光控制装置130可以为图2所示的电子设备中的处理器201中的部分或全部。补光灯配件可以如图1A-图1C所示。
本申请实施例提供的补光控制装置可以执行上述方法实施例所示的技术方案,其实现原理以及有益效果类似,此处不再进行赘述。
在一种可能的实施方式中,所述电子设备和所述补光灯配件中分别设置有无线充电部件;其中,
所述控制模块133还用于,在所述判断模块确定存在可用的补光灯配件后,控制所述电子设备中的无线充电部件向所述补光灯配件中的无线充电部件充电,其中,所述补光灯配件中的无线充电部件用于向所述补光灯供电。
在一种可能的实施方式中,所述控制模块133具体用于:
获取所述补光灯的补光参数,所述补光参数包括如下至少一种:补光灯的模式、补光灯的亮度;
根据所述补光参数,控制点亮所述补光灯。
在一种可能的实施方式中,所述控制模块133具体用于:
获取环境亮度和/或所述摄像装置拍摄得到的图像;
根据所述环境亮度和/或所述摄像装置拍摄得到的图像,确定所述补光参数。
在一种可能的实施方式中,所述控制模块133具体用于:
获取环境亮度和/或所述摄像装置拍摄得到的图像的亮度;
在确定所述环境亮度小于第一阈值,和/或所述摄像装置拍摄得到的图像的亮度小于第二阈值时,控制点亮所述补光灯。
在一种可能的实施方式中,所述判断模块131具体用于:
判断预设存储空间中是否存在补光灯配件标志位;
若是,则确定存在可用的补光灯配件;
若否,则确定不存在可用的补光灯配件。
图14为本申请实施例提供的另一种补光控制装置的结构示意图。在图13所示实施例的基础上,请参见图14,补光控制装置130还包括检测模块134、写入模块135和删除模块136,其中,
所述检测模块134用于,在获取到摄像启动指令之前,进行补光灯配件检测;
所述写入模块135用于,在所述检测模块检测到可用的补光灯配件时,则在所述预设存储空间中写入所述补光灯配件标志位;
所述删除模块136用于,在所述检测模块未检测到可用的补光灯配件时,则判断所述预设存储空间中是否包括所述补光灯配件标志位,若是,删除所述补光灯配件标志位。
在一种可能的实施方式中,所述电子设备和所述补光灯配件中分别设置有近场通信NFC器件和磁场传感器;所述检测模块134具体用于:
通过所述电子设备中的磁场传感器检测磁场信号;
在所述电子设备中的磁场传感器检测到磁场信号之后,通过所述电子设备中的NFC器件读取所述补光灯配件中的NFC器件发送的NFC信息,所述NFC信息用于指示所述补光灯配件的信息;
判断所述NFC信息是否指示补光灯配件,若是,则确定检测到可用的补光灯配件,若否,则确定未检测到可用的补光灯配件。
在一种可能的实施方式中,所述装置还包括显示模块137和接收模块138,其中,
所述显示模块137用于,在所述判断模块确定存在可用的补光灯配件后,显示补光灯控制图标;
所述接收模块138用于,接收用户对所述补光灯控制图标输入的控制指令;
所述控制模块133还用于,根据所述控制指令,控制所述补光灯。
本申请实施例提供的补光控制装置可以执行上述方法实施例所示的技术方案,其实现原理以及有益效果类似,此处不再进行赘述。
图15为本申请实施例提供的另一种电子设备的结构示意图。请参见图15,电子设备150可以包括处理器151、存储器152和通信总线153,处理器151和存储器152通过通信总线153通信。处理器151执行存储器152中的程序指令,并根据所述程序指令执行如下步骤:
在获取到摄像启动指令之后,判断是否存在可用的补光灯配件,所述补光灯配件中包括补光灯;
在确定存在可用的补光灯配件后,启动所述摄像装置,并控制点亮所述补光灯。
可选的,补光灯配件可以如图1A-图1C所示。
本申请实施例提供的电子设备可以执行上述方法实施例所示的技术方案,其实现原理以及有益效果类似,此处不再进行赘述。
图16为本申请实施例提供的又一种电子设备的结构示意图。在图15所示实施例的基础上,所述电子设备150中还包括无线充电部件154,所述补光灯配件中还设置无线充电部件,其中,所述处理器151还用于:
在确定存在可用的补光灯配件后,控制所述电子设备中的无线充电部件154向所述补光灯配件中的无线充电部件充电,其中,所述补光灯配件中的无线充电部件用于向所述补光灯供电。
在一种可能的实施方式中,所述处理器151具体用于:
获取所述补光灯的补光参数,所述补光参数包括如下至少一种:补光灯的模式、补光灯的亮度;
根据所述补光参数,控制点亮所述补光灯。
在一种可能的实施方式中,所述处理器151具体用于:
获取环境亮度和/或所述摄像装置拍摄得到的图像;
根据所述环境亮度和/或所述摄像装置拍摄得到的图像,确定所述补光参数。
在一种可能的实施方式中,所述处理器具体151用于:
获取环境亮度和/或所述摄像装置拍摄得到的图像的亮度;
在确定所述环境亮度小于第一阈值,和/或所述摄像装置拍摄得到的图像的亮度小于第二阈值时,控制点亮所述补光灯。
在一种可能的实施方式中,所述处理器151具体用于:
判断所述存储器的预设存储空间中是否存在补光灯配件标志位;
若是,则确定存在可用的补光灯配件;
若否,则确定不存在可用的补光灯配件。
在一种可能的实施方式中,在所述处理器获取到摄像启动指令之前,所述处理器151还用于:
进行补光灯配件检测;
若检测到可用的补光灯配件,则在所述预设存储空间中写入所述补光灯配件标志位;
若未检测到可用的补光灯配件,则判断所述预设存储空间中是否包括所述补光灯配件标志位,若是,删除所述补光灯配件标志位。
在一种可能的实施方式中,所述电子设备150中还包括近场通信NFC器件155和磁场传感器156,所述补光灯配件中还包括NFC器件和磁场传感器,其中,
所述电子设备中的磁场传感器156用于检测磁场信号;
所述处理器151还用于,在确定所述电子设备中的磁场传感器156检测到磁场信号之后,控制所述电子设备中的NFC器件155读取所述补光灯配件中的NFC器件发送的NFC信息,所述NFC信息用于指示所述补光灯配件的信息;
所述处理器151还用于,判断所述NFC信息是否指示补光灯配件,若是,则确定检测到可用的补光灯配件,若否,则确定未检测到可用的补光灯配件。
在一种可能的实施方式中,所述电子设备150还包括显示器157,其中,
所述显示器157用于,在所述处理器151确定存在可用的补光灯配件后,显示补光灯控制图标;
所述处理器151还用于,接收用户对所述补光灯控制图标输入的控制指令,并根据所述控制指令,控制所述补光灯。
本申请实施例提供的电子设备150可以执行上述方法实施例所示的技术方案,其实现原理以及有益效果类似,此处不再进行赘述。
可选的,上述处理器151可以是中央处理单元(central processing unit,CPU),还可以是其他通用处理器、DSP、专用集成电路(application specific integrated circuit,ASIC)等。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。结合本申请所公开的认证方法实施例中的步骤可以直接体现为硬件处理器执行完成,或者用处理器中的硬件及软件模块组合执行完成。
需要说明的是,图15-图16所示的电子设备与图2所示的电子设备可以为相同的电子设备,图15-图16与图2只是从不同角度对电子设备的结构进行描述。例如,本申请所涉及的电子设备可以为图2、图15、图16任意实施例所示的电子设备,也可以为图2、图15和图16实施例所示的电子设备的结合。当图15-图16所示的电子设备150中与图2所示的电子设备20中包括相同的器件时,该相同的器件可以具有相同的功能,例如,图15-图16所示的电子设备150中的处理器151与图2所示的电子设备20中的处理器201的功能相同,图15-图16所示的电子设备150中的存储器152与图2所示的电子设备20中的存储器206的功能相同。
本申请实施例提供一种存储介质,所述存储介质用于存储计算机程序,所述计算机程序用于实现上述实施例所述的补光控制方法。
本申请实施例提供一种芯片,该芯片用于支持电子设备实现本申请实施例所示的功能(例如,获取摄像启动指令,判断是否存在可用的补光灯配件,启动所述摄像装置,控制点亮所述补光灯等),该芯片具体用于芯片系统,该芯片系统可以由芯片构成,也可以包括芯片和其他分立器件。当实现上述方法的为终端设备内的芯片时,芯片包括处理单元,进一步的,芯片还可以包括通信单元,所述处理单元例如可以是处理器,当芯片包括通信单元时,所述通信单元例如可以是输入/输出接口、管脚或电路等。处理单元执行本申请实施例中各个处理模块(例如图15-图16中的处理模块)所执行的全部或部分动作,通信单元可执行相应的接收 或发送动作,在另一具体的实施例中,本申请中的终端设备的处理模块可以是芯片的处理单元,终端设备的接收模块或发送模块是芯片的通信单元。
实现上述各方法实施例的全部或部分步骤可以通过程序指令相关的硬件来完成。前述的程序可以存储于一可读取存储器中。该程序在执行时,执行包括上述各方法实施例的步骤;而前述的存储器(存储介质)包括:只读存储器(read-only memory,ROM)、RAM、快闪存储器、硬盘、固态硬盘、磁带(magnetic tape)、软盘(floppy disk)、光盘(optical disc)及其任意组合。
本申请实施例是参照根据本申请实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理单元以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理单元执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。
显然,本领域的技术人员可以对本申请实施例进行各种改动和变型而不脱离本申请的精神和范围。这样,倘若本申请实施例的这些修改和变型属于本申请权利要求及其等同技术的范围之内,则本申请也意图包含这些改动和变型在内。
在本申请中,术语“包括”及其变形可以指非限制性的包括;术语“或”及其变形可以指“和/或”。本本申请中术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。本申请中,“多个”是指两个或两个以上。“和/或”,描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。字符“/”一般表示前后关联对象是一种“或”的关系。

Claims (23)

  1. 一种补光控制方法,其特征在于,应用于电子设备,所述电子设备中包括摄像装置,所述方法包括:
    在获取到摄像启动指令之后,判断是否存在可用的补光灯配件,所述补光灯配件中包括补光灯;
    在确定存在可用的补光灯配件后,启动所述摄像装置,并控制点亮所述补光灯。
  2. 根据权利要求1所述的方法,其特征在于,所述电子设备和所述补光灯配件中分别设置有无线充电部件;在确定存在可用的补光灯配件后,还包括:
    控制所述电子设备中的无线充电部件向所述补光灯配件中的无线充电部件充电,其中,所述补光灯配件中的无线充电部件用于向所述补光灯供电。
  3. 根据权利要求1或2所述的方法,其特征在于,控制点亮所述补光灯,包括:
    获取所述补光灯的补光参数,所述补光参数包括如下至少一种:补光灯的模式、补光灯的亮度;
    根据所述补光参数,控制点亮所述补光灯。
  4. 根据权利要求3所述的方法,其特征在于,获取所述补光灯的补光参数,包括:
    获取环境亮度和/或所述摄像装置拍摄得到的图像;
    根据所述环境亮度和/或所述摄像装置拍摄得到的图像,确定所述补光参数。
  5. 根据权利要求1-4任一项所述的方法,其特征在于,控制点亮所述补光灯,包括:
    获取环境亮度和/或所述摄像装置拍摄得到的图像的亮度;
    在确定所述环境亮度小于第一阈值,和/或所述摄像装置拍摄得到的图像的亮度小于第二阈值时,控制点亮所述补光灯。
  6. 根据权利要求2-5任一项所述的方法,其特征在于,判断是否存在可用的补光灯配件,包括:
    判断预设存储空间中是否存在补光灯配件标志位;
    若是,则确定存在可用的补光灯配件;
    若否,则确定不存在可用的补光灯配件。
  7. 根据权利要求6所述的方法,其特征在于,在获取到摄像启动指令之前,还包括:
    进行补光灯配件检测;
    若检测到可用的补光灯配件,则在所述预设存储空间中写入所述补光灯配件标志位;
    若未检测到可用的补光灯配件,则判断所述预设存储空间中是否包括所述补光灯配件标志位,若是,删除所述补光灯配件标志位。
  8. 根据权利要求7所述的方法,其特征在于,所述电子设备和所述补光灯配件中分别设置有近场通信NFC器件和磁场传感器;进行补光灯配件检测,包括:
    通过所述电子设备中的磁场传感器检测磁场信号;
    在所述电子设备中的磁场传感器检测到磁场信号之后,通过所述电子设备中的NFC器件读取所述补光灯配件中的NFC器件发送的NFC信息,所述NFC信息用于指示所述补光灯配件的信息;
    判断所述NFC信息是否指示补光灯配件,若是,则确定检测到可用的补光灯配件,若否,则确定未检测到可用的补光灯配件。
  9. 根据权利要求1-8任一项所述的方法,其特征在于,在确定存在可用的补光灯配件后, 还包括:
    显示补光灯控制图标;
    接收用户对所述补光灯控制图标输入的控制指令;
    根据所述控制指令,控制所述补光灯。
  10. 一种补光灯配件,其特征在于,包括:补光灯、固定部件、通信部件、控制部件和供电部件,所述补光灯、所述通信部件、所述控制部件和所述供电部件设置在所述固定部件上,其中,
    所述固定部件用于固定在电子设备上,所述电子设备中包括摄像装置;
    所述通信部件用于接收所述电子设备发送的控制指令,并向所述控制部件发送所述控制指令;
    所述控制部件用于根据所述控制指令控制所述补光灯,所述供电部件用于向所述补光灯供电,所述补光灯用于向所述摄像装置的拍摄环境补光。
  11. 根据权利要求10所述的补光灯配件,其特征在于,所述供电部件为第一无线充电部件,所述电子设备还包括第二无线充电部件,其中,
    所述第一无线充电部件用于接收所述第二无线充电部件的充电。
  12. 根据权利要求10或11所述的补光灯配件,其特征在于,所述控制指令中包括补光参数,所述补光参数包括如下至少一种:补光灯的模式、补光灯的亮度;
    所述控制部件还用于,根据接收到的所述电子设备发送的所述控制指令中的所述补光参数控制点亮所述补光灯。
  13. 根据权利要求10-12任一项所述的补光灯配件,其特征在于,所述补光灯配件还包括发现部件,所述发现部件设置在所述固定部件上,其中,
    所述发现部件用于使得所述电子设备发现所述补光灯配件。
  14. 根据权利要求13所述的补光灯配件,其特征在于,所述发现部件包括磁场传感器和/或近场通信NFC器件,其中,
    所述磁场传感器用于发射磁场信号;
    所述NFC器件用于向所述电子设备中的NFC器件发送NFC信息,所述NFC信息用于指示所诉补光配件的信息。
  15. 一种电子设备,其特征在于,包括存储器和处理器,所述处理器执行所述存储器中的程序指令,以使得所述电子设备执行如下步骤:
    在获取到摄像启动指令之后,判断是否存在可用的补光灯配件,所述补光灯配件中包括补光灯;
    在确定存在可用的补光灯配件后,启动所述摄像装置,并控制点亮所述补光灯。
  16. 根据权利要求15所述的电子设备,其特征在于,所述电子设备和所述补光灯配件中还分别包括无线充电部件;所述处理器还用于:
    在确定存在可用的补光灯配件后,控制所述电子设备中的无线充电部件向所述补光灯配件中的无线充电部件充电,其中,所述补光灯配件中的无线充电部件用于向所述补光灯供电。
  17. 根据权利要求15或16所述的电子设备,其特征在于,所述处理器具体用于:
    获取所述补光灯的补光参数,所述补光参数包括如下至少一种:补光灯的模式、补光灯的亮度;
    根据所述补光参数,控制点亮所述补光灯。
  18. 根据权利要求17所述的电子设备,其特征在于,所述处理器具体用于:
    获取环境亮度和/或所述摄像装置拍摄得到的图像;
    根据所述环境亮度和/或所述摄像装置拍摄得到的图像,确定所述补光参数。
  19. 根据权利要求15-18任一项所述的电子设备,其特征在于,所述处理器具体用于:
    获取环境亮度和/或所述摄像装置拍摄得到的图像的亮度;
    在确定所述环境亮度小于第一阈值,和/或所述摄像装置拍摄得到的图像的亮度小于第二阈值时,控制点亮所述补光灯。
  20. 根据权利要求16-19任一项所述的电子设备,其特征在于,所述处理器具体用于:
    判断所述存储器的预设存储空间中是否存在补光灯配件标志位;
    若是,则确定存在可用的补光灯配件;
    若否,则确定不存在可用的补光灯配件。
  21. 根据权利要求20所述的电子设备,其特征在于,在所述处理器获取到摄像启动指令之前,所述处理器还用于:
    进行补光灯配件检测;
    若检测到可用的补光灯配件,则在所述预设存储空间中写入所述补光灯配件标志位;
    若未检测到可用的补光灯配件,则判断所述预设存储空间中是否包括所述补光灯配件标志位,若是,删除所述补光灯配件标志位。
  22. 根据权利要求21所述的电子设备,其特征在于,所述电子设备和所述补光灯配件中分别设置有近场通信NFC器件和磁场传感器,其中,
    所述电子设备中的磁场传感器用于检测磁场信号;
    所述处理器还用于,在确定所述电子设备中的磁场传感器检测到磁场信号之后,控制所述电子设备中的NFC器件读取所述补光灯配件中的NFC器件发送的NFC信息,所述NFC信息用于指示所述补光灯配件的信息;
    所述处理器还用于,判断所述NFC信息是否指示补光灯配件,若是,则确定检测到可用的补光灯配件,若否,则确定未检测到可用的补光灯配件。
  23. 根据权利要求15-22任一项所述的电子设备,其特征在于,所述电子设备还包括显示器,其中,
    所述显示器用于,在所述处理器确定存在可用的补光灯配件后,显示补光灯控制图标;
    所述处理器还用于,接收用户对所述补光灯控制图标输入的控制指令,并根据所述控制指令,控制所述补光灯。
PCT/CN2020/092226 2019-05-30 2020-05-26 补光控制方法、补光灯配件及电子设备 Ceased WO2020238877A1 (zh)

Priority Applications (4)

Application Number Priority Date Filing Date Title
EP20814939.3A EP3926943B1 (en) 2019-05-30 2020-05-26 Supplementary lighting control method, supplementary lighting lamp accessory, and electronic device
JP2021560670A JP7309906B2 (ja) 2019-05-30 2020-05-26 照明器制御方法、照明器具、および電子デバイス
US17/437,733 US20220155656A1 (en) 2019-05-30 2020-05-26 Illuminator control method, illuminator fitting, and electronic device
KR1020217040642A KR20220008308A (ko) 2019-05-30 2020-05-26 조명 장치 제어 방법, 조명 장치 피팅 및 전자 장치

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910464034.9 2019-05-30
CN201910464034.9A CN110351479A (zh) 2019-05-30 2019-05-30 补光控制方法、补光灯配件及电子设备

Publications (1)

Publication Number Publication Date
WO2020238877A1 true WO2020238877A1 (zh) 2020-12-03

Family

ID=68174403

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/092226 Ceased WO2020238877A1 (zh) 2019-05-30 2020-05-26 补光控制方法、补光灯配件及电子设备

Country Status (6)

Country Link
US (1) US20220155656A1 (zh)
EP (1) EP3926943B1 (zh)
JP (1) JP7309906B2 (zh)
KR (1) KR20220008308A (zh)
CN (2) CN116668855A (zh)
WO (1) WO2020238877A1 (zh)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116668855A (zh) * 2019-05-30 2023-08-29 华为技术有限公司 补光控制方法、补光灯配件及电子设备
CN111629132A (zh) * 2020-05-19 2020-09-04 维沃移动通信有限公司 电子设备
CN111590639A (zh) * 2020-06-08 2020-08-28 广东电网有限责任公司 一种变电站巡检机器人自动补光系统、方法及巡检机器人
CN114363997B (zh) * 2020-09-29 2024-08-09 华为技术有限公司 一种充电方法及装置
WO2022247435A1 (zh) * 2021-05-26 2022-12-01 Oppo广东移动通信有限公司 电子设备、补光模组、保护壳、控制方法、装置及介质
CN115412631B (zh) * 2021-05-26 2024-05-14 Oppo广东移动通信有限公司 电子设备、补光模组、保护壳、控制方法、装置及介质

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105429199A (zh) * 2015-11-11 2016-03-23 上海斐讯数据通信技术有限公司 反向充电移动终端和方法
CN106125456A (zh) * 2016-06-23 2016-11-16 上海与德通讯技术有限公司 闪光灯及移动终端的补光方法
CN106210488A (zh) * 2016-09-09 2016-12-07 珠海福普光电技术有限公司 一种外置闪光灯的控制方法、控制装置和外置闪光灯
CN107272302A (zh) * 2016-04-01 2017-10-20 杨伟毅 外挂闪光灯以及使用其的拍照系统
EP3249462A1 (en) * 2016-05-25 2017-11-29 Olympus Corporation Flash unit and emitted light amount control method
CN109917604A (zh) * 2019-04-21 2019-06-21 深圳市星辰光华科技有限公司 便携式补光灯
CN110351479A (zh) * 2019-05-30 2019-10-18 华为技术有限公司 补光控制方法、补光灯配件及电子设备

Family Cites Families (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007133316A (ja) * 2005-11-14 2007-05-31 Fujifilm Corp カメラアクセサリ及びカメラ
CN102466211A (zh) * 2010-11-17 2012-05-23 芯讯通无线科技(上海)有限公司 闪光灯附件、移动终端、闪光灯系统以及实现闪光的方法
JP5733788B2 (ja) 2010-12-02 2015-06-10 埼玉日本電気株式会社 携帯電子機器、そのデータ処理方法およびコンピュータプログラム
JP6223576B2 (ja) 2014-01-10 2017-11-01 フィリップス ライティング ホールディング ビー ヴィ アドレス指定可能な照明のためのタブレットに基づくコミッショニングツール
CN104362703B (zh) * 2014-11-25 2017-11-14 小米科技有限责任公司 无线充电方法及装置
CN204967878U (zh) * 2015-08-03 2016-01-13 霍豪 一种具有增强手机拍照补光功能的手机壳
JP6125057B1 (ja) 2016-01-26 2017-05-10 レノボ・シンガポール・プライベート・リミテッド 充電電力の融通方法および電子機器
CN205485222U (zh) * 2016-02-02 2016-08-17 刘思健 一种手机外置氙气闪光灯
CN206728105U (zh) * 2017-05-23 2017-12-08 姚荣华 手机摄影保护套
CN208015816U (zh) * 2018-03-26 2018-10-26 深圳海格斯通实业有限公司 配件连接装置
CN108631401B (zh) * 2018-05-23 2020-07-28 北京小米移动软件有限公司 充电电路、方法、电子设备和存储介质
CN108600487A (zh) * 2018-07-04 2018-09-28 西南大学 石墨烯柔性轻量化智能手机壳
CN109547606A (zh) * 2019-02-01 2019-03-29 京东方科技集团股份有限公司 摄像头可旋转的电子设备、控制方法及控制装置

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105429199A (zh) * 2015-11-11 2016-03-23 上海斐讯数据通信技术有限公司 反向充电移动终端和方法
CN107272302A (zh) * 2016-04-01 2017-10-20 杨伟毅 外挂闪光灯以及使用其的拍照系统
EP3249462A1 (en) * 2016-05-25 2017-11-29 Olympus Corporation Flash unit and emitted light amount control method
CN106125456A (zh) * 2016-06-23 2016-11-16 上海与德通讯技术有限公司 闪光灯及移动终端的补光方法
CN106210488A (zh) * 2016-09-09 2016-12-07 珠海福普光电技术有限公司 一种外置闪光灯的控制方法、控制装置和外置闪光灯
CN109917604A (zh) * 2019-04-21 2019-06-21 深圳市星辰光华科技有限公司 便携式补光灯
CN110351479A (zh) * 2019-05-30 2019-10-18 华为技术有限公司 补光控制方法、补光灯配件及电子设备

Also Published As

Publication number Publication date
JP2022526857A (ja) 2022-05-26
JP7309906B2 (ja) 2023-07-18
CN110351479A (zh) 2019-10-18
EP3926943B1 (en) 2024-05-01
CN116668855A (zh) 2023-08-29
KR20220008308A (ko) 2022-01-20
EP3926943A4 (en) 2022-05-18
EP3926943A1 (en) 2021-12-22
US20220155656A1 (en) 2022-05-19

Similar Documents

Publication Publication Date Title
WO2020238877A1 (zh) 补光控制方法、补光灯配件及电子设备
US9766785B2 (en) Selectively tranferring image data from user equipment to external device
WO2020216156A1 (zh) 投屏方法和计算设备
US20130050122A1 (en) Controlling user equipment as touch pad for external device connected thereto
CN110459180B (zh) 驱动控制方法、装置及显示装置
CN110147805A (zh) 图像处理方法、装置、终端及存储介质
US20210264876A1 (en) Brightness adjustment method and device, mobile terminal and storage medium
CN106203254B (zh) 一种调整拍照方向的方法及装置
US10275056B2 (en) Method and apparatus for processing input using display
KR20190041826A (ko) 전자 장치 및 그 제어 방법
CN111611034A (zh) 屏幕显示调节方法、装置及存储介质
CN105679221A (zh) 一种色差的检测方法、检测装置以及终端
CN117093165A (zh) 设备控制方法和终端设备
CN108174086B (zh) 拍摄方法及相关产品
CN106954321A (zh) 调节灯光的方法及装置
US11061513B2 (en) Method for controlling display device, and display device
WO2022111690A1 (zh) 一种共享输入设备的方法、电子设备及系统
WO2024245158A1 (zh) 充电方法、充电装置、电子设备及可读存储介质
US20130326092A1 (en) Processing input event of external device
US10699384B2 (en) Image processing apparatus and control method thereof
KR20180060685A (ko) 전자 장치 및 그의 제어 방법
CN116339877A (zh) 跨系统运行应用程序的方法及电子设备
CN112073617B (zh) 补光方法、补光装置、计算机可读存储介质和电子设备
CN105161780B (zh) 终端设备充电方法和终端设备
WO2022068592A1 (zh) 一种显示方法及电子设备

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20814939

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2020814939

Country of ref document: EP

Effective date: 20210914

ENP Entry into the national phase

Ref document number: 2021560670

Country of ref document: JP

Kind code of ref document: A

NENP Non-entry into the national phase

Ref country code: DE

ENP Entry into the national phase

Ref document number: 20217040642

Country of ref document: KR

Kind code of ref document: A