CN112601328A - Lamp control method and device, lamp and storage medium - Google Patents

Lamp control method and device, lamp and storage medium Download PDF

Info

Publication number
CN112601328A
CN112601328A CN202011492052.7A CN202011492052A CN112601328A CN 112601328 A CN112601328 A CN 112601328A CN 202011492052 A CN202011492052 A CN 202011492052A CN 112601328 A CN112601328 A CN 112601328A
Authority
CN
China
Prior art keywords
light
emitting
parameter
lamp
component
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
CN202011492052.7A
Other languages
Chinese (zh)
Other versions
CN112601328B (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.)
Guangzhou Caiyi Light Co Ltd
Original Assignee
Guangzhou Caiyi Light 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 Guangzhou Caiyi Light Co Ltd filed Critical Guangzhou Caiyi Light Co Ltd
Priority to CN202011492052.7A priority Critical patent/CN112601328B/en
Publication of CN112601328A publication Critical patent/CN112601328A/en
Application granted granted Critical
Publication of CN112601328B publication Critical patent/CN112601328B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05BELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
    • H05B47/00Circuit arrangements for operating light sources in general, i.e. where the type of light source is not relevant
    • H05B47/10Controlling the light source
    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05BELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
    • H05B47/00Circuit arrangements for operating light sources in general, i.e. where the type of light source is not relevant
    • H05B47/10Controlling the light source
    • H05B47/105Controlling the light source in response to determined parameters
    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05BELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
    • H05B47/00Circuit arrangements for operating light sources in general, i.e. where the type of light source is not relevant
    • H05B47/10Controlling the light source
    • H05B47/165Controlling the light source following a pre-assigned programmed sequence; Logic control [LC]
    • 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

Abstract

The application relates to a lamp control method, a lamp control device, computer equipment and a storage medium, and is applicable to the technical field of lamps. The method comprises the following steps: if a starting signal aiming at a light-emitting component in the target lamp is received, detecting whether a first light-emitting parameter is stored in the target lamp; if the light-emitting parameters are stored in the target lamp, extracting the light-emitting parameters, and modulating the light-emitting parameters to obtain a first light-emitting control signal; and controlling the light-emitting component to work based on the first light-emitting control signal. By adopting the method, the work can be carried out according to the first light-emitting parameter stored before the last shutdown without manual intervention, so that the use convenience of the lamp is improved, and a large amount of labor and time cost is saved.

Description

Lamp control method and device, lamp and storage medium
Technical Field
The present application relates to the field of lamp technologies, and in particular, to a lamp control method, an apparatus, a lamp, and a storage medium.
Background
With the development of science and technology, lamps are also continuously developed. The tungsten filament lamp is developed into various five-color lamps from the original common general tungsten filament lamp, preset programs are stored in the lamps, a user can set the lamps into a voice control mode, a master-slave mode or a self-walking mode according to the use environment of the lamps, and the lamps can also be set with proper colors and brightness according to the use conditions.
In the conventional technology, before the lamp is used each time, a light engineer is required to modulate internal parameters of the lamp or a built-in algorithm of the lamp according to the use requirement of the lamp to set the lighting effect of the lamp, so that the lamp achieves the best use effect.
However, since the lighting engineer needs to adjust the parameters of the lighting fixture before each use of the lighting fixture, the lighting fixture is inconvenient to use, and a lot of labor and time costs are wasted.
Disclosure of Invention
In view of the above, it is necessary to provide a method and an apparatus for controlling a lamp, a computer device, and a storage medium, which can solve the problems of inconvenient use of the lamp and waste of a large amount of labor and time costs.
In a first aspect, a luminaire control method is provided, where the method includes:
if a starting signal aiming at a light-emitting component in a target lamp is received, detecting whether a first light-emitting parameter is stored in the target lamp; if the target lamp stores the first light-emitting parameter, extracting the first light-emitting parameter, and modulating the first light-emitting parameter to obtain a first light-emitting control signal; and controlling the light-emitting assembly to work based on the first light-emitting control signal.
In one embodiment, the method further comprises: if the first light-emitting parameter is not stored in the target lamp, detecting whether the target lamp is a master control lamp or not; if the target lamp is the master control lamp, receiving a light-emitting parameter setting instruction, and generating a second light-emitting parameter according to the light-emitting parameter setting instruction; storing the generated second light-emitting parameter into the target lamp, and modulating the generated second light-emitting parameter to obtain a second light-emitting control signal; and controlling the light-emitting component to work based on the second light-emitting control signal.
In one embodiment, a target luminaire includes an input component, a processing component, a storage component, and a modulation component; receiving a lighting parameter setting instruction, comprising: receiving a light-emitting parameter setting instruction input by a user through an input assembly; correspondingly, generating a second lighting parameter according to the lighting parameter setting instruction comprises: generating a second light-emitting parameter according to the light-emitting parameter setting instruction through the processing component; correspondingly, the step of storing the generated second light-emitting parameter into the target lamp comprises the following steps: storing the generated second light-emitting parameters into a storage component of the target lamp; correspondingly, the modulating the generated second light emitting parameter to obtain a second light emitting control signal includes: and modulating the generated second light-emitting parameter through the modulation component to obtain a second light-emitting control signal.
In one embodiment, after generating the second lighting parameter according to the lighting parameter setting instruction, the method further includes: and sending the generated second light-emitting parameters to a plurality of controlled lamps in corresponding relation with the target lamp, so that after each controlled lamp receives the second light-emitting parameters, the second light-emitting parameters are stored and modulated to obtain second light-emitting control signals, and the light-emitting components are controlled to work based on the second light-emitting control signals.
In one embodiment, the method further includes: if the target lamp is the controlled lamp, starting the data receiving assembly; receiving a third light-emitting parameter sent by a master control lamp corresponding to the target lamp based on the data receiving component; storing the received third light-emitting parameter into the target lamp, and modulating the generated third light-emitting parameter to obtain a third light-emitting control signal; and controlling the light-emitting component to work based on the third light-emitting control signal.
In one embodiment, the target luminaire further comprises a data receiving component starting component; opening a data receiving component comprising: and starting the data receiving component through the data receiving component starting component.
In one embodiment, the modulating the first lighting parameter to obtain the first lighting control signal includes: and modulating the first light-emitting parameter into a first level signal which can be identified by a light-emitting component of the target lamp, and obtaining first light-emitting control information based on the first level signal.
In a second aspect, a luminaire control apparatus is provided, the apparatus comprising:
the first detection module is used for detecting whether a first light-emitting parameter is stored in the target lamp or not under the condition that a starting signal aiming at a light-emitting component in the target lamp is received;
the extraction module is used for extracting the first light-emitting parameter under the condition that the first light-emitting parameter is stored in the target lamp;
the first modulation module is used for modulating the first light-emitting parameter to obtain a first light-emitting control signal;
and the first control module is used for controlling the light-emitting component to work based on the light-emitting control signal.
In one embodiment, the lamp control device further includes:
the second detection module is used for detecting whether the target lamp is the master control lamp or not under the condition that the first light-emitting parameter is not stored in the target lamp;
the first receiving module is used for receiving a light-emitting parameter setting instruction under the condition that the target lamp is the master control lamp;
the generating module is used for generating a second light-emitting parameter according to the light-emitting parameter setting instruction;
the first storage module is used for storing the generated second light-emitting parameters into the target lamp;
the second modulation module is used for modulating the generated second light-emitting parameter to obtain a second light-emitting control signal;
and the second control module is used for controlling the light-emitting component to work based on the second light-emitting control signal.
In one embodiment, the luminaire control apparatus further includes:
and the sending module is used for sending the generated second light-emitting parameters to a plurality of controlled lamps in corresponding relation with the target lamp, so that after each controlled lamp receives the second light-emitting parameters, the second light-emitting parameters are stored and modulated to obtain second light-emitting control signals, and the light-emitting assembly is controlled to work based on the second light-emitting control signals.
In one embodiment, the luminaire control apparatus further includes:
the starting module is used for starting the data receiving assembly under the condition that the target lamp is the controlled lamp;
the second receiving module is used for receiving a third light-emitting parameter sent by the main control lamp corresponding to the target lamp based on the data receiving assembly;
the second storage module is used for storing the received third light-emitting parameters into the target lamp;
the third modulation module is used for modulating the generated third light-emitting parameter to obtain a third light-emitting control signal;
and the third control module is used for controlling the light-emitting component to work based on the third light-emitting control signal.
In one embodiment, the first modulation module is specifically configured to: and modulating the first light-emitting parameter into a first level signal which can be identified by a light-emitting component of the target lamp, and obtaining a first light-emitting control signal based on the first level signal.
In a third aspect, a luminaire is provided, which includes a memory and a processor, the memory stores a computer program, and the processor implements the luminaire control method according to any one of the above first aspects when executing the computer program.
In a fourth aspect, a computer-readable storage medium is provided, on which a computer program is stored, which computer program, when being executed by a processor, is adapted to carry out the luminaire control method according to any one of the first aspect.
According to the lamp control method, the lamp control device, the lamp and the storage medium, the target lamp detects whether the first light-emitting parameter is stored in the target lamp or not under the condition that the target lamp receives the starting signal aiming at the light-emitting component in the target lamp. Under the condition that the first light-emitting parameter is stored in the target lamp, the first light-emitting parameter is extracted and modulated to obtain a first light-emitting control signal, and the light-emitting assembly is controlled to work based on the first light-emitting control signal. According to the method, the target lamp extracts the first light-emitting parameter under the condition that the first light-emitting parameter is stored, so that a worker is not required to set the light-emitting parameter of the target lamp, and the target lamp can work according to the first light-emitting parameter stored before the target lamp is turned off last time without manual intervention on the basis of the stored first light-emitting parameter after the target lamp is turned on, so that the use convenience of the lamp is improved, and a large amount of labor cost and time cost are saved.
Drawings
FIG. 1 is a diagram of an exemplary embodiment of a lamp control method;
FIG. 2 is a flow chart illustrating a method for controlling a lamp according to an embodiment;
FIG. 3 is a flowchart illustrating the steps of lamp control according to one embodiment;
FIG. 4 is a flowchart illustrating a method for controlling a lamp according to another embodiment;
FIG. 5 is a flowchart illustrating a method for controlling a lamp according to another embodiment;
FIG. 6 is a flow chart illustrating a method for controlling a lamp according to another embodiment;
FIG. 7 is a block diagram of a lamp control apparatus according to an embodiment;
FIG. 8 is a block diagram of a lamp control apparatus according to an embodiment;
FIG. 9 is a block diagram of a lamp control apparatus according to an embodiment;
fig. 10 is a block diagram of a lamp control device according to an embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
The lamp control method provided by the embodiment of the application can be applied to the lamp shown in fig. 1. The luminaire may include a light emitting component 101, a processing component 102, an input component 103, a storage component 104, and a modulation component 105. The processing module 102 is connected to the input module 103, the storage module 104, and the modulation module 105, respectively, and the light emitting module 101 is connected to the modulation module 105.
The light emitting element 101 may be a light or other element having a light emitting function, and the light emitting element 101 may operate under the control of the light emitting control signal.
The modulation component 105 may perform modulation processing on the light emitting parameter to obtain a light emitting control signal, where the light emitting parameter may be the light emitting parameter stored in the storage component 104, or the light emitting parameter generated by the processing component 103 according to the received light emitting parameter setting instruction, and the light emitting control signal may control the light emitting component 101 to emit light.
The input component 103 may receive a lighting parameter setting instruction input by a user and transmit the lighting parameter setting instruction to the middle processing component 102.
The processing component 102 may generate the lighting parameters according to the received lighting parameter setting instructions and store the generated lighting parameters in the storage component 104, so that the lighting parameters may be extracted from the storage component 104 when needed.
The storage component 104 may store the lighting parameters generated by the processing component 102 according to the received lighting parameter setting instructions.
Those skilled in the art will appreciate that the configuration shown in fig. 1 is a block diagram of only a portion of the configuration associated with the present application and does not constitute a limitation on the light fixture to which the present application is applied, and that a particular light fixture may include more or less components than shown in the figures, or combine certain components, or have a different arrangement of components.
In an embodiment, as shown in fig. 2, a luminaire control method is provided, which is described by taking the method as an example applied to the luminaire in fig. 1 and optionally taking one luminaire as a target luminaire, and includes the following steps:
step 201, if a starting signal for a light emitting component in a target lamp is received, the target lamp detects whether a first light emitting parameter is stored in the target lamp.
In a possible implementation manner, after the target lamp detects that the target lamp is powered on, it may be determined that a start signal for a light emitting component in the target lamp is received, where the start signal is used to control the light emitting component of the target lamp to start.
In another possible implementation manner, after the target lamp is awakened by the magnetic field, it may be determined that the start signal for the light emitting component in the target lamp is received.
In some possible cases, after the target lamp completes the previous normal operation, the target lamp may generate the first lighting parameter from the lighting parameter during the previous normal operation, and store the first lighting parameter in the target lamp. Therefore, after the target lamp receives the starting signal aiming at the light-emitting component in the target lamp, the light-emitting component of the target lamp can be controlled to normally work based on the stored first light-emitting parameter.
In the embodiment of the application, after receiving the starting signal for the light emitting component in the target lamp, the target lamp sequentially reads the data in the storage component. If the first light-emitting parameter is read, the target lamp determines that the first light-emitting parameter is stored in the target lamp; and if the first light-emitting parameter is not read, the target lamp determines that the first light-emitting parameter is not stored in the target lamp.
The first light-emitting parameter may include channel level data about the light-emitting color of the light-emitting component, and may also include channel level data about the light-emitting brightness of the light-emitting component. For example, the first light emission parameter may include red channel level data, green channel level data, blue channel level data, white channel level data, and amber channel level data.
In an optional embodiment of the present application, the first lighting parameter may be a lighting parameter stored when the target lamp normally works last time, or may be a lighting parameter generated by the target lamp according to a lighting parameter setting instruction of a user before the target lamp works.
Step 202, if the first lighting parameter is stored in the target lamp, the target lamp extracts the first lighting parameter and modulates the first lighting parameter to obtain a first lighting control signal.
In the embodiment of the application, when the first light-emitting parameter is stored in the target lamp, the target lamp extracts the first light-emitting parameter, and reads each channel level data included in the first light-emitting parameter. And the target lamp modulates each channel level data into a PWM signal corresponding to each channel level data according to each channel level data included in the read first light-emitting parameters to obtain a first light-emitting control signal.
Optionally, based on the example in the foregoing embodiment, the first lighting parameter may include red channel level data, green channel level data, blue channel level data, white channel level data, and amber channel level data, and the target luminaire modulates each channel level data into a red PWMR signal, a green PWMG signal, a blue PWMB signal, a white PWMW signal, and an amber PWMA signal, so as to obtain the first control signal. In the embodiment of the present application, the content of the first light emitting parameter and the first light emitting control signal is not particularly limited.
And step 203, the target lamp controls the light-emitting assembly to work based on the first light-emitting control signal.
In this embodiment of the application, the target lamp may control the light emitting assembly to normally operate according to the first light emitting control signal based on the first light emitting control signal.
For example, in the embodiment of the present application, the target lamp controls the light emitting component to emit light normally according to the first lighting control signal according to the duty ratios of the high and low waves of each of the red PWMR signal, the green PWMG signal, the blue PWMB signal, the white PWMW signal, and the amber PWMA signal included in the first lighting control signal.
According to the lamp control method, the target lamp detects whether the first light-emitting parameters are stored in the target lamp or not under the condition that the target lamp receives the starting signal aiming at the light-emitting component in the target lamp. Under the condition that the first light-emitting parameter is stored in the target lamp, the first light-emitting parameter is extracted and is subjected to modulation processing to obtain a first light-emitting control signal. And controlling the light-emitting assembly to work based on the first light-emitting control signal. According to the method, the target lamp extracts the first light-emitting parameter under the condition that the first light-emitting parameter is stored, so that a worker is not required to set the light-emitting parameter of the target lamp, and the target lamp can work according to the first light-emitting parameter stored before the target lamp is turned off last time without manual intervention on the basis of the stored first light-emitting parameter after the target lamp is turned on, so that the use convenience of the lamp is improved, and a large amount of labor cost and time cost are saved.
In an alternative embodiment of the present application, as shown in fig. 3, the method further includes:
step 301, if the first lighting parameter is not stored in the target lamp, the target lamp detects whether the target lamp is the master control lamp.
In some possible cases, a plurality of light fixtures are required to perform lighting operation simultaneously, and lighting parameters of some of the light fixtures may be the same. In such a case, one of the plurality of luminaires having the same light emission parameter may be selected as the master luminaire. The staff can set the light-emitting parameters of the master control lamp, and the set light-emitting parameters are sent to the corresponding controlled lamps which are the same as the light-emitting parameters of the master control lamp through the master control lamp, so that the multiple lamps can emit light simultaneously by setting the parameters of the master control lamp once. In addition, in this embodiment of the application, the number of the main control lamps may be one or multiple, and when the number of the main control lamps is multiple, the address codes of the main control lamps are different, and the main control lamps do not interfere with each other. In the embodiment of the present application, the number of the master control lamps is not specifically limited.
Optionally, the target lamp may read address code information stored in the target lamp, where the address code information may be used to indicate whether the target lamp is a master control lamp, for example, if the address code information of the target lamp is 000, the target lamp is represented as the master control lamp, and if the address code information of the target lamp is 001, the target lamp is represented as the controlled lamp. In the embodiment of the present application, if the address code information read by the target lamp is 000, the target lamp is really the master control lamp; and if the address code read by the target lamp is 001, determining that the target lamp is the controlled lamp.
Optionally, the target lamp may also detect whether a main control lamp instruction of the user is received within a preset time, and if the target lamp receives the main control lamp instruction of the user within the preset time, the target lamp is determined to be the main control lamp; and if the target lamp does not receive the main control lamp instruction of the user within the preset time, determining that the target lamp is the controlled lamp. The embodiment of the application does not specifically limit how the target lamp determines whether the target lamp is the master control lamp.
Step 302, if the target lamp is the master control lamp, the target lamp receives the light parameter setting instruction, generates a second light parameter according to the light parameter setting instruction, and executes step 303 and step 305.
It should be noted that, in the embodiment of the present application, the execution of step 303 and step 305 has no timing relationship, and step 303 may be executed first, and then step 305 may be executed; step 305 may be performed first, and then step 303 may be performed; step 303 and step 305 may also be performed simultaneously.
In the embodiment of the application, under the condition that the target lamp is determined to be the master control lamp, the target lamp receives a light-emitting parameter setting instruction of a user, and generates a second light-emitting parameter according to the light-emitting parameter setting instruction of the user. In this embodiment, the lighting parameter setting instruction may include: and setting the light-emitting parameters such as color, brightness, water flowing effect, stroboscopic effect and the like required to be displayed by the target lamp. In the embodiment of the present application, the content of the lighting parameter instruction is not specifically limited.
For example, in this embodiment of the application, each channel level data included in the user lighting parameter setting instruction may include that channel level data corresponding to red is 128, channel level data corresponding to green is 205, channel level data corresponding to blue is 225, the target luminaire generates the second lighting parameter by integrating the received channel level data according to that the channel level data corresponding to red is 128, channel level data corresponding to green is 205, and channel level data corresponding to blue is 225 included in the received lighting parameter setting instruction.
Step 303, the target lamp stores the generated second light emitting parameter into the target lamp, and performs modulation processing on the generated second light emitting parameter to obtain a second light emitting control signal, and step 304 is executed.
In this embodiment of the application, the target luminaire stores the generated second light-emitting parameter in itself, and modulates each channel level data included in the second light-emitting parameter into a PWM signal corresponding to each channel level data based on each channel level data included in the second light-emitting parameter, so as to obtain a second light-emitting control signal. The second light-emitting parameter in the embodiment of the present application may be the same as the first light-emitting parameter in the embodiment, or may be different from the first light-emitting parameter in the embodiment. The second light-emitting parameter and the first light-emitting parameter are not specifically limited in the embodiments of the present application.
For example, in the embodiment of the present application, the second light-emitting parameter may further include color macro MACR channel level data, DIMR dimming channel level data, S-LT gradient channel level data, and W-LT pipeline channel level data. The color macro MACR channel level data can control the target lamp to emit light according to the color selected by the color macro MACR; the DIMR dimming channel level data can control the brightness of the light emitting component; the S-LT gradient channel level data can control the lighting speed of the light-emitting component; the W-LT water channel level data can control the light-emitting component to circularly light different colors and control the speed of the light-emitting component to switch different colors. The target lamp may modulate each channel level data into a PWM signal corresponding to each channel level data according to each channel level data included in the second light-emitting parameter, thereby obtaining a second light-emitting control signal corresponding to the second light-emitting parameter.
And step 304, the target lamp controls the light-emitting component to work based on the second light-emitting control signal.
In the embodiment of the application, the target lamp controls the light emitting component to normally work according to the second light emitting control signal according to the duty ratio of high and low waves in each PWM signal based on each PWM signal included in the second light emitting control signal.
In this embodiment, based on the example in the foregoing embodiment, the second light-emitting control signal includes a PWM signal corresponding to color macro MACR channel level data, a PWM signal corresponding to W-LT pipelining channel level data, a PWM signal corresponding to S-LT gradient channel level data, and a PWM signal corresponding to DIMR dimming channel level data, and the target luminaire reads each PWM signal respectively, and controls the light-emitting component to operate normally according to each PWM signal included in the second light-emitting control signal according to a duty ratio of a high-low wave in each PWM signal. The method for controlling the light-emitting component to work based on the second light-emitting control signal by the target lamp is not particularly limited.
And 305, the target lamp sends the generated second light-emitting parameter to a plurality of controlled lamps corresponding to the target lamp, so that after each controlled lamp receives the second light-emitting parameter, the second light-emitting parameter is stored and modulated to obtain a second light-emitting control signal, and the light-emitting assembly is controlled to work based on the second light-emitting control signal.
In this embodiment of the application, the target luminaire and the corresponding multiple controlled luminaires may be connected by wire or wirelessly. Under the condition that the target lamp and the corresponding controlled lamps are in wired connection, the target lamp can send the second light-emitting parameters to the controlled lamps in a mode of transmitting information through tangible media such as metal wires, optical fibers and the like; and under the condition that the target lamp is in wireless connection with the corresponding controlled lamps, the target lamp can send the second light-emitting parameters to the controlled lamps through the communication assembly. In the embodiment of the present application, the connection relationship between the target lamp and the controlled lamp is not specifically limited.
In this embodiment of the application, after receiving the second light emitting parameter through the wired connection or the wireless connection, each controlled lamp may store the second light emitting parameter in its own database, and modulate the second light emitting parameter based on the data content of the second light emitting parameter, so as to obtain a second light emitting control signal, so that each controlled lamp may emit the same light as the main control lamp.
In the embodiment of the application, whether the target lamp is the master control lamp is detected under the condition that the first light-emitting parameter is not stored in the target lamp. And under the condition that the target lamp is the master control lamp, receiving a light-emitting parameter setting instruction, and generating a second light-emitting parameter according to the light-emitting parameter setting instruction. And storing the generated second light-emitting parameter into the target lamp, modulating the generated second light-emitting parameter to obtain a second light-emitting control signal, and controlling the light-emitting component to work based on the second light-emitting control signal. In addition, the target lamp further needs to send the generated second light-emitting parameter to a plurality of controlled lamps having a corresponding relationship with the target lamp, so that each controlled lamp can store the second light-emitting parameter after receiving the second light-emitting parameter and perform modulation processing on the second light-emitting parameter to obtain a second light-emitting control signal, and the light-emitting assembly is controlled to work based on the second light-emitting control signal. In addition, the second light-emitting parameters are sent to the controlled lamps, so that the target lamps and the controlled lamps can normally work according to the user instructions only by inputting the light-emitting parameter instructions to the target lamps once, the work of the user is simplified, and a large amount of labor and time cost is saved.
In an alternative embodiment of the present application, a target luminaire comprises an input component, a processing component, a storage component, and a modulation component; the content of the above step 302 and step 303 may include:
step 401, the target lamp receives a light emitting parameter setting instruction input by a user through an input component.
In this embodiment of the application, the processing component of the target luminaire may receive a lighting parameter setting instruction input by a user through the input component. The input component may be a touch layer covered on a display screen of the target lamp, a key, a track ball or a touch pad arranged on a shell of the target lamp, or a keyboard, a touch pad or a mouse and the like externally connected with the target lamp. The embodiment of the application does not specifically limit the input component of the target lamp.
In the embodiment of the present application, it can be known from the above embodiments that the light-emitting parameter setting instruction may include: and setting the lighting parameters of the target lamp such as color, brightness, speed change, water flowing effect, stroboscopic effect and the like. In the embodiment of the present application, the content of the lighting parameter instruction is not specifically limited.
Optionally, for example, setting the lighting parameters of the color required by the target luminaire may include: the user inputs channel level data corresponding to red, green, blue and white colors respectively through the input assembly so as to generate a required color, and can select the required color of the target lamp directly through the color macro MACR channel level data and change the brightness of the target lamp respectively through changing the DIMR dimming channel level data. The method for inputting the color required by the target lamp by the user is not particularly limited in the embodiment of the application.
Optionally, in this embodiment of the application, the priority level of the color macro MACR channel level data is higher than the channel level data corresponding to each color of red, green, blue, and white, for example, the red channel level number is 0 (at this time, there is no red light in the light set for the target lamp), but the color macro MACR channel level data is 10 (at this time, the target lamp is set to light red light), and when the DIMR dimming channel level data is 1, the target lamp may light red light; when the DIMR dimming channel level data is 255, the target light fixture lights up the brightest red light.
Alternatively, the user may change the speed change at which the target light is lit by inputting S-LT gradient channel level data. For example, when the color macro MACR channel level data is 10 and the S-LT gradient channel level data is 1, the target luminaire slowly lights up red; when the color macro MACR channel level data is 10 and the S-LT gradient channel level data is 255, the target lamp quickly lights up red.
Optionally, the user may change the water flow effect of the target luminaire by inputting the W-LT water flow channel level data. For example, when the W-LT pipelining channel level data is 1, the target luminaire transforms each color in the color macro MAC with a slow pipelining effect; when the W-LT water flowing channel level data is 255, the target lamp changes each color in the color macro MACR through the rapid water flowing effect, and the setting mode can enable the target lamp to circularly light different colors and the switching speed to be adjustable.
Optionally, the user may change the strobe effect of the target light fixture by inputting the SHUT strobe channel level data and the color may be switched. In the embodiment of the application, the priority level of the SHUT stroboscopic channel level data is higher than that of the S-LT gradual change channel level data and the W-LT pipelined channel level data, for example, the S-LT gradual change channel level data or the W-LT pipelined channel level data is 0, but when the SHUT stroboscopic channel level data is 8, the target lamp can flicker slowly; when the SHUT strobe channel level data is 255, the target light fixture can flash quickly.
The embodiment of the application does not specifically limit the content in the light-emitting parameter setting instruction input by the user through the input component.
Step 402, the target lamp generates a second light-emitting parameter according to the light-emitting parameter setting instruction through the processing component.
In this embodiment of the application, after the target lamp receives the user lighting parameter setting instruction, the processing component may identify according to each channel level data included in the user lighting parameter setting instruction, and integrate and process each channel level data, thereby generating the second lighting parameter.
And step 403, the target lamp stores the generated second light-emitting parameter into a storage component of the target lamp.
After the target lamp generates the second light-emitting parameter according to the light-emitting parameter setting instruction of the user, the generated second light-emitting parameter is stored in the storage component of the target lamp, so that the second light-emitting parameter in the storage component can be extracted in later use of the target lamp.
And step 404, the target lamp modulates the generated second light-emitting parameter through the modulation component to obtain a second light-emitting control signal.
In this embodiment of the application, the processing component in the target lamp modulates each channel level data included in the generated second light-emitting parameter by controlling the modulation component to obtain a PWM signal corresponding to each channel level data, so as to generate second light-emitting control information.
In the embodiment of the application, the target lamp receives a light-emitting parameter setting instruction input by a user through the input assembly, generates a second light-emitting parameter according to the light-emitting parameter setting instruction through the processing assembly, and stores the generated second light-emitting parameter into the storage assembly of the target lamp. And the target lamp modulates the generated second light-emitting parameter through the modulation component to obtain a second light-emitting control signal. According to the method, the target lamp comprises the input assembly, the processing assembly and the modulation assembly, through interaction among the input assembly, the processing assembly and the modulation assembly, the target lamp can set an instruction according to the light-emitting parameter of a user to generate a second light-emitting parameter, a second control signal is generated according to the second light-emitting parameter, and finally the target lamp can normally work according to the instruction of the user, so that the working efficiency of the target lamp is improved, and the time cost of the user is saved.
In an optional embodiment of the present application, the above-mentioned embodiment introduces the steps of the above-mentioned lamp control method when the target lamp is the master control lamp. As shown in fig. 5, in the embodiment of the present application, when a target lamp is a controlled lamp, the steps of the lamp control method may include the following steps:
step 501, if the target lamp is the controlled lamp, the target lamp starts the data receiving component.
In the embodiment of the present application, it can be seen from the above embodiments that the target lamp can detect that the target lamp is the controlled lamp by reading the stored address code information, and also can determine that the main control lamp instruction of the user is not received within the preset time, and determine that the target lamp is the controlled lamp.
In this embodiment of the application, when the target lamp detects that the target lamp is the controlled lamp, the target lamp may turn on the switch corresponding to the data receiving component, so as to turn on the data receiving component. Optionally, the data receiving component may receive other information besides the third light-emitting parameter sent by the target lamp. In this embodiment of the present application, the data receiving component may be a wired data receiving component or a wireless data receiving component, and the data receiving component is not specifically limited in this embodiment of the present application.
Step 502, the target lamp receives, based on the data receiving component, a third light emitting parameter sent by the master control lamp corresponding to the target lamp.
In this embodiment of the application, after the target lamp starts the data receiving component, the third light-emitting parameter sent by the main control lamp corresponding to the target lamp can be received through the data receiving component.
Step 503, the target lamp stores the received third light emitting parameter into the target lamp, and modulates the generated third light emitting parameter to obtain a third light emitting control signal.
In this embodiment of the application, after receiving the third light-emitting parameter sent by the master control lamp, the target lamp may store the received third light-emitting parameter in the target lamp, and modulate each channel level data into a corresponding PWM signal based on each channel level data included in the third light-emitting parameter, thereby obtaining a third light-emitting control signal.
And step 504, the target lamp controls the light-emitting assembly to work based on the third light-emitting control signal.
In the embodiment of the application, the target lamp controls the light emitting assembly to normally work based on the third light emitting control signal. In this embodiment of the application, the method for controlling the light emitting assembly to normally operate by the target lamp based on the third light emitting control signal may be the same as or different from the method for controlling the light emitting assembly to normally operate by the target lamp based on the first light emitting control signal or the method for controlling the light emitting assembly to normally operate by the target lamp based on the second light emitting control signal.
In the embodiment of the application, under the condition that the target lamp is the controlled lamp, the target lamp starts the data receiving component, and receives the third light-emitting parameter sent by the main control lamp corresponding to the target lamp based on the data receiving component. And after receiving the third light-emitting parameter, the target lamp stores the received third light-emitting parameter into the target lamp, modulates the generated third light-emitting parameter to obtain a third light-emitting control signal, and controls the light-emitting assembly to work based on the third light-emitting control signal. According to the method, under the condition that the target lamp is the controlled lamp, the target lamp does not need to input a light-emitting parameter setting instruction, as long as the target lamp can receive the third light-emitting parameter sent by the main control lamp, the third light-emitting parameter is modulated to obtain a third control signal, and then the light-emitting component is controlled to work based on the third control signal. Therefore, the speed of the target lamp entering normal work can be increased, the workload of a user is reduced, and the time cost of the user is saved.
In an optional embodiment of the present application, the target luminaire further comprises a data receiving component starting component; opening a data receiving component comprising: and starting the data receiving component through the data receiving component starting component.
In the embodiment of the application, the target lamp can start the data receiving component through the data receiving component starting component, wherein the data receiving component starting component can be a button, and a user presses the button to input a data receiving component starting instruction to start the data receiving component; the data receiving component starting component can also be a touch button on the display screen, and a user touches the touch button on the display screen to input a data receiving component starting instruction to start the data receiving component. The embodiment of the present application does not specifically limit the data receiving element opening element.
In an embodiment of the present application, the target lamp may include a data receiving component starting component, and the data receiving component is started by the data receiving component starting component. Therefore, the control of the target lamp data receiving assembly can be realized, the target lamp receiving assembly is prevented from receiving error information, and the adaptability of the target lamp is improved.
In an optional embodiment of the present application, the modulating the first light-emitting parameter to obtain the first light-emitting control signal includes:
and modulating the first light-emitting parameter into a first level signal which can be identified by a light-emitting component of the target lamp, and obtaining a first light-emitting control signal based on the first level signal.
In this embodiment of the application, the target lamp may modulate the first lighting parameter into a first level signal that can be recognized by a lighting assembly of the target lamp according to the content of the first lighting parameter, and obtain the first lighting control signal based on the first level signal. Wherein the first level signal may include: the PWM signals corresponding to the channel level data of red, green, blue and white colors, the PWM signals corresponding to the macro MACR channel level data of colors, the PWM signals corresponding to the DIMR dimming channel level data, the PWM signals corresponding to the S-LT gradual change channel level data, the PWM signals corresponding to the W-LT flowing channel level data and the PWM signals corresponding to the SHUT stroboscopic channel level data and the like. The first level signal is not particularly limited in the embodiment of the present application.
In the embodiment of the application, the target lamp modulates the first lighting parameter into a first level signal which can be identified by a lighting assembly of the target lamp, and obtains the first lighting control signal based on the first level signal. According to the method, the first light-emitting parameter is modulated into the first level signal, and the first light-emitting control signal is obtained based on the first level signal, so that the target lamp can be guaranteed to normally work.
Referring to fig. 6, a flowchart of an exemplary method for controlling a lamp provided by an embodiment of the present application is shown, where the method may be applied to the implementation environment shown in fig. 1. As shown in fig. 6, the method may include the steps of:
601, if a starting signal for a light emitting component in a target lamp is received, the target lamp detects whether a first light emitting parameter is stored in the target lamp, and if the first light emitting parameter is stored in the target lamp, 602 is executed; if the first lighting parameter is not stored in the target lamp, step 604 is executed.
Step 602, the target lamp extracts the first lighting parameter, modulates the first lighting parameter into a first level signal that can be recognized by a lighting assembly of the target lamp, obtains a first lighting control signal based on the first level signal, and executes step 603.
And step 603, controlling the light-emitting assembly to work by the target lamp based on the first light-emitting control signal.
Step 604, the target lamp detects whether the target lamp is the master control lamp, if the target lamp is the master control lamp, step 605 is executed, and if the target lamp is the controlled lamp, step 610 is executed.
Step 605, the target lamp receives the light parameter setting instruction, and generates a second light parameter according to the light parameter setting instruction through the processing component.
Step 606 the target luminaire stores the generated second lighting parameter into a storage component of the target luminaire.
In step 607, the target lamp modulates the generated second light emitting parameter through the modulation component to obtain a second light emitting control signal.
In step 608, the target lamp controls the light emitting device to operate based on the second light emitting control signal.
And step 609, the target lamp sends the generated second light-emitting parameter to a plurality of controlled lamps corresponding to the target lamp.
In step 610, the target lamp turns on the data receiving component through the data receiving component turning on component.
Step 611, the target lamp receives, based on the data receiving component, a third light emitting parameter sent by the master control lamp corresponding to the target lamp.
Step 612, the target lamp stores the received third light-emitting parameter into the target lamp, and modulates the generated third light-emitting parameter to obtain a third light-emitting control signal.
Step 613, the target lamp controls the light emitting assembly to operate based on the third light emitting control signal.
It should be understood that although the various steps in the flow charts of fig. 2-6 are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least some of the steps in fig. 2-6 may include multiple steps or multiple stages, which are not necessarily performed at the same time, but may be performed at different times, which are not necessarily performed in sequence, but may be performed in turn or alternately with other steps or at least some of the other steps.
In one embodiment, as shown in fig. 7, there is provided a luminaire control device 700 comprising: a first detection module 701, an extraction module 702, and a control module 703, wherein:
the first detecting module 701 is configured to detect whether a first lighting parameter is stored in a target lamp when a start signal for a lighting assembly in the target lamp is received.
An extracting module 702, configured to extract a first lighting parameter when the first lighting parameter is stored in the target lighting fixture;
a first modulation module 703, configured to perform modulation processing on the first light-emitting parameter to obtain a first light-emitting control signal;
and the first control module 704 is used for controlling the light-emitting assembly to work based on the first light-emitting control signal.
In one embodiment, as shown in fig. 8, the luminaire control apparatus 700 further includes: a second detection module 705, a first receiving module 706, a generating module 707, a first storage module 708, a second modulation module 709, and a second control module 710, wherein:
the second detecting module 705 is configured to detect whether the target luminaire is the master luminaire when the first lighting parameter is not stored in the target luminaire.
A first receiving module 706, configured to receive a light-emitting parameter setting instruction when the target lamp is a master control lamp;
a generating module 707, configured to generate a second light emitting parameter according to the light emitting parameter setting instruction.
A first storage module 708, configured to store the generated second light-emitting parameter into the target luminaire;
the second modulation module 709 is configured to perform modulation processing on the generated second light emitting parameter to obtain a second light emitting control signal.
The second control module 710 is further configured to control the light emitting assembly to operate based on the second light emitting control signal.
In one embodiment, as shown in fig. 9, the luminaire control apparatus 700 further includes: a sending module 711, wherein:
the sending module 711 is configured to send the generated second light-emitting parameter to a plurality of controlled light fixtures having a corresponding relationship with the target light fixture, so that after each controlled light fixture receives the second light-emitting parameter, the second light-emitting parameter is stored and modulated to obtain a second light-emitting control signal, and the light-emitting assembly is controlled to operate based on the second light-emitting control signal.
In one embodiment, as shown in fig. 10, the luminaire control method further includes: a start module 712, a second receiving module 713, a second storage module 714, a third modulation module 715, and a third control module 716, wherein:
a starting module 712, configured to start the data receiving component if the target luminaire is a controlled luminaire;
the second receiving module 713 is configured to receive, based on the data receiving component, a third light-emitting parameter sent by the master control lamp corresponding to the target lamp;
the second storage module 714 is configured to store the received third light-emitting parameter into the target lamp;
the third modulation module 715 is configured to perform modulation processing on the generated third light-emitting parameter to obtain a third light-emitting control signal.
And a third control module 716 for controlling the operation of the light emitting component based on the third light emitting control signal.
In one embodiment, the first modulation module 703 is specifically configured to: and modulating the first light-emitting parameter into a first level signal which can be identified by a light-emitting component of the target lamp, and obtaining first light-emitting control information based on the first level signal.
For specific limitations of the lamp control device, reference may be made to the above limitations of the lamp control method, which is not described herein again. All or part of the modules in the lamp control device can be realized by software, hardware and a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
In one embodiment, there is provided a luminaire comprising a memory and a processor, the memory having stored therein a computer program, the processor when executing the computer program implementing the steps of:
if a starting signal aiming at a light-emitting component in a target lamp is received, detecting whether a first light-emitting parameter is stored in the target lamp; if the target lamp stores the first light-emitting parameter, extracting the first light-emitting parameter, and modulating the first light-emitting parameter to obtain a first light-emitting control signal; and controlling the light-emitting assembly to work based on the first light-emitting control signal.
In one embodiment, the processor, when executing the computer program, further performs the steps of: if the first light-emitting parameter is not stored in the target lamp, detecting whether the target lamp is a master control lamp or not; if the target lamp is the master control lamp, receiving a light-emitting parameter setting instruction, and generating a second light-emitting parameter according to the light-emitting parameter setting instruction; storing the generated second light-emitting parameter into the target lamp, and modulating the generated second light-emitting parameter to obtain a second light-emitting control signal; and controlling the light-emitting component to work based on the second light-emitting control signal.
In one embodiment, the processor, when executing the computer program, further performs the steps of: the target lamp comprises an input assembly, a processing assembly, a storage assembly and a modulation assembly; receiving a lighting parameter setting instruction, comprising: receiving a light-emitting parameter setting instruction input by a user through an input assembly; correspondingly, generating a second lighting parameter according to the lighting parameter setting instruction comprises: generating a second light-emitting parameter according to the light-emitting parameter setting instruction through the processing component; correspondingly, the step of storing the generated second light-emitting parameter into the target lamp comprises the following steps: storing the generated second light-emitting parameters into a storage component of the target lamp; correspondingly, the modulating the generated second light emitting parameter to obtain a second light emitting control signal includes: and modulating the generated second light-emitting parameter through the modulation component to obtain a second light-emitting control signal.
In one embodiment, the processor, when executing the computer program, further performs the steps of: and sending the generated second light-emitting parameters to a plurality of controlled lamps in corresponding relation with the target lamp, so that after each controlled lamp receives the second light-emitting parameters, the second light-emitting parameters are stored and modulated to obtain second light-emitting control signals, and the light-emitting components are controlled to work based on the second light-emitting control signals.
In one embodiment, the processor, when executing the computer program, further performs the steps of: if the target lamp is the controlled lamp, starting the data receiving assembly; receiving a third light-emitting parameter sent by a master control lamp corresponding to the target lamp based on the data receiving component; storing the received third light-emitting parameter into the target lamp, and modulating the generated third light-emitting parameter to obtain a third light-emitting control signal; and controlling the light-emitting component to work based on the third light-emitting control signal.
In one embodiment, the target luminaire further comprises a data receiving component starting component, and the processor when executing the computer program further realizes the following steps: and starting the data receiving component through the data receiving component starting component.
In one embodiment, the processor, when executing the computer program, further performs the steps of: and modulating the first light-emitting parameter into a first level signal which can be identified by a light-emitting component of the target lamp, and obtaining a first light-emitting control signal based on the first level signal.
In one embodiment, a computer-readable storage medium is provided, having a computer program stored thereon, which when executed by a processor, performs the steps of:
if a starting signal aiming at a light-emitting component in a target lamp is received, detecting whether a first light-emitting parameter is stored in the target lamp; if the target lamp stores the first light-emitting parameter, extracting the first light-emitting parameter, and modulating the first light-emitting parameter to obtain a first light-emitting control signal; and controlling the light-emitting assembly to work based on the first light-emitting control signal.
In one embodiment, the computer program when executed by the processor further performs the steps of: if the first light-emitting parameter is not stored in the target lamp, detecting whether the target lamp is a master control lamp or not; if the target lamp is the master control lamp, receiving a light-emitting parameter setting instruction, and generating a second light-emitting parameter according to the light-emitting parameter setting instruction; storing the generated second light-emitting parameter into the target lamp, and modulating the generated second light-emitting parameter to obtain a second light-emitting control signal; and controlling the light-emitting component to work based on the second light-emitting control signal.
In one embodiment, the computer program when executed by the processor further performs the steps of: the target lamp comprises an input assembly, a processing assembly, a storage assembly and a modulation assembly; receiving a lighting parameter setting instruction, comprising: receiving a light-emitting parameter setting instruction input by a user through an input assembly; correspondingly, generating a second lighting parameter according to the lighting parameter setting instruction comprises: generating a second light-emitting parameter according to the light-emitting parameter setting instruction through the processing component; correspondingly, the step of storing the generated second light-emitting parameter into the target lamp comprises the following steps: storing the generated second light-emitting parameters into a storage component of the target lamp; correspondingly, the modulating the generated second light emitting parameter to obtain a second light emitting control signal includes: and modulating the generated second light-emitting parameter through the modulation component to obtain a second light-emitting control signal.
In one embodiment, the computer program when executed by the processor further performs the steps of: and sending the generated second light-emitting parameters to a plurality of controlled lamps in corresponding relation with the target lamp, so that after each controlled lamp receives the second light-emitting parameters, the second light-emitting parameters are stored and modulated to obtain second light-emitting control signals, and the light-emitting components are controlled to work based on the second light-emitting control signals.
In one embodiment, the computer program when executed by the processor further performs the steps of: if the target lamp is the controlled lamp, starting the data receiving assembly; receiving a third light-emitting parameter sent by a master control lamp corresponding to the target lamp based on the data receiving component; storing the received third light-emitting parameter into the target lamp, and modulating the generated third light-emitting parameter to obtain a third light-emitting control signal; and controlling the light-emitting component to work based on the third light-emitting control signal.
In one embodiment, the target luminaire further comprises a data receiving component opening component, the computer program when executed by the processor further realizing the steps of: and starting the data receiving component through the data receiving component starting component.
In one embodiment, the computer program when executed by the processor further performs the steps of: and modulating the first light-emitting parameter into a first level signal which can be identified by a light-emitting component of the target lamp, and obtaining a light-emitting control signal based on the first level signal.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program that can be stored in a non-volatile computer-readable storage medium and can be executed by associated hardware, and the computer program can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database or other medium used in the embodiments provided herein can include at least one of non-volatile and volatile memory. Non-volatile Memory may include Read-Only Memory (ROM), magnetic tape, floppy disk, flash Memory, optical storage, or the like. Volatile Memory can include Random Access Memory (RAM) or external cache Memory. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM), among others.
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above examples only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (10)

1. A luminaire control method, for use in a target luminaire, the method comprising:
if a starting signal aiming at a light-emitting component in the target lamp is received, detecting whether a first light-emitting parameter is stored in the target lamp;
if the first light-emitting parameter is stored in the target lamp, extracting the first light-emitting parameter, and modulating the first light-emitting parameter to obtain a first light-emitting control signal;
and controlling the light-emitting component to work based on the first light-emitting control signal.
2. The method of claim 1, further comprising:
if the first light-emitting parameter is not stored in the target lamp, detecting whether the target lamp is a master control lamp;
if the target lamp is the master control lamp, receiving a light-emitting parameter setting instruction, and generating a second light-emitting parameter according to the light-emitting parameter setting instruction;
storing the generated second light-emitting parameter into the target lamp, and modulating the generated second light-emitting parameter to obtain a second light-emitting control signal;
and controlling the light-emitting component to work based on the second light-emitting control signal.
3. The method of claim 2, wherein the target luminaire comprises an input component, a processing component, a storage component, and a modulation component; the receiving of the light emitting parameter setting instruction includes:
receiving the light-emitting parameter setting instruction input by a user through the input assembly;
correspondingly, the generating of the second lighting parameter according to the lighting parameter setting instruction includes:
generating the second light-emitting parameter according to the light-emitting parameter setting instruction through the processing component;
correspondingly, storing the generated second lighting parameter into the target luminaire includes:
storing the generated second lighting parameter into the storage component of the target luminaire;
correspondingly, the modulating the generated second light emitting parameter to obtain the second light emitting control signal includes:
and modulating the generated second light-emitting parameter through the modulation component to obtain the second light-emitting control signal.
4. The method according to claim 2, wherein after the generating of the second lighting parameter according to the lighting parameter setting instruction, the method further comprises:
and sending the generated second light-emitting parameter to a plurality of controlled lamps in corresponding relation with the target lamp, so that each controlled lamp stores the second light-emitting parameter after receiving the second light-emitting parameter, modulates the second light-emitting parameter to obtain a second light-emitting control signal, and controls the light-emitting assembly to work based on the second light-emitting control signal.
5. The method of claim 2, further comprising:
if the target lamp is the controlled lamp, starting a data receiving assembly;
receiving a third light-emitting parameter sent by a master control lamp corresponding to the target lamp based on the data receiving component;
storing the received third light-emitting parameter into the target lamp, and modulating the generated third light-emitting parameter to obtain a third light-emitting control signal;
and controlling the light-emitting component to work based on the third light-emitting control signal.
6. The method of claim 5, wherein the target light fixture further comprises a data receiving component opening component; the startup data receiving component comprises:
and starting the data receiving component through the data receiving component starting component.
7. The method according to claim 1, wherein the modulating the first lighting parameter to obtain a first lighting control signal comprises:
and modulating the first lighting parameter into a first level signal which can be identified by the lighting assembly of the target lamp, and obtaining the first lighting control signal based on the first level signal.
8. A luminaire control device, characterized in that the device comprises:
the first detection module is used for detecting whether a first light-emitting parameter is stored in a target lamp or not under the condition that a starting signal aiming at a light-emitting component in the target lamp is received;
the extraction module is used for extracting the first light-emitting parameter under the condition that the first light-emitting parameter is stored in the target lamp;
the modulation module is used for modulating the first light-emitting parameter to obtain a first light-emitting control signal;
and the first control module is used for controlling the light-emitting component to work based on the light-emitting control signal.
9. A luminaire comprising a memory and a processor, the memory storing a computer program, characterized in that the processor realizes the steps of the method of any one of claims 1 to 7 when executing the computer program.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 7.
CN202011492052.7A 2020-12-17 2020-12-17 Lamp control method, device, lamp and storage medium Active CN112601328B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011492052.7A CN112601328B (en) 2020-12-17 2020-12-17 Lamp control method, device, lamp and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011492052.7A CN112601328B (en) 2020-12-17 2020-12-17 Lamp control method, device, lamp and storage medium

Publications (2)

Publication Number Publication Date
CN112601328A true CN112601328A (en) 2021-04-02
CN112601328B CN112601328B (en) 2023-08-29

Family

ID=75196859

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011492052.7A Active CN112601328B (en) 2020-12-17 2020-12-17 Lamp control method, device, lamp and storage medium

Country Status (1)

Country Link
CN (1) CN112601328B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113597059A (en) * 2021-07-23 2021-11-02 北京字节跳动网络技术有限公司 Lamp switch control method and device and electronic equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1585585A (en) * 2003-08-23 2005-02-23 珠海爱圣特电子科技有限公司 Controlled programm setting method for intelligent light system
CN101778505A (en) * 2009-01-09 2010-07-14 倪建冲 User-friendly control method for LED lamps
CN106470513A (en) * 2015-08-19 2017-03-01 丰唐物联技术(深圳)有限公司 Illumination control method and device
CN107969049A (en) * 2017-12-25 2018-04-27 安徽极光照明工程有限公司 A kind of saloon induction type intelligent LED lamp control system
WO2020124704A1 (en) * 2018-12-17 2020-06-25 东莞市类行星照明科技有限公司 Master/slave control lamp and master/slave lamp assembly

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1585585A (en) * 2003-08-23 2005-02-23 珠海爱圣特电子科技有限公司 Controlled programm setting method for intelligent light system
CN101778505A (en) * 2009-01-09 2010-07-14 倪建冲 User-friendly control method for LED lamps
CN106470513A (en) * 2015-08-19 2017-03-01 丰唐物联技术(深圳)有限公司 Illumination control method and device
CN107969049A (en) * 2017-12-25 2018-04-27 安徽极光照明工程有限公司 A kind of saloon induction type intelligent LED lamp control system
WO2020124704A1 (en) * 2018-12-17 2020-06-25 东莞市类行星照明科技有限公司 Master/slave control lamp and master/slave lamp assembly

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113597059A (en) * 2021-07-23 2021-11-02 北京字节跳动网络技术有限公司 Lamp switch control method and device and electronic equipment
CN113597059B (en) * 2021-07-23 2023-04-28 北京字节跳动网络技术有限公司 Lamp switch control method and device and electronic equipment

Also Published As

Publication number Publication date
CN112601328B (en) 2023-08-29

Similar Documents

Publication Publication Date Title
US11297701B2 (en) Switch based lighting control
CN101869004B (en) Light management system with an integrated energy function
JP5030943B2 (en) Lighting device control method and control system
US20140070707A1 (en) Lighting control system
JP5062618B2 (en) Device setting device in lighting system
US20170202069A1 (en) Lighting system and controller
US9832848B2 (en) Lighting system and method for controlling lighting system
JP2012533844A (en) Lighting fixture with touch pattern control interface
US20160234906A1 (en) Lighting system and method for controlling lighting system
JP5705875B2 (en) Adaptable lighting system
US20200100344A1 (en) Illumination system and method for setting up illumination system
JP6617521B2 (en) Lighting control apparatus and lighting system
CN112601328B (en) Lamp control method, device, lamp and storage medium
JP2019531579A5 (en)
JP2020113518A (en) Illumination device
CN107896410B (en) Small night lamp control method and device and small night lamp
JP7036985B2 (en) Light source activation according to previous power cycle duration
JP2010123483A (en) Illumination system
JP2009514163A (en) Configurable ballast
US20190281677A1 (en) Control apparatus of light emitting diode and non-transitory computer readable medium storing program
JP6648456B2 (en) Control device and lighting control method
CN105307319A (en) Lighting device, lighting system and control method for the lighting device
JP6038602B2 (en) Lighting device, light control / color control method, and light control / color control system
JP2019175639A (en) Lighting fixture and illumination system including the same
JP2019212558A (en) Load control system

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