Virtual control method, equipment, medium and product of matrix DMX festive lantern

文档序号:491315 发布日期:2022-01-04 浏览:5次 中文

阅读说明:本技术 一种矩阵式dmx花灯的虚拟控制方法、设备、介质及产品 (Virtual control method, equipment, medium and product of matrix DMX festive lantern ) 是由 艾元平 仝相达 于 2021-08-24 设计创作,主要内容包括:本发明提供一种矩阵式DMX花灯的虚拟控制方法,包括检测用户是否通过移动终端触发虚拟控制请求,若是,则创建供用户进行动画选择的虚拟动画选择操作界面,并将虚拟动画选择操作界面通过移动终端向用户进行展示;接收用户在移动终端上虚拟动画选择操作界面进行动画选择后生成的动画选择指令;将动画选择指令通过服务器发送至花灯控制端,由花灯控制端根据动画选择指令控制矩阵式DMX花灯展示出与动画选择指令对应的动画图案。本发明满足了一些毫无灯光控制端操作经验的用户的灯光展示需求,而且通过在移动终端上虚拟界面进行勾选需要展示的动画图案,增加了用户的操作体验感,提高了用户的操作兴趣。(The invention provides a virtual control method of a matrix DMX festive lantern, which comprises the steps of detecting whether a user triggers a virtual control request through a mobile terminal, if so, creating a virtual animation selection operation interface for the user to select animation, and displaying the virtual animation selection operation interface to the user through the mobile terminal; receiving an animation selection instruction generated after a user selects an animation on a virtual animation selection operation interface on the mobile terminal; and sending the animation selection instruction to the festive lantern control end through the server, and controlling the matrix DMX festive lantern to display the animation pattern corresponding to the animation selection instruction by the festive lantern control end according to the animation selection instruction. The invention meets the lighting display requirements of some users without lighting control end operation experience, and the animation patterns to be displayed are selected on the virtual interface of the mobile terminal, so that the operation experience of the users is increased, and the operation interest of the users is improved.)

1. A virtual control method of a matrix DMX festive lantern is characterized in that: the method comprises the following steps:

receiving a virtual control request, detecting whether a user triggers the virtual control request through a mobile terminal, if so, executing a step of displaying an operation interface, and if not, continuously detecting whether the user triggers the virtual control request;

the display operation interface is used for creating a virtual animation selection operation interface for the user to select the animation and displaying the virtual animation selection operation interface to the user through the mobile terminal;

receiving an animation selection instruction, and receiving an animation selection instruction generated after a user selects an animation on a virtual animation selection operation interface on the mobile terminal;

and controlling the DMX festive lantern, sending the animation selection instruction to the festive lantern control end through the server, and controlling the matrix DMX festive lantern to display the animation pattern corresponding to the animation selection instruction by the festive lantern control end according to the animation selection instruction.

2. The virtual control method of a matrix-type DMX festive lantern of claim 1, wherein: the virtual animation selects the operation interface including independently selecting the animation interface, independently select the animation interface for with the array DMX festive lantern of equal proportion can collude the selection festive lantern interface, the array order and the array position of the DXM festive lantern in the flower festive lantern interface of can colluding are unanimous with the array DMX festive lantern, when the user is in when carrying out the animation selection on the independently selecting the animation interface, animation selection instruction is the user and is in the independently selecting the animation that forms after colluding in the flower festive lantern interface of can colluding.

3. The virtual control method of a matrix-type DMX festive lantern of claim 2, wherein: when the animation selection instruction is an autonomous selection animation, controlling the matrix type DMX festive lantern to display an animation pattern corresponding to the animation selection instruction according to the animation selection instruction specifically comprises the following steps: and generating an autonomous selection animation control data packet containing a plurality of sub-animation control data according to the autonomous selection animation, sending all sub-animation control data in the autonomous selection animation control data packet to corresponding DMX festive lanterns in the matrix type DMX festive lanterns for light display, and combining all light displays to obtain an animation pattern consistent with the autonomous selection animation.

4. The virtual control method of a matrix-type DMX festive lantern of claim 2, wherein: the virtual animation selection operation interface further comprises a preset animation pattern selection interface, the preset animation pattern selection interface comprises a plurality of preset virtual animation patterns, and when a user selects animation on the preset animation pattern selection interface, the animation selection instruction is the preset virtual animation pattern selected on the preset animation pattern selection interface by the user.

5. The virtual control method of a matrix-type DMX festive lantern of claim 4, wherein: when the animation selection instruction is a preset virtual animation pattern, controlling the matrix DMX festive lantern to display the animation pattern corresponding to the animation selection instruction according to the animation selection instruction specifically comprises the following steps: screening out a corresponding preset animation control data packet containing a plurality of sub-preset animation control data from a preset animation control database according to a preset virtual animation pattern, sending each sub-preset animation control data to a corresponding DMX festive lantern in the matrix DMX festive lantern for light display, and combining all the light displays to obtain an animation pattern which is consistent with the preset virtual animation pattern.

6. The virtual control method of a matrix-type DMX festive lantern of claim 1, wherein: the detecting whether the user triggers the virtual control request through the mobile terminal specifically includes: and detecting whether the mobile terminal receives the on-line payment success receipt information, if so, determining that the user triggers the virtual control request through the mobile terminal, and if not, determining that the user does not trigger the virtual control request through the mobile terminal.

7. The virtual control method of a matrix-type DMX festive lantern of claim 1, wherein: and displaying animation selection operation time limit before receiving the animation selection instruction, generating animation selection operation time limit which can be used for performing animation selection on a virtual animation selection operation interface by a user, displaying the animation selection operation time limit on the virtual animation selection operation interface, and closing the virtual animation selection operation interface when the animation selection is not performed on the virtual animation selection operation interface by the user in the animation selection operation time limit.

8. An electronic device, characterized by comprising: a processor;

a memory; and a program, wherein the program is stored in the memory and configured to be executed by the processor, the program comprising instructions for carrying out a virtual control method of a matrixed DMX festive lantern according to any of claims 1-7.

9. A computer-readable storage medium having stored thereon a computer program, characterized in that: the computer program is executed by a processor to perform a method of virtually controlling a matrix-type DMX festive lantern according to any of claims 1-7.

10. A computer program product comprising a computer program which, when executed by a processor, implements a method of virtual control of a matrix DMX festive lighting according to any of claims 1 to 7.

Technical Field

The invention relates to the field of DMX festive lantern control, in particular to a virtual control method, equipment, a medium and a product of a matrix DMX festive lantern.

Background

The DMX lamp is applied to various places needing light decoration, the DMX flower lamp is one of the DMX lamps, and the DMX flower lamp is famous because the lamp is in a flower shape. The existing DMX festive lantern uses a matrix DMX festive lantern which is composed of a plurality of DMX (Digital Multipiex) festive lantern lamps to manufacture dynamic effect, and brings visual enjoyment to people; the existing matrix type DMX festive lantern is mainly adjusted and controlled by a user through an operation key on a lamplight control end in lamplight control, but the operation of the lamplight control end is extremely difficult for the user without control experience, so that the lamplight control of the existing matrix type DMX festive lantern has certain limitation, and the lamplight display requirements of the user without the operation experience of the lamplight control end cannot be met.

Disclosure of Invention

In order to overcome the defects of the prior art, one of the objectives of the present invention is to provide a DMX festive lantern control method based on voice recognition, which can solve the problems that the light control of a matrix-type DMX festive lantern has certain limitations and cannot meet the light display requirements of some users without the operation experience of a light control end.

The second objective of the present invention is to provide an electronic device, which can solve the problem that the lighting control of the matrix type DMX festive lantern has certain limitations and cannot meet the lighting display requirements of some users without the operation experience of the lighting control end.

The invention also aims to provide a computer readable storage medium, which can solve the problem that the lighting control of a matrix type DMX festive lantern has certain limitation and cannot meet the lighting display requirements of some users without the operation experience of a lighting control end.

The fourth objective of the present invention is to provide a computer program product, which can solve the problem that the lighting control of the matrix type DMX festive lantern has certain limitations and cannot meet the lighting display requirements of some users without the operation experience of the lighting control end.

One of the purposes of the invention is realized by adopting the following technical scheme:

a virtual control method of a matrix type DMX festive lantern comprises the following steps:

receiving a virtual control request, detecting whether a user triggers the virtual control request through a mobile terminal, if so, executing a step of displaying an operation interface, and if not, continuously detecting whether the user triggers the virtual control request;

the display operation interface is used for creating a virtual animation selection operation interface for the user to select the animation and displaying the virtual animation selection operation interface to the user through the mobile terminal;

receiving an animation selection instruction, and receiving an animation selection instruction generated after a user selects an animation on a virtual animation selection operation interface on the mobile terminal;

and controlling the DMX festive lantern, sending the animation selection instruction to the festive lantern control end through the server, and controlling the matrix DMX festive lantern to display the animation pattern corresponding to the animation selection instruction by the festive lantern control end according to the animation selection instruction.

Further, virtual animation selects operation interface to include the autonomic selection animation interface, the autonomic selection animation interface be with matrix DMX festive lantern equipropism can collude the selection festive lantern interface, the array order and the array position of the DXM festive lantern in the selectable festive lantern interface are unanimous with matrix DMX festive lantern, when the user is in when carrying out the animation selection on the autonomic selection animation interface, animation selection instruction is that the user is in the autonomic selection animation that forms after colluding in the selectable festive lantern interface.

Further, when the animation selection instruction is an autonomous animation selection instruction, the controlling the matrix type DMX festive lantern to display the animation pattern corresponding to the animation selection instruction according to the animation selection instruction specifically includes: and generating an autonomous selection animation control data packet containing a plurality of sub-animation control data according to the autonomous selection animation, sending all sub-animation control data in the autonomous selection animation control data packet to corresponding DMX festive lanterns in the matrix type DMX festive lanterns for light display, and combining all light displays to obtain an animation pattern consistent with the autonomous selection animation.

Further, the virtual animation selection operation interface further comprises a preset animation pattern selection interface, the preset animation pattern selection interface comprises a plurality of preset virtual animation patterns, and when a user selects animation on the preset animation pattern selection interface, the animation selection instruction is the preset virtual animation pattern selected on the preset animation pattern selection interface by the user.

Further, when the animation selection instruction is a preset virtual animation pattern, the controlling of the matrix type DMX festive lantern to display the animation pattern corresponding to the animation selection instruction according to the animation selection instruction specifically includes: screening out a corresponding preset animation control data packet containing a plurality of sub-preset animation control data from a preset animation control database according to a preset virtual animation pattern, sending each sub-preset animation control data to a corresponding DMX festive lantern in the matrix DMX festive lantern for light display, and combining all the light displays to obtain an animation pattern which is consistent with the preset virtual animation pattern.

Further, the detecting whether the user triggers the virtual control request through the mobile terminal specifically includes: and detecting whether the mobile terminal receives the on-line payment success receipt information, if so, determining that the user triggers the virtual control request through the mobile terminal, and if not, determining that the user does not trigger the virtual control request through the mobile terminal.

Further, before receiving the animation selection instruction, displaying an animation selection operation time limit, generating an animation selection operation time limit for enabling a user to perform animation selection on a virtual animation selection operation interface, displaying the animation selection operation time limit on the virtual animation selection operation interface, and closing the virtual animation selection operation interface when the user does not perform animation selection on the virtual animation selection operation interface within the animation selection operation time limit.

The second purpose of the invention is realized by adopting the following technical scheme:

an electronic device, comprising: a processor;

a memory; and a program, wherein the program is stored in the memory and configured to be executed by the processor, the program comprising instructions for executing a method of virtual control of a matrix-type DMX festive lantern as described herein.

The third purpose of the invention is realized by adopting the following technical scheme:

a computer-readable storage medium having stored thereon a computer program for execution by a processor of a method of virtual control of a matrix DMX festive lantern as described herein.

The fourth purpose of the invention is realized by adopting the following technical scheme:

a computer program product comprising a computer program which, when executed by a processor, implements a method of virtual control of a matrix DMX festive lantern as described herein.

Compared with the prior art, the invention has the beneficial effects that: in the application, a virtual animation selection operation interface for a user to select animation is created and displayed for the user, an animation selection instruction generated after the user selects the animation on the virtual animation selection operation interface on a mobile terminal is received, the animation selection instruction is finally sent to a festive lantern control end through a server, the festive lantern control end controls a matrix DMX festive lantern to display an animation pattern corresponding to the animation selection instruction according to the animation selection instruction, so that the user can select the animation pattern to be displayed on the matrix DMX festive lantern on the mobile terminal, the actual operation on the festive lantern control end is not needed, the lamplight display requirements of users without lamplight control end operation experience are met, and the animation pattern to be displayed is selected through the virtual interface on the mobile terminal, the operation experience of the user is increased, and the operation interest of the user is improved.

The foregoing description is only an overview of the technical solutions of the present invention, and in order to make the technical solutions of the present invention more clearly understood and to implement them in accordance with the contents of the description, the following detailed description is given with reference to the preferred embodiments of the present invention and the accompanying drawings. The detailed description of the present invention is given in detail by the following examples and the accompanying drawings.

Drawings

The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the invention without limiting the invention. In the drawings:

fig. 1 is a flowchart of a method for virtually controlling a matrix DMX festive lantern according to the present invention.

Detailed Description

The present invention will be further described with reference to the accompanying drawings and the detailed description, and it should be noted that any combination of the embodiments or technical features described below can be used to form a new embodiment without conflict.

As shown in fig. 1, a virtual control method for a matrix festive lantern in the present application specifically includes the following steps:

at the beginning of executing the following method, all the DMX festive lanterns in the matrix type DMX festive lanterns need to be initialized, that is, all the DMX festive lanterns in the matrix type arrangement are initially started, and corresponding address codes are set for each DMX festive lantern according to the arrangement sequence of each DMX festive lantern in the matrix type arrangement, and the DMX festive lanterns are in a normal starting operation state. And then, all the DMX festive lanterns of the matrix are connected to the Artnet equipment in parallel at the festive lantern control end, the DMX512 channel numerical value is obtained through an Artnet protocol, and all preset animation control data packets preset in the festive lantern control end and the DMX512 channel numerical value are subjected to one-to-one mapping so as to facilitate the editing of DMX512 channel signal data and the dynamic processing of time line data animation in the preset animation control data packets.

Receiving a virtual control request, detecting whether a user triggers the virtual control request through a mobile terminal, if so, executing a step of displaying an operation interface, and if not, continuously detecting whether the user triggers the virtual control request. The method specifically comprises the following steps: and detecting whether the mobile terminal receives the on-line payment success receipt information, if so, determining that the user triggers the virtual control request through the mobile terminal, and if not, determining that the user does not trigger the virtual control request through the mobile terminal. In this embodiment, a payment identifier for performing online payment is preset, and a user scans the payment identifier through a mobile terminal to perform online payment, and after the payment is successful, the mobile terminal receives the receipt information of the successful online payment. The payment identification code is a two-dimensional code or a bar code.

And the display operation interface is used for creating a virtual animation selection operation interface for the user to select the animation and displaying the virtual animation selection operation interface to the user through the mobile terminal. In this embodiment, the virtual animation selection operation interface includes an autonomous selection animation interface and a preset animation pattern selection interface, the autonomous selection animation interface is a selectable festive lantern interface in equal proportion to the matrix type DMX festive lantern, and the arrangement sequence and the arrangement position of DXM festive lantern in the selectable festive lantern interface are consistent with the matrix type DMX festive lantern. The virtual animation selection operation interface further comprises a preset animation pattern selection interface, the preset animation pattern selection interface comprises a plurality of preset virtual animation patterns, and the preset virtual animation patterns comprise patterns such as love hearts and smiling faces.

And displaying the animation selection operation time limit, generating the animation selection operation time limit which can be used for performing animation selection on a virtual animation selection operation interface by a user, displaying the animation selection operation time limit on the virtual animation selection operation interface, and closing the virtual animation selection operation interface when the user does not perform animation selection on the virtual animation selection operation interface in the animation selection operation time limit. For example, the animation selection operation time limit is ten minutes, the user can perform animation selection on the virtual animation selection operation interface within ten minutes after successful payment, if the payment time limit exceeds ten minutes, the virtual animation selection operation interface is automatically closed, and the user can perform animation selection again after re-payment is needed.

And receiving an animation selection instruction, and receiving the animation selection instruction generated after the user selects the animation on the virtual animation selection operation interface on the mobile terminal. In this embodiment, when the user selects an animation selection on the self-selection animation interface, the animation selection instruction is a self-selection animation formed after the user performs a check in the selectable festive lantern interface. When the user selects the animation selection on the preset animation pattern selection interface, the animation selection instruction is a preset virtual animation pattern selected on the preset animation pattern selection interface by the user.

And controlling the DMX festive lantern, sending the animation selection instruction to the festive lantern control end through the server, and controlling the matrix DMX festive lantern to display the animation pattern corresponding to the animation selection instruction by the festive lantern control end according to the animation selection instruction. In this embodiment, when the animation selection instruction is to autonomously select an animation, the controlling the matrix DMX festive lantern to display an animation pattern corresponding to the animation selection instruction according to the animation selection instruction specifically includes: and generating an autonomous selection animation control data packet containing a plurality of sub-animation control data according to the autonomous selection animation, sending all sub-animation control data in the autonomous selection animation control data packet to corresponding DMX festive lanterns in the matrix type DMX festive lanterns for light display, and combining all light displays to obtain an animation pattern consistent with the autonomous selection animation. When the animation selection instruction is a preset virtual animation pattern, controlling the matrix DMX festive lantern to display the animation pattern corresponding to the animation selection instruction according to the animation selection instruction specifically comprises the following steps: screening out a corresponding preset animation control data packet containing a plurality of sub-preset animation control data from a preset animation control database according to a preset virtual animation pattern, sending each sub-preset animation control data to a corresponding DMX festive lantern in the matrix DMX festive lantern for light display, and combining all the light displays to obtain an animation pattern which is consistent with the preset virtual animation pattern. In this embodiment, the festive lantern control end sends the sub-animation control data or the preset animation control data to the corresponding DMX festive lantern according to the address code of the DMX festive lantern. The sub-animation control data or the preset animation control data comprise one or more of a light-on instruction, a light-changing speed instruction, a light-changing instruction and a light-off instruction.

The present invention also provides an electronic device comprising: a processor;

a memory; and a program, wherein the program is stored in the memory and configured to be executed by the processor, the program comprising instructions for executing a method of virtual control of a matrix-type DMX festive lantern as described herein.

The invention further provides a computer readable storage medium, on which a computer program is stored, the computer program being executed by a processor to perform a virtual control method of a matrix type DMX festive lantern described in this application.

The invention further provides a computer program product, which includes a computer program, and the computer program is executed by a processor to implement the virtual control method for the matrix type DMX festive lantern.

In the application, a virtual animation selection operation interface for a user to select animation is created and displayed for the user, an animation selection instruction generated after the user selects the animation on the virtual animation selection operation interface on a mobile terminal is received, the animation selection instruction is finally sent to a festive lantern control end through a server, the festive lantern control end controls a matrix DMX festive lantern to display an animation pattern corresponding to the animation selection instruction according to the animation selection instruction, so that the user can select the animation pattern to be displayed on the matrix DMX festive lantern on the mobile terminal, the actual operation on the festive lantern control end is not needed, the lamplight display requirements of users without lamplight control end operation experience are met, and the animation pattern to be displayed is selected through the virtual interface on the mobile terminal, the operation experience of the user is increased, and the operation interest of the user is improved.

The foregoing is merely a preferred embodiment of the invention and is not intended to limit the invention in any manner; those skilled in the art can readily practice the invention as shown and described in the drawings and detailed description herein; however, those skilled in the art should appreciate that they can readily use the disclosed conception and specific embodiments as a basis for designing or modifying other structures for carrying out the same purposes of the present invention without departing from the scope of the invention as defined by the appended claims; meanwhile, any changes, modifications, and evolutions of the equivalent changes of the above embodiments according to the actual techniques of the present invention are still within the protection scope of the technical solution of the present invention.

9页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:通过电脑模拟数字调光协议时序逻辑的方法、装置及介质

网友询问留言

已有0条留言

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

精彩留言,会给你点赞!