CN115551158A - Lamp control method and device and lighting gateway - Google Patents

Lamp control method and device and lighting gateway Download PDF

Info

Publication number
CN115551158A
CN115551158A CN202211156799.4A CN202211156799A CN115551158A CN 115551158 A CN115551158 A CN 115551158A CN 202211156799 A CN202211156799 A CN 202211156799A CN 115551158 A CN115551158 A CN 115551158A
Authority
CN
China
Prior art keywords
data
signal
lamp
target
data signal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202211156799.4A
Other languages
Chinese (zh)
Inventor
刘建华
王惠均
仇德硕
陈灿林
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 CN202211156799.4A priority Critical patent/CN115551158A/en
Publication of CN115551158A publication Critical patent/CN115551158A/en
Pending legal-status Critical Current

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
    • H05B47/165Controlling the light source following a pre-assigned programmed sequence; Logic control [LC]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/66Arrangements for connecting between networks having differing types of switching systems, e.g. gateways
    • 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/155Coordinated control of two or more light sources
    • 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/17Operational modes, e.g. switching from manual to automatic mode or prohibiting specific operations
    • 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/175Controlling the light source by remote control
    • 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 and a lighting gateway. The method comprises the following steps: by acquiring a plurality of lamp control signals, wherein the plurality of lamp control signals comprise at least one of an overall control signal for a lamp in a target place and a local control signal for a lamp in a local area of the target place, then determining the target lamp control signal from the plurality of lamp control signals according to a preset strategy, and then controlling the lamp to work according to the target lamp control signal, the overall control and the local control of the lamp can be realized, and the flexibility of lamp control is improved.

Description

Lamp control method and device and lighting gateway
Technical Field
The application relates to the technical field of light control, in particular to a lamp control method, a lamp control device and an illumination gateway.
Background
The lighting gateway is a system for intelligently controlling and managing the lamps, such as intelligently adjusting the brightness, color and the like of the lamps, is widely applied to the environments of stages, buildings, subways, highways and the like, and has higher and higher requirements on lamp management and control modes along with the improvement of the life quality of people.
At present, after receiving a control signal sent by a light console, a traditional lighting gateway relays, converts and sends the control signal to a lamp, so as to achieve the purpose of controlling the lamp.
However, only relaying and converting the control signal received from the light control station to the lamp can only realize the overall control of the lamp by the light control station, and cannot realize the local control of the lamp by the local intelligent switch and the sensor, for example: lamps of the whole building can be controlled in a centralized manner by the light console through the lighting gateway, but the lamps in each room cannot be controlled locally by the intelligent switches, the knobs and the sensors in each room, so that the flexibility of lamp control is low.
Disclosure of Invention
In view of the above, it is necessary to provide a luminaire control method, a device and a lighting gateway, which can improve flexibility of luminaire control.
In a first aspect, the present application provides a luminaire control method for a lighting gateway, the method comprising: obtaining a plurality of luminaire control signals, wherein the plurality of luminaire control signals comprise at least one of overall control signals for luminaires in a target site and local control signals for luminaires in a local area of the target site; determining a target lamp control signal from the plurality of lamp control signals according to a preset strategy; and controlling the lamp to work according to the target lamp control signal.
In one embodiment, determining the target luminaire control signal from the plurality of luminaire control signals according to a preset strategy comprises: extracting priority information from each lamp control signal respectively; and determining the lamp control signal with the highest priority from the plurality of lamp control signals as the target lamp control signal according to the priority information in each lamp control signal.
In one embodiment, controlling the operation of the lamp according to the target lamp control signal comprises: extracting mode information from the target lamp control signal, wherein the mode information is used for indicating the working mode of the lighting gateway; and controlling the lamp to work according to the mode information.
In one embodiment, controlling the operation of the lamp according to the mode information comprises: if the working mode indicated by the mode information is a play mode, extracting a first data signal identifier from the target lamp control signal; and acquiring a first data signal from the signal storage area according to the first data signal identifier, and controlling the lamp to work according to the first data signal.
In one embodiment, controlling the operation of the light fixture according to the first data signal comprises: if the target lamp control signal comprises the playing indication information, controlling the lamp to work according to the playing indication information and the first data signal; the playing indication information is used for indicating at least one of the number of playing cycles and the playing time length.
In one embodiment, the first data signal includes a plurality of data frames, the first data signal is acquired from the signal storage area according to the first data signal identifier, and the lamp is controlled to operate according to the first data signal, including: acquiring a first data record from the signal storage area according to the first data signal identifier, sequentially determining each data frame contained in the first data signal according to the first data record, and storing the determined data frame into a buffer area after determining the data frame each time; and sending the data frame stored in the buffer area to the lamp to control the lamp to work.
In one embodiment, the first data record includes a first reference data record and a first changed data record, the first reference data record includes channel values of channels in a target data frame in the first data signal, the first changed data record includes channel values of changed channels in a non-target data frame in the first data signal, the channel values of the changed channels are different from a previous data frame, and each data frame included in the first data signal is sequentially determined according to the first data record, including: and determining the target data frame in the first data signal according to the first reference data record, and sequentially determining each non-target data frame in the first data signal according to the first change data record after determining the target data frame of the first data signal.
In one embodiment, the method further comprises: acquiring a frame period from a signal storage area according to a first data signal identifier; determining a target time length of an interval required between the steps of determining the data frame in each execution according to the frame period; and according to the target duration, sequentially determining each data frame according to the first data record, and storing the determined data frames into a buffer area after determining the data frames each time.
In one embodiment, the size of the storage space of the buffer zone is consistent with the number of channels in the data frame; storing the determined data frame to a buffer, comprising: and overwriting the determined channel value of each channel in the data frame with the currently stored channel value in the buffer area.
In one embodiment, acquiring the first data record from the signal storage area according to the first data signal identifier, and sequentially determining each data frame contained in the first data signal according to the first data record includes: if the number of the first data signal identifications is multiple, acquiring first data records corresponding to the first data signal identifications from the signal storage area, and determining initial data frames corresponding to the first data signal identifications according to the first data records corresponding to the first data signal identifications; and performing fusion processing on the initial data frames corresponding to the first data signal identifications to obtain the data frames contained in the first data signals.
In one embodiment, the method further comprises: if the working mode indicated by the mode information is the recording mode, acquiring the received second data signal, and determining a second data signal identifier corresponding to the second data signal; and determining a second data record according to the second data signal, and correspondingly storing the second data record and the second data signal identifier into the signal storage area.
In one embodiment, the second data signal includes a plurality of data frames, and determining the second data record from the second data signal includes: taking the channel value of each channel in the target data frame in the second data signal as a second reference data record; taking the channel value of each change channel in the non-target data frame in the second data signal as a second change data record, wherein the channel value of the change channel is different from the channel value of the previous data frame; the second reference data record and the second changed data record are recorded as a second data record.
In one embodiment, controlling the operation of the light fixture according to the mode information includes: and if the working mode indicated by the mode information is the direct mode, acquiring the received second data signal, and controlling the lamp to work according to the second data signal.
In one embodiment, acquiring the received second data signal comprises: receiving an initial data signal sent by the integral light control device; and extracting information according to preset first signal content, extracting target data information from the initial data signal, and obtaining a second data signal according to the target data information.
In one embodiment, obtaining a plurality of luminaire control signals comprises: receiving a first initial control signal sent by a local light control device; determining a signal source identifier corresponding to the local lamplight control device according to the first initial control signal; and taking a candidate local control signal corresponding to the signal source identifier in a plurality of candidate local control signals stored in advance as a local control signal.
In one embodiment, obtaining a plurality of luminaire control signals comprises: receiving a second initial control signal sent by the integral light control device; and extracting information according to preset second signal content, extracting target control information from the second initial control signal, and obtaining an overall control signal according to the target control information.
In a second aspect, the present application further provides a luminaire control apparatus for a lighting gateway, the apparatus including: an acquisition module to acquire a plurality of luminaire control signals, wherein the plurality of luminaire control signals comprise at least one of overall control signals for luminaires in a target site and local control signals for luminaires in a local area of the target site; the determining module is used for determining a target lamp control signal from the plurality of lamp control signals according to a preset strategy; and the control module is used for controlling the lamp to work according to the target lamp control signal.
In one embodiment, the determining module is specifically configured to: extracting priority information from each lamp control signal respectively; and determining the lamp control signal with the highest priority from the plurality of lamp control signals as the target lamp control signal according to the priority information in each lamp control signal.
In one embodiment, the control module is specifically configured to: extracting mode information from the target lamp control signal, wherein the mode information is used for indicating the working mode of the lighting gateway; and controlling the lamp to work according to the mode information.
In one embodiment, the control module is specifically configured to: if the working mode indicated by the mode information is a play mode, extracting a first data signal identifier from the target lamp control signal; and acquiring a first data signal from the signal storage area according to the first data signal identifier, and controlling the lamp to work according to the first data signal.
In one embodiment, the control module is specifically configured to: if the target lamp control signal comprises the playing indication information, controlling the lamp to work according to the playing indication information and the first data signal; the playing indication information is used for indicating at least one of the number of playing cycles and the playing time length.
In one embodiment, the first data signal includes a plurality of data frames, and the control module is specifically configured to: acquiring a first data record from the signal storage area according to the first data signal identifier, sequentially determining each data frame contained in the first data signal according to the first data record, and storing the determined data frame into a buffer area after determining the data frame each time; and sending the data frame stored in the buffer area to the lamp to control the lamp to work.
In one embodiment, the first data record includes a first reference data record and a first changed data record, the first reference data record includes a channel value of each channel in a target data frame in the first data signal, the first changed data record includes a channel value of a changed channel in a non-target data frame in the first data signal, the channel value of the changed channel is different from a previous data frame, and the control module is specifically configured to: and determining the target data frame in the first data signal according to the first reference data record, and sequentially determining each non-target data frame in the first data signal according to the first change data record after determining the target data frame of the first data signal.
In one embodiment, the control module is specifically configured to: acquiring a frame period from a signal storage area according to a first data signal identifier; determining a target time length of an interval required between the steps of determining the data frames in each execution according to the frame period; and according to the target duration, sequentially determining each data frame according to the first data record, and storing the determined data frames into a buffer area after determining the data frames each time.
In one embodiment, the size of the storage space of the buffer zone is consistent with the number of channels in the data frame; a control module specifically configured to: and covering the channel value of each channel in the determined data frame with the currently stored channel value in the buffer area.
In one embodiment, the control module is specifically configured to: if the number of the first data signal identifications is multiple, acquiring first data records corresponding to the first data signal identifications from the signal storage area, and determining initial data frames corresponding to the first data signal identifications according to the first data records corresponding to the first data signal identifications; and performing fusion processing on the initial data frames corresponding to the first data signal identifications to obtain the data frames contained in the first data signals.
In one embodiment, the control module is further configured to: if the working mode indicated by the mode information is the recording mode, acquiring the received second data signal, and determining a second data signal identifier corresponding to the second data signal; and determining a second data record according to the second data signal, and correspondingly storing the second data record and the second data signal identifier into the signal storage area.
In one embodiment, the second data signal includes a plurality of data frames, and the control module is specifically configured to: taking the channel value of each channel in the target data frame in the second data signal as a second reference data record; taking the channel value of each change channel in the non-target data frame in the second data signal as a second change data record, wherein the channel value of the change channel is different from the channel value of the previous data frame; the second reference data record and the second changed data record are recorded as a second data record.
In one embodiment, the control module is further configured to: and if the working mode indicated by the mode information is the direct mode, acquiring the received second data signal, and controlling the lamp to work according to the second data signal.
In one embodiment, the control module is specifically configured to: receiving an initial data signal sent by the integral light control device; and extracting information according to preset first signal content, extracting target data information from the initial data signal, and obtaining a second data signal according to the target data information.
In one embodiment, the obtaining module is specifically configured to: receiving a first initial control signal sent by a local light control device; determining a signal source identifier corresponding to the local lamplight control device according to the first initial control signal; and taking a candidate local control signal corresponding to the signal source identifier in a plurality of candidate local control signals stored in advance as a local control signal.
In one embodiment, the obtaining module is specifically configured to: receiving a second initial control signal sent by the integral lamplight control device; and extracting information according to preset second signal content, extracting target control information from the second initial control signal, and obtaining an overall control signal according to the target control information.
In a third aspect, the present application further provides a lighting gateway comprising a memory storing a computer program and a processor implementing the steps of the method of any one of the first aspect when the computer program is executed.
In a fourth aspect, the present application further provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of the method of any one of the above first aspects.
In a fifth aspect, the present application also provides a computer program product comprising a computer program which, when executed by a processor, performs the steps of the method of any one of the above first aspects.
According to the lamp control method, the lamp control device and the lighting gateway, the plurality of lamp control signals are obtained, wherein the plurality of lamp control signals comprise at least one of the overall control signals for the lamp in the target place and the local control signals for the lamp in the local area of the target place, then the target lamp control signals are determined from the plurality of lamp control signals according to the preset strategy, and then the lamp is controlled to work according to the target lamp control signals, so that the overall control and the local control of the lamp can be realized, and the flexibility of lamp control is improved.
Drawings
FIG. 1 is a schematic flow chart of lamp control according to one embodiment;
FIG. 2 is a diagram of a data structure of a lamp control signal according to an embodiment;
FIG. 3 is a diagram of a data format of a data record storing a data signal in one embodiment;
FIG. 4 is a diagram of a data format for storing a frame period of a data signal in one embodiment;
FIG. 5 is a diagram of a parameter data structure storing parameters in one embodiment;
FIG. 6 is a diagram of a lamp control apparatus according to an embodiment;
figure 7 is an internal block diagram of a lighting gateway in one implementation.
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 lighting gateway is a system for intelligently controlling and managing lamps, and a general lighting gateway relays and converts received control signals of a light console to send the control signals to the lamps to control the lamps, but with the improvement of life quality of people, the requirements for lamp management and control modes are higher and higher, for example, for lamps of a whole building, the requirements are that the lamps of the whole building can be integrally controlled in color, brightness and the like of light through the light console, and the requirements are that the lamps of a certain floor or a certain room can be locally controlled in color, brightness and the like of light through an intelligent switch, a sensor, a knob and the like, so that an effective means for flexibly controlling the lamps is required.
In one embodiment, as shown in fig. 1, a luminaire control method is provided, and the method is applied to a lighting gateway, and it should be noted that the embodiment of the present application does not limit the specific type of the lighting gateway. In the embodiment of the application, the method comprises the following steps:
step 101, obtaining a plurality of luminaire control signals, wherein the plurality of luminaire control signals comprise at least one of an overall control signal for luminaires in a target site and a local control signal for luminaires in a local area of the target site.
Specifically, the lighting control signal is a control signal that can be used to control the operating mode of the lighting gateway and thus control the lighting. The lamp control signals of the lamps in a certain place can be divided into two types, wherein one type is an integral control signal, namely the signals of all the lamps in the place can be controlled; one is a local control signal, i.e. a signal that can control a part of the luminaires in the site. For example, for an entire building, a control signal capable of controlling all lamps in the entire building is an overall control signal, and a control signal capable of controlling lamps in a certain room or a certain floor of the building is a local control signal.
Optionally, the lighting gateway may receive a lighting control signal sent by the lighting console and a local controller (e.g., an intelligent switch, a sensor, a knob, etc.), where the control signal sent by the lighting console is an overall control signal, the control signal sent by the local controller is a local control signal, and the lighting gateway may receive the overall control signal sent by the multiple lighting consoles and the local control signal sent by the multiple local controllers at the same time.
Step 102, determining a target lamp control signal from a plurality of lamp control signals according to a preset strategy.
Specifically, the preset strategy may be a strategy for performing sorting processing on the plurality of lamp control signals to find a lamp control signal executed first, where the found lamp control signal executed first is a target lamp control signal, and specifically, the preset strategy may be sorting according to letters included in the lamp control signal, and the lamp control signal with the letters arranged first is the target lamp control signal. For example, the lighting gateway receives 3 lighting fixture control signals, where the letter in the overall control signal sent by the lighting console is F, the letter in the local control signal sent by the intelligent switch is C, and the letter in the local control signal sent by the sensor is D, then the local control signal sent by the intelligent switch is the target lighting fixture control signal.
After the lighting gateway acquires the multiple lamp control signals, the execution sequence of the multiple lamp control signals can be determined through a preset strategy, and the risk that the lamps are damaged possibly due to the fact that the lamps are controlled in a chaotic mode due to the fact that the multiple lamp control signals are executed simultaneously is avoided.
And 103, controlling the lamp to work according to the target lamp control signal.
Specifically, the target lamp control signal includes a signal source identifier capable of uniquely identifying and sending the lamp control signal, and information capable of determining a working mode of the lighting gateway, where the working mode of the lighting gateway includes a direct mode, a play mode, and a record mode, and the modes of the lighting gateway controlling the lamp to work are different in different modes.
Optionally, when the target lamp control signal is an overall control signal sent by the light console, and the mode is a direct mode, the lighting gateway is equivalent to a transfer station, and signals for controlling the color, brightness and the like of the lamp sent by the light console are directly sent to the lamp to achieve the purpose of controlling the lamp to work; when the target lamp control signal is an integral control signal sent by a light console, and the mode is a recording mode, the lighting gateway is equivalent to a memory, stores signals for controlling the color, the brightness and the like of the lamp sent by the light console, and sends the signals to the lamp in a play mode to achieve the purpose of controlling the lamp to work; when the target lamp control signal is a local control signal sent by the intelligent switch, and the mode is a playing mode, the lighting gateway is equivalent to a player, and the stored signals of the color, the brightness and the like of the related lamp are called according to the needs of a user and sent to the lamp so as to achieve the purpose of controlling the lamp to work.
In summary, by obtaining a plurality of lamp control signals, where the plurality of lamp control signals include at least one of an overall control signal for a lamp in a target location and a local control signal for a lamp in a local area of the target location, then determining the target lamp control signal from the plurality of lamp control signals according to a preset strategy, and then controlling the lamp to work according to the target lamp control signal, overall control and local control over the lamp can be achieved, and flexibility of lamp control is improved.
In one embodiment, determining the target luminaire control signal from the plurality of luminaire control signals according to a preset strategy comprises: extracting priority information from each lamp control signal respectively; and determining the lamp control signal with the highest priority from the plurality of lamp control signals as the target lamp control signal according to the priority information in each lamp control signal.
Specifically, the lamp control signal includes priority information, the priority information is used for indicating the priority of the lamp control signal, and belongs to a numerical field, the higher the numerical value is, the higher the priority is, and the lamp control signal with the highest priority is the target lamp control signal. The priority in the lamp control signal is set by a User through a browser in a WEB-UI (WEB User Interface), and the priorities of different signal sources are different.
Optionally, after the lighting gateway obtains the multiple lamp control signals, the priority information is extracted from the multiple lamp control signals, and then the priorities are compared, that is, the magnitudes of the values are compared, and the lamp control signal corresponding to the largest value is used as the target control signal.
In one embodiment, controlling the operation of the lamp according to the target lamp control signal comprises: extracting mode information from the target lamp control signal, wherein the mode information is used for indicating the working mode of the lighting gateway; and controlling the lamp to work according to the mode information.
Specifically, the lighting device control signal includes mode information for indicating an operation mode of the lighting gateway, and therefore, the target lighting device control signal necessarily includes the mode information, the mode information may be represented by a 16-ary numerical value, and different numerical values represent different operation modes of the lighting gateway, for example: 0x01, 0x11, 0x12, 0x21 respectively represent a direct mode, a single play mode, a loop play mode, and a record mode of the lighting gateway. Other identifiers capable of uniquely determining each operation mode of the lighting gateway, such as letters AA, BB1, BB2, CC, may also be used, and the specific form of the mode information is not limited herein.
Optionally, the target lamp control signal is decoded to obtain mode information, different mode information represents different working modes of the lighting gateway, and different working modes control different modes of the lamp to work. The specific mode of operation controls the operation of the lamp as follows.
To sum up, the lamp control signal includes a signal source identifier, priority information, and mode information, and in addition, parameter information, and a specific data structure diagram of the lamp control signal is shown in fig. 2, it should be noted that a user can set a data structure of the lamp control signal through a WEB-UI according to a need of the user. The parameter information includes different information in different working modes of the lighting gateway, which is shown in the following table.
Mode information Parameter information Means of
0x01 Is free of Straight-through mode
0x11 Signal mark to be played Single play mode
0x12 Identification of signal to be played, cycle number Circular play mode
0x21 New recording signal identification, recording duration Recording mode
In one embodiment, controlling the operation of the light fixture according to the mode information includes: if the working mode indicated by the mode information is a play mode, extracting a first data signal identifier from the target lamp control signal; and acquiring a first data signal from the signal storage area according to the first data signal identifier, and controlling the lamp to work according to the first data signal.
In one embodiment, controlling the operation of the light fixture according to the first data signal comprises: if the target lamp control signal comprises the playing indication information, controlling the lamp to work according to the playing indication information and the first data signal; the playing indication information is used for indicating at least one of the number of playing cycles and the playing time length.
Specifically, as shown in fig. 2, the data structure of the target luminaire control signal may be extracted from the parameter information to obtain a first data signal identifier, that is, a signal identifier to be played, and according to the identifier, a first data signal may be retrieved from a signal storage area of the lighting gateway, where the first data signal is a signal capable of controlling the color, brightness, and the like of the luminaire. The signal storage area stores a plurality of data signals, and different data signals have unique identifications. And obtaining playing indication information from the parameter information in the target lamp control signal, wherein the playing indication information may be at least one of playing cycle number and playing duration. And then controlling the time length for outputting the first data signal to the lamp according to the playing time length, and controlling the frequency for outputting the first data signal to the lamp according to the playing cycle frequency to achieve the purpose of controlling the lamp to work.
In one embodiment, the first data signal includes a plurality of data frames, the first data signal is acquired from the signal storage area according to the first data signal identifier, and the lamp is controlled to operate according to the first data signal, including: acquiring a first data record from the signal storage area according to the first data signal identifier, sequentially determining each data frame contained in the first data signal according to the first data record, and storing the determined data frame into a buffer area after determining the data frame each time; and sending the data frame stored in the buffer area to the lamp to control the lamp to work.
In one embodiment, the first data record includes a first reference data record and a first changed data record, the first reference data record includes channel values of channels in a target data frame in the first data signal, the first changed data record includes channel values of changed channels in a non-target data frame in the first data signal, the channel values of the changed channels are different from a previous data frame, and each data frame included in the first data signal is sequentially determined according to the first data record, including: and determining a target data frame in the first data signal according to the first reference data record, and sequentially determining non-target data frames in the first data signal according to the first change data record after determining the target data frame of the first data signal.
In particular, the first data signal comprises a plurality of data frames, that is to say the first data signal can be regarded as consisting of a plurality of data frames. The data records for storing the data signals in the signal storage area are stored in a data format as shown in fig. 3, and include signal identifiers, frame numbers, channel numbers and channel values, where the channel values are 8-bit binary numbers, and the meaning of different numerical values is different, for example, 00110010 indicates that the color of the lamp is yellow.
Optionally, all data records stored in the data format of fig. 3 that are consistent with the first data signal identifier may be acquired from the signal storage area according to the first data signal identifier, that is, the first data record is obtained. The first data record can be divided into a first reference data record and a first changed data record, the first reference data record is all data records with a frame number of 1, and the first changed data record is all data records with a frame number different from 1. The channel value of each channel in the first reference data record is a target data frame, and the channel value of each channel corresponding to each frame number in the first conversion data record is a non-target data frame.
Optionally, the data record with the frame number of 1, that is, the first reference data record, is obtained first, each channel value in the first reference data record is stored in the buffer area, then the next frame data record, that is, the data record with the frame number of 2 in the first changed data record is obtained, each channel value in the data record is stored in the buffer area, and so on until all the first data records are stored in the buffer area, or the playing time length is reached. It should be noted that, after each channel value is stored in the buffer area, the content stored in the buffer area may be directly sent to the lamp, or after all the first data records are stored in the buffer area, the content stored in the buffer area may be sequentially sent to the lamp, which is not limited herein.
For example, if the first number of signals has N frame data frames, the 1 st frame data frame is retrieved from the signal storage area, that is, all the data records with the frame number of 1, the channel value of each channel in the data record is stored in the buffer area, then the next frame data frame is retrieved, the channel value of each channel in the retrieved data record is stored in the buffer area, the channel value of each channel which is not retrieved is still maintained in the data record of the previous frame until each channel value in the data record with the frame number of N is stored in the buffer area, and finally the data of the transmission buffer area is sequentially transmitted to the lamp, so that the first data signal is played.
In one embodiment, the method further comprises: acquiring a frame period from a signal storage area according to a first data signal identifier; determining a target time length of an interval required between the steps of determining the data frames in each execution according to the frame period; and according to the target duration, sequentially determining each data frame according to the first data record, and storing the determined data frames into a buffer area after determining the data frames each time.
Specifically, in addition to the data record of the data signal shown in fig. 3, the signal storage area also stores the frame period of the data signal in the data format shown in fig. 4, including the signal identifier, the total number of frames, the frame period, i.e., the playing interval of each data frame. Therefore, before determining each data frame in sequence according to the first data record, it is necessary to identify a frame period for acquiring the first data signal according to the first data signal, and use the frame period as an interval duration for acquiring the data frame each time, that is, after storing the acquired data frame in the buffer area each time, the duration of one frame period is equal, and then perform the step of acquiring the data of the next data frame.
In one embodiment, the size of the storage space of the buffer is consistent with the number of channels in the data frame; storing the determined data frame to a buffer, comprising: and covering the channel value of each channel in the determined data frame with the currently stored channel value in the buffer area.
Specifically, if the data signal is DMX512 data, each frame of data has 512 channels, the buffer may have 512 bytes of storage space, and the channel value of each channel in the data frame acquired each time is written into the channel corresponding to the buffer, and if the channel value of each channel in the data frame is not acquired, the channel value of the channel corresponding to the transmission buffer is the channel value of each channel in the previous data frame.
In one embodiment, acquiring the first data record from the signal storage area according to the first data signal identifier, and sequentially determining each data frame contained in the first data signal according to the first data record includes: if the number of the first data signal identifications is multiple, acquiring first data records corresponding to the first data signal identifications from the signal storage area, and determining initial data frames corresponding to the first data signal identifications according to the first data records corresponding to the first data signal identifications; and performing fusion processing on the initial data frames corresponding to the first data signal identifications to obtain the data frames contained in the first data signals.
Specifically, if a user sets a play mode through a WEB-UI to play a plurality of data signals, the lighting gateway acquires a plurality of identifiers of signals to be played from parameter information of a target control lamp control signal, that is, the number of first data signal identifiers is multiple, and under the condition that the frame periods of the first data signals are consistent, channel values of channels in first data records corresponding to the first data signal identifiers acquired from the signal storage area for the nth frame are merged or overlaid to obtain a data frame of the nth frame, and the data frame is sent to a buffer area, where the channel values of different channel numbers are merged, and the channel values of the same channel number are overlaid, and the channel value in the first data record of which first data signal identifier is selected in the overlay processing process is not limited, so that the user can set the data frame by himself/herself. In addition, a plurality of first data signals are fused to obtain new data signals, and diversification of the data signals for controlling the lamp is achieved.
In one embodiment, the method further comprises: if the working mode indicated by the mode information is the recording mode, acquiring the received second data signal, and determining a second data signal identifier corresponding to the second data signal; and determining a second data record according to the second data signal, and correspondingly storing the second data record and the second data signal identifier into the signal storage area.
In one embodiment, the second data signal includes a plurality of data frames, and determining the second data record based on the second data signal includes: recording the channel value of each channel in the target data frame in the second data signal as second reference data; taking the channel value of each change channel in the non-target data frame in the second data signal as a second change data record, wherein the channel value of the change channel is different from the channel value of the previous data frame; the second reference data record and the second changed data record are recorded as a second data record.
Specifically, in the recording mode, the received data signal capable of controlling the color, brightness, and the like of the lamp is the second data signal, and the second data signal identifier may be obtained from the parameter information in the target lamp control signal. The second data signal is DMX512 data, which is composed of a plurality of data frames, and is stored in the signal storage area in the data format as shown in fig. 3.
Optionally, first, a target data frame, that is, a first data frame, in the second data signal is obtained, and a first reference data record is generated and stored according to the data format of fig. 3, where the data format includes a signal source identifier, a frame sequence number, a channel number, and a channel value. And then acquiring a non-target data frame in the second data signal, namely a next data frame except the first data frame, comparing the acquired next data frame with the previous data frame channel by channel, only storing the data frame with the same channel number and different channel values as the previous data frame according to the data format of fig. 3, and generating a second change data record. And finally, calculating the frame period of the second data signal according to the recording duration in the parameter information of the target lamp control signal and the total frame number of the acquired second data signal, and storing the second data signal identifier, the total frame number and the frame period in a signal storage area according to the data format shown in fig. 4. In addition, the data is stored according to the mode, the changed channel data can be ensured to be stored, the storage space is saved, and the stored data signals are convenient to combine when being played simultaneously in the playing mode.
In one embodiment, controlling the operation of the light fixture according to the mode information includes: and if the working mode indicated by the mode information is the direct mode, acquiring the received second data signal, and controlling the lamp to work according to the second data signal.
Specifically, when the operating mode of the lighting gateway is the direct mode, the second data signal acquired from the light control console is directly sent to the lamp to achieve the purpose of controlling the lamp, that is, in the direct mode, the light control console can directly control the lamp, that is, the effect of scene programming of the lamp by the light control console can be achieved.
In one embodiment, acquiring the received second data signal comprises: receiving an initial data signal sent by the integral light control device; and extracting information according to preset first signal content, extracting target data information from the initial data signal, and obtaining a second data signal according to the target data information.
In one embodiment, obtaining a plurality of luminaire control signals comprises: receiving a second initial control signal sent by the integral light control device; and extracting information according to preset second signal content, extracting target control information from the second initial control signal, and obtaining an overall control signal according to the target control information.
Specifically, the overall lighting control device may be a lighting console that may send a plurality of signals to the lighting gateway, the plurality of signals including an initial data signal and a second initial control signal. A user can set a data port and a control port of the lighting gateway through a browser on a WEB-UI (user interface), for example, the first signal content of the data port is set to be information such as color and brightness of a lamp, and the second signal content of the control port is set to be signal source identification, priority information, mode information and parameter information. The lighting gateway respectively extracts target data information and target control information from the signal sent by the light control station according to the first signal content and the second signal content, then uses the target data information as a second data signal, and uses the target control information as an overall control signal.
In one embodiment, obtaining a plurality of luminaire control signals comprises: receiving a first initial control signal sent by a local light control device; determining a signal source identifier corresponding to the local lamplight control device according to the first initial control signal; and taking a candidate local control signal corresponding to the signal source identifier in a plurality of candidate local control signals stored in advance as a local control signal.
Specifically, the local lighting control device may be one of an intelligent switch, a sensor, and a knob, taking the intelligent switch as an example, the intelligent switch is triggered, the intelligent switch may send a first initial control signal to the lighting gateway, where the first initial control signal includes unique signal source identification information capable of determining the intelligent switch, a parameter storage area of the lighting gateway stores a plurality of local control signals in advance in a data structure as shown in fig. 3, after the lighting gateway receives the first initial control signal sent by the local lighting control device, a signal source identification may be obtained according to the first initial control signal, and then a local control signal identical to the signal source identification is retrieved from a signal source definition in the parameter storage area, where the local control signal in the parameter storage area is preset by a user.
In summary, the user may set the data port Universe and the control port Universe of the lighting gateway on the WEB-UI through the browser, and divide the signal sent by the lighting console and received by the lighting gateway into the data signal and the control signal. The priority, parameter information and mode information of the signal source can be set through the WEB-UI, and when the lighting gateway is executed according to the method, the lighting scene required by the user can be realized. The parameters set through the WEB-UI are all stored in the parameter storage area, and a specific stored parameter data structure diagram is shown in fig. 5.
Based on the same inventive concept, the embodiment of the application also provides a lamp control device for realizing the lamp control method. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the method, so specific limitations in one or more lamp control device embodiments provided below can be referred to the limitations on the lamp control method in the foregoing, and details are not described herein again.
In one embodiment, as shown in fig. 6, there is provided a luminaire control device 600 comprising:
an obtaining module 601, configured to obtain a plurality of luminaire control signals, where the plurality of luminaire control signals include at least one of an overall control signal for luminaires in a target site and a local control signal for luminaires in a local area of the target site;
a determining module 602, configured to determine a target luminaire control signal from a plurality of luminaire control signals according to a preset policy;
and the control module 603 is configured to control the lamp to operate according to the target lamp control signal.
In one embodiment, the determining module 602 is specifically configured to: extracting priority information from each lamp control signal respectively; and determining the lamp control signal with the highest priority from the plurality of lamp control signals as the target lamp control signal according to the priority information in each lamp control signal.
In one embodiment, the control module 603 is specifically configured to: extracting mode information from the target lamp control signal, wherein the mode information is used for indicating the working mode of the lighting gateway; and controlling the lamp to work according to the mode information.
In one embodiment, the control module 603 is specifically configured to: if the working mode indicated by the mode information is a play mode, extracting a first data signal identifier from the target lamp control signal; and acquiring a first data signal from the signal storage area according to the first data signal identifier, and controlling the lamp to work according to the first data signal.
In one embodiment, the control module 603 is specifically configured to: if the target lamp control signal comprises the playing indication information, controlling the lamp to work according to the playing indication information and the first data signal; the playing indication information is used for indicating at least one of the number of playing cycles and the playing time length.
In one embodiment, the first data signal includes a plurality of data frames, and the control module 603 is specifically configured to: acquiring a first data record from the signal storage area according to the first data signal identifier, sequentially determining each data frame contained in the first data signal according to the first data record, and storing the determined data frame into a buffer area after determining the data frame each time; and sending the data frame stored in the buffer area to the lamp to control the lamp to work.
In one embodiment, the first data record includes a first reference data record and a first changed data record, the first reference data record includes channel values of channels in a target data frame of the first data signal, the first changed data record includes channel values of changed channels in a non-target data frame of the first data signal, and the channel values of the changed channels are different from a previous data frame, and the control module 603 is specifically configured to: and determining a target data frame in the first data signal according to the first reference data record, and sequentially determining non-target data frames in the first data signal according to the first change data record after determining the target data frame of the first data signal.
In one embodiment, the control module 603 is specifically configured to: acquiring a frame period from a signal storage area according to a first data signal identifier; determining a target time length of an interval required between the steps of determining the data frames in each execution according to the frame period; and according to the target duration, sequentially determining each data frame according to the first data record, and storing the determined data frames into a buffer area after determining the data frames each time.
In one embodiment, the size of the storage space of the buffer is consistent with the number of channels in the data frame; the control module 603 is specifically configured to: and overwriting the determined channel value of each channel in the data frame with the currently stored channel value in the buffer area.
In one embodiment, the control module 603 is specifically configured to: if the number of the first data signal identifications is multiple, acquiring first data records corresponding to the first data signal identifications from the signal storage area, and determining initial data frames corresponding to the first data signal identifications according to the first data records corresponding to the first data signal identifications; and performing fusion processing on the initial data frames corresponding to the first data signal identifications to obtain the data frames contained in the first data signals.
In one embodiment, the control module 603 is specifically configured to: if the working mode indicated by the mode information is the recording mode, acquiring the received second data signal, and determining a second data signal identifier corresponding to the second data signal; and determining a second data record according to the second data signal, and correspondingly storing the second data record and the second data signal identifier into the signal storage area.
In one embodiment, the second data signal includes a plurality of data frames, and the control module 603 is specifically configured to: taking the channel value of each channel in the target data frame in the second data signal as a second reference data record; taking the channel value of each change channel in the non-target data frame in the second data signal as a second change data record, wherein the channel value of the change channel is different from the channel value of the previous data frame; the second reference data record and the second changed data record are recorded as a second data record.
In one embodiment, the control module 603 is specifically configured to: and if the working mode indicated by the mode information is the direct mode, acquiring the received second data signal, and controlling the lamp to work according to the second data signal.
In one embodiment, the control module 603 is specifically configured to: receiving an initial data signal sent by the integral light control device; and extracting information according to preset first signal content, extracting target data information from the initial data signal, and obtaining a second data signal according to the target data information.
In one embodiment, the obtaining module 601 is specifically configured to: receiving a first initial control signal sent by a local light control device; determining a signal source identifier corresponding to the local lamplight control device according to the first initial control signal; and taking a candidate local control signal corresponding to the signal source identifier in a plurality of candidate local control signals stored in advance as a local control signal.
In one embodiment, the obtaining module 601 is specifically configured to: receiving a second initial control signal sent by the integral light control device; and extracting information according to preset second signal content, extracting target control information from the second initial control signal, and obtaining an overall control signal according to the target control information.
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 of the lighting gateway, and can also be stored in the lighting gateway in a software form, so that the lighting gateway can call and execute operations corresponding to the modules.
Based on the same inventive concept, the embodiment of the application also provides a lighting gateway. The implementation scheme for solving the problem provided by the lighting gateway is similar to the implementation scheme described in the above method, so specific limitations in one or more lighting gateway embodiments provided below may refer to the limitations on the lamp control method in the foregoing, and details are not described herein again.
In one embodiment, an internal structure diagram of a lighting gateway is shown in fig. 7, and the lighting gateway includes a WEB-UI module, a parameter storage area, a signal receiving module, a logic conversion module, a priority arbitration module, a switch module, a control logic decoding module, a signal recording module, a signal storage area, a signal playing module, a signal output module, and a reset module. The WEB-UI module is used for receiving relevant parameters of a lamp control signal and a second data signal set by a user through a browser, and storing the relevant parameters by using a parameter storage area. The signal receiving module is used for receiving signals sent by at least one integral light control device and processing the received signals according to relevant parameters to obtain at least one integral control signal and at least one second data signal, wherein the integral light control device can be a light console. The logic conversion module is used for receiving signals sent by at least one local light control device and acquiring at least one local control signal from the parameter storage area, wherein the local light control device can be a sensor or an intelligent switch. The priority arbitration module is used for determining a target lamp control signal from at least one integral control signal and at least one local control signal respectively sent by the received signal receiving module and the logic conversion module according to the priority information. The control logic decoding module is used for extracting mode information from the received target control signal and indicating at least one of the switch module, the signal recording module and the signal playing module to work according to the mode information. If the mode information is the through module, the control logic decoding module controls the switch module to receive a second data signal corresponding to the target lamp control signal of the signal receiving module and sends the second data signal to the signal output module; if the mode information module is in a recording mode, the control logic decoding module controls the switch module to receive a second data signal corresponding to a target lamp control signal of the signal receiving module and sends the second data signal to the signal recording module, and the signal recording module stores the received second data signal to the signal storage area; if the mode information is the playing mode, the control logic decoding module controls the playing module to acquire the first data signal from the signal storage area and send the first data signal to the signal output module. The reset module is used for emptying the parameter storage area and the signal storage area. The lighting gateway can realize a lamp control method.
It will be understood by those skilled in the art that the structure shown in fig. 7 is a block diagram of only a portion of the structure relevant to the present application, and does not constitute a limitation on the lighting gateway to which the present application is applied, and a particular lighting gateway may include more or fewer components than shown in the figures, or combine certain components, or have a different arrangement of components.
In an embodiment, a computer-readable storage medium is provided, on which a computer program is stored which, when being executed by a processor, carries out the steps of the above-mentioned method embodiments.
In an embodiment, a computer program product is provided, comprising a computer program which, when executed by a processor, carries out the steps in the method embodiments described above.
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 hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, database, or other medium used in the embodiments provided herein may include at least one of non-volatile and volatile memory. The nonvolatile Memory may include a Read-Only Memory (ROM), a magnetic tape, a floppy disk, a flash Memory, an optical Memory, a high-density embedded nonvolatile Memory, a resistive Random Access Memory (ReRAM), a Magnetic Random Access Memory (MRAM), a Ferroelectric Random Access Memory (FRAM), a Phase Change Memory (PCM), a graphene Memory, and the like. Volatile Memory can include Random Access Memory (RAM), external cache Memory, and the like. 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 databases referred to in various embodiments provided herein may include at least one of relational and non-relational databases. The non-relational database may include, but is not limited to, a block chain based distributed database, and the like. The processors referred to in the embodiments provided herein may be general purpose processors, central processing units, graphics processors, digital signal processors, programmable logic devices, quantum computing based data processing logic devices, etc., without limitation.
All possible combinations of the technical features in the above embodiments may not be described for the sake of brevity, but should be considered as being within the scope of the present disclosure as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments 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 present application. 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 application shall be subject to the appended claims.

Claims (16)

1. A luminaire control method, for a lighting gateway, the method comprising:
obtaining a plurality of luminaire control signals, wherein the plurality of luminaire control signals comprise at least one of overall control signals for luminaires in a target site and local control signals for luminaires in a local area of the target site;
determining a target lamp control signal from the plurality of lamp control signals according to a preset strategy;
and controlling the lamp to work according to the target lamp control signal.
2. The method of claim 1, wherein determining a target luminaire control signal from the plurality of luminaire control signals according to a preset strategy comprises:
extracting priority information from each lamp control signal;
and determining the lamp control signal with the highest priority from the plurality of lamp control signals as the target lamp control signal according to the priority information in each lamp control signal.
3. The method of claim 1, wherein the controlling lamp operation according to the target lamp control signal comprises:
extracting mode information from the target luminaire control signal, the mode information being used to indicate a working mode of the lighting gateway;
and controlling the lamp to work according to the mode information.
4. The method of claim 3, wherein the controlling the operation of the light fixture according to the mode information comprises:
if the working mode indicated by the mode information is a play mode, extracting a first data signal identifier from the target lamp control signal;
and acquiring a first data signal from a signal storage area according to the first data signal identifier, and controlling the lamp to work according to the first data signal.
5. The method of claim 4, wherein controlling the operation of the light fixture according to the first data signal comprises:
if the target lamp control signal comprises play indication information, controlling the lamp to work according to the play indication information and the first data signal;
the playing indication information is used for indicating at least one of the number of playing cycles and the playing time length.
6. The method of claim 4, wherein the first data signal comprises a plurality of data frames, and wherein retrieving the first data signal from the signal storage area according to the first data signal identification and controlling the lamp to operate according to the first data signal comprises:
acquiring a first data record from the signal storage area according to the first data signal identifier, sequentially determining each data frame contained in the first data signal according to the first data record, and storing the determined data frame into a buffer area after determining the data frame each time;
and sending the data frame stored in the buffer area to a lamp to control the lamp to work.
7. The method of claim 6, wherein the first data record comprises a first reference data record and a first changed data record, the first reference data record comprises channel values of channels in a target data frame of the first data signal, the first changed data record comprises channel values of changed channels in a non-target data frame of the first data signal, the channel values of the changed channels are different from a previous data frame, and the sequentially determining, according to the first data record, each data frame included in the first data signal comprises:
and determining a target data frame in the first data signal according to the first reference data record, and sequentially determining each non-target data frame in the first data signal according to the first change data record after determining the target data frame of the first data signal.
8. The method of claim 6, further comprising:
acquiring a frame period from the signal storage area according to the first data signal identification;
determining a target time length of an interval required between the steps of determining the data frames in each execution according to the frame period;
and according to the target duration, sequentially determining each data frame according to the first data record, and storing the determined data frames into a buffer area after determining the data frames each time.
9. The method of claim 6, wherein the size of the storage space of the buffer is consistent with the number of channels in the data frame; the storing the determined data frame to a buffer includes:
and covering the determined channel value of each channel in the data frame with the currently stored channel value in the buffer area.
10. The method of claim 6, wherein said retrieving a first data record from said signal storage area based on said first data signal identification, and sequentially determining each data frame contained in said first data signal based on said first data record, comprises:
if the number of the first data signal identifications is multiple, acquiring first data records corresponding to the first data signal identifications from the signal storage area, and determining initial data frames corresponding to the first data signal identifications according to the first data records corresponding to the first data signal identifications;
and performing fusion processing on the initial data frames corresponding to the first data signal identifications to obtain the data frames contained in the first data signals.
11. The method of claim 3, further comprising:
if the working mode indicated by the mode information is a recording mode, acquiring a received second data signal, and determining a second data signal identifier corresponding to the second data signal;
and determining a second data record according to the second data signal, and correspondingly storing the second data record and the second data signal identification into a signal storage area.
12. The method of claim 11, wherein the second data signal comprises a plurality of data frames, and wherein determining the second data record from the second data signal comprises:
taking the channel value of each channel in the target data frame in the second data signal as a second reference data record;
taking the channel value of each change channel in the non-target data frame in the second data signal as a second change data record, wherein the channel value of the change channel is different from the channel value of the previous data frame;
and recording the second reference data record and the second changed data record as the second data record.
13. The method of claim 3, wherein the controlling the operation of the light fixture according to the mode information comprises:
and if the working mode indicated by the mode information is a direct mode, acquiring the received second data signal, and controlling the lamp to work according to the second data signal.
14. The method of any one of claims 1 to 13, wherein said obtaining a plurality of luminaire control signals comprises:
receiving a first initial control signal sent by a local light control device;
determining a signal source identifier corresponding to the local lamplight control device according to the first initial control signal;
and taking a candidate local control signal corresponding to the signal source identifier in a plurality of candidate local control signals stored in advance as the local control signal.
15. A luminaire control apparatus for a lighting gateway, the apparatus comprising:
an acquisition module to acquire a plurality of luminaire control signals, wherein the plurality of luminaire control signals comprise at least one of overall control signals for luminaires in a target site and local control signals for luminaires in a local area of the target site;
the determining module is used for determining a target lamp control signal from the plurality of lamp control signals according to a preset strategy;
and the control module is used for controlling the lamp to work according to the target lamp control signal.
16. A lighting gateway comprising a memory and a processor, the memory storing a computer program, characterized in that the processor, when executing the computer program, implements the steps of the method of any one of claims 1 to 14.
CN202211156799.4A 2022-09-22 2022-09-22 Lamp control method and device and lighting gateway Pending CN115551158A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211156799.4A CN115551158A (en) 2022-09-22 2022-09-22 Lamp control method and device and lighting gateway

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211156799.4A CN115551158A (en) 2022-09-22 2022-09-22 Lamp control method and device and lighting gateway

Publications (1)

Publication Number Publication Date
CN115551158A true CN115551158A (en) 2022-12-30

Family

ID=84729816

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211156799.4A Pending CN115551158A (en) 2022-09-22 2022-09-22 Lamp control method and device and lighting gateway

Country Status (1)

Country Link
CN (1) CN115551158A (en)

Similar Documents

Publication Publication Date Title
US5963546A (en) Method of searching for available path in mesh architecture
US11218331B2 (en) Detecting recommissioning
DE60313783D1 (en) MOVING DATA BETWEEN MEMORY UNITS
US9281992B2 (en) Method and system for identifying storage device
US20200184265A1 (en) Model learning device, method for learned model generation, program, learned model, monitoring device, and monitoring method
JPH09500997A (en) A distributed directory for information stored in audio quality memory devices
CN106559473A (en) Control method and control device
CN115551158A (en) Lamp control method and device and lighting gateway
CN109315053A (en) There are simulation systems and method
EP3590308A1 (en) Data association under recommissioning
US20210274620A1 (en) Method and controller for selecting media content based on a lighting scene
CN112601328B (en) Lamp control method, device, lamp and storage medium
CN111656865A (en) Method and apparatus for controlling a lighting system
CN115379631A (en) Evacuation plan setting and starting control method of emergency evacuation indicating system
US6351258B1 (en) Switcher system and I/O switching method
CN115167168A (en) Intelligent household control method, system, equipment and storage medium
EP3972391A1 (en) Modeling environmental characteristics based on sensor data obtainable in a lighting system
CN107635326B (en) Household intelligent light control method and system
US11950346B2 (en) Configuring a bridge with groups after addition of said bridge to a lighting system
CN108345221A (en) Home intelligent steward system
CN108337766A (en) A kind of control method of LED light, electronic equipment and storage medium
CN117118773A (en) Scene generation method, system and storage medium
CN116484564A (en) Virtual lamp configuration method, device, computer equipment and computer readable storage medium
WO2020212508A1 (en) Network system operating with predicted events
US20190109640A1 (en) Method and system for commissioning a lighting 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