CN112135064A - Control method, flash lamp, control device and readable storage medium - Google Patents

Control method, flash lamp, control device and readable storage medium Download PDF

Info

Publication number
CN112135064A
CN112135064A CN202010975382.5A CN202010975382A CN112135064A CN 112135064 A CN112135064 A CN 112135064A CN 202010975382 A CN202010975382 A CN 202010975382A CN 112135064 A CN112135064 A CN 112135064A
Authority
CN
China
Prior art keywords
electronic device
flash
flash lamp
light source
light
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202010975382.5A
Other languages
Chinese (zh)
Other versions
CN112135064B (en
Inventor
杨建国
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Oppo Chongqing Intelligent Technology Co Ltd
Original Assignee
Oppo Chongqing Intelligent Technology 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 Oppo Chongqing Intelligent Technology Co Ltd filed Critical Oppo Chongqing Intelligent Technology Co Ltd
Priority to CN202010975382.5A priority Critical patent/CN112135064B/en
Publication of CN112135064A publication Critical patent/CN112135064A/en
Application granted granted Critical
Publication of CN112135064B publication Critical patent/CN112135064B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/70Circuitry for compensating brightness variation in the scene
    • H04N23/74Circuitry for compensating brightness variation in the scene by influencing the scene brightness using illuminating means
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/66Remote control of cameras or camera parts, e.g. by remote control devices

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Stroboscope Apparatuses (AREA)
  • Studio Devices (AREA)

Abstract

The application discloses a control method, a flash lamp, a control device and a readable storage medium. The control method is used for the flash lamp, the flash lamp is externally arranged on the electronic device, and the control method comprises the following steps: when the flash lamp and the electronic device are in a communication range, sending a connection request to the electronic device; responding to a connection permission instruction sent by the electronic device, and enabling the flashlight to be connected with the electronic device in a near field communication mode; and controlling the light source of the flash lamp to emit light in response to a flash instruction of the electronic device. So, establish the connection between flash light and electron device through the near field communication mode, near field communication has characteristics such as transmission speed is fast, time delay is low, the energy consumption is low for the flash light can in time respond to electron device's flash of light instruction, and control light source is luminous, thereby makes the light source can cooperate electron device's shooting better and give out light, in order to obtain better formation of image effect, and lower energy consumption can also promote the duration of a journey ability of flash light.

Description

Control method, flash lamp, control device and readable storage medium
Technical Field
The present application relates to the field of electronic technologies, and in particular, to a control method, a flash lamp, a control device, and a readable storage medium.
Background
At present, a flash lamp of an electronic device such as a mobile phone can emit specific light within a specific time to compensate for shooting light. In the related art, electronic devices such as mobile phones and the like usually adopt an internal flash lamp and an external flash lamp, and when the internal flash lamp cannot meet the requirements of consumers, the external flash lamp can be additionally arranged to improve the illumination condition during shooting. Therefore, how to control the flash lamp when the external flash lamp is used to effectively assist the electronic device to shoot so as to obtain better imaging effect is a technical problem studied by those skilled in the art.
Disclosure of Invention
The embodiment of the application discloses a control method, a flashlight, a control device and a readable storage medium.
The control method of the embodiment of the application is used for a flash lamp, the flash lamp is externally arranged on an electronic device, and the control method is characterized by comprising the following steps: when the flash lamp is in a communication range with the electronic device, sending a connection request to the electronic device; responding to a connection permission instruction sent by the electronic device, and enabling the flashlight to be connected with the electronic device in a near field communication mode; and controlling the light source of the flash lamp to emit light in response to a flash instruction of the electronic device.
The flashlight of the embodiment of the application is externally arranged on the electronic device and comprises a shell, a light source arranged in the shell and a controller connected with the light source; the controller is used for sending a connection request to the electronic device when the flash lamp and the electronic device are in a communication range, establishing connection between the flash lamp and the electronic device in a near field communication mode in response to a connection allowing instruction sent by the electronic device, and controlling the light source of the flash lamp to emit light in response to a flash instruction of the electronic device.
The control device of the embodiment of the application comprises a request module, a connection module and a control module; the request module is used for sending a connection request to the electronic device when the flash lamp and the electronic device are in a communication range; the connection module is used for responding to a connection permission instruction sent by the electronic device and enabling the flashlight to be connected with the electronic device in a near field communication mode; the control module is used for responding to a flash instruction of the electronic device and controlling a light source of the flash lamp to emit light.
The control method of the embodiment of the application is used for an electronic device, and comprises the following steps: when an external flash lamp and the electronic device are in a communication range, receiving a connection request sent by the flash lamp; responding to a connection request, and enabling the flash lamp to be connected with the electronic device in a near field communication mode; and sending a flash instruction to the flash lamp to trigger the light source of the flash lamp to emit light.
According to the control method, the flash lamp, the control device and the readable storage medium, the connection is established between the flash lamp and the electronic device in a near field communication mode, and the near field communication has the characteristics of high transmission speed, low time delay, low energy consumption and the like, so that the flash lamp can respond to a flash instruction of the electronic device in time and control the light source to emit light, and the light source can better cooperate with shooting of the electronic device to emit light to obtain a better imaging effect.
The present embodiment also provides a readable storage medium storing a computer program, which when executed by one or more processors implements the control method described in any one of the above embodiments.
Additional aspects and advantages of the present application will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the present application.
Drawings
The above and/or additional aspects and advantages of the present application will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings of which:
fig. 1 is a schematic flow chart of a control method according to an embodiment of the present application;
FIG. 2 is a schematic perspective view of a flashlight of an embodiment of the present application;
FIG. 3 is a schematic cross-sectional view of a flash lamp according to an embodiment of the present application;
FIG. 4 is a disassembled perspective view of a flashlight of an embodiment of the present application;
FIG. 5 is another schematic flow chart diagram of a control method according to an embodiment of the present application;
fig. 6 is another flowchart illustrating a control method according to an embodiment of the present application;
FIG. 7 is a further schematic flow chart of a control method according to an embodiment of the present application;
FIG. 8 is a block schematic diagram of a control device according to an embodiment of the present application;
FIG. 9 is a schematic flow chart diagram of another control method of an embodiment of the present application;
fig. 10 is a schematic plan view of an electronic device according to an embodiment of the present application.
Description of the main element symbols:
the flashlight 100, the shell 10, the light source 20, the xenon lamp 21, the LED lamp 22, the controller 30, the capacitor 40, the battery 50, the coil 60, the light-transmitting element 70, the focusing light-transmitting element 71, the diffuse reflection light-transmitting element 72 and the mounting part 80;
the system comprises a control device 200, a request module 201, a connection module 202 and a control module 203;
electronic device 1000, processor 1001, shooting module 1002.
Detailed Description
Reference will now be made in detail to embodiments of the present application, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the accompanying drawings are illustrative and are only for the purpose of explaining the present application and are not to be construed as limiting the present application.
In the description of the present application, it is to be noted that, unless otherwise explicitly specified or limited, the terms "mounted," "connected," and "connected" are to be construed broadly, e.g., as meaning either a fixed connection, a removable connection, or an integral connection; may be mechanically connected, may be electrically connected or may be in communication with each other; either directly or indirectly through intervening media, either internally or in any other relationship. The specific meaning of the above terms in the present application can be understood by those of ordinary skill in the art as appropriate.
In this application, unless expressly stated or limited otherwise, the first feature "on" or "under" the second feature may comprise direct contact of the first and second features, or may comprise contact of the first and second features not directly but through another feature in between. Also, the first feature being "on," "above" and "over" the second feature includes the first feature being directly on and obliquely above the second feature, or merely indicating that the first feature is at a higher level than the second feature. A first feature being "under," "below," and "beneath" a second feature includes the first feature being directly under and obliquely below the second feature, or simply meaning that the first feature is at a lesser elevation than the second feature.
The following disclosure provides many different embodiments or examples for implementing different features of the application. In order to simplify the disclosure of the present application, specific example components and arrangements are described below. Of course, they are merely examples and are not intended to limit the present application. Moreover, the present application may repeat reference numerals and/or letters in the various examples, such repetition is for the purpose of simplicity and clarity and does not in itself dictate a relationship between the various embodiments and/or configurations discussed. In addition, examples of various specific processes and materials are provided herein, but one of ordinary skill in the art may recognize applications of other processes and/or use of other materials.
In the related art, the common flash lamp is generally divided into an internal flash lamp and an external flash lamp, and the internal flash lamp is generally integrated with the device and forms an integral body with the device. For example, in an electronic device such as a mobile phone, a built-in flash lamp is generally integrated inside the electronic device such as the mobile phone. However, due to structural limitations of electronic devices such as mobile phones and the like, the size and functions of the built-in flash lamp have certain limitations, so that the external flash lamp needs to be additionally arranged to improve lighting conditions of the electronic devices such as mobile phones and the like during shooting, and thus, the requirements of users are met.
When the external flash lamp is used to assist the electronic device in shooting, how to establish the effective connection between the electronic device and the external flash lamp to control the external flash lamp to work and how to accurately control the lighting time of the external flash lamp to effectively assist the electronic device in shooting become a technical problem researched by those skilled in the art. In the related art, the external flash lamp and the electronic device are usually connected through communication modes such as an earphone interface, bluetooth and Wi-Fi, but the communication modes have certain limitations, which may cause communication delay between the external flash lamp and the electronic device, so that the external flash lamp cannot play an effective light supplementing role in shooting the electronic device.
Referring to fig. 1 to 4, the present disclosure provides a control method for a flash lamp 100, where the flash lamp 100 is externally disposed on an electronic device 1000. The control method comprises the following steps:
s10, sending a connection request to the electronic device 1000 when the flash 100 is in a communication range with the electronic device 1000;
s20, responding to the connection permission instruction sent by the electronic device 1000, establishing a connection between the flash lamp 100 and the electronic device 1000 by near field communication;
s30, in response to the flash command of the electronic device 1000, controlling the light source 20 of the flash 100 to emit light.
Referring to fig. 1, a flashlight 100 according to an embodiment of the present disclosure is externally disposed on an electronic device 1000. The flashlight 100 includes a housing 10, a light source 20 disposed within the housing 10, and a controller 30 connected to the light source 20. The controller 30 is configured to send a connection request to the electronic device 1000 when the flash 100 is in a communication range with the electronic device 1000, and to establish a connection between the flash 100 and the electronic device 1000 through near field communication in response to a connection permission instruction sent by the electronic device 1000, and to control the light source 20 of the flash 100 to emit light in response to a flash instruction of the electronic device 1000.
In the control method and the flash lamp 100, the flash lamp 100 is connected with the electronic device 1000 in a near field communication manner, and the near field communication has the characteristics of high transmission speed, low time delay, low energy consumption and the like, so that the flash lamp 100 can respond to a flash instruction of the electronic device 1000 in time and control the light source 20 to emit light, and the light source 20 can better cooperate with shooting of the electronic device 1000 to emit light, thereby obtaining a better imaging effect.
Specifically, by connecting the flash 100 and the electronic device 1000 in a Near Field Communication (NFC) manner, a stable Near Field connection channel can be established between the flash 100 and the electronic device 1000, and Near Field Communication can efficiently and quickly transmit a flash instruction of the electronic device 1000, so as to reduce a time delay from when the electronic device 1000 sends the flash instruction to when the flash 100 responds to the flash instruction and emits light, so that a light-emitting timing of the flash 100 can be matched with a photographing timing of the electronic device 1000, so that the flash 100 can effectively assist a photographing process of the electronic device 1000, and further improve quality of a photographed image.
Referring to fig. 4 and 5, in some embodiments, step S30 includes.
S31, charging capacitor 40 of flash lamp 100;
s32, in response to the flash command of the electronic device 1000, the capacitor 40 is controlled to discharge to the light source 20 to make the light source 20 emit light.
With continued reference to fig. 4, in some embodiments, the flashlight 100 includes a capacitor 40, and the capacitor 40 is connected to the light source 20. The controller 30 is configured to charge the capacitor 40 of the flash 100, and is configured to control the capacitor 40 to discharge to the light source 20 to enable the light source 20 to emit light in response to a flash command of the electronic device 1000.
In this way, the capacitor 40 of the flash lamp 100 may be charged in response to a flash command issued by the electronic device 1000, so as to control the capacitor 40 of the flash lamp 100 to discharge to the light source 20, so as to make the light source 20 emit light, thereby playing a role of supplementing light for shooting of the electronic device 1000.
Specifically, the capacitor 40 may be a high-voltage capacitor 40, after the flash lamp 100 is connected to the electronic device 1000, the capacitor 40 may start to be charged, after the capacitor 40 is charged, the flash lamp 100 receives a flash instruction of the electronic device 1000, and the controller 30 controls the capacitor 40 to discharge to the light source 20, because a high voltage is stored in the capacitor 40 serving as the high-voltage capacitor 40, a large current may be generated at the moment of discharging to the light source 20, so that the light source 20 may emit a strong light to supplement light for a shooting scene.
Referring to fig. 6, in some embodiments, between steps S20 and S30, the control method includes:
s301, the flash 100 is controlled to initialize.
In some embodiments, controller 30 is used to control flash 100 initialization.
In this manner, after the connection between the flash 100 and the electronic device 1000 is established, the flash 100 is controlled to be initialized so as to reset the flash 100 to the default state, so that the flash 100 can normally receive and respond to the flash instruction from the electronic device 1000 in step S30, and the light source 20 can be normally controlled to emit light.
Specifically, the flash instruction may be triggered by a user at the electronic device 1000 through touch or pressing a button, and a trigger time of the flash instruction may be consistent with a shutter time of the electronic device 1000, so that the flash 100 flashes to assist in shooting the electronic device 1000.
Referring to fig. 7, in some embodiments, the control method further includes:
s40, acquiring the power of the battery 50 of the flash lamp 100;
s50, when the amount of power is less than the power threshold, the coil 60 of the flashlight 100 is used to obtain power of the electronic device 1000 to charge the battery 50.
Referring to fig. 4 in combination, in some embodiments, flashlight 100 includes a battery 50 and a coil 60 connected to battery 50. The battery 50 is used to store power. The coil 60 is used to charge the battery 50 by electromagnetic induction. The controller 30 is configured to obtain the power of the battery 50 of the flash 100, and obtain the power of the electronic device 1000 through the coil 60 of the flash 100 to charge the battery 50 when the power is less than the power threshold.
So, can charge for the battery 50 of flash light 100 through the coil 60 of flash light 100, utilize the electromagnetic induction of coil 60 to adopt wireless charging's mode to charge for battery 50, the user need not to use in addition to charge the line and charge battery 50, and the charging mode convenient and fast is favorable to promoting user experience.
Specifically, a charging coil 60 may be disposed on the electronic device 1000, the charging coil 60 is connected to a battery 50 assembly of the electronic device 1000, and the charging coil 60 may be configured to obtain electric energy of the battery 50 assembly and cooperate with the coil 60 through electromagnetic induction to charge the battery 50.
In the present embodiment, the battery 50 may be used to charge the capacitor 40, such that the controller 30 communicates the circuit connection between the capacitor 40 and the battery 50 after each time the capacitor 40 discharges the light source 20, such that the battery 50 supplements the capacitor 40 with electricity in a timely manner.
In the present embodiment, a nickel-metal hydride battery or a lithium battery, both of which have a long life and a large capacitance, may be used as the battery 50, and a secondary battery may effectively improve the life and endurance of the flashlight 100.
More, the battery 50 can also be charged by wired charging, for example, the battery 50 is charged by using a Type-c interface.
In some embodiments, battery 50 may also be used to power controller 30 to enable controller 30 to remain on, thereby enabling continuous control of flashlight 100.
Referring to fig. 3 and 4, in some embodiments, the coil 60 includes an NFC coil, and the control method includes:
near field communication is achieved with the electronic device 1000 through the NFC coil.
In certain embodiments, coil 60 comprises. The controller 30 is configured to implement near field communication with the electronic apparatus 1000 through the NFC coil.
As such, stable near field communication can be established between the flash lamp 100 and the electronic device 1000 through the NFC coil.
Specifically, in one example, a connection component may be disposed in the electronic device 1000 corresponding to the NFC coil, and the connection component is configured to receive a connection request from the flash lamp 100 and transmit a flash instruction to the flash lamp 100.
In other embodiments, a stable communication connection may also be established between the flash 100 and the electronic device 1000 through ZigBee (ZigBee), and components connected to ZigBee may be correspondingly provided in the flash 100 and the electronic device 1000. ZigBee is also a short-distance transmission mode, has low power consumption, low cost and connects stable characteristics, can establish stable communication connection between flash light 100 and electronic device 1000.
Referring to fig. 3 and 4, in some embodiments, the flashlight 100 further includes a light transmissive member 70. The light-transmitting member 70 is disposed in the housing 10 above the light source 20, and light emitted from the light source 20 can exit through the light-transmitting member 70.
In this way, the light emitted from the light source 20 disposed in the housing 10 can exit through the light-transmitting element 70 to illuminate the external space, so as to supplement light for the shooting of the electronic device 1000, thereby improving the quality of the shot image.
Specifically, in the present embodiment, the light source 20 may include the xenon lamp 21 and the LED lamp 22, and the light transmitting member 70 may include a focusing light transmitting member 71 and a diffuse reflection light transmitting member 72. The xenon lamp 21 has high brightness, and light emitted by the xenon lamp 21 is emitted to an external space through the focusing light-transmitting element 71 and is converged on a shot object, so that an obvious light supplementing effect is performed on the shot object. The light that LED lamp 22 sent is used for shining the exterior space through diffuse reflection printing opacity component 72, the light that LED lamp 22 sent is after passing diffuse reflection printing opacity component 72, can carry out the irregular propagation towards exterior space not equidirectional, because xenon lamp 21 sends the strong light and makes on being shot the object and can form great shadow by shooting object backlight department, the quality of formation of image is shot in the influence, the light of the irregular propagation that passes diffuse reflection printing opacity component 72 that LED lamp 22 sent, after the irregular propagation, can carry out the light filling to the part in a poor light of being shot the object, thereby can reduce the shadow, promote the quality of shooing the image.
With reference to fig. 4, in an example, the controller 30 is a control circuit board, the xenon lamp 21 and the LED lamps 22 are disposed on one side of the controller 30, the xenon lamp 21 is disposed in the center of the controller 30, the number of the LED lamps 22 is plural, and the plural LED lamps 22 are disposed in an annular array around the center of the controller 30. Accordingly, the light transmitting member 70 is disposed above the controller 30, the focusing light transmitting member 71 is disposed at the center position of the light transmitting member 70 corresponding to the xenon lamp 21, and the diffuse reflection light transmitting member 72 is disposed around the focusing light transmitting member 71 corresponding to the LED lamp 22.
Further, the focusing light-transmitting element may be a fresnel lens, and the fresnel lens can converge the light emitted from the light source 20 and reduce the attenuation of the light in the fresnel lens, so as to further improve the brightness of the light irradiated to the external space by the flash lamp 100.
The diffuse reflection light-transmitting element can be a diffuse reflection plate made of a PCB (printed Circuit Board) or a soft light cover consisting of ground glass and fluorescent powder, and both the diffuse reflection plate and the soft light cover have high diffuse reflection capability.
Of course, in other embodiments, the light source 20 may be a combination of other optical devices or a single device, and the light-transmitting element 70 disposed corresponding to the light source 20 may also be another light-transmitting material, as the case may be.
Referring to fig. 3, in some embodiments, flashlight 100 includes a mounting portion 80. A mounting portion 80 is provided on the housing 10, and the mounting portion 80 is used to detachably mount the flash 100 to the electronic device 1000.
Thus, the flashlight 100 can be installed on the electronic device 1000 through the installation portion 80, so that a user does not need to hold the flashlight 100 in use, the use of the user is facilitated, and the user experience is improved.
Specifically, the mounting portion 80 may mount the flashlight 100 on the electronic device 1000 by means including, but not limited to, a suction cup, a magnet, a sticker, etc. In the embodiment of the present application, the installation portion 80 is a suction cup and is disposed at the bottom of the housing 10, and the installation portion 80 attracts the flash lamp 100 to the electronic device 1000 through the suction cup, so that the assembling and disassembling manner is simple and fast, and the operation is convenient.
Referring to fig. 8, a control device 200 according to an embodiment of the present disclosure includes a request module 201, a connection module 202, and a control module 203. The request module 201 is configured to send a connection request to the electronic device 1000 when the flash 100 is in a communication range with the electronic device 1000. The connection module 202 is configured to enable the flashlight 100 to establish a connection with the electronic device 1000 through a near field communication manner in response to a connection permission instruction sent by the electronic device 1000. The control module 203 is used for controlling the light source 20 of the flash lamp 100 to emit light in response to a flash instruction of the electronic device 1000.
Referring to fig. 9, a control method according to an embodiment of the present application is applied to an electronic device 1000, and the control method includes:
s01, receiving a connection request sent by the external flash 100 when the external flash 100 and the electronic device 1000 are in a communication range;
s02, responding to the connection request, establishing a connection between the flash lamp 100 and the electronic device 1000 by near field communication;
s03, a flash instruction is sent to the flash 100 to trigger the light source 20 of the flash 100 to emit light.
In the electronic device 200, the connection between the flash lamp 100 and the electronic device 1000 is established in a near field communication manner, and the near field communication has the characteristics of high transmission speed, low time delay, low energy consumption and the like, so that the flash lamp 100 can respond to a flash instruction of the electronic device 1000 in time and control the light source 20 to emit light, and the light source 20 can better cooperate with the shooting of the electronic device 1000 to emit light, thereby obtaining a better imaging effect.
Referring to fig. 10, an electronic device 1000 according to an embodiment of the present disclosure is further provided, where the electronic device 1000 includes a processor 1001, and the processor 1001 is configured to receive a connection request sent by the flashlight 100 when the external flashlight 100 is in a communication range with the electronic device 1000; and is used for responding to the connection request, establishing connection between the flashlight 100 and the electronic device 1000 in a near field communication mode; and a light source 20 for sending a flash instruction to the flash 100 to trigger the flash 100 to emit light.
Referring to fig. 10, the electronic device 1000 includes a camera module 1002, and the flash 100 can be installed around the camera module 1002, so that when the camera module 1002 takes a picture, the flash 100 can supplement light for the camera module 1002 to obtain better image quality.
The electronic device 1000 of the present embodiment may include, but is not limited to, a mobile phone, a tablet computer, a digital camera, and other devices having a shooting function.
The present embodiment also provides a readable storage medium storing a computer program, which when executed by one or more processors 1001, implements the control method of any of the above embodiments.
In the description herein, references to the description of the terms "one embodiment," "certain embodiments," "an illustrative embodiment," "an example," "a specific example," or "some examples," etc., mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. In this specification, schematic representations of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
Moreover, any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more executable instructions for implementing specific logical functions or steps of the process, and alternate implementations are included within the scope of the preferred embodiment of the present invention in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the present invention.
The logic and/or steps represented in the flowcharts or otherwise described herein, e.g., an ordered listing of executable instructions that can be considered to implement logical functions, can be embodied in any computer-readable medium for use by or in connection with an instruction execution system, apparatus, or device, such as a computer-based system, processor-containing system, or other system that can fetch the instructions from the instruction execution system, apparatus, or device and execute the instructions. For the purposes of this description, a "computer-readable medium" can be any means that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device. More specific examples (a non-exhaustive list) of the computer-readable medium would include the following: an electrical connection (electronic device) having one or more wires, a portable computer diskette (magnetic device), a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disc read-only memory (CDROM). Additionally, the computer-readable medium could even be paper or another suitable medium upon which the program is printed, as the program can be electronically captured, via for instance optical scanning of the paper or other medium, then compiled, interpreted or otherwise processed in a suitable manner if necessary, and then stored in a computer memory.
It should be understood that portions of the present invention may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, the various steps or methods may be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, any one or combination of the following techniques, which are known in the art, may be used: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application specific integrated circuit having an appropriate combinational logic gate circuit, a Programmable Gate Array (PGA), a Field Programmable Gate Array (FPGA), or the like.
It will be understood by those skilled in the art that all or part of the steps carried by the method for implementing the above embodiments may be implemented by hardware that is related to instructions of a program, and the program may be stored in a computer-readable storage medium, and when executed, the program includes one or a combination of the steps of the method embodiments.
In addition, functional units in the embodiments of the present invention may be integrated into one processing module, or each unit may exist alone physically, or two or more units are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. The integrated module, if implemented in the form of a software functional module and sold or used as a separate product, may also be stored in a computer readable storage medium.
The storage medium mentioned above may be a read-only memory, a magnetic or optical disk, etc. Although embodiments of the present invention have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting the present invention, and that variations, modifications, substitutions and alterations can be made to the above embodiments by those of ordinary skill in the art within the scope of the present invention.
Finally, while embodiments of the present invention have been shown and described above, it will be understood by those of ordinary skill in the art that: various changes, modifications, substitutions and alterations can be made to the embodiments without departing from the principles and spirit of the invention, the scope of which is defined by the claims and their equivalents.

Claims (15)

1. A control method for a flash lamp, the flash lamp being externally arranged on an electronic device, the control method comprising:
when the flash lamp is in a communication range with the electronic device, sending a connection request to the electronic device;
responding to a connection permission instruction sent by the electronic device, and enabling the flashlight to be connected with the electronic device in a near field communication mode;
and controlling the light source of the flash lamp to emit light in response to a flash instruction of the electronic device.
2. The control method according to claim 1, wherein the controlling of the light source of the flash to emit light in response to a flash instruction of the electronic device includes.
Charging a capacitor of the flash lamp;
and controlling the capacitor to discharge to the light source to enable the light source to emit light in response to a flash instruction of the electronic device.
3. The control method according to claim 1, wherein between the step of establishing connection of the flash with the electronic device by near field communication in response to the connection permission instruction transmitted by the electronic device and the step of controlling light emission of the light source of the flash in response to the flash instruction of the electronic device, the control method further comprises:
and controlling the flash lamp to initialize.
4. The control method according to claim 1, characterized by further comprising:
acquiring the electric quantity of a battery of the flash lamp;
and when the electric quantity is smaller than the electric quantity threshold value, acquiring the electric energy of the electronic device through the coil of the flash lamp so as to charge the battery.
5. The control method of claim 4, wherein the coil comprises an NFC coil, the control method comprising:
the near field communication is achieved with the electronic device through the NFC coil.
6. A flashlight, wherein the flashlight is external to an electronic device, the flashlight comprising:
a housing;
a light source disposed within the housing; and
the controller is used for sending a connection request to the electronic device when the flash lamp and the electronic device are in a communication range, establishing connection between the flash lamp and the electronic device in a near field communication mode in response to a connection permission instruction sent by the electronic device, and controlling the light source of the flash lamp to emit light in response to a flash instruction of the electronic device.
7. The flash of claim 6, wherein the flash comprises a capacitor, the capacitor being connected to the light source;
the controller is used for charging a capacitor of the flash lamp and controlling the capacitor to discharge to the light source to enable the light source to emit light in response to a flash instruction of the electronic device.
8. The flash of claim 6, wherein the controller is configured to control the flash to initialize.
9. The flash of claim 6, wherein the flash comprises:
a battery for storing an amount of power; and
a coil connected to the battery, the coil being configured to charge the battery by electromagnetic induction;
the controller is used for acquiring the electric quantity of a battery of the flash lamp and acquiring the electric energy of the electronic device through the coil of the flash lamp to charge the battery when the electric quantity is smaller than an electric quantity threshold value.
10. The flashlight of claim 9, wherein the coil comprises an NFC coil, and wherein the controller is configured to enable the near field communication with the electronic device via the NFC coil.
11. The flash of claim 6 further comprising a light transmissive element disposed within the housing above the light source, the light emitted by the light source being capable of exiting through the light transmissive element.
12. The flashlight of claim 6, including a mounting portion disposed on the housing for removably mounting the electronic device to the electronic device.
13. A control device, characterized in that the control device comprises:
the request module is used for sending a connection request to the electronic device when the flash lamp and the electronic device are in a communication range;
the connection module is used for responding to a connection permission instruction sent by the electronic device and enabling the flashlight to be connected with the electronic device in a near field communication mode; and
and the control module is used for responding to a flash instruction of the electronic device and controlling the light source of the flash lamp to emit light.
14. A control method for an electronic device, the control method comprising:
when an external flash lamp and the electronic device are in a communication range, receiving a connection request sent by the flash lamp;
responding to a connection request, and enabling the flash lamp to be connected with the electronic device in a near field communication mode;
and sending a flash instruction to the flash lamp to trigger the light source of the flash lamp to emit light.
15. A readable storage medium storing a computer program, characterized in that the computer program, when executed by one or more processors, implements the control method of any one of claims 1-5 and claim 14.
CN202010975382.5A 2020-09-16 2020-09-16 Control method, flash lamp, control device and readable storage medium Active CN112135064B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010975382.5A CN112135064B (en) 2020-09-16 2020-09-16 Control method, flash lamp, control device and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010975382.5A CN112135064B (en) 2020-09-16 2020-09-16 Control method, flash lamp, control device and readable storage medium

Publications (2)

Publication Number Publication Date
CN112135064A true CN112135064A (en) 2020-12-25
CN112135064B CN112135064B (en) 2022-03-22

Family

ID=73846811

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010975382.5A Active CN112135064B (en) 2020-09-16 2020-09-16 Control method, flash lamp, control device and readable storage medium

Country Status (1)

Country Link
CN (1) CN112135064B (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070081811A1 (en) * 2005-10-10 2007-04-12 Helbing Rene P Camera flash with improved color balance
CN101839432A (en) * 2010-02-08 2010-09-22 华南师范大学 Projection type LED automobile high beam
CN101881406A (en) * 2010-02-08 2010-11-10 华南师范大学 Reflective and refractive LED automobile lamps
CN102340632A (en) * 2011-09-16 2012-02-01 上海华勤通讯技术有限公司 Wireless lightning flash device, mobile terminal, wireless lightning flash shooting system and method
CN203686833U (en) * 2014-01-23 2014-07-02 钟玉林 Motorcycle LED headlamp
US20140240492A1 (en) * 2013-02-28 2014-08-28 Google Inc. Depth sensor using modulated light projector and image sensor with color and ir sensing
CN204009317U (en) * 2014-06-23 2014-12-10 江西省晶瑞光电有限公司 A kind of LED flashlamp
CN105991917A (en) * 2015-02-06 2016-10-05 深圳富泰宏精密工业有限公司 Flash module and shooting system using flash module
CN106210488A (en) * 2016-09-09 2016-12-07 珠海福普光电技术有限公司 The control method of a kind of external flash lamp, control device and external flash lamp
CN207529081U (en) * 2017-09-30 2018-06-22 维沃移动通信有限公司 A kind of flash lamp module and mobile terminal

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070081811A1 (en) * 2005-10-10 2007-04-12 Helbing Rene P Camera flash with improved color balance
CN101839432A (en) * 2010-02-08 2010-09-22 华南师范大学 Projection type LED automobile high beam
CN101881406A (en) * 2010-02-08 2010-11-10 华南师范大学 Reflective and refractive LED automobile lamps
CN102340632A (en) * 2011-09-16 2012-02-01 上海华勤通讯技术有限公司 Wireless lightning flash device, mobile terminal, wireless lightning flash shooting system and method
US20140240492A1 (en) * 2013-02-28 2014-08-28 Google Inc. Depth sensor using modulated light projector and image sensor with color and ir sensing
CN203686833U (en) * 2014-01-23 2014-07-02 钟玉林 Motorcycle LED headlamp
CN204009317U (en) * 2014-06-23 2014-12-10 江西省晶瑞光电有限公司 A kind of LED flashlamp
CN105991917A (en) * 2015-02-06 2016-10-05 深圳富泰宏精密工业有限公司 Flash module and shooting system using flash module
CN106210488A (en) * 2016-09-09 2016-12-07 珠海福普光电技术有限公司 The control method of a kind of external flash lamp, control device and external flash lamp
CN207529081U (en) * 2017-09-30 2018-06-22 维沃移动通信有限公司 A kind of flash lamp module and mobile terminal

Also Published As

Publication number Publication date
CN112135064B (en) 2022-03-22

Similar Documents

Publication Publication Date Title
KR101227997B1 (en) Light source unit and projector
EP3232124A1 (en) Intelligent lamp group
CN101710922A (en) Shooting method and system based on mobile terminal
KR20130101836A (en) Lighting device and photographing system including the same
CN112135064B (en) Control method, flash lamp, control device and readable storage medium
US20170289418A1 (en) Extension Photoflash Light and Camera System Using the Same
JP2020167822A (en) Wireless power reception device, wireless power transmission device and wireless power transmission system
CN105306812A (en) Image pickup apparatus and control method
US20160342070A1 (en) Flash illumination device for use with electronic apparatus or mobile device
US20050088569A1 (en) External strobe device
JP2016145949A (en) Flash module and photographing system using the same
US20220187684A1 (en) External light source for mobile devices
US6442346B1 (en) Flash apparatus with one-time-use camera
CN103248803A (en) Digital camera
CN115993750A (en) Light emitting device, dimming method, controller, image capturing apparatus, and storage medium
CN112887462A (en) Electronic device
CN204465691U (en) Lighting device
CN213906755U (en) Functional module and electronic equipment
JP6597237B2 (en) Control device, photographing device, communication device, and lighting device
CN213152164U (en) Infrared night vision camera
JP2020039111A (en) Fixed device and mobile phone stand
CN220785475U (en) Alarm type unmanned aerial vehicle battery charging housekeeper and unmanned aerial vehicle battery charging module
EP3096185A1 (en) Flash illumination device for use with electronic apparatus or mobile device
CN213244075U (en) Cell-phone shell with wireless reverse light filling function that charges
CN202602957U (en) Light-emitting diode (LED) photography lamp

Legal Events

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