CN112672484B - Lamp equipment management method and system - Google Patents
Lamp equipment management method and system Download PDFInfo
- Publication number
- CN112672484B CN112672484B CN202011400619.3A CN202011400619A CN112672484B CN 112672484 B CN112672484 B CN 112672484B CN 202011400619 A CN202011400619 A CN 202011400619A CN 112672484 B CN112672484 B CN 112672484B
- Authority
- CN
- China
- Prior art keywords
- equipment
- lamp
- read
- lamp equipment
- instruction
- 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.)
- Active
Links
Images
Classifications
-
- Y—GENERAL 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
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02B—CLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS
- Y02B20/00—Energy efficient lighting technologies, e.g. halogen lamps or gas discharge lamps
- Y02B20/40—Control techniques providing energy savings, e.g. smart controller or presence detection
Landscapes
- Circuit Arrangement For Electric Light Sources In General (AREA)
Abstract
The embodiment of the invention relates to the technical field of lamp management, and discloses a lamp equipment management method and a system, wherein the method comprises the following steps: outputting a mute state removing management instruction and activating each lamp device; outputting a device jumper instruction to enable the lamp device to be connected with a signal circuit; outputting a code reading instruction, and reading a device code of the head light device; performing paging coding according to the equipment coding of the head lamp equipment; outputting a mute state management instruction to the first light equipment to enable the first light equipment to disconnect a signal line; and performing paging sequencing on the lamp equipment according to the paging codes, and reading to obtain the equipment code corresponding to each lamp equipment. The embodiment of the invention can efficiently perform paging sequencing on the lamp equipment on the plurality of signal lines, thereby reading the equipment codes of the obtained lamp equipment, setting the address codes for the lamp equipment, and performing rapid fixed-point reading or equipment information setting on the specific lamp equipment based on the equipment codes and the address codes.
Description
Technical Field
The invention relates to the technical field of lamp management, in particular to a lamp equipment management method and system.
Background
The lamp equipment is generally applied to various occasions such as city lighting, landscape lighting, indoor and outdoor exhibition, a multifunctional hall, a bar and the like, and the control equipment reads and checks the operation address code, the setting information and the fault information of the lamp equipment through RDM (Remote Device Management protocol), so that the operation information of the lamp equipment is obtained and the operation parameters of the lamp equipment are set.
However, the conventional RDM has only one communication signal line and does not support paging of reading device IDs by the control device, so that the installation positions of the lighting devices cannot be sequentially ordered, and when the usage amount of the lighting devices is large, the time for reading the operation information of the lighting devices by the RDM is long, which further increases the operation difficulty and reduces the control efficiency.
Disclosure of Invention
The embodiment of the invention discloses a method and a system for managing lamp equipment, which can efficiently perform paging sequencing on the lamp equipment on a plurality of signal lines, thereby reading equipment codes of the lamp equipment, setting address codes for the lamp equipment, and performing rapid fixed-point reading or equipment information setting on specific lamp equipment based on the equipment codes and the address codes.
The first aspect of the embodiments of the present invention discloses a method for managing lighting devices, where the method includes:
outputting a mute state removing management instruction and activating each lamp device;
outputting a device jumper instruction to enable the lamp device to be connected with a signal circuit;
outputting a code reading instruction, and reading a device code of the head light device; the head lamp equipment is lamp equipment positioned at the head of each signal line;
performing paging coding according to the equipment code of the head lamp equipment;
outputting a mute state management instruction to the head light equipment to enable the head light equipment to disconnect a signal line;
and performing paging sequencing on the lighting equipment according to the paging codes, and reading to obtain an equipment code corresponding to each lighting equipment.
As an optional implementation manner, in the first aspect of the embodiment of the present invention, the performing page sorting on the lighting apparatuses according to the page codes, and reading an apparatus code corresponding to each lighting apparatus to obtain the apparatus code, includes:
according to the paging codes, code reading instructions are output to the to-be-read lamp equipment adjacent to the head lamp equipment in each signal line respectively, and equipment codes of the to-be-read lamp equipment are read;
outputting a mute state management instruction to enable the to-be-read lamp equipment to disconnect a signal line, and setting the to-be-read lamp equipment as read lamp equipment;
detecting whether the read lamp equipment in each signal line has adjacent lamp equipment to be read;
if yes, outputting the code reading instruction to the to-be-read lamp equipment, reading the equipment code of the to-be-read lamp equipment, executing the output mute state management instruction, enabling the to-be-read lamp equipment to disconnect a signal line, and setting the to-be-read lamp equipment as the read lamp equipment;
as an optional implementation manner, in the first aspect of the embodiment of the present invention, after performing page sorting on the lighting apparatuses according to the page codes and reading an apparatus code corresponding to each lighting apparatus, the method further includes:
outputting an address setting instruction to the head lamp equipment;
controlling the head lamp equipment to generate a corresponding address code according to the address setting instruction;
storing the address code corresponding to the head light equipment in a storage module of the head light equipment;
and controlling the head lamp equipment to transmit the address setting instruction to the adjacent lamp equipment in the signal line.
As an optional implementation manner, in the first aspect of this embodiment of the present invention, the method further includes:
selecting a plurality of lamp equipment according to the equipment codes and the address codes and arranging the lamp equipment in a control queue;
outputting a signal switch on instruction to any lamp device to be switched on in the control queue, controlling the lamp device to be switched on to switch on a signal switch, and setting the lamp device to be switched on as a switched-on lamp device;
detecting whether the control queue has equipment which is not connected with a lamp or not;
and if detecting that the unconnected lamp equipment exists in the control queue, controlling the connected lamp equipment to output the signal switch on instruction to the unconnected lamp equipment.
A second aspect of an embodiment of the present invention discloses a luminaire device management system, including:
the mute state management unit is used for outputting a mute state management removing instruction and activating each lamp device;
the equipment jumper management unit is used for outputting an equipment jumper instruction to enable the lamp equipment to be connected with a signal circuit;
the code reading unit is used for outputting a code reading instruction and reading the equipment code of the head lamp equipment; the head lamp equipment is lamp equipment positioned at the head of each signal line;
the paging coding unit is used for performing paging coding according to the equipment coding of the head lamp equipment;
the mute state management unit is also used for outputting a mute state management instruction to the head light equipment to enable the head light equipment to disconnect a signal line;
and the paging sequencing unit is used for paging sequencing the lighting equipment according to the paging codes and reading the equipment codes corresponding to the lighting equipment.
As an optional implementation manner, in the second aspect of the embodiment of the present invention, the page sorting unit includes:
the code reading subunit is used for respectively outputting a code reading instruction to the to-be-read lamp equipment adjacent to the head lamp equipment in each signal line according to the paging codes and reading the equipment codes of the to-be-read lamp equipment;
the state management subunit is used for outputting a mute state management instruction, enabling the to-be-read lamp equipment to disconnect a signal line, and setting the to-be-read lamp equipment as read lamp equipment;
the state detection subunit is used for detecting whether the read lamp equipment in each signal line has adjacent lamp equipment to be read;
the code reading subunit is further configured to, when the state detecting subunit detects that the adjacent to-be-read luminaire device exists in the to-be-read luminaire device, output the code reading instruction to the to-be-read luminaire device, and read a device code of the to-be-read luminaire device.
As an optional implementation manner, in the second aspect of the embodiment of the present invention, the system further includes:
the address setting unit is used for outputting an address setting instruction to the head lamp equipment;
the code generating unit is used for controlling the head lamp equipment to generate a corresponding address code according to the address setting instruction;
the code storage unit is used for storing the address code corresponding to the head lamp equipment in a storage module of the head lamp equipment;
the address setting unit is also used for controlling the head lamp equipment to transmit the address setting instruction to the adjacent lamp equipment in the signal line.
As an optional implementation manner, in the second aspect of the embodiment of the present invention, the system further includes:
the control selection unit is used for selecting a plurality of lamp equipment to be listed in a control queue according to the equipment codes and the address codes;
the lamp equipment switching-on management unit is used for outputting a signal switch switching-on instruction to any lamp equipment to be switched on in the control queue, controlling the lamp equipment to be switched on to switch on a signal switch, and setting the lamp equipment to be switched on as the switched-on lamp equipment;
the connection detection unit is used for detecting whether the equipment which is not connected with the lamp exists in the control queue;
the connection management unit is further configured to control the connected lighting apparatus to output the signal switch-on instruction to the unconnected lighting apparatus when the connection detection unit detects that the unconnected lighting apparatus exists in the control queue.
A third aspect of the embodiments of the present invention discloses a luminaire device management system, including:
a memory storing executable program code;
a processor coupled with the memory;
the processor calls the executable program code stored in the memory to execute the lamp device management method disclosed by the first aspect of the embodiment of the invention.
A fourth aspect of the embodiments of the present invention discloses a computer-readable storage medium storing a computer program, where the computer program enables a computer to execute a luminaire device management method disclosed in the first aspect of the embodiments of the present invention.
A fifth aspect of embodiments of the present invention discloses a computer program product, which, when run on a computer, causes the computer to perform some or all of the steps of any one of the methods of the first aspect.
A sixth aspect of the present embodiment discloses an application publishing platform, where the application publishing platform is configured to publish a computer program product, where the computer program product is configured to, when running on a computer, cause the computer to perform part or all of the steps of any one of the methods in the first aspect.
Compared with the prior art, the embodiment of the invention has the following beneficial effects:
in the embodiment of the invention, a mute state removing management instruction is output, and each lamp device is activated; outputting a device jumper instruction to enable the lamp device to be connected with a signal circuit; outputting a code reading instruction, and reading the equipment code of the head lamp equipment; performing paging coding according to the equipment coding of the head lamp equipment; outputting a mute state management instruction to the head light equipment to enable the head light equipment to disconnect a signal line; and paging sorting is carried out on the lamp equipment according to the paging codes, and the equipment code corresponding to each lamp equipment is read and obtained. The embodiment of the invention can efficiently perform paging sequencing on the lamp equipment on the plurality of signal lines, thereby reading the equipment codes of the obtained lamp equipment, setting the address codes for the lamp equipment, and performing rapid fixed-point reading or equipment information setting on the specific lamp equipment based on the equipment codes and the address codes.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to these drawings without creative efforts.
Fig. 1 is a schematic flowchart of a luminaire management method according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of a lighting device management system according to an embodiment of the present disclosure;
fig. 3 is a schematic structural diagram of another lighting device management system disclosed in the embodiment of the present invention;
fig. 4 is a schematic diagram of an operating principle of a luminaire device in the same signal line according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that the terms "first", "second", "third", "fourth", and the like in the description and the claims of the present invention are used for distinguishing different objects, and are not used for describing a specific order. The terms "comprises," "comprising," and "having," and any variations thereof, of embodiments of the present invention are intended to cover non-exclusive inclusions, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements explicitly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
The embodiment of the invention discloses a method and a system for managing lamp equipment, which can efficiently perform paging sequencing on the lamp equipment on a plurality of signal lines, thereby reading equipment codes of the lamp equipment, setting address codes for the lamp equipment, and performing rapid fixed-point reading or equipment information setting on specific lamp equipment based on the equipment codes and the address codes.
Example one
Referring to fig. 1 and fig. 4, fig. 1 is a schematic flow chart illustrating a method for managing a lighting device according to an embodiment of the present invention. As shown in fig. 1, the luminaire management method may include the following steps.
101. And outputting a mute state removing management instruction, and activating each lighting device.
In the embodiment of the invention, the lamp equipment does not react to the external signal when not activated, the mute state management removing instruction is output through the signal line, and each lamp equipment in the signal line is activated through the level signal.
102. And outputting a device jumper instruction to enable the lamp device to be connected with the signal circuit.
In the embodiment of the present invention, the lighting device is activated, and under the control of the device jumper instruction, as shown in fig. 4, the lighting device is connected in series with the signal line and connected in parallel with other lighting devices in the same signal line, so that it can receive the subsequent instruction output by the communication line, and the instruction will be retained in the lighting device and will not be transmitted to other lighting devices connected in parallel therewith.
103. And outputting a code reading instruction, and reading the equipment code of the head lamp equipment.
In the embodiment of the invention, a plurality of signal lines are distributed, a different number of lamp devices are distributed in each signal line, each lamp device is provided with a unique device code for identification, a code reading instruction is output to each signal line, the lamp device positioned at the head of each signal line is a head lamp device, so that the device code of each head lamp device is read, and meanwhile, the head lamp device receives and intercepts the code reading instruction.
104. And performing paging coding according to the device code of the head lamp device.
In the embodiment of the present invention, each signal line has a unique head light device, so that the number of signal lines can be known according to the device code of each head light device read in step 103, and paging coding is performed according to the device code of the head light device.
105. And outputting a mute state management instruction to the head light equipment to disconnect the signal line of the head light equipment.
In the embodiment of the present invention, after the device code of the head light device is read in steps 103 and 104 and the paging code is completed, as shown in fig. 4, a mute state management instruction is output to the head light device, so that the head light device is disconnected from the series connection with the signal line, and a jumper is connected in series with other lamp devices in the signal line, so that the lamp device located behind the head light device in the signal line can receive the instruction.
106. And paging sorting is carried out on the lamp equipment according to the paging codes, and the equipment code corresponding to each lamp equipment is read and obtained.
In the embodiment of the invention, the lighting devices except the head lamp device in each signal line are sorted according to the paging codes and the device codes are read.
As an optional implementation manner, according to the paging code, respectively outputting a code reading instruction to the to-be-read lighting device adjacent to the head light device in each signal line, and reading a device code of the to-be-read lighting device; outputting a mute state management instruction to enable the lamp equipment to be read to disconnect a signal line, and setting the lamp equipment to be read as the read lamp equipment; detecting whether the read lamp equipment in each signal line has adjacent lamp equipment to be read; if yes, outputting a code reading instruction to the to-be-read lamp equipment, reading the equipment code of the to-be-read lamp equipment, and executing an output mute state management instruction to enable the to-be-read lamp equipment to disconnect a signal line and set the to-be-read lamp equipment as the read lamp equipment. Specifically, a code reading instruction is output to the to-be-read lamp equipment which is adjacent to the first lamp equipment in each signal line and has not finished equipment code reading, the equipment code of the to-be-read equipment is obtained through reading, then a mute state management instruction is output to the to-be-read equipment, the to-be-read lamp equipment is disconnected from the signal line, and the to-be-read lamp equipment is set as the read lamp equipment; and then, detecting whether the lamp equipment to be read adjacent to the read lamp equipment exists in the signal line, if so, continuing to execute the steps, reading the equipment code of the lamp equipment to be read, disconnecting the signal line, setting the lamp equipment to be read as the read lamp equipment \8230, \8230, and circularly executing the steps until the lamp equipment in each signal line is read completely, sequencing the lamp equipment according to the reading sequence, thereby realizing the high-efficiency reading and sequencing of the lamp equipment in each signal line.
In the embodiment of the present invention, the reading and sorting of the lighting apparatuses are performed to facilitate the fast fixed-point reading and setting of one or more lighting apparatuses.
As an optional implementation manner, after performing paging sequencing on the lighting apparatuses according to the paging codes and reading an apparatus code corresponding to each lighting apparatus, outputting an address setting instruction to the first lighting apparatus; controlling the head lamp equipment to generate a corresponding address code according to the address setting instruction; storing the address code corresponding to the head light equipment in a storage module of the head light equipment; and controlling the head lamp equipment to transmit an address setting instruction to the adjacent lamp equipment in the signal line. Specifically, an address setting instruction is output to the head lamp equipment of each signal line, the head lamp equipment is controlled to generate a corresponding address code according to the address setting instruction, the address code is stored in a storage module of the head lamp equipment, the head lamp equipment is further controlled to transmit the address setting instruction to the adjacent lamp equipment, the adjacent lamp equipment continues to transmit the address setting instruction to the adjacent lamp equipment after the address code is set and stored, and the setting work of each lamp equipment is completed until the address code of each lamp equipment in the signal line is set and stored.
In the embodiment of the invention, after the reading and the sequencing of the equipment codes are completed on the lamp equipment and the address codes are set, the lamp equipment can be controlled.
As an optional implementation manner, a plurality of lamp devices are selected according to the device codes and the address codes and listed in a control queue; outputting a signal switch on instruction to any to-be-switched-on lamp equipment in the control queue, controlling the to-be-switched-on lamp equipment to switch on a signal switch, and setting the to-be-switched-on lamp equipment as switched-on lamp equipment; detecting whether unconnected lamp equipment exists in the control queue; and if detecting that the unconnected lamp equipment exists in the control queue, controlling the connected lamp equipment to output a signal switch on instruction to the unconnected lamp equipment. Specifically, after the device code and the address code of each lighting device in the signal line are known, the lighting device which needs to be controlled can be selected according to the device code and listed in the control queue, a signal switch on command is output to any one of the unconnected lighting devices in the control queue according to the address code, the signal switch is switched on to control the lighting device, at this time, the connected lighting device is set as the connected lighting device, the unconnected lighting devices existing in the control queue are detected, the steps are executed in a circulating manner until all the unconnected lighting devices in the control queue are set as the connected lighting device, and then the control work of the lighting devices in the control queue is completed.
It can be seen that, by implementing the method for managing lighting devices described in fig. 1, the lighting devices on multiple signal lines can be efficiently subjected to paging sequencing, so that the device codes of the lighting devices are read, address codes are set for the lighting devices, and rapid fixed-point reading or device information setting is performed on specific lighting devices based on the device codes and the address codes.
Example two
Referring to fig. 2 and fig. 4, fig. 2 is a schematic structural diagram of a lighting device management system according to an embodiment of the present invention. As shown in fig. 2, the luminaire device management system may include:
a mute state management unit 201, configured to output a mute state management release instruction, and activate each lighting apparatus;
the equipment jumper management unit 202 is used for outputting an equipment jumper instruction to enable the lamp equipment to be connected with a signal circuit;
the code reading unit 203 is used for outputting a code reading instruction and reading the equipment code of the head lamp equipment; the first lamp equipment is lamp equipment positioned at the head of each signal line;
a paging coding unit 204, configured to perform paging coding according to the device code of the first light device;
in addition, the mute state management unit 201 is further configured to output a mute state management instruction to the head light device, so that the head light device disconnects a signal line;
a paging sorting unit 205, configured to perform paging sorting on the lighting apparatuses according to the paging codes, and read an apparatus code corresponding to each lighting apparatus;
an address setting unit 206 for outputting an address setting instruction to the head light device;
the code generating unit 207 is used for controlling the head lamp equipment to generate a corresponding address code according to the address setting instruction;
a code storage unit 208, configured to store an address code corresponding to the head light device in a storage module of the head light device;
in addition, the address setting unit 206 is further configured to control the first light device to transmit an address setting instruction to an adjacent light device in the signal line;
a control selection unit 209, configured to select a plurality of lighting apparatuses according to the apparatus code and the address code and list the lighting apparatuses in a control queue;
the connection management unit 210 is configured to output a signal switch connection instruction to any to-be-connected lighting apparatus in the control queue, control the to-be-connected lighting apparatus to connect a signal switch, and set the to-be-connected lighting apparatus as a connected lighting apparatus;
a turn-on detection unit 211, configured to detect whether there is an unconnected light fixture in the control queue;
in addition, the on management unit 210 is further configured to control the turned-on luminaire to output a signal switch on instruction to the turned-off luminaire when the on detection unit 211 detects that the turned-on luminaire exists in the control queue.
The paging sorting unit 205 further includes:
the code reading subunit 2051 is configured to output a code reading instruction to the to-be-read lighting fixture adjacent to the head light fixture in each signal line according to the paging code, and read the fixture code of the to-be-read lighting fixture;
a state management subunit 2052, configured to output a mute state management instruction, disconnect a signal line from the to-be-read lighting apparatus, and set the to-be-read lighting apparatus as a read lighting apparatus;
a state detection subunit 2053, configured to detect whether there is an adjacent to-be-read luminaire device in each signal line;
and the code reading subunit 2051 is further configured to, when the state detecting subunit 2053 detects that there is an adjacent to-be-read lighting apparatus in the to-be-read lighting apparatus, output a code reading instruction to the to-be-read lighting apparatus, and read an apparatus code of the to-be-read lighting apparatus.
As an optional implementation manner, the code reading subunit 2051 outputs a code reading instruction to the to-be-read lighting apparatus adjacent to the head light apparatus in each signal line according to the paging code, and reads the apparatus code of the to-be-read lighting apparatus; the state management subunit 2052 outputs a mute state management instruction to disconnect the signal line from the to-be-read lighting apparatus and set the to-be-read lighting apparatus as the read lighting apparatus; the state detection subunit 2053 detects whether there is an adjacent to-be-read luminaire device in each signal line; if the current lamp equipment exists, the code reading subunit 2051 outputs a code reading instruction to the lamp equipment to be read, reads the equipment code of the lamp equipment to be read, and the state management subunit 2052 outputs a mute state management instruction, so that the lamp equipment to be read disconnects a signal line, and sets the lamp equipment to be read as the read lamp equipment. Specifically, the code reading subunit 2051 outputs a code reading instruction to the to-be-read lamp device adjacent to the head lamp device in each signal line, which is not yet subjected to device code reading, and reads the device code of the to-be-read device, and then the state management subunit 2052 outputs a mute state management instruction to the to-be-read device, so that the to-be-read lamp device is disconnected from the signal line, and at this time, the to-be-read lamp device is set as a read lamp device; then, the state detection subunit 2053 detects whether the to-be-read lamp device adjacent to the to-be-read lamp device exists in the signal line, if so, the code reading subunit 2051 continues to read the device code of the to-be-read lamp device, the state management subunit 2052 disconnects the signal line, sets the to-be-read lamp device as the to-be-read lamp device \8230and \8230, and executes the above steps in a circulating manner until the lamp devices in each signal line are read completely, and can sequence the lamp devices according to the reading sequence, so that the lamp devices in each signal line can be synchronously and efficiently read and sequenced.
As an optional implementation manner, after performing paging sequencing on the lighting apparatuses according to the paging codes and reading the apparatus code corresponding to each lighting apparatus, the address setting unit 206 outputs an address setting instruction to the first lighting apparatus; the code generating unit 207 controls the head lamp equipment to generate a corresponding address code according to the address setting instruction; the code storage unit 208 stores the address code corresponding to the head light device in the storage module of the head light device; the address setting unit 206 controls the first light device to transmit an address setting instruction to the adjacent light device in the signal line. Specifically, the address setting unit 206 outputs an address setting instruction to the first light device of each signal line, the code generating unit 207 controls the first light device to generate a corresponding address code according to the address setting instruction, the code storage unit 208 stores the address code in the storage module of the first light device, the address setting unit 206 then controls the first light device to transmit the address setting instruction to the adjacent light device, after the address code is set by the code generating unit 207 and stored by the code storage unit 208, the address setting unit 206 continues to transmit the address setting instruction to the adjacent light device until the address code of each light device in the signal line is set and stored completely, and then the setting work for each light device is completed.
As an optional implementation manner, the control selection unit 209 selects a plurality of lighting devices to be listed in the control queue according to the device code and the address code; the connection management unit 210 outputs a signal switch connection instruction to any to-be-connected lamp device in the control queue, controls the to-be-connected lamp device to connect a signal switch, and sets the to-be-connected lamp device as a connected lamp device; the turn-on detection unit 211 detects whether there is an unconnected light fixture in the control queue; if it is detected that there is a non-connected luminaire in the control queue, the connection management unit 210 controls the connected luminaire to output a signal switch-on command to the non-connected luminaire. Specifically, after the device code and the address code of each lighting device in the signal line are known, the control selection unit 209 may select the lighting device to be controlled according to the device code and list the lighting device into the control queue, the on management unit 210 outputs a signal switch on instruction to any one of the non-on lighting devices in the control queue according to the address code, so that the non-on lighting device is turned on to control the signal switch, at this time, the non-on lighting device is set as an on lighting device, the on detection unit 211 detects the non-on lighting devices existing in the control queue, and the above steps are cyclically executed until all the non-on lighting devices in the control queue are set as on lighting devices, and then the control work on the lighting devices in the control queue is completed.
It can be seen that, with the lamp device management system described in fig. 2, the lamp devices on the multiple signal lines can be efficiently subjected to paging sorting, so that the device codes of the lamp devices are read, the address codes are set for the lamp devices, and the device information is quickly read or set for a specific lamp device based on the device codes and the address codes.
EXAMPLE III
Referring to fig. 3, fig. 3 is a schematic structural diagram of another lighting device management system according to an embodiment of the present disclosure. As shown in fig. 3, the luminaire device management system may include:
a memory 301 storing executable program code;
a processor 302 coupled to the memory 301;
the processor 302 calls the executable program code stored in the memory 301 to execute a lighting device management method of fig. 1.
The embodiment of the invention discloses a computer-readable storage medium which stores a computer program, wherein the computer program enables a computer to execute the lamp equipment management method in figure 1.
Embodiments of the present invention also disclose a computer program product, wherein, when the computer program product is run on a computer, the computer is caused to execute part or all of the steps of the method as in the above method embodiments.
It will be understood by those skilled in the art that all or part of the steps of the methods of the embodiments described above may be implemented by associated hardware instructed by a program, which may be stored in a computer-readable storage medium, including Read-Only Memory (ROM), random Access Memory (RAM), programmable Read-Only Memory (PROM), erasable Programmable Read-Only Memory (EPROM), one-time Programmable Read-Only Memory (OTPROM), electrically Erasable Programmable Read-Only Memory (EEPROM), a Compact Disc-Read-Only Memory (CD-ROM) or other Memory capable of storing data, a magnetic tape, or any other computer-readable medium capable of storing data.
The above detailed description is made on a lamp device management method and system disclosed in the embodiments of the present invention, and a specific example is applied in the description to explain the principle and the implementation of the present invention, and the description of the above embodiments is only used to help understanding the method and the core idea of the present invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.
Claims (10)
1. A luminaire device management method, characterized in that the method comprises:
outputting a mute state removing management instruction and activating each lamp device;
outputting a device jumper instruction to enable the lamp device to be connected with a signal circuit;
outputting a code reading instruction, and reading the equipment code of the head lamp equipment; the head lamp equipment refers to lamp equipment which is positioned at the head of each signal line;
performing paging coding according to the equipment code of the head lamp equipment;
outputting a mute state management instruction to the head light equipment to enable the head light equipment to disconnect a signal line;
and performing paging sequencing on the lighting equipment according to the paging codes, and reading to obtain an equipment code corresponding to each lighting equipment.
2. The method of claim 1, wherein the step of sorting the lighting apparatuses in pages according to the page codes and reading the apparatus code corresponding to each lighting apparatus comprises:
according to the paging codes, code reading instructions are output to the to-be-read lamp equipment adjacent to the head lamp equipment in each signal line respectively, and equipment codes of the to-be-read lamp equipment are read;
outputting a mute state management instruction to enable the to-be-read lamp equipment to disconnect a signal circuit and set the to-be-read lamp equipment as read lamp equipment;
detecting whether the read lamp equipment in each signal line has adjacent lamp equipment to be read;
and if the lamp equipment to be read exists, outputting the code reading instruction to the lamp equipment to be read, reading the equipment code of the lamp equipment to be read, executing the mute state output management instruction, disconnecting a signal line of the lamp equipment to be read, and setting the lamp equipment to be read as the read lamp equipment.
3. The method of claim 1, wherein after the step of sorting the lighting devices according to the sorting codes and reading the device code corresponding to each lighting device, the method further comprises:
outputting an address setting instruction to the head lamp equipment;
controlling the head lamp equipment to generate a corresponding address code according to the address setting instruction;
storing the address code corresponding to the head light equipment in a storage module of the head light equipment;
and controlling the head lamp equipment to transmit the address setting instruction to the adjacent lamp equipment in the signal line.
4. The method of claim 3, further comprising:
selecting a plurality of lamp equipment according to the equipment codes and the address codes and listing the lamp equipment in a control queue;
outputting a signal switch on instruction to any lamp device to be switched on in the control queue, controlling the lamp device to be switched on to switch on a signal switch, and setting the lamp device to be switched on as a switched-on lamp device;
detecting whether unconnected lamp equipment exists in the control queue;
and if detecting that the unconnected lamp equipment exists in the control queue, controlling the connected lamp equipment to output the signal switch connection instruction to the unconnected lamp equipment.
5. A light fixture management system, the light fixture management system comprising:
the mute state management unit is used for outputting a mute state management removing instruction and activating each lamp device;
the equipment jumper management unit is used for outputting an equipment jumper instruction to enable the lamp equipment to be connected with a signal circuit;
the code reading unit is used for outputting a code reading instruction and reading the equipment code of the head lamp equipment; the head lamp equipment is lamp equipment positioned at the head of each signal line;
the paging coding unit is used for performing paging coding according to the equipment coding of the head lamp equipment;
the mute state management unit is also used for outputting a mute state management instruction to the head light equipment to enable the head light equipment to disconnect a signal line;
and the paging sequencing unit is used for paging sequencing the lighting equipment according to the paging codes and reading equipment codes corresponding to the lighting equipment.
6. The light fixture management system of claim 5, wherein the paging sequencing unit comprises:
the code reading subunit is used for respectively outputting a code reading instruction to the to-be-read lamp equipment adjacent to the head lamp equipment in each signal line according to the paging codes and reading the equipment codes of the to-be-read lamp equipment;
the state management subunit is used for outputting a mute state management instruction, enabling the to-be-read lamp equipment to disconnect a signal line, and setting the to-be-read lamp equipment as read lamp equipment;
the state detection subunit is used for detecting whether the read lamp equipment in each signal line has adjacent lamp equipment to be read;
the code reading subunit is further configured to, when the state detecting subunit detects that the adjacent to-be-read luminaire device exists in the to-be-read luminaire device, output the code reading instruction to the to-be-read luminaire device, and read a device code of the to-be-read luminaire device.
7. The light fixture management system of claim 5, further comprising:
the address setting unit is used for outputting an address setting instruction to the head lamp equipment;
the code generating unit is used for controlling the head lamp equipment to generate a corresponding address code according to the address setting instruction;
the code storage unit is used for storing the address code corresponding to the head lamp equipment in a storage module of the head lamp equipment;
the address setting unit is further configured to control the head lamp device to transmit the address setting instruction to an adjacent lamp device in the signal line.
8. The light fixture management system of claim 7, further comprising:
the control selection unit is used for selecting a plurality of lamp equipment to be listed in a control queue according to the equipment codes and the address codes;
the lamp equipment switching-on management unit is used for outputting a signal switch switching-on instruction to any lamp equipment to be switched on in the control queue, controlling the lamp equipment to be switched on to switch on a signal switch, and setting the lamp equipment to be switched on as the switched-on lamp equipment;
the connection detection unit is used for detecting whether the unconnected lamp equipment exists in the control queue;
the connection management unit is further configured to control the connected lighting apparatus to output the signal switch-on instruction to the unconnected lighting apparatus when the connection detection unit detects that the unconnected lighting apparatus exists in the control queue.
9. The light fixture management system according to any one of claims 5 to 8, characterized in that the system further comprises:
a memory storing executable program code;
a processor coupled with the memory;
the processor calls the executable program code stored in the memory to execute the lamp equipment management method as set forth in any one of claims 1 to 4.
10. A computer-readable storage medium storing a computer program, wherein the computer program causes a computer to execute a luminaire management method according to any one of claims 1 to 4.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011400619.3A CN112672484B (en) | 2020-12-03 | 2020-12-03 | Lamp equipment management method and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011400619.3A CN112672484B (en) | 2020-12-03 | 2020-12-03 | Lamp equipment management method and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112672484A CN112672484A (en) | 2021-04-16 |
CN112672484B true CN112672484B (en) | 2023-04-07 |
Family
ID=75402701
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011400619.3A Active CN112672484B (en) | 2020-12-03 | 2020-12-03 | Lamp equipment management method and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112672484B (en) |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US4355309A (en) * | 1980-09-08 | 1982-10-19 | Synergistic Controls, Inc. | Radio frequency controlled light system |
CN101945516A (en) * | 2010-09-06 | 2011-01-12 | 杭州罗莱迪思照明系统有限公司 | Intelligent LED lamp controller and control method |
WO2018119699A1 (en) * | 2016-12-27 | 2018-07-05 | 华为技术有限公司 | Method for issuing configuration information, and method and apparatus for accessing device |
CN109089363A (en) * | 2018-09-27 | 2018-12-25 | 广东小天才科技有限公司 | Content sharing method and system based on intelligent desk lamp and intelligent desk lamp |
KR102577268B1 (en) * | 2018-10-15 | 2023-09-12 | 에스케이하이닉스 주식회사 | Memory device and operating method thereof |
-
2020
- 2020-12-03 CN CN202011400619.3A patent/CN112672484B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN112672484A (en) | 2021-04-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP2009536779A (en) | Integrated lighting control module and power switch | |
CN111885579B (en) | Bluetooth device testing method, device, equipment and storage medium | |
CN105282904B (en) | A kind of control system and its control method based on DMX512 agreement | |
CN114244644A (en) | Smart home control method and device, storage medium and electronic device | |
CN112672484B (en) | Lamp equipment management method and system | |
CN111399459A (en) | Intelligent household equipment control method, device, equipment and storage medium | |
US20080122384A1 (en) | Lighting Network Control System And Control Method | |
JP2949546B2 (en) | Wiring connection device and wiring connection method | |
CN104582192A (en) | Remote control unit backlight control method and system | |
CN113238904A (en) | Interface switching device, interface testing method and interface switching system | |
CN110225634B (en) | Bidirectional communication-based lamp equipment identification method and device | |
US9921562B2 (en) | Programmable switching system | |
CN116860219A (en) | Multi-board sharing method of CPLD firmware and related components | |
CN112596426B (en) | Control and networking method and device of single-live-wire Bluetooth intelligent switch and electronic equipment | |
CN111402567B (en) | Data transmission method, device, control end and equipment end | |
CN109409447B (en) | Cable coding method and device | |
CN114816230A (en) | Flash data storage method and device and household appliance | |
JP3170462B2 (en) | Lighting interlocking system | |
CN112423291B (en) | WIFI module detection and number burning method, controller, WIFI module and electrical equipment | |
CN106327043A (en) | Data processing method, system and apparatus in substation integration | |
CN104715772B (en) | A kind of method and play system that playback equipment is added by terminal | |
CN111147400A (en) | Method and device for command line configuration synchronization and electronic equipment | |
JPH09102396A (en) | Address number assigning system and method | |
CN115473127B (en) | Winding group number identification method after replacement of electric module, upper computer and storage medium | |
CN212966150U (en) | Debugging switching circuit, debugging circuit and intelligent interaction panel |
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 |