CN117279179A - Stage lighting distributed management method, system, equipment and medium based on ZigBee - Google Patents

Stage lighting distributed management method, system, equipment and medium based on ZigBee Download PDF

Info

Publication number
CN117279179A
CN117279179A CN202311297668.2A CN202311297668A CN117279179A CN 117279179 A CN117279179 A CN 117279179A CN 202311297668 A CN202311297668 A CN 202311297668A CN 117279179 A CN117279179 A CN 117279179A
Authority
CN
China
Prior art keywords
lamp
handheld terminal
target
lamps
zigbee
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202311297668.2A
Other languages
Chinese (zh)
Other versions
CN117279179B (en
Inventor
陈建民
陈学毅
王伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangzhou Lantian Electronic Technology Co ltd
Original Assignee
Guangzhou Lantian Electronic Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangzhou Lantian Electronic Technology Co ltd filed Critical Guangzhou Lantian Electronic Technology Co ltd
Priority to CN202311297668.2A priority Critical patent/CN117279179B/en
Publication of CN117279179A publication Critical patent/CN117279179A/en
Application granted granted Critical
Publication of CN117279179B publication Critical patent/CN117279179B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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/175Controlling the light source by remote control
    • H05B47/19Controlling the light source by remote control via wireless transmission
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/02Hierarchically pre-organised networks, e.g. paging networks, cellular networks, WLAN [Wireless Local Area Network] or WLL [Wireless Local Loop]
    • H04W84/10Small scale networks; Flat hierarchical networks
    • H04W84/12WLAN [Wireless Local Area Networks]
    • 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
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Circuit Arrangement For Electric Light Sources In General (AREA)

Abstract

The application relates to the technical field of stage lamps, in particular to a stage lighting distributed management method, system, equipment and medium based on ZigBee. According to the method and the device, the broadcasting signal is sent through the handheld terminal, then the addresses fed back by all lamps in the preset range are received, a target address is determined, then the equipment parameters of the target lamps corresponding to the target address are acquired, an operator can acquire the equipment parameter information on the handheld terminal and operate on the handheld terminal according to the equipment parameter information, so that the target lamps are debugged, the handheld terminal generates an operation instruction according to the control operation of the operator, sends the operation instruction to the target lamps to debug the target lamps, and the short-distance debugging and diagnosis are carried out on different sites through the plurality of handheld terminals, so that the site management is more flexible, and the site management effect of stage lighting is improved.

Description

Stage lighting distributed management method, system, equipment and medium based on ZigBee
Technical Field
The application relates to the technical field of stage lamps, in particular to a stage lighting distributed management method, system, equipment and medium based on ZigBee.
Background
In the current large stage performance scene, the number and the types of lamps are increased, and the functions of the lamps are also increased. For example, a medium-type concert has a number of lamps up to 1000 or more, and optional special functions contained in each lamp are increased along with the increasing demands of lampoperators, so that the method brings great challenges to site construction and debugging.
The conventional stage lighting control commonly adopts an RDM control protocol, but the RDM protocol is a single control device based on a wired network of RS422, and short-distance field debugging and diagnosis can only be operated by a single lamplight operator in a control room, so that the field management effect is poor, and the situation needs to be further improved.
Disclosure of Invention
In order to solve the problem of poor field management effect of the existing stage lighting control method adopting the RDM control protocol, the application provides a stage lighting distributed management method, system, equipment and medium based on ZigBee, which adopts the following technical scheme:
in a first aspect, the present application provides a stage lighting distributed management method based on ZigBee, which is applied to a stage lighting distributed management system based on ZigBee, where the system includes a handheld terminal and a plurality of lamps, and the handheld terminal and the lamps are connected by a ZigBee network module in communication, and the method is performed by the handheld terminal, and includes the following steps:
transmitting a broadcast signal and receiving an address set fed back by all lamps in a preset range according to the broadcast signal, wherein each lamp in a ZigBee network corresponds to an address, and the address set comprises addresses corresponding to all lamps in the preset range;
determining a target address according to the address set;
acquiring equipment parameter information of a target lamp according to the target address, wherein the target lamp is a lamp corresponding to the target address;
generating a control instruction according to control operation performed by an operator according to the equipment parameter information;
and sending the control instruction to the target lamp to debug the target lamp.
Through adopting above-mentioned technical scheme, this application sends broadcast signal through handheld terminal, then receive the address that all lamps and lanterns fed back in the preset scope, confirm a target address, then acquire the equipment parameter of the target lamps and lanterns that correspond with the target address, operating personnel can acquire equipment parameter information on handheld terminal, and operate on handheld terminal according to equipment parameter information, thereby debug target lamps and lanterns, handheld terminal generates the operation command according to operating personnel's control operation, and send the operation command to target lamps and lanterns in order to debug target lamps and lanterns, carry out closely debugging and diagnosis at different scene through a plurality of handheld terminals, thereby make scene management more elasticity, the scene management effect of stage lighting has been improved.
Optionally, before determining a target address from all the lamps in the preset range according to the address set, the method further includes the following steps:
acquiring a scene graph of a lamp installation position;
calibrating the position coordinates of all lamps in the preset range according to the lamp installation position scene graph;
acquiring a first signal intensity value corresponding to a first lamp, a second signal intensity value corresponding to a second lamp and a third signal intensity value corresponding to a third lamp, wherein the first lamp, the second lamp and the third lamp are any three lamps in all lamps in the preset range;
according to the first signal intensity value, the second signal intensity value and the third signal intensity value, calculating a first distance between the first lamp and the handheld terminal, a second distance between the second lamp and the handheld terminal and a third distance between the third lamp and the handheld terminal;
and determining the current position information of the handheld terminal according to the position coordinates of the first lamp, the second lamp, the third lamp, the first distance, the second distance and the third distance.
Through adopting above-mentioned technical scheme, when there is a large amount of lamps and lanterns to need debug, if the locating deviation is great, then the actual position of each lamps and lanterns can't be accurately judged to the operating personnel, increase the management degree of difficulty, easily lead to other non-target equipment of maloperation because of the inaccurate location in the in-process of debugging and control, and when positioning error is great, can't realize accurate light beam focusing and shadow control, this application is through the position coordinate of each lamps and lanterns in the preset scope of marking in lamps and lanterns mounted position scene graph, then combine the signal intensity value of three lamps and lanterns in the preset scope, position information through trilateral measurement method pinpoint out handheld terminal's position information, thereby solve the inaccurate problem of wireless network location, reduce the debugging error because of positioning error is too big.
Optionally, after determining the current location information of the handheld terminal, the method further includes the following steps:
smoothing and filtering the current position information;
drawing a lamp position distribution diagram of the handheld terminal in the preset range according to the current position information after smoothing and filtering and combining the calibrated position coordinates of all lamps in the preset range, wherein the lamp position distribution diagram is used for displaying on the handheld terminal;
and marking address information corresponding to the lamps at each position in the lamp position distribution map according to the address set and the signal intensity corresponding to each lamp in the preset range.
Through adopting above-mentioned technical scheme, this application is through carrying out flat processing and filtering to handheld terminal's current position information, then combines the position coordinates of all lamps and lanterns in the preset scope of demarcation, draws handheld terminal's lamps and lanterns position distribution diagram in the preset scope for show in handheld terminal, then according to address set and the signal intensity that each lamps and lanterns corresponds in the preset scope, marks the address information of each lamps and lanterns in lamps and lanterns position distribution diagram, thereby the operating personnel of being convenient for utilize handheld terminal to debug all lamps and lanterns in the preset scope.
Optionally, after the sending the control instruction to the target lamp to debug the target lamp, the method further includes the following steps:
receiving the execution confirmation information fed back by the target lamp;
judging whether the control instruction is successfully executed according to the execution confirmation information;
and when the handheld terminal judges that the execution is unsuccessful, retransmitting the control instruction to the target lamp.
By adopting the technical scheme, when the handheld terminal and the target lamp are communicated, communication connection is established between the handheld terminal and the target lamp, the handheld device sends a control instruction on the communication connection, the target lamp returns execution confirmation information when receiving the control instruction, the handheld terminal judges whether the control instruction is executed successfully or not by receiving the execution confirmation information fed back by the target lamp, and the control instruction is retransmitted when the control instruction is unsuccessful, so that the communication between the handheld terminal and the target lamp is ensured to be normal, and an operator can debug the target lamp through the handheld terminal.
Optionally, after the sending the control instruction to the target lamp to debug the target lamp, the method further includes the following steps:
the handheld terminal marks the state information of the target lamp as a controlled state;
and the handheld terminal synchronizes the controlled state information of the target lamp to other handheld terminals so that the other handheld terminals update the latest state of the target lamp according to the controlled state information.
By adopting the technical scheme, after the target lamp is debugged, the state information of the target lamp is marked as the controlled state, and then the controlled state information of the target lamp is synchronized with other handheld terminals, so that the other handheld terminals update the latest state of the target lamp according to the controlled state information. Through the method, the controlled lamp states can be automatically synchronized among the plurality of handheld terminals, so that each operator is consistent in cognition of the lamp states, repeated operation among operators is avoided, on-site debugging is rapidly performed, and the problem that parallel debugging and coordination of a plurality of operators are difficult is solved.
In a second aspect, the present application provides a stage lighting distributed management method based on ZigBee, which is applied to a stage lighting distributed management system based on ZigBee, where the system includes a handheld terminal and a plurality of lamps, the handheld terminal and the lamps are connected by a ZigBee network module in communication, and the method is performed by the lamps, and includes the following steps:
receiving a broadcast signal sent by a handheld terminal;
feeding back a target address corresponding to the target lamp according to the broadcast signal;
receiving an information acquisition instruction fed back by the handheld terminal according to the target address, and sending equipment parameter information corresponding to the target lamp;
receiving a control instruction fed back by the handheld terminal, wherein the control instruction is generated by control operation performed by an operator according to the equipment parameter information;
and adjusting the state of the lamp according to the control instruction.
By adopting the technical scheme, the lamp receives the broadcasting signal sent by the handheld terminal, feeds back the address corresponding to the lamp, receives the information acquisition instruction fed back by the handheld terminal according to the address, and sends the equipment parameter information corresponding to the lamp, so that the handheld terminal can receive the equipment parameter information of the lamp, an operator can check the equipment parameter information of the lamp on the handheld terminal, the lamp is controlled and operated according to the equipment parameter information, the handheld device generates the control instruction according to the control operation of the operator and sends the control instruction to the lamp, and after receiving the control instruction, the lamp adjusts the state according to the control instruction, so that the lamp is debugged.
Optionally, the lamp adjusts the state of the lamp according to the control instruction, including:
under the condition that a plurality of control instructions are acquired simultaneously, comparing the priority of each control instruction in the plurality of control instructions;
determining the control instruction with the highest priority as a target control instruction according to the comparison result;
and controlling the state of the lamp according to the target control instruction.
By adopting the technical scheme, the lamp control system is further provided with a priority mechanism, under the condition that the lamp acquires a plurality of control instructions simultaneously, the priority of each control instruction in the plurality of control instructions is compared, the control instruction with the highest priority is determined to be the target control instruction, and then the state of the lamp is controlled according to the target control instruction, so that the problem that a plurality of operators are difficult to debug and coordinate in parallel is solved.
In a third aspect, the present application provides a stage lighting distributed management system based on ZigBee, where the system includes a handheld terminal and a plurality of lamps, where the handheld terminal and the lamps are connected by a ZigBee network module in communication;
the handheld terminal is used for executing the ZigBee-based stage lighting distributed management method executed by the handheld terminal;
the lamp is used for executing the ZigBee-based stage lighting distributed management method executed by the lamp.
In a fourth aspect, the present application provides an electronic device, including a memory, a processor, and a computer program stored on the memory and executable on the processor, where the steps of the ZigBee-based stage light distributed management method are implemented when the processor executes the computer program.
In a fifth aspect, the present application provides a computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of the ZigBee-based stage light distributed management method described above.
In summary, the present application includes at least one of the following beneficial technical effects:
1. according to the method, a broadcasting signal is sent through the handheld terminal, then the addresses fed back by all lamps in a preset range are received, a target address is determined, then the equipment parameters of the target lamps corresponding to the target address are acquired, an operator can acquire the equipment parameter information on the handheld terminal and operate on the handheld terminal according to the equipment parameter information, so that the target lamps are debugged, the handheld terminal generates an operation instruction according to the control operation of the operator and sends the operation instruction to the target lamps to debug the target lamps, and the short-distance debugging and diagnosis are carried out on different sites through a plurality of handheld terminals, so that the site management is more flexible, and the site management effect of stage lamplight is improved;
2. according to the method, the position coordinates of each lamp in the preset range are marked in the lamp installation position scene graph, then the signal intensity values of the three lamps in the preset range are combined, and the position information of the handheld terminal is accurately positioned through a trilateration method, so that the problem of inaccurate positioning of a wireless network is solved, and debugging errors caused by overlarge positioning errors are reduced;
3. the controlled lamp states are automatically synchronized among the plurality of handheld terminals, so that each operator is consistent in cognition of the lamp states, repeated operation among operators is avoided, on-site debugging is rapidly performed, and the problem that parallel debugging and coordination of a plurality of operators are difficult is solved.
Drawings
FIG. 1 is a schematic block diagram of a handheld terminal according to an embodiment of the present application;
fig. 2 is an application scenario diagram of a stage lighting distributed management system based on ZigBee according to an embodiment of the present application;
fig. 3 is an exemplary flowchart of a stage lighting distributed management method based on ZigBee according to an embodiment of the present application;
FIG. 4 is another exemplary flowchart of a ZigBee-based stage lighting distributed management method according to an embodiment of the present application;
FIG. 5 is yet another exemplary flowchart of a ZigBee-based stage lighting distributed management method according to an embodiment of the present application;
fig. 6 is an internal structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The terminology used in the following embodiments of the application is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. As used in the specification and the appended claims, the singular forms "a," "an," "the," and "the" are intended to include the plural forms as well, unless the context clearly indicates to the contrary. It should also be understood that the term "and/or" as used in this application is intended to encompass any or all possible combinations of one or more of the listed items.
The terms "first," "second," and the like, are used below for descriptive purposes only and are not to be construed as implying or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defining "a first" or "a second" may explicitly or implicitly include one or more such feature, and in the description of embodiments of the present application, unless otherwise indicated, the meaning of "a plurality" is two or more.
In a large stage performance scene, the number, the type and the functions of lamps are various, so that great challenges are brought to construction and debugging of the scene, the conventional stage lighting control commonly adopts a DM control protocol, but the RDM protocol is single control equipment of a wired network based on RS422, and the scene management effect is poor.
The utility model provides a stage lighting distributed management system, method, equipment and medium based on zigBee utilizes zigBee wireless communication, carries out distributed control through handheld terminal, and operating personnel can closely on-the-spot debugging and diagnosis to can be managed by many people, make on-the-spot management more elasticity, improved the on-the-spot management effect of stage lighting.
Embodiments of the present application are described in further detail below with reference to the drawings attached hereto.
Referring to fig. 1, fig. 1 is a schematic block diagram of a handheld terminal according to an embodiment of the present application.
The handheld terminal comprises a processor, a memory, a battery and a first ZigBee network module, wherein the memory and the first ZigBee network module are all in electric communication connection with the processor, and the battery is used for supplying power for the processor, the memory and the first ZigBee network module.
It can be appreciated that the handheld terminal is equipped with an android operating system and a human-machine interface, and is configured with an own lamp management protocol, so that an operator can debug and diagnose the lamp through the handheld terminal. Furthermore, the handheld terminal can also transmit data to the cloud data center through the wireless network, and the handheld terminal can be provided with a battery management module for managing battery power consumption and an application layer for debugging the lamp.
The embodiment of the application provides a stage lighting distributed management method based on ZigBee, which is applied to a stage lighting distributed management system based on ZigBee, and referring to fig. 2, fig. 2 is an application scene diagram of the stage lighting distributed management system based on ZigBee.
The stage lighting distributed management system based on ZigBee comprises the handheld terminal and a plurality of lamps, wherein each lamp is provided with a second ZigBee network module, the second ZigBee network module is in communication connection with the first ZigBee network module, the lamps send equipment parameters of the lamps to the handheld terminal through the second ZigBee network module, and receive control instructions issued by the handheld terminal through the first ZigBee network module.
As shown in fig. 2, in an actual application scenario, the handheld terminal generally includes a plurality of handheld terminals, which are carried by different operators, and the operators can carry the handheld terminals to debug the lamp at different positions of the stage, so that the plurality of operators can debug and diagnose the lamp in a short distance, and the on-site management effect and management efficiency of the stage are improved.
Referring to fig. 3, fig. 3 is an exemplary flowchart of a stage lighting distributed management method based on ZigBee according to an embodiment of the present application.
In a first aspect, the present application provides a stage lighting distributed management method based on ZigBee, which is applied to the stage lighting distributed management system based on ZigBee, and the method includes the following steps:
s310, sending a broadcast signal and receiving an address set fed back by all lamps in a preset range according to the broadcast signal.
Each lamp in the ZigBee network corresponds to one address, and the address set comprises addresses corresponding to all lamps in the preset range; the preset range is a communication range of a first ZigBee network module of the mobile terminal. Specifically, in the second ZigBee network module of each lamp, terminal node equipment is configured, when in production and installation, a unique 16-bit short address of the whole network is burnt for the second ZigBee network module of each lamp, binary coding is adopted, and about 65 ten thousand addresses can be coded in total, so that the requirements of large and medium stages are met; the address can be stored in a system memory of the network module, and is automatically loaded when restarting, so that the node of each lamp in the ZigBee network is uniquely determined.
S320, determining a target address according to the address set.
S330, acquiring the device parameter information of the target lamp according to the target address.
After determining a target address, the handheld terminal can establish communication connection between the target address and the target lamp, and then receive device parameter information fed back by the target lamp, so that an operator can check the device parameter information of the target lamp in the handheld terminal.
S340, generating a control instruction according to the control operation of the operator by the equipment parameter information.
After the operator looks up the equipment parameter information, the operator can control the operation of the handheld terminal according to the problems in the equipment parameter information, and the handheld terminal generates a control instruction according to the operation control of the operator and sends the control instruction to the target lamp, so that the target lamp is debugged and diagnosed.
S350, sending a control instruction to the target lamp to debug the target lamp.
In the above embodiment, the step executed by the handheld terminal realizes the management of the handheld terminal on the target lamp, and in the actual application scene, the plurality of handheld terminals respectively manage the plurality of lamps, so that operators can utilize the handheld terminal to debug and diagnose the lamps in a short distance, realize the distributed management of stage lighting, and improve the field management effect of stage lighting. In some embodiments, the positioning of the handheld terminal by the conventional wireless network positioning method may have positioning deviation, when there are a large number of lamp devices to be debugged, if the positioning deviation is large, an operator cannot accurately determine the actual position of each lamp, other non-target devices are easy to operate by mistake due to inaccurate positioning in the process of debugging and control, and particularly, in the case that a plurality of workers need to coordinate work, the control error easily causes poor final stage lighting effect.
Referring to fig. 4, fig. 4 is another exemplary flowchart of a stage lighting distributed management method based on ZigBee according to an embodiment of the present application.
In an alternative embodiment, prior to step S320, the method further comprises:
s410, acquiring a scene graph of the installation position of the lamp.
The scene diagram of the lamp installation position is a two-dimensional or three-dimensional drawing of a stage area, and the size and shape of the stage and the installation positions of the lamp and the scenery are marked.
S420, calibrating the position coordinates of all lamps in a preset range according to the lamp installation position scene graph.
After the scene graph is obtained, the accurate positions of all known lamps are determined in the preset range by taking the handheld terminal as the circle center according to the preset range of the handheld terminal, coordinates of all lamps are marked in the scene graph, for example, the position of each lamp is represented by an X-Y axis in a two-dimensional space coordinate system, and the spatial position of each lamp is represented by an X-Y-Z axis in a three-dimensional space coordinate system.
S430, acquiring a first signal intensity value corresponding to the first lamp, a second signal intensity value corresponding to the second lamp and a third signal intensity value corresponding to the third lamp.
The first lamp, the second lamp and the third lamp are any three lamps in all lamps in a preset range.
S440, calculating a first distance between the first lamp and the handheld terminal, a second distance between the second lamp and the handheld terminal and a third distance between the third lamp and the handheld terminal according to the first signal intensity value, the second signal intensity value and the third signal intensity value.
The relation equation between the signal intensity values and the distances is established in advance, and when the handheld terminal acquires signals of a plurality of lamps, the distances between the handheld terminal and the lamps can be determined through the signal intensity values of part of the lamps.
S450, determining the position information of the handheld terminal according to the position coordinates of the first lamp, the position coordinates of the second lamp, the position coordinates of the third lamp, the first distance, the second distance and the third distance.
The position information of the handheld terminal can be accurately positioned through the trilateration method, specifically, the coordinates of each lamp are used as circle centers, the distance between each lamp and the handheld terminal is used as a radius to draw a circle, and the intersection point of the three circles is the position information of the handheld terminal.
Further, in some embodiments, the method further comprises:
s460, smoothing and filtering the current position information of the handheld terminal.
And S470, drawing a lamp position distribution diagram in a preset range of the handheld terminal according to the current position information after smoothing and filtering and combining the position coordinates of all lamps in the calibrated preset range.
The lamp position distribution map is used for displaying on the handheld terminal.
Specifically, before an operator needs to control the lamps, a target lamp is required to be selected, the operator can obtain a lamp position distribution diagram of current position information by clicking a button and the like, then the position and the address of each lamp of the current position information can be clearly obtained from the lamp position distribution diagram, and then the target lamp to be operated can be selected to obtain equipment parameter information corresponding to the target lamp.
S480, marking address information corresponding to the lamps at each position in a lamp position distribution diagram according to the address set and the signal intensity corresponding to each lamp in a preset range.
It is worth noting that the scene graph of the lamp installation position comprises the range of the whole stage area, the lamp distribution graph of the handheld terminal only comprises lamps in the preset range of the real-time position of the handheld terminal, only comprises lamp position information, and does not comprise other stage information such as personnel, scenery and the like, so that an operator can conveniently debug all lamps in the preset range of the real-time position by using the handheld terminal.
Further, in some embodiments, the method further comprises:
s360, receiving the execution confirmation information fed back by the target lamp.
And the target lamp feeds back the execution confirmation information when receiving the control instruction.
And S370, judging whether the control instruction is successfully executed according to the execution confirmation information.
And S380, when the handheld terminal judges that the execution is unsuccessful, retransmitting the control instruction to the target lamp.
It can be understood that, through this, the handheld device sends the control command on the communication connection, and the target lamp returns the execution confirmation information when receiving the control command, and the handheld terminal judges whether the control command is executed successfully by receiving the execution confirmation information fed back by the target lamp, and resends the control command when unsuccessful, thereby ensuring that the communication between the handheld terminal and the target lamp is normal, so that the operator can debug the target lamp through the handheld terminal.
It is worth noting that after the handheld terminal of the present application debugs the target lamp, the state information of the target lamp is marked as the controlled state, and then the controlled state information of the target lamp is synchronized to other handheld terminals, so that the other handheld terminals update the latest state of the target lamp according to the controlled state information, and through this, the controlled lamp states are automatically synchronized among the plurality of handheld terminals, so that each operator is consistent with the knowledge of the lamp states, repeated operations among operators are avoided, and the problem that parallel debugging and coordination of a plurality of operators are difficult is solved.
Referring to fig. 5, fig. 5 is a flowchart illustrating another exemplary stage lighting distributed management method based on ZigBee according to an embodiment of the present application.
In a second aspect, the present application provides a stage lighting distributed management method based on ZigBee, where the stage lighting distributed management system based on ZigBee uses a lamp as an execution body.
The stage lighting distributed management method based on ZigBee comprises a handheld terminal and a plurality of lamps, wherein the handheld terminal and the lamps are in communication connection through a ZigBee network module, the method is executed by the lamps, and the method comprises the following steps:
s510, receiving a broadcast signal sent by the handheld terminal.
S520, feeding back a target address corresponding to the target lamp according to the broadcast signal.
Wherein each lamp corresponds to a 16-bit short address.
S530, receiving an information acquisition instruction fed back by the handheld terminal according to the target address, and sending the equipment parameter information corresponding to the target lamp.
The device parameter information comprises lamp type, lamp brand and model, lamp power supply voltage/current working parameters, lamp color temperature, lamp brightness and the like, lamp channel parameters such as RGB values, color parameters and the like, lamp motion control parameters such as motor rotation speed, direction and the like, lamp control signal interface parameters, working states and fault codes, hardware version, firmware version, software version information, use duration, maintenance record and the like. The lamp is specifically set according to the difference of each lamp.
S540, receiving a control instruction fed back by the handheld terminal.
The control instruction is generated by a control operation performed by an operator with reference to the device parameter information.
S550, adjusting the state of the lamp according to the control instruction.
In an alternative embodiment, in order to solve the problem of difficulty in parallel debugging and coordination of multiple operators, in the process of adjusting the state of the lamp according to the control instruction, the method further comprises:
s560, comparing the priority of each control instruction in the plurality of control instructions when the plurality of control instructions are acquired simultaneously.
S570, determining the control instruction with the highest priority as the target control instruction according to the comparison result.
S580, controlling the lamp state according to the target control instruction.
In an alternative embodiment, when the target lamp acquires broadcast signals sent by a plurality of handheld terminals at the same time, the target lamp sends a notification of repeated coverage to the plurality of handheld terminals sending the broadcast signals, and when the handheld terminals receive the notification of repeated coverage, the handheld terminals mark the area where the target lamp is located as the repeated coverage area in a lamp position distribution map and mark the repeated coverage area according to the number of the handheld terminals covering the lamp by different colors, so that the problem of difficult coordination when operators work cooperatively is further reduced.
In a third aspect, the present application provides a stage lighting distributed management system based on ZigBee, where the system includes a handheld terminal and a plurality of lamps, where the handheld terminal and the lamps are connected by a ZigBee network module in communication; the handheld terminal is used for executing the ZigBee-based stage lighting distributed management method executed by the handheld terminal; the lamps are used for executing the ZigBee-based stage lighting distributed management method executed by the lamps.
In one embodiment, the present application provides an electronic device, which may be a module in a handheld terminal or a luminaire. The electronic device may be a server, and its internal structure may be as shown in fig. 6. The electronic device includes a processor, a memory, and a network interface connected by a system bus. Wherein the processor of the electronic device is configured to provide computing and control capabilities. The memory of the electronic device includes a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, computer programs, and a database. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage media. The database of the electronic device is for storing data. The network interface of the electronic device is used for communicating with an external terminal through a network connection. The computer program, when executed by the processor, implements a stage lighting distributed management method based on ZigBee.
It will be appreciated by those skilled in the art that the structure shown in fig. 6 is merely a block diagram of a portion of the structure associated with the present application and is not limiting of the electronic device to which the present application is applied, and that a particular electronic device may include more or fewer components than shown, or may combine certain components, or have a different arrangement of components.
In an embodiment, there is also provided an electronic device including a memory and a processor, the memory storing a computer program, the processor implementing the steps of the method embodiments described above when executing the computer program.
Those skilled in the art will appreciate that implementing all or part of the above-described methods may be accomplished by way of a computer program stored on a non-transitory computer readable storage medium, which when executed may comprise the steps of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in embodiments provided herein may include at least one of non-volatile and volatile memory. The nonvolatile Memory may include Read-Only Memory (ROM), magnetic tape, floppy disk, flash Memory, optical Memory, or the like. Volatile memory can include random access memory (Random Access Memory, RAM) or external cache memory. By way of illustration, and not limitation, RAM can be in the form of a variety of forms, such as static random access memory (Static Random Access Memory, SRAM) or dynamic random access memory (Dynamic Random Access Memory, DRAM), and the like.
The foregoing are all preferred embodiments of the present application, and are not intended to limit the scope of the present application in any way, therefore: all equivalent changes in structure, shape and principle of this application should be covered in the protection scope of this application.

Claims (10)

1. The stage lighting distributed management method based on ZigBee is characterized by being applied to a stage lighting distributed management system based on ZigBee, wherein the system comprises a handheld terminal and a plurality of lamps, the handheld terminal and the lamps are in communication connection through a ZigBee network module, the method is executed by the handheld terminal, and the method comprises the following steps of:
transmitting a broadcast signal and receiving an address set fed back by all lamps in a preset range according to the broadcast signal, wherein each lamp in a ZigBee network corresponds to an address, and the address set comprises addresses corresponding to all lamps in the preset range;
determining a target address according to the address set;
acquiring equipment parameter information of a target lamp according to the target address, wherein the target lamp is a lamp corresponding to the target address;
generating a control instruction according to control operation performed by an operator according to the equipment parameter information;
and sending the control instruction to the target lamp to debug the target lamp.
2. The ZigBee-based stage lighting distributed management method according to claim 1, wherein before determining a target address from all luminaires within the preset range according to the address set, the method further includes the steps of:
acquiring a scene graph of a lamp installation position;
calibrating the position coordinates of all lamps in the preset range according to the lamp installation position scene graph;
acquiring a first signal intensity value corresponding to a first lamp, a second signal intensity value corresponding to a second lamp and a third signal intensity value corresponding to a third lamp, wherein the first lamp, the second lamp and the third lamp are any three lamps in all lamps in the preset range;
according to the first signal intensity value, the second signal intensity value and the third signal intensity value, calculating a first distance between the first lamp and the handheld terminal, a second distance between the second lamp and the handheld terminal and a third distance between the third lamp and the handheld terminal;
and determining the current position information of the handheld terminal according to the position coordinates of the first lamp, the second lamp, the third lamp, the first distance, the second distance and the third distance.
3. The ZigBee-based stage lighting distributed management method according to claim 2, wherein after the determining of the current location information of the handheld terminal, the method further includes the steps of:
smoothing and filtering the current position information;
drawing a lamp position distribution diagram of the handheld terminal in the preset range according to the current position information after smoothing and filtering and combining the calibrated position coordinates of all lamps in the preset range, wherein the lamp position distribution diagram is used for displaying on the handheld terminal;
and marking address information corresponding to the lamps at each position in the lamp position distribution map according to the address set and the signal intensity corresponding to each lamp in the preset range.
4. The ZigBee-based stage lighting distributed management method according to claim 2, wherein after the transmission of the control instruction to the target light fixture to debug the target light fixture, the method further includes the steps of:
receiving the execution confirmation information fed back by the target lamp;
judging whether the control instruction is successfully executed according to the execution confirmation information;
and when the handheld terminal judges that the execution is unsuccessful, retransmitting the control instruction to the target lamp.
5. The ZigBee-based stage lighting distributed management method according to claim 2, wherein after the transmission of the control instruction to the target light fixture to debug the target light fixture, the method further includes the steps of:
the handheld terminal marks the state information of the target lamp as a controlled state;
and the handheld terminal synchronizes the controlled state information of the target lamp to other handheld terminals so that the other handheld terminals update the latest state of the target lamp according to the controlled state information.
6. The stage lighting distributed management method based on ZigBee is characterized by being applied to a stage lighting distributed management system based on ZigBee, wherein the system comprises a handheld terminal and a plurality of lamps, the handheld terminal and the lamps are in communication connection through a ZigBee network module, the method is executed by the lamps, and the method comprises the following steps:
receiving a broadcast signal sent by a handheld terminal;
feeding back a target address corresponding to the target lamp according to the broadcast signal;
receiving an information acquisition instruction fed back by the handheld terminal according to the target address, and sending equipment parameter information corresponding to the target lamp;
receiving a control instruction fed back by the handheld terminal, wherein the control instruction is generated by control operation performed by an operator according to the equipment parameter information;
and adjusting the state of the lamp according to the control instruction.
7. The ZigBee-based stage lighting distributed management method according to claim 6, wherein the luminaire adjusts a luminaire state according to a control instruction, including:
under the condition that a plurality of control instructions are acquired simultaneously, comparing the priority of each control instruction in the plurality of control instructions;
determining the control instruction with the highest priority as a target control instruction according to the comparison result;
and controlling the state of the lamp according to the target control instruction.
8. The stage lighting distributed management system based on ZigBee is characterized by comprising a handheld terminal and a plurality of lamps, wherein the handheld terminal and the lamps are in communication connection through a ZigBee network module;
the handheld terminal is used for executing the stage lighting distributed management method based on ZigBee according to any one of claims 1-5;
the luminaire is for performing a ZigBee-based stage lighting distributed management method as claimed in any one of claims 6-7.
9. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the steps of the ZigBee-based stage light distributed management method according to any one of claims 1 to 7 when the computer program is executed.
10. A computer readable storage medium having stored thereon a computer program, wherein the computer program when executed by a processor implements the steps of the ZigBee-based stage light distributed management method according to any of claims 1 to 7.
CN202311297668.2A 2023-10-09 2023-10-09 Stage lighting distributed management method, system, equipment and medium based on ZigBee Active CN117279179B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311297668.2A CN117279179B (en) 2023-10-09 2023-10-09 Stage lighting distributed management method, system, equipment and medium based on ZigBee

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311297668.2A CN117279179B (en) 2023-10-09 2023-10-09 Stage lighting distributed management method, system, equipment and medium based on ZigBee

Publications (2)

Publication Number Publication Date
CN117279179A true CN117279179A (en) 2023-12-22
CN117279179B CN117279179B (en) 2024-04-30

Family

ID=89219446

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311297668.2A Active CN117279179B (en) 2023-10-09 2023-10-09 Stage lighting distributed management method, system, equipment and medium based on ZigBee

Country Status (1)

Country Link
CN (1) CN117279179B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117794010A (en) * 2024-01-29 2024-03-29 广州市明静科技有限公司 Stage lamp control method and system based on mobile equipment

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104373848A (en) * 2014-11-17 2015-02-25 谢自力 Intelligent LED bulb, user terminal and Cloud processor
CN106483500A (en) * 2016-11-17 2017-03-08 华南理工大学 A kind of visible light communication 3-D positioning method based on CDMA modulation
WO2017155145A1 (en) * 2016-03-10 2017-09-14 주식회사 삼진엘앤디 Lighting apparatus including function configuration switch module and control method therefor, and computer-readable recording medium having program recorded thereon for executing same
WO2018027504A1 (en) * 2016-08-09 2018-02-15 曹鸿鹏 Lighting control method
WO2019128884A1 (en) * 2017-12-29 2019-07-04 苏州欧普照明有限公司 Control method for combined lamp, and illumination system
CN110995345A (en) * 2019-11-20 2020-04-10 安徽中骄智能科技有限公司 Data transmission equipment based on LED visible light full duplex communication
CN112911514A (en) * 2021-01-25 2021-06-04 湖南汇博电子科技股份有限公司 Evacuation navigation method and device based on Bluetooth positioning and computer equipment
CN112954860A (en) * 2019-12-10 2021-06-11 群燿光学股份有限公司 Control device
CN113905496A (en) * 2021-12-01 2022-01-07 深圳市爱图仕影像器材有限公司 Method and device for controlling wireless communication function reset of lamp equipment
CN114980459A (en) * 2022-06-16 2022-08-30 佛山市科尊舞台灯光设备有限公司 Management system and management method for stage lamps
CN116132566A (en) * 2022-11-28 2023-05-16 广州彩熠灯光股份有限公司 Lamp control method, device, computer equipment and storage medium

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104373848A (en) * 2014-11-17 2015-02-25 谢自力 Intelligent LED bulb, user terminal and Cloud processor
WO2017155145A1 (en) * 2016-03-10 2017-09-14 주식회사 삼진엘앤디 Lighting apparatus including function configuration switch module and control method therefor, and computer-readable recording medium having program recorded thereon for executing same
WO2018027504A1 (en) * 2016-08-09 2018-02-15 曹鸿鹏 Lighting control method
CN106483500A (en) * 2016-11-17 2017-03-08 华南理工大学 A kind of visible light communication 3-D positioning method based on CDMA modulation
WO2019128884A1 (en) * 2017-12-29 2019-07-04 苏州欧普照明有限公司 Control method for combined lamp, and illumination system
CN110995345A (en) * 2019-11-20 2020-04-10 安徽中骄智能科技有限公司 Data transmission equipment based on LED visible light full duplex communication
CN112954860A (en) * 2019-12-10 2021-06-11 群燿光学股份有限公司 Control device
CN112911514A (en) * 2021-01-25 2021-06-04 湖南汇博电子科技股份有限公司 Evacuation navigation method and device based on Bluetooth positioning and computer equipment
CN113905496A (en) * 2021-12-01 2022-01-07 深圳市爱图仕影像器材有限公司 Method and device for controlling wireless communication function reset of lamp equipment
CN114980459A (en) * 2022-06-16 2022-08-30 佛山市科尊舞台灯光设备有限公司 Management system and management method for stage lamps
CN116132566A (en) * 2022-11-28 2023-05-16 广州彩熠灯光股份有限公司 Lamp control method, device, computer equipment and storage medium

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
常敏;陈征;: "基于无线传输的智能路灯控制系统设计", 电子科技, no. 09, 15 September 2016 (2016-09-15) *
杨帅;: "基于无线传感网络的舞台电脑灯控制系统", 科技信息, no. 02, 15 January 2013 (2013-01-15) *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117794010A (en) * 2024-01-29 2024-03-29 广州市明静科技有限公司 Stage lamp control method and system based on mobile equipment

Also Published As

Publication number Publication date
CN117279179B (en) 2024-04-30

Similar Documents

Publication Publication Date Title
US9800334B2 (en) Positioning method based on visible light source, mobile terminal, and controller
US10771935B2 (en) Device locating using angle of arrival measurements
CN117279179B (en) Stage lighting distributed management method, system, equipment and medium based on ZigBee
CN105203046B (en) Multi-thread array laser 3 D scanning system and multi-thread array laser 3-D scanning method
DE112015002217T5 (en) MESSTECHNICAL DEVICE AND METHOD FOR CARRYING OUT A TEST
DE112015002250T5 (en) Metrological device and method for initiating a communication
DE112015002231T5 (en) Metrology apparatus and method of communicating with portable devices
EP3332392B1 (en) Commissioning device for commissioning installed building technology devices
CN116366656B (en) Method and system for forming a network of devices
CN111436040A (en) Method for triangularly positioning and retrieving Bluetooth device, Bluetooth device and positioning system
US10973109B2 (en) Installing or changing an executable computer program in an illumination system
CN104837145A (en) Method and device for automatically generating AP (access point) position
US20190045605A1 (en) Method for setting up a lighting system and lamp for inclusion in a lighting system
CN112839415B (en) Vehicle control method and device and electronic equipment
CN102798516A (en) Equipment for measuring parameters of optical device
CN210384032U (en) Image tracking equipment and positioning system
US10789843B2 (en) Method for automatically locating and commissioning lighting system components
CN111436020A (en) Bluetooth positioning method, Bluetooth device searching method, Bluetooth device and positioning system
DE102016121977A1 (en) Create an installation layout of a lighting system
US11268804B2 (en) Automatic light position detection system
CN113128710A (en) Fault detection method and device for emergency lamp, storage medium and electronic device
CN113759910A (en) Method and device for establishing picture, electronic equipment and storage medium
CN110691116A (en) Method, positioning device and system for managing network device
EP3448128B1 (en) Configuration of an operating device for an illumination system
CN112379384A (en) Object position determining method and device

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