CN116647967A - Networking control method, device, terminal and medium for spliced light effect - Google Patents

Networking control method, device, terminal and medium for spliced light effect Download PDF

Info

Publication number
CN116647967A
CN116647967A CN202310363533.5A CN202310363533A CN116647967A CN 116647967 A CN116647967 A CN 116647967A CN 202310363533 A CN202310363533 A CN 202310363533A CN 116647967 A CN116647967 A CN 116647967A
Authority
CN
China
Prior art keywords
light source
target light
target
source equipment
instruction
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202310363533.5A
Other languages
Chinese (zh)
Inventor
谭小林
黄学司
何建国
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Aitushi Innovation Technology Co ltd
Original Assignee
Shenzhen Aitushi Innovation 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 Shenzhen Aitushi Innovation Technology Co ltd filed Critical Shenzhen Aitushi Innovation Technology Co ltd
Priority to CN202310363533.5A priority Critical patent/CN116647967A/en
Publication of CN116647967A publication Critical patent/CN116647967A/en
Pending legal-status Critical Current

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/155Coordinated control of two or more light sources
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/18Self-organising networks, e.g. ad-hoc networks or sensor 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/175Controlling the light source by remote control
    • H05B47/19Controlling the light source by remote control via wireless transmission
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02BCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS
    • Y02B20/00Energy efficient lighting technologies, e.g. halogen lamps or gas discharge lamps
    • Y02B20/40Control techniques providing energy savings, e.g. smart controller or presence detection

Abstract

The application is applicable to the field of light control, and provides a networking control method, device, terminal and medium for splicing light effects, wherein the method comprises the following steps: determining a target light source device and corresponding light efficiency parameters; transmitting the lamp efficiency parameters to the target light source equipment; after the light effect parameters are sent, receiving a response instruction sent by the target light source equipment; the response instruction is an instruction that the target light source equipment receives the lamp efficiency parameters, wherein the instruction is sent to the networking control device of the spliced lamp efficiency by the target light source equipment; sending a lamplight starting instruction to instruct the target light source equipment to display target splicing lamp effect; the target spliced light effect is formed by the target light source equipment based on the received light effect parameters. The scheme can simplify the networking of multiple lamp effects and present multiple lamp effects.

Description

Networking control method, device, terminal and medium for spliced light effect
Technical Field
The application belongs to the field of light control, and particularly relates to a networking control method, device, terminal and medium for spliced light effect.
Background
Nowadays, in order to make activities such as stage performance and light show performance show better artistic effects, various light schemes are designed, wherein the light schemes comprise a plurality of light combinations to form a spliced light effect. However, the current prior art generally sends the same command to multiple lamps for overall control of the multiple lamps so that all lamps achieve the same lamp efficacy, which is in this case relatively single. If each lamp in the multiple lamps is required to realize different lamp effects, the multiple lamps are spliced to form an integral lamp effect, and only each lamp can be controlled independently, however, the one-to-one control mode further makes the realization of the lamp effect more complicated.
Disclosure of Invention
The embodiment of the application provides a networking control method, device, terminal and medium for spliced light effects, which are used for solving the problems of complex networking of the light effects and single light effect in the prior art.
A first aspect of an embodiment of the present application provides a networking control method for a spliced light effect, which is applied to a networking control device for a spliced light effect, where the method includes:
determining a target light source device and corresponding light efficiency parameters;
transmitting the lamp efficiency parameters to the target light source equipment;
after the light effect parameters are sent, receiving a response instruction sent by the target light source equipment; the response instruction is an instruction that the target light source equipment receives the lamp efficiency parameters, wherein the instruction is sent by the target light source equipment to a networking control device for splicing the lamp efficiency;
sending a lamplight starting instruction to instruct the target light source equipment to display target splicing lamp effect; the target spliced light effect is formed by the target light source equipment based on the received light effect parameters.
A second aspect of an embodiment of the present application provides a networking control device for splicing light effects, including:
the determining module is used for determining the target light source equipment and the corresponding lamp efficiency parameters;
a sending module, configured to send the light efficiency parameter to the target light source device;
the receiving module is used for receiving a response instruction sent by the target light source equipment after the light effect parameter is sent; the response instruction is an instruction that the target light source equipment receives the lamp efficiency parameters, wherein the instruction is sent by the target light source equipment to a networking control device for splicing the lamp efficiency;
the starting display module is used for sending a lamplight starting instruction to instruct the target light source equipment to display the target splicing lamp effect; the target spliced light effect is formed by the target light source equipment based on the received light effect parameters.
A third aspect of an embodiment of the present application provides a terminal comprising a memory, a processor and a computer program stored in the memory and executable on the processor, the processor implementing the steps of the method according to the first aspect when executing the computer program.
A fourth aspect of the embodiments of the present application provides a computer-readable storage medium storing a computer program which, when executed by a processor, implements the steps of the method according to the first aspect.
A fifth aspect of the application provides a computer program product for causing a terminal to carry out the steps of the method of the first aspect described above when the computer program product is run on the terminal.
From the above, after the target light source equipment required by the spliced light effect and the light effect parameters corresponding to the target light source equipment are determined, the corresponding light effect parameters are sent to the target light source equipment, after the light effect parameters are sent, the response instruction which is sent by the target light source equipment and is received with the light effect parameters is received, after the response instruction is received, the completion of networking of the spliced light effect is indicated, and the target light source equipment can be controlled to display the spliced light effect according to the light effect parameters by sending the light starting instruction. According to the application, the information interaction is performed with the plurality of light source devices based on the lamp effect parameters and the instructions, so that the plurality of light source devices are networked, the spliced lamp effect networking is simplified, the lamp effect of the light source devices can be controlled by adjusting the lamp effect parameters, and the spliced lamp effect finally presented is more diversified.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the embodiments or the description of the prior art will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings can be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a flowchart of a networking control method for splicing light effects provided in an embodiment of the present application;
fig. 2 is a flowchart two of a networking control method for splicing light effects provided in an embodiment of the present application;
fig. 3 is a block diagram of a networking control device for splicing light effects provided in an embodiment of the present application;
fig. 4 is a block diagram of a terminal according to an embodiment of the present application.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth such as the particular system architecture, techniques, etc., in order to provide a thorough understanding of the embodiments of the present application. It will be apparent, however, to one skilled in the art that the present application may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present application with unnecessary detail.
It should be understood that the terms "comprises" and/or "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It is also to be understood that the terminology used in the description of the application herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. As used in this specification and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
It should be further understood that the term "and/or" as used in the present specification and the appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes such combinations.
As used in this specification and the appended claims, the term "if" may be interpreted as "when..once" or "in response to a determination" or "in response to detection" depending on the context. Similarly, the phrase "if a determination" or "if a [ described condition or event ] is detected" may be interpreted in the context of meaning "upon determination" or "in response to determination" or "upon detection of a [ described condition or event ]" or "in response to detection of a [ described condition or event ]".
In particular implementations, the terminals described in embodiments of the application include, but are not limited to, other portable devices such as mobile phones, laptop computers, or tablet computers having a touch-sensitive surface (e.g., a touch screen display and/or a touch pad). It should also be appreciated that in some embodiments, the device is not a portable communication device, but a desktop computer having a touch-sensitive surface (e.g., a touch screen display and/or a touch pad).
In the following discussion, a terminal including a display and a touch sensitive surface is described. However, it should be understood that the terminal may include one or more other physical user interface devices such as a physical keyboard, mouse, and/or joystick.
The terminal supports various applications, such as one or more of the following: drawing applications, presentation applications, word processing applications, website creation applications, disk burning applications, spreadsheet applications, gaming applications, telephony applications, video conferencing applications, email applications, instant messaging applications, workout support applications, photo management applications, digital camera applications, digital video camera applications, web browsing applications, digital music player applications, and/or digital video player applications.
Various applications that may be executed on the terminal may use at least one common physical user interface device such as a touch sensitive surface. One or more functions of the touch-sensitive surface and corresponding information displayed on the terminal may be adjusted and/or changed between applications and/or within the corresponding applications. In this way, the common physical architecture (e.g., touch-sensitive surface) of the terminal may support various applications with user interfaces that are intuitive and transparent to the user.
It should be understood that, the sequence number of each step in this embodiment does not mean the execution sequence, and the execution sequence of each process should be determined by its function and internal logic, and should not limit the implementation process of the embodiment of the present application in any way.
In order to illustrate the technical scheme of the application, the following description is made by specific examples.
Referring to fig. 1, fig. 1 is a flowchart of a networking control method for a spliced light effect according to an embodiment of the present application. As shown in fig. 1, a networking control method of a spliced light effect is applied to a networking control device of the spliced light effect, and the method comprises the following steps:
step 101, determining a target light source device and corresponding lamp efficiency parameters.
Wherein the light source devices are light emitting devices, each light source device having its corresponding device ID. In the application, the light bar is preferably the light source equipment, a plurality of light beads are arranged in the light bar, the number of the light beads is different, the length specifications of the formed light bar are also different, and the length specifications of the light bar are not particularly limited. Each of the beads has a corresponding number and also has a corresponding bead parameter for adjustment, and the content of the bead parameter is not described herein. The target light source device is a selected light source device for forming a spliced light effect. The lamp efficiency parameters comprise data such as lamp operation speed, lamp operation direction, lamp operation starting point and operation time. Taking a lamp rod as an example, the light operation starting point refers to which lamp bead the lamp rod starts when the light moves, and the number of the lamp bead is the light operation starting point.
Specifically, the determining the target light source device and the corresponding light efficiency parameters includes: determining the target light source device based on a target splice shape; wherein the target splice shape is constituted by the target light source device; and calculating the light efficiency parameter of the target light source equipment based on the target spliced light efficiency.
Specifically, the light source device is selected to splice the target splice shape, and the selected light source device is the target light source device. The target splice shape is a physical component of the target splice light effect. After the target light source devices are determined, the light efficiency parameter of each target light source device needs to be calculated according to the target spliced light efficiency.
And 102, transmitting the lamp efficiency parameters to the target light source equipment.
Specifically, after the light efficiency parameter of each target light source device is calculated, the light efficiency parameter is bound with the device ID of the target light source device, and the light efficiency parameter is sent to the target light source device corresponding to the device ID. The amount of data that can be transmitted each time is determined by the communication scheme. If the data quantity to be transmitted is smaller than or equal to the single transmittable data quantity, the lamp efficiency parameters can be completely transmitted to the target light source equipment; if the data quantity to be transmitted is larger than the single transmittable data quantity, the target light source equipment needs to be grouped, namely the light effect parameters are grouped according to the single transmittable data quantity, a group of light effect parameters are transmitted each time, and the data quantity corresponding to each group of light effect parameters is smaller than or equal to the single transmittable data quantity.
Step 103, after the light efficiency parameter is sent, receiving a response instruction sent by the target light source equipment; the response instruction is an instruction that the target light source equipment receives the light effect parameters, wherein the instruction is sent to the networking control device of the spliced light effect by the target light source equipment.
Specifically, the light efficiency parameter is sent to the target light source device, and after the target light source device receives the light efficiency parameter, the target light source device sends a response instruction to the networking control device of the spliced light efficiency, namely, the device is informed that the light source device has received the corresponding light efficiency parameter. The response content of the response instruction is various, such as returning an "OK" to the device or sending a binary number "1", etc., and the response instruction is customized according to the requirement.
In general, in order to avoid a data squeeze phenomenon during response, the target light source devices sequentially respond. However, to increase the efficiency of the response, a multi-wire Cheng Yingda mechanism may also be employed.
In particular, it is mentioned above that the amount of data that can be transmitted each time is limited based on the communication method, and therefore, it is necessary to group the light source devices, and the transmission of the lighting parameters and the reception of the response instructions are performed according to the group, and the specific implementation procedure is as follows:
specifically, the lighting effect parameter is sent to the target light source equipment; receiving a response instruction sent by the target light source device, and further comprising: grouping the target light source devices based on grouping rules, configuring grouping numbers, and sending corresponding light efficiency parameters to a first group of target light source devices; receiving the response instruction sent by the first group of target light source equipment; after the preset receiving time is reached, transmitting corresponding lamp efficiency parameters to the next group of target light source equipment; the preset receiving time is counted after the light effect parameters of each group are sent out; or after receiving the response instructions sent by all the target light source devices in the first group, sending corresponding light efficiency parameters to the next group of light source devices. After the preset receiving time of the last group of target light source equipment is reached, if the fact that the unanswered target light source equipment exists in all the target light source equipment is detected, retransmitting the lamp efficiency parameters to the unanswered target light source equipment; or after receiving the response instructions sent by all target light source devices in the last group, if detecting that the unanswered target light source devices exist in all target light source devices, retransmitting the light efficiency parameters to the unanswered target light source devices.
The grouping rule is to group the light efficiency parameters of the target light source equipment according to the single transmittable data quantity, and accordingly, each light efficiency parameter corresponds to one target light source equipment, so that the grouping of the target light source equipment is realized. The grouping number is configured for each grouping at the same time of grouping, and the grouping number can be Arabic numbers 1-N or M 1 -M N And the like, wherein N is a positive integer. When the lamp efficiency parameters of each group are transmitted, the lamp efficiency parameters are sequentially transmitted according to the increasing order of numbers. Upon detecting a packet number of N or M N And when the last group of target light source equipment starts to send the lamp efficiency parameters and receive the response instructions. The single transmittable data amount refers to a total data amount that can be transmitted at a time based on a communication scheme. Setting response time, namely the preset receiving time, for each group of target light source equipment according to the number of the target light source equipment in each group, wherein the preset receiving time begins to count after the light efficiency parameters of each group are sent.
Specifically, after grouping, the lighting effect parameters are sent and the response instructions are received according to the grouping. After the corresponding lamp efficiency parameters are sent to a certain group, if the response instructions of all the target light source devices in the group are received within the preset receiving time, the next group of lamp efficiency parameters are directly sent; or if the preset receiving time arrives, whether the light source equipment which does not answer exists or not, ending the current answering process of the packet, and starting the sending of the next group of lamp effect parameters until the answering process of the last packet is ended.
Specifically, after receiving the response instruction, the target light source devices sending the response instruction are marked, so that the unanswered light source devices can be detected from all the target light source devices, after receiving the response instruction of all the target light source devices in the last group, or after reaching the preset receiving time of the last group, all the unanswered light source devices are regrouped based on the grouping rule, and corresponding lamp efficiency parameters are sent to the unanswered light source devices again, and the response instruction is received.
Specifically, if the unanswered target light source device exists in all the light source devices, resending the light efficiency parameter to the unanswered target light source device, and further including: if the retransmission times reach the retransmission threshold, if the unacknowledged target light source equipment exists, networking fails. Wherein the retransmission threshold is an upper limit value of the number of times of retransmitting the light efficiency parameter to the target light source device which is not replied. That is, the number of times of retransmitting the light efficiency parameter has an upper limit value, and after the upper limit value is reached, there is still a response instruction which the target light source device does not transmit to the apparatus, indicating that the networking has failed.
Specifically, if the retransmission times do not exceed the retransmission threshold, the response instructions of all the target light source devices are received, which indicates that networking is successful.
104, sending a lamplight starting instruction to instruct the target light source equipment to display target splicing lamplight effect; the target spliced light effect is formed by the target light source equipment based on the received light effect parameters.
Specifically, after receiving the response instructions of all the target light source devices, the lamp efficiency parameters are indicated to be sent successfully, namely networking is successful. And then, the lamplight starting instruction can be sent, the lamplight starting instruction controls all the target light source devices to be started, after the target light source devices are started, lamplight display is carried out by the target light source devices according to the previously received lamplight efficiency parameters, and finally, all the target light source devices jointly form the target splicing lamplight efficiency.
In the embodiment of the application, after the target light source equipment required by the spliced light effect and the light effect parameters corresponding to the target light source equipment are determined, the corresponding light effect parameters are sent to the target light source equipment, after the light effect parameters are sent, the response instruction which is sent by the target light source equipment and is received with the light effect parameters is received, after the response instruction is received, the completion of networking of the spliced light effect is indicated, and the target light source equipment can be controlled to display the spliced light effect according to the light effect parameters by sending the light starting instruction. According to the application, the information interaction is performed with the plurality of light source devices based on the lamp effect parameters and the instructions, so that the plurality of light source devices are networked, the spliced lamp effect networking is simplified, the lamp effect of the light source devices can be controlled by adjusting the lamp effect parameters, and the spliced lamp effect finally presented is more diversified.
Referring to fig. 2, fig. 2 is a flowchart two of a networking control method for splicing light effects provided in an embodiment of the present application. As shown in fig. 2, a networking control method of a spliced light effect is applied to a networking control device of the spliced light effect, and the method comprises the following steps:
step 201, determining a target light source device based on a target splicing shape; wherein the target splice shape is constituted by the target light source device.
The target splicing shape is a shape of a straight line, a triangle, a rectangle, a hexagon, a Y-shape, a cross, a star or other shapes designed according to the needs, and the target splicing shape is not exemplified here. After the target splicing shape is selected, a proper light source device is selected, namely the target light source device splices the target splicing shape.
In practical application, the networking control device for splicing the light effect can also store the spliced shape of the part and the corresponding equipment ID of the light source equipment, so that a user can directly call the spliced shape.
One possible implementation of this step is to splice the light source devices into a large rectangle or other shape, and select the light source device from the large rectangle as the target light source device. For example, if the light source device is a light bar, a plurality of light bars may be spliced in rows or columns to form a rectangular screen, and a light bar capable of constituting the target splice shape may be selected from the rectangular screen. The specific implementation mode can refer to an LED electronic display screen formed by LED lamps.
Step 202, acquiring and binding the device ID of the target light source device based on the communication connection.
Optionally, communication modes between the networking control device of the spliced light effect and the light source equipment include bluetooth communication, near field communication or wireless broadband communication.
According to the communication mode, communication connection between the device and the light source equipment is established, and according to the communication connection, the device can acquire the equipment ID of the light source equipment spliced with the target splicing shape and bind the equipment ID. Wherein each light source device has a globally unique device ID. After binding, the transmission and reception of instructions and data can be performed between the device and the light source apparatus.
And 203, sending a lamp efficacy preview instruction to the target light source equipment, and determining the lamp light moving state of the target light source equipment.
After the device ID is bound, a lamp previewing instruction is sent to the target light source device, wherein the lamp previewing instruction is used for indicating the target light source device to be started and displaying a lamp moving state, and the lamp moving state comprises a lamp moving direction and a light emitting state. And after receiving the lamp effect preview instruction, the target light source equipment is started and performs lamp light movement. In general, the lamp previewing instructions are sequentially sent, the light moving directions of the light source equipment are observed one by one, and meanwhile, whether the light source equipment can emit light normally can be checked. The observation may be a manual observation record, or may be a device observation and a background record, and the implementation manner is not particularly limited, so long as the light moving direction and the light emitting state of the light source device can be recorded.
Specifically, the sending a lamp efficacy preview instruction to the target light source device, after determining the light movement state of the target light source device, further includes: under the condition that a direction calibration instruction is received, carrying out direction calibration on target light source equipment with inconsistent lamplight moving directions; when the target light source equipment with the light moving direction inconsistent with the preset direction exists in the target light source equipment, sending the direction calibration instruction to a networking control device of the spliced light effect; and when the lamplight moving directions of all the target light source devices are consistent with the preset direction, sending the lamplight efficiency parameters to the target light source devices. The preset direction is the light moving direction based on the spliced light effect setting. The light moving direction may be clockwise, anticlockwise, gather to the middle or diverge to the periphery, etc., and are not exemplified here.
Specifically, when it is observed that a target light source device with a light moving direction inconsistent with a preset direction exists in the target light source devices, the direction calibration instruction is sent to the device, and the direction calibration instruction is used for instructing the device to adjust the light moving direction of the target light source device with the light moving direction inconsistent with the preset direction to be consistent with the preset direction. The direction calibration instruction can be used for converting the light moving direction of the target light source equipment with the inconsistent light moving direction and the preset direction, and meanwhile, whether the target light source equipment with the inconsistent light moving direction and the preset direction can perform light movement based on the preset direction or not is checked, namely, whether the spliced light effect can be normally operated or not when the spliced light effect is realized subsequently.
In addition, the direction calibration command also marks the target light source device, the light moving direction of which is inconsistent with the preset direction, and the assembling direction of the target light source device is not changed although the direction calibration is performed, namely the light starting point of the target light source device is not changed, and the original light starting point of the light source device is called as an original starting point. Therefore, when the lamp efficiency parameter of each light source device is calculated, if the target light source device receiving the direction calibration instruction is encountered, the calculation cannot be started according to the original light starting point of the light source device, and the original light starting point is required to be used as the current ending point in a reverse way. Specifically, if the target light source device is a light bar, the light beads in the light bar have a series of numbers according to the normal light moving direction, such as A1-a10, and for the light bar with the light moving direction inconsistent with the preset direction, the calculation can not take A1 as the light starting point and a10 needs to be calculated as the starting point.
In fact, when the target light source device with the inconsistent lamplight moving direction and the preset direction exists, the assembling direction of the light source device can be directly reversed and exchanged by manpower, and at the moment, whether the lamplight moving direction of the light source device after the assembling direction is reversed is consistent with the preset direction or not only needs to be checked, and if so, the lamplight effect can be directly calculated. The method does not require participation by direction calibration instructions.
Step 204, under the condition of receiving a determining instruction, sending a lamp efficiency parameter to the target light source equipment; and when the light moving direction of the target light source equipment is consistent with the preset direction, sending the determining instruction to the networking control device of the spliced light effect.
Specifically, when the light moving direction of the target light source device is observed to be consistent with the preset direction, a determining instruction is sent to the device, and the determining instruction is used for instructing the device to send the light efficiency parameter to the target light source device.
The process of sending the light efficiency parameter to the target light source device is the same as the implementation process of step 102 in the foregoing embodiment, and will not be described herein.
Step 205, after the light efficiency parameter is sent, receiving a response instruction sent by the target light source device; the response instruction is an instruction sent by the target light source equipment and received with the lighting effect parameters.
The implementation process of this step is the same as that of step 103 in the foregoing embodiment, and will not be described here again.
Step 206, a lamplight starting instruction is sent to instruct the target light source equipment to display target splicing lamplight effect; the target spliced light effect is formed by the target light source equipment based on the received light effect parameters.
The implementation process of this step is the same as that of step 104 in the foregoing embodiment, and will not be described here again.
In the embodiment of the application, before the light efficiency parameters are sent, the target light source equipment is determined based on the target splicing shape, the communication connection is established with the target light source equipment, and the light efficiency preview instruction is sent to the target light source equipment, so that whether the light movement state of the target light source equipment is normal or not is observed, the situation that the target light source equipment with abnormal light movement state needs to be re-networked only after networking is completed is reduced, and the networking workload is greatly reduced.
Referring to fig. 3, fig. 3 is a block diagram of a networking control device for splicing light effects according to an embodiment of the present application, and for convenience of explanation, only a portion related to the embodiment of the present application is shown.
The networking control device 300 for splicing the light effects includes: the determining module 301, the transmitting module 302, the receiving module 303 and the displaying module 304 are started.
A determining module 301, configured to determine a target light source device and a corresponding light efficiency parameter;
a sending module 302, configured to send the light efficiency parameter to the target light source device;
a receiving module 303, configured to receive a response instruction sent by the target light source device after the light efficiency parameter is sent; the response instruction is an instruction that the target light source equipment receives the lamp efficiency parameters, wherein the instruction is sent to the networking control device of the spliced lamp efficiency by the target light source equipment;
the starting display module 304 is configured to send a light starting instruction, and instruct the target light source device to display a target splicing light effect; the target spliced light effect is formed by the target light source equipment based on the received light effect parameters.
The determining module is specifically configured to:
determining the target light source device based on a target splice shape; wherein the target splice shape is constituted by the target light source device; and calculating the light efficiency parameter of the target light source equipment based on the target spliced light efficiency.
Specifically, the sending module is used for:
acquiring and binding the device ID of the target light source device based on communication connection; sending a lamp effect preview instruction to the target light source equipment, and determining the light movement state of the target light source equipment; transmitting the lamp efficiency parameters to the target light source equipment under the condition of receiving a determining instruction; and when the light moving direction of the target light source equipment is consistent with the preset direction, sending the determining instruction to the networking control device of the spliced light effect.
Specifically, the device also comprises a light inspection module for:
under the condition that a direction calibration instruction is received, carrying out direction calibration on target light source equipment with inconsistent lamplight moving directions; when the target light source equipment with the light moving direction inconsistent with the preset direction exists in the target light source equipment, sending the direction calibration instruction to a networking control device of the spliced light effect; and when the lamplight moving directions of all the target light source devices are consistent with the preset direction, sending the lamplight efficiency parameters to the target light source devices.
The sending module and the receiving module are specifically configured to:
grouping the target light source devices based on grouping rules, configuring grouping numbers, and sending corresponding light efficiency parameters to a first group of target light source devices; receiving the response instruction sent by the first group of target light source equipment; after the preset receiving time is reached, transmitting corresponding lamp efficiency parameters to the next group of target light source equipment; the preset receiving time is counted after the light effect parameters of each group are sent out; or after receiving the response instructions sent by all the target light source devices in the first group, sending corresponding light efficiency parameters to the next group of light source devices; and until the response instructions sent by all the target light source devices are received.
After the preset receiving time of the last group of target light source equipment is reached, if the fact that the unanswered target light source equipment exists in all the target light source equipment is detected, retransmitting the lamp efficiency parameters to the unanswered target light source equipment; or after receiving the response instructions sent by all target light source devices in the last group, if detecting that the unanswered target light source devices exist in all target light source devices, retransmitting the light efficiency parameters to the unanswered target light source devices.
If the number of retransmission times reaches the retransmission threshold, if the unanswered light source equipment exists, networking fails.
The networking control device for the spliced light effect provided by the embodiment of the application can realize the processes of the embodiment of the networking control method for the spliced light effect, can achieve the same technical effect, and is not repeated here for avoiding repetition.
Fig. 4 is a block diagram of a terminal according to an embodiment of the present application. As shown in the figure, the terminal 4 of this embodiment includes: at least one processor 40 (only one is shown in fig. 4), a memory 41 and a computer program 42 stored in the memory 41 and executable on the at least one processor 40, the processor 40 implementing the steps in any of the various method embodiments described above when executing the computer program 42.
The terminal 4 may be a computing device such as a desktop computer, a notebook computer, a palm computer, a cloud server, etc. The terminal 4 may include, but is not limited to, a processor 40, a memory 41. It will be appreciated by those skilled in the art that fig. 4 is merely an example of the terminal 4 and is not limiting of the terminal 4, and may include more or fewer components than shown, or may combine some components, or different components, e.g., the terminal may further include input and output devices, network access devices, buses, etc.
The processor 40 may be a central processing unit (Central Processing Unit, CPU), but may also be other general purpose processors, digital signal processors (Digital Signal Processor, DSP), application specific integrated circuits (Application Specific Integrated Circuit, ASIC), field programmable gate arrays (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, or the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory 41 may be an internal storage unit of the terminal 4, such as a hard disk or a memory of the terminal 4. The memory 41 may also be an external storage device of the terminal 4, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card) or the like, which are provided on the terminal 4. Further, the memory 41 may also include both an internal storage unit and an external storage device of the terminal 4. The memory 41 is used for storing the computer program as well as other programs and data required by the terminal. The memory 41 may also be used for temporarily storing data that has been output or is to be output.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-described division of the functional units and modules is illustrated, and in practical application, the above-described functional distribution may be performed by different functional units and modules according to needs, i.e. the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-described functions. The functional units and modules in the embodiment may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit, where the integrated units may be implemented in a form of hardware or a form of a software functional unit. In addition, the specific names of the functional units and modules are only for distinguishing from each other, and are not used for limiting the protection scope of the present application. The specific working process of the units and modules in the above system may refer to the corresponding process in the foregoing method embodiment, which is not described herein again.
In the foregoing embodiments, the descriptions of the embodiments are emphasized, and in part, not described or illustrated in any particular embodiment, reference is made to the related descriptions of other embodiments.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus/terminal and method may be implemented in other manners. For example, the apparatus/terminal embodiments described above are merely illustrative, e.g., the division of the modules or units is merely a logical function division, and there may be additional divisions when actually implemented, e.g., multiple units or components may be combined or integrated into another system, or some features may be omitted or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection via interfaces, devices or units, which may be in electrical, mechanical or other forms.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in the embodiments of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
The integrated modules/units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a computer readable storage medium. Based on such understanding, the present application may implement all or part of the flow of the method of the above embodiment, or may be implemented by a computer program to instruct related hardware, where the computer program may be stored in a computer readable storage medium, and when the computer program is executed by a processor, the computer program may implement the steps of each of the method embodiments described above. Wherein the computer program comprises computer program code which may be in source code form, object code form, executable file or some intermediate form etc. The computer readable medium may include: any entity or device capable of carrying the computer program code, a recording medium, a U disk, a removable hard disk, a magnetic disk, an optical disk, a computer Memory, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), an electrical carrier signal, a telecommunications signal, a software distribution medium, and so forth. It should be noted that the computer readable medium contains content that can be appropriately scaled according to the requirements of jurisdictions in which such content is subject to legislation and patent practice, such as in certain jurisdictions in which such content is subject to legislation and patent practice, the computer readable medium does not include electrical carrier signals and telecommunication signals.
The present application may also be implemented as a computer program product for implementing all or part of the procedures of the methods of the above embodiments, which when run on a terminal causes the terminal to perform the steps of the method embodiments described above.
The above embodiments are only for illustrating the technical solution of the present application, and not for limiting the same; although the application has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present application, and are intended to be included in the scope of the present application.

Claims (10)

1. The networking control method of the spliced light effect is characterized by being applied to a networking control device of the spliced light effect, and comprises the following steps:
determining a target light source device and corresponding light efficiency parameters;
transmitting the lamp efficiency parameters to the target light source equipment;
after the light effect parameters are sent, receiving a response instruction sent by the target light source equipment; the response instruction is an instruction that the target light source equipment receives the lamp efficiency parameters, wherein the instruction is sent to the networking control device of the spliced lamp efficiency by the target light source equipment;
sending a lamplight starting instruction to instruct the target light source equipment to display target splicing lamp effect; the target spliced light effect is formed by the target light source equipment based on the received light effect parameters.
2. The method of claim 1, wherein determining the target light source device and corresponding light efficiency parameters comprises:
determining the target light source device based on a target splice shape; wherein the target splice shape is constituted by the target light source device;
and calculating the light efficiency parameter of the target light source equipment based on the target spliced light efficiency.
3. The method of claim 2, wherein after determining the target light source device based on the target splice shape, further comprising:
acquiring and binding the device ID of the target light source device based on communication connection;
sending a lamp effect preview instruction to the target light source equipment, and determining the light movement state of the target light source equipment;
transmitting the lamp efficiency parameters to the target light source equipment under the condition of receiving a determining instruction; and when the light moving direction of the target light source equipment is consistent with the preset direction, sending the determining instruction to the networking control device of the spliced light effect.
4. The method of claim 3, wherein the sending a lamp preview command to the target light source device, after determining the light movement state of the target light source device, further comprises:
under the condition that a direction calibration instruction is received, carrying out direction calibration on target light source equipment with inconsistent lamplight moving directions; when the target light source equipment with the light moving direction inconsistent with the preset direction exists in the target light source equipment, sending the direction calibration instruction to a networking control device of the spliced light effect;
and when the lamplight moving directions of all the target light source devices are consistent with the preset direction, sending the lamplight efficiency parameters to the target light source devices.
5. The method of claim 1, wherein the sending the light efficiency parameter to the target light source device; after the light efficiency parameter is sent, receiving a response instruction sent by the target light source device, and further comprising:
grouping the target light source devices based on grouping rules, configuring grouping numbers, and sending corresponding light efficiency parameters to a first group of target light source devices;
receiving the response instruction sent by the first group of target light source equipment;
after the preset receiving time is reached, transmitting corresponding lamp efficiency parameters to the next group of target light source equipment; the preset receiving time is counted after the light effect parameters of each group are sent out; or alternatively, the process may be performed,
and after receiving the response instructions sent by all the target light source devices in the first group, sending corresponding light efficiency parameters to the next group of light source devices.
6. The method according to claim 5, comprising:
after the preset receiving time of the last group of target light source equipment is reached, if the fact that the unanswered target light source equipment exists in all the target light source equipment is detected, retransmitting the lamp efficiency parameters to the unanswered target light source equipment; or alternatively, the process may be performed,
and after receiving the response instructions sent by all target light source devices in the last group, if detecting that the unanswered target light source devices exist in all target light source devices, retransmitting the light efficiency parameters to the unanswered target light source devices.
7. The method of claim 6, wherein if it is detected that there is an unanswered target light source device among all target light source devices, retransmitting the light efficiency parameter to the unanswered target light source device, further comprising:
if the retransmission times reach the retransmission threshold, if the unacknowledged target light source equipment exists, networking fails.
8. The networking control device of concatenation lamp effect, characterized by comprising:
the determining module is used for determining the target light source equipment and the corresponding lamp efficiency parameters;
a sending module, configured to send the light efficiency parameter to the target light source device;
the receiving module is used for receiving a response instruction sent by the target light source equipment after the light effect parameter is sent; the response instruction is an instruction that the target light source equipment receives the lamp efficiency parameters, wherein the instruction is sent to the networking control device of the spliced lamp efficiency by the target light source equipment;
the starting display module is used for sending a lamplight starting instruction to instruct the target light source equipment to display the target splicing lamp effect; the target spliced light effect is formed by the target light source equipment based on the received light effect parameters.
9. A terminal comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that the processor implements the steps of the method according to any of claims 1 to 7 when the computer program is executed.
10. A computer readable storage medium storing a computer program, characterized in that the computer program when executed by a processor implements the steps of the method according to any one of claims 1 to 7.
CN202310363533.5A 2023-03-31 2023-03-31 Networking control method, device, terminal and medium for spliced light effect Pending CN116647967A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310363533.5A CN116647967A (en) 2023-03-31 2023-03-31 Networking control method, device, terminal and medium for spliced light effect

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310363533.5A CN116647967A (en) 2023-03-31 2023-03-31 Networking control method, device, terminal and medium for spliced light effect

Publications (1)

Publication Number Publication Date
CN116647967A true CN116647967A (en) 2023-08-25

Family

ID=87621887

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310363533.5A Pending CN116647967A (en) 2023-03-31 2023-03-31 Networking control method, device, terminal and medium for spliced light effect

Country Status (1)

Country Link
CN (1) CN116647967A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117156646A (en) * 2023-10-27 2023-12-01 深圳市千岩科技有限公司 Spliced lamp, controller thereof, and method and device for generating lamp effect signals

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117156646A (en) * 2023-10-27 2023-12-01 深圳市千岩科技有限公司 Spliced lamp, controller thereof, and method and device for generating lamp effect signals
CN117156646B (en) * 2023-10-27 2024-01-30 深圳市千岩科技有限公司 Spliced lamp, controller thereof, and method and device for generating lamp effect signals

Similar Documents

Publication Publication Date Title
CN110750341B (en) Task scheduling method, device, system, terminal equipment and storage medium
CN110851253B (en) Remote operation and maintenance method, system, storage medium and electronic equipment
CN108738008A (en) Bluetooth pairing methods and system
CN116647967A (en) Networking control method, device, terminal and medium for spliced light effect
CN116166332B (en) Method, device, equipment and medium for parallel loading of compressor driver
CN108549586B (en) Information processing method and device
JP2023510833A (en) Message processing method, device and electronic equipment
US20160241472A1 (en) Method, system, control device and node device for data transmission
CN110278028B (en) Information transmission method and related product
WO2014180396A1 (en) Code coverage rate processing method and device
CN115134254B (en) Network simulation method, device, equipment and storage medium
JP2019500764A (en) Bandwidth throttling calibration method, bandwidth throttling communication method, receiving device, and bandwidth throttling method
CN110505304A (en) Terminal execution, application method, device, Cloud Server and the system of scene mode
US20120331037A1 (en) Validating download success
CN110022323A (en) A kind of method and system of the cross-terminal real-time, interactive based on WebSocket and Redux
CN110912717B (en) Broadcasting method and server of centerless multi-channel concurrent transmission system
US9171346B2 (en) Method and device for movement of image object
CN110297754A (en) A kind of test information feedback method and system
CN110492935B (en) Data processing system, method and device and terminal equipment
CN107508705A (en) The resource tree constructing method and computing device of a kind of HTTP elements
CN110266384B (en) Local area network communication control method and related product
CN109871277B (en) Inter-process multi-request management method and device, terminal equipment and readable storage medium
CN111352357B (en) Robot control method and device and terminal equipment
CN112614049A (en) Image processing method, image processing device, storage medium and terminal
CN106603604A (en) Method and device of triggering transaction processing motion

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