Dynamic control method and system for lighting equipment and related equipment

文档序号:1173224 发布日期:2020-09-18 浏览:11次 中文

阅读说明:本技术 一种灯光设备动态控制方法、系统及相关设备 (Dynamic control method and system for lighting equipment and related equipment ) 是由 金露 于 2020-07-27 设计创作,主要内容包括:本发明实施例提供了一种灯光设备动态控制方法、系统及相关设备,用于实现灯光设备发光状态的动态控制,提高灯光控制的稳定性。本发明实施例方法包括:接收控制指令,所述控制指令包含多组状态控制参数以及所述多组状态控制参数的预设切换模式;按照所述预设切换模式控制所述灯光设备切换灯光状态。(The embodiment of the invention provides a dynamic control method and system for lighting equipment and related equipment, which are used for realizing dynamic control of the lighting state of the lighting equipment and improving the stability of lighting control. The method provided by the embodiment of the invention comprises the following steps: receiving a control instruction, wherein the control instruction comprises a plurality of groups of state control parameters and preset switching modes of the plurality of groups of state control parameters; and controlling the lighting equipment to switch the lighting state according to the preset switching mode.)

1. A method for dynamically controlling a lighting device, comprising:

receiving a control instruction, wherein the control instruction comprises a plurality of groups of state control parameters and preset switching modes of the plurality of groups of state control parameters;

and controlling the lighting equipment to switch the lighting state according to the preset switching mode.

2. The method of claim 1, wherein when a plurality of the lighting devices form a group device, the method further comprises:

when the control instruction is received, randomly selecting first time for countdown in the time interval of 0-T1 by each lighting device in the group device;

if the current lighting equipment does not receive the synchronization instruction before the first time is over, the current lighting equipment is determined to be the state synchronization master equipment, the state synchronization master equipment sends the synchronization instruction to other lighting equipment in the group equipment at a timing T0, and the synchronization instruction is used for indicating the other lighting equipment in the group equipment to be switched to the designated lighting state after the preset time.

3. The method of claim 2, wherein after the other light devices in the group device receive the synchronization command, the method further comprises:

the controllers of other lighting equipment in the group equipment randomly select a second time to count down in a time interval from T2 to T3, wherein the value of T2 is greater than the value of T0;

and when the current lighting equipment in the group equipment does not receive the synchronization instruction sent by the state synchronization master equipment before the second time is over, and does not receive the synchronization instruction sent by other lighting equipment, determining that the current equipment is the new state synchronization master equipment.

4. The method of claim 1, wherein when a plurality of the lighting devices form a group device, the method further comprises:

when the group equipment receives the control instruction, randomly selecting first time for countdown in the time interval of 0-T1 by each lighting equipment in the group equipment;

if the current lighting equipment does not receive the synchronization instruction after the first time is finished and before the next lighting state switching is carried out, the current equipment is determined to be the state synchronization master equipment, the state synchronization master equipment sends the synchronization instruction to other lighting equipment in the group equipment at a timing T0, and the synchronization instruction is used for indicating other lighting equipment in the group equipment to be immediately switched to the designated lighting state.

5. The method according to any one of claims 1 to 4, wherein each of the status control parameters comprises a light change pattern, light color status information and a duration.

6. The method according to any one of claims 1 to 4, wherein the preset switching pattern comprises one cycle of switching in the plurality of sets of state control parameters, or a random cycle of switching in the plurality of sets of state control parameters.

7. A light fixture dynamic control system, comprising:

the receiving module is used for receiving a control instruction, and the control instruction comprises a plurality of groups of state control parameters and preset switching modes of the plurality of groups of state control parameters;

and the control module is used for controlling the lighting equipment to switch the lighting state according to the preset switching mode.

8. The system of claim 7, wherein when a plurality of said lighting devices form a group device, said system further comprises:

the first timing module is used for randomly selecting first time for countdown in the time interval of 0-T1 by each lighting device in the group equipment when the group equipment receives the control instruction;

and the first synchronization module determines that the current lighting equipment is the state synchronization master equipment if the current lighting equipment does not receive the synchronization instruction before the first time is finished, the state synchronization master equipment sends the synchronization instruction to other lighting equipment in the group equipment at a timing T0, and the synchronization instruction is used for indicating the other lighting equipment in the group equipment to be switched to the designated lighting state after the preset time.

9. A computer arrangement, characterized in that the computer arrangement comprises a processor for implementing the steps of the method according to any one of claims 1 to 6 when executing a computer program stored in a memory.

10. A computer-readable storage medium having stored thereon a computer program, characterized in that: the computer program, when being executed by a processor, realizes the steps of the method according to any one of claims 1 to 6.

Technical Field

The invention relates to the technical field of dynamic control of lighting equipment, in particular to a dynamic control method and system of the lighting equipment and related equipment.

Background

Most of the existing lighting equipment only support static scenes, namely, the lighting color is single, the lighting state is single (continuous lighting or continuous closing), and the application requirements of diversified lighting effects cannot be met.

Disclosure of Invention

The embodiment of the invention provides a dynamic control method and system for lighting equipment and related equipment, which are used for realizing dynamic control of the lighting state of the lighting equipment and improving the stability of lighting control.

A first aspect of an embodiment of the present invention provides a method for dynamically controlling lighting equipment, where the method may include:

receiving a control instruction, wherein the control instruction comprises a plurality of groups of state control parameters and preset switching modes of the plurality of groups of state control parameters;

and controlling the lighting equipment to switch the lighting state according to the preset switching mode.

Optionally, as a possible implementation manner, when a plurality of lighting devices form a group device, the dynamic control method for the lighting devices in the embodiment of the present invention may further include:

when the control instruction is received, randomly selecting first time for countdown in the time interval of 0-T1 by each lighting device in the group device;

if the current lighting equipment does not receive the synchronization instruction before the first time is over, the current lighting equipment is determined to be the state synchronization master equipment, the state synchronization master equipment sends the synchronization instruction to other lighting equipment in the group equipment at a timing T0, and the synchronization instruction is used for indicating the other lighting equipment in the group equipment to be switched to the designated lighting state after the preset time.

Optionally, as a possible implementation manner, in the embodiment of the present invention, after the other lighting devices in the group device receive the synchronization instruction, the method may further include:

the controllers of other lighting equipment in the group equipment randomly select a second time to count down in a time interval from T2 to T3, wherein the value of T2 is greater than the value of T0;

and when the current lighting equipment in the group equipment does not receive the synchronization instruction sent by the state synchronization master equipment before the second time is over, and does not receive the synchronization instruction sent by other lighting equipment, determining that the current equipment is the new state synchronization master equipment.

Optionally, as a possible implementation manner, when a plurality of lighting devices form a group device, the dynamic control method for the lighting devices in the embodiment of the present invention may further include:

when the group equipment receives the control instruction, randomly selecting first time for countdown in the time interval of 0-T1 by each lighting equipment in the group equipment;

if the current lighting equipment does not receive the synchronization instruction after the first time is finished and before the next lighting state switching is carried out, the current equipment is determined to be the state synchronization master equipment, the state synchronization master equipment sends the synchronization instruction to other lighting equipment in the group equipment at a timing T0, and the synchronization instruction is used for indicating other lighting equipment in the group equipment to be immediately switched to the designated lighting state.

Optionally, as a possible implementation manner, in the embodiment of the present invention, each of the state control parameters includes a light variation mode, light color state information, and a duration.

Optionally, as a possible implementation manner, in an embodiment of the present invention, the preset switching mode includes one-time cycle switching in the multiple sets of state control parameters, an infinite cycle in the multiple sets of state control parameters, or a random cycle switching in the multiple sets of state control parameters.

A second aspect of an embodiment of the present invention provides a dynamic control system for lighting equipment, which may include:

the receiving module is used for receiving a control instruction, and the control instruction comprises a plurality of groups of state control parameters and preset switching modes of the plurality of groups of state control parameters;

and the control module is used for controlling the lighting equipment to switch the lighting state according to the preset switching mode.

Optionally, as a possible implementation manner, when a plurality of light devices form a group device, the light device dynamic control system in the embodiment of the present invention may further include:

the first timing module is used for randomly selecting first time for countdown in the time interval of 0-T1 by each lighting device in the group equipment when the group equipment receives the control instruction;

and the first synchronization module determines that the current lighting equipment is the state synchronization master equipment if the current lighting equipment does not receive the synchronization instruction before the first time is finished, the state synchronization master equipment sends the synchronization instruction to other lighting equipment in the group equipment at a timing T0, and the synchronization instruction is used for indicating the other lighting equipment in the group equipment to be switched to the designated lighting state after the preset time.

Optionally, as a possible implementation manner, the dynamic control system of lighting equipment in the embodiment of the present invention may further include:

after other light equipment in the group equipment receives the synchronization command, the controller of the other light equipment in the group equipment randomly selects a second time to count down in a time interval from T2 to T3, and the value of T2 is greater than the value of T0;

and the second synchronization module is used for determining that the current equipment is the new state synchronization master equipment when the current lighting equipment in the group equipment does not receive the synchronization instruction sent by the state synchronization master equipment before the second time is over and does not receive the synchronization instruction sent by other lighting equipment.

Optionally, as a possible implementation manner, when a plurality of light devices form a group device, the light device dynamic control system in the embodiment of the present invention may further include:

the third timing module is used for randomly selecting first time for countdown in the time interval of 0-T1 by each lighting device in the group equipment when the group equipment receives the control instruction;

and the third synchronization module is used for determining that the current equipment is the state synchronization master equipment if the synchronization instruction is not received after the first time is finished and before the next lighting state switching is carried out, the state synchronization master equipment sends the synchronization instruction to other lighting equipment in the group equipment at a timing T0, and the synchronization instruction is used for indicating other lighting equipment in the group equipment to be immediately switched to an appointed lighting state.

Optionally, as a possible implementation manner, in the dynamic control system for lighting equipment in the embodiment of the present invention, each of the state control parameters includes a light change mode, light color state information, and a duration.

Optionally, as a possible implementation manner, in the dynamic control system for lighting equipment in the embodiment of the present invention, the preset switching mode includes one-time cycle switching in the multiple sets of state control parameters, one-time infinite cycle in the multiple sets of state control parameters, or random cycle switching in the multiple sets of state control parameters.

A third aspect of embodiments of the present invention provides a computer apparatus, which includes a processor, and the processor is configured to implement the steps in any one of the possible implementation manners of the first aspect and the first aspect when executing a computer program stored in a memory.

A fourth aspect of the embodiments of the present invention provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps in any one of the possible implementations of the first aspect and the first aspect.

According to the technical scheme, the embodiment of the invention has the following advantages:

in the embodiment of the invention, a plurality of groups of state control parameters and preset switching modes of the plurality of groups of state control parameters can be written in one control instruction, and the lamplight equipment is controlled to dynamically switch the lamplight state according to the preset switching modes. Compared with the prior art, the sending frequency of the control command is reduced, the data bandwidth is saved, the transmission of the control command is not influenced by the network state, and the stability of light control is improved.

Drawings

Fig. 1 is a schematic diagram of an embodiment of a dynamic control method for lighting equipment in an embodiment of the present invention;

fig. 2 is a schematic diagram of another embodiment of a dynamic control method for lighting equipment according to an embodiment of the present invention;

fig. 3 is a schematic diagram of an embodiment of a specific application of a dynamic control method for lighting equipment according to an embodiment of the present invention;

FIG. 4 is a schematic diagram of an embodiment of a dynamic control system for lighting devices according to an embodiment of the present invention;

FIG. 5 is a diagram of a computer device according to an embodiment of the present invention.

Detailed Description

The embodiment of the invention provides a dynamic control method and system for lighting equipment and related equipment, which are used for realizing dynamic control of the lighting state of the lighting equipment and improving the stability of lighting control.

In order to make the technical solutions of the present invention better understood, 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.

16页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:用于合并和压缩紧凑环的系统和方法

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!