Light scene reconstruction method and system based on DMX512 protocol
Receiving and analyzing data flows through the DMX512 protocol, building the target lighting scene, solving the compatibility problem between different manufacturers' systems, improving the efficiency and flexibility of lighting scene reconstruction, and reducing labor costs.
Patent Information
- Application Number
- CN202411410594.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-10
- Publication Date
- 2024-11-26
AI Technical Summary
Due to the inconsistent operation concept and data storage format of different manufacturers, the stage lighting control systems cannot be read or shared directly, resulting in the customer re-creating the scene when changing the console, which is time-consuming and labor-intensive and labor-intensive.
The DMX512 protocol is used as the lighting data transmission standard. By receiving and analyzing the DMX512 data stream, obtaining lighting control parameters, and building the target lighting scene through the programming control interface to achieve compatibility and data utilization between different systems.
It effectively solves the compatibility problem between systems of different manufacturers, improves the convenience and flexibility of lighting scene reconstruction, reduces labor costs, and realizes the effective utilization of original console data.
Smart Images

Figure CN119031552A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of lighting control technology, and in particular to a lighting scene reconstruction method and system based on the DMX512 protocol. Background Art
[0002] In the field of stage lighting control, due to differences in technical architecture and design concepts used by various manufacturers when developing consoles (control systems), different consoles have significant differences in operation interface, operation process, data storage format, etc., so different consoles cannot directly read or share key information such as stored scene data and lighting effects. When customers need to replace the console, they cannot effectively use the data of the original console and often need to re-produce the original scene, which is time-consuming, labor-intensive, and has high labor costs. Summary of the invention
[0003] In order to solve the above technical problems, the purpose of the present invention is to provide a lighting scene reconstruction method and system based on the DMX512 protocol, which can improve the efficiency of stage lighting scene reconstruction.
[0004] To achieve the above purpose, one aspect of an embodiment of the present application proposes a lighting scene reconstruction method based on the DMX512 protocol, comprising the following steps:
[0005] Receive the DMX512 data stream sent by the source control system;
[0006] Analyze the DMX512 data stream to obtain lighting control parameters;
[0007] A target lighting scene is constructed based on the lighting control parameters through a preset programming control interface.
[0008] In some embodiments, the receiving source control system sends a DMX512 data stream, specifically including:
[0009] determining an operating state of the source control system;
[0010] When the source control system is in operation and generates the DMX512 data stream, the DMX512 data stream sent by the source control system is received through the pre-connected DMX512 connection line.
[0011] In some embodiments, the receiving source control system sends a DMX512 data stream, specifically including:
[0012] determining an operating state of the source control system;
[0013] When the source control system is in operation and generates the DMX512 data stream, the DMX512 data stream within a first preset time period is recorded by a preset recording device to obtain a DMX512 data file;
[0014] Receive the DMX512 data file sent by the recording device.
[0015] In some embodiments, the parsing based on the DMX512 data stream to obtain the lighting control parameters specifically includes:
[0016] Get the channel configuration information and starting address of the lighting device;
[0017] The DMX512 data stream is parsed according to the channel configuration information and the start address to obtain the lighting control parameters.
[0018] In some embodiments, the target lighting scene is constructed based on the lighting control parameters through a preset programming control interface, specifically:
[0019] The lighting control parameters are adjusted through the programming control interface to obtain a constructed target lighting scene.
[0020] In some embodiments, adjusting the lighting control parameters through the programming control interface to obtain a constructed target lighting scene specifically includes:
[0021] Restore a management component in the programming control interface according to the lighting control parameters, wherein the management component includes at least one of a preset, a scene, and a sequence;
[0022] The management component is adjusted according to the adjustment instruction triggered by the programming control interface to obtain the constructed target lighting scene.
[0023] In some embodiments, adjusting the management component according to the adjustment instruction triggered by the programming control interface specifically includes:
[0024] Receiving the adjustment instruction triggered by the user through the programming control interface;
[0025] Determining the target management component to be adjusted according to the adjustment instruction;
[0026] Performing an adjustment operation on the target management component according to the adjustment instruction;
[0027] The adjustment operation includes at least one of parameter adjustment, preset adjustment, scene adjustment, sequence arrangement, and material selection and storage.
[0028] To achieve the above purpose, another aspect of the embodiment of the present application proposes a lighting scene reconstruction system based on the DMX512 protocol, comprising:
[0029] A data input module is used to receive the DMX512 data stream sent by the source control system;
[0030] A data analysis module, used for analyzing the DMX512 data stream to obtain lighting control parameters;
[0031] The data optimization module is used to construct a target lighting scene based on the lighting control parameters through a programming control interface.
[0032] To achieve the above-mentioned purpose, another aspect of an embodiment of the present application proposes an electronic device, which includes a memory, a processor, a program stored in the memory and executable on the processor, and a data bus for realizing connection and communication between the processor and the memory. When the program is executed by the processor, the lighting scene reconstruction method based on the DMX512 protocol as described above is realized.
[0033] To achieve the above-mentioned purpose, another aspect of an embodiment of the present application proposes a storage medium, which is a computer-readable storage medium used for computer-readable storage, and the storage medium stores one or more programs, and the one or more programs can be executed by one or more processors to implement the lighting scene reconstruction method based on the DMX512 protocol as described above.
[0034] The beneficial effects of the present invention are as follows: the lighting scene reconstruction method and system based on the DMX512 protocol of the present invention first receives the DMX512 data stream sent by the source control system, and then parses the DMX512 data stream to obtain lighting control parameters, and finally constructs the target lighting scene based on the lighting control parameters through a preset programming control interface. On the one hand, the present invention adopts the DMX512 protocol as the lighting data transmission standard, which can effectively solve the compatibility problems caused by the inconsistency of operation concepts and data storage formats between stage lighting control systems of different manufacturers; on the other hand, the DMX512 data stream is deeply parsed to obtain lighting control parameters, and then the target lighting scene is quickly adjusted and constructed through the programming control interface, which can improve the convenience and flexibility of lighting scene reconstruction, realize the effective use of the data of the original console, and reduce labor costs. BRIEF DESCRIPTION OF THE DRAWINGS
[0035] In order to more clearly illustrate the technical solution in the embodiments of the present invention, the following introduction is made to the drawings required for use in the embodiments of the present invention. It should be understood that the drawings introduced below are only for the convenience of clearly describing some embodiments of the technical solution of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.
[0036] Figure 1 A schematic diagram of an implementation environment of a lighting scene reconstruction method based on the DMX512 protocol provided by an embodiment of the present invention;
[0037] Figure 2 A flowchart of a method for reconstructing a lighting scene based on the DMX512 protocol provided by an embodiment of the present invention;
[0038] Figure 3 A structural schematic diagram of a lighting scene reconstruction system based on the DMX512 protocol provided by an embodiment of the present invention;
[0039] Figure 4 A schematic diagram of the hardware structure of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0040] In order to make the purpose, technical solutions and advantages of the present application clearer, the present application is further described in detail below in conjunction with the accompanying drawings and examples. It should be understood that the specific embodiments described herein are only used to explain the present application and are not intended to limit the present application. When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the embodiments of the present application. They are only examples of devices and methods consistent with some aspects of the embodiments of the present application as detailed in the attached claims.
[0041] It is understood that the terms "first", "second", etc. used in this application can be used to describe various concepts in this article, but unless otherwise specified, these concepts are not limited by these terms. These terms are only used to distinguish one concept from another concept. For example, without departing from the scope of the embodiment of the present application, the first information may also be referred to as the second information, and similarly, the second information may also be referred to as the first information. Depending on the context, the words "if" and "if" as used herein can be interpreted as "at the time of" or "when" or "in response to determination".
[0042] The terms "at least one", "multiple", "each", "any", etc. used in this application, at least one includes one, two or more, multiple includes two or more, each refers to each of the corresponding multiple, and any refers to any one of the multiple.
[0043] In the field of stage lighting control, due to differences in technical architecture and design concepts used by various manufacturers when developing consoles (control systems), different consoles have significant differences in operation interface, operation process, data storage format, etc., so different consoles cannot directly read or share key information such as stored scene data and lighting effects. When customers need to replace the console, they often need to re-produce the original scene, which is time-consuming and labor-intensive, with high labor costs.
[0044] To this end, an embodiment of the present invention proposes a lighting scene reconstruction method based on the DMX512 protocol. The method is applied to a target control system, first receiving the DMX512 data stream sent by the source control system, and then parsing the DMX512 data stream to obtain lighting control parameters, and finally constructing a target lighting scene based on the lighting control parameters through a preset programming control interface. On the one hand, the present invention adopts the DMX512 protocol as the lighting data transmission standard, which can effectively solve the compatibility problems caused by the inconsistency of operation concepts and data storage formats between stage lighting consoles of different manufacturers; on the other hand, the DMX512 data stream is deeply parsed to obtain lighting control parameters, and then the lighting scene is quickly adjusted and constructed through the programming control interface, which can improve the convenience and flexibility of lighting scene reconstruction, realize the effective use of the data of the original console, and reduce labor costs. The lighting scene reconstruction method can be widely used in scenes such as concerts, exhibitions, and urban landscape lighting, but is not limited to this.
[0045] Reference Figure 1 It is a schematic diagram of the structure of an implementation environment provided by the present invention. Figure 1 As shown, in this implementation environment, a source control system 101 and a target control system 102 are included. In this implementation environment, the source control system 101 may be a control system originally used by the user to control the stage lighting equipment, storing the prepared scene data, lighting effect data and other lighting scene effect data, such as the MA2 system and other equipment. The target control system 102 may be a control system currently used by the user to control the stage lighting equipment, a control system that needs to reconstruct the lighting scene based on the lighting scene effect data of the original control system, such as the TEKMAND system and other equipment. The source control system 101 and the target control system 102 may be control systems from different manufacturers.
[0046] Reference Figure 2 , Figure 2The present invention provides a flowchart of a method for reconstructing a lighting scene based on the DMX512 protocol. The present invention provides a method for reconstructing a lighting scene based on the DMX512 protocol. The method includes steps S101 to S103:
[0047] S101, receiving a DMX512 data stream sent by a source control system;
[0048] It should be noted that the embodiment of the present invention supports two modes of receiving the DMX512 data stream from the source control system 101: online real-time transmission and offline recording.
[0049] As an optional implementation, the step of receiving the DMX512 data stream sent by the source control system can be specifically divided into the following steps A1011 and A1012:
[0050] A1011. Determine the operating status of the source control system;
[0051] A1012. When the source control system is in operation and generates a DMX512 data stream, the DMX512 data stream sent by the source control system is received through a pre-connected DMX512 connection line.
[0052] Specifically, the online real-time transmission method first determines the operating state of the source control system 101. When the source control system 101 is in operation and generates a DMX512 data stream, the generated DMX512 data stream is sent to the target control system 102 in real time through the connected DMX512 connection line. The target control system 102 can parse these data streams, identify and extract the lighting parameters (such as brightness, color, flashing mode, etc.) corresponding to each channel, and save / record the received data so as to achieve the same lighting effect as the source control system 101 during subsequent playback. Management components can also be restored in the programming control interface based on the real-time online received data for users to adjust.
[0053] As an optional implementation, the step of receiving the DMX512 data stream sent by the source control system can be specifically divided into the following steps B1011 to B1013:
[0054] B1011. Determine the operating status of the source control system;
[0055] B1012, when the source control system is in operation and generates a DMX512 data stream, the DMX512 data stream within a first preset time period is recorded by a preset recording device to obtain a DMX512 data file;
[0056] B1013, receive the DMX512 data file sent by the recording device.
[0057] Specifically, the recording device used for recording can be a subcomponent of the target control system 102, or a recording device independent of the target control system 102. The offline recording method first determines the operating state of the source control system 101. When the source control system 101 is in operation and generates a DMX512 data stream, the recording device is used to capture the DMX512 data stream generated by the source control system 101 within the first preset time period, and save it in a replayable file format to obtain a DMX512 data file. When the recording device is a recording device independent of the target control system 102, the storage medium (such as an SD card, a USB flash drive) containing the DMX512 data file in the recording device can be inserted into the card slot of the target control system 102, or the recording device and the target control system 102 are connected using a data cable through the USB interface of the recording device to realize the transfer of the DMX512 data file in the recording device to the target control system 102. The target control system 102 can replay the data according to DMX512 to reproduce the lighting scene of the source control system 101, so that the subsequent user can intuitively edit and adjust according to the reproduced lighting scene in the programming control interface.
[0058] Those skilled in the art can understand that the first preset time period can be selected according to actual needs. For example, the first preset time period can be 15:00-19:00, 18:00-20:00, and 21:00-22:00, etc., but is not limited thereto.
[0059] S102, analyzing the DMX512 data stream to obtain lighting control parameters;
[0060] As an optional implementation, the step of parsing the DMX512 data stream to obtain the lighting control parameters can be specifically divided into the following steps S1021 and S1022:
[0061] S1021. Obtain channel configuration information and start address of lighting equipment;
[0062] Specifically, each lighting device is assigned a start address (also called base address or UniverseAddress) to identify the device in the data stream. The start address is the key to determine which device receives which control data when parsing the DMX512 data stream. The start address of the lighting device can be sent from the lighting device to the console via the RDM protocol, or it can be manually set by referring to the source control system or referring to the specific lighting device.
[0063] As a further optional implementation, the channel configuration information includes at least one of channel quantity information, channel number information, channel function allocation information, and channel parameter range information.
[0064] Specifically, the channel configuration information of lighting equipment refers to the number of channels, numbers, specific functions of these channels, parameter ranges and other information possessed by each lighting equipment. Each lighting equipment may contain multiple channels, and the channel function allocation information is used to identify the lighting parameters (such as brightness, color, color temperature, etc.) controlled by each channel. For example, a beam light may have 10 channels, the first channel controls brightness, the second channel controls pattern, the third channel controls strobe, the fourth channel controls the R value of color RGB, and so on. The channel number information is used to identify different channels, while the channel quantity information indicates the parameter control dimensions supported by the device. The channel function allocation information is used to identify the acceptable control parameter range (such as brightness level, color value, etc.) and the accuracy of the control parameters (i.e., resolution) for each channel, thereby ensuring that the lighting effects can be precisely adjusted as expected.
[0065] Furthermore, the channel configuration information can be directly imported from the lamp library provided by the lamp manufacturer, or can refer to the lamp library configuration of the source control system 101 , that is, export the file from the source control system 101 and then import the file into the target control system 102 .
[0066] S1022. Parse the DMX512 data stream according to the channel configuration information and the start address to obtain lighting control parameters.
[0067] Specifically, with the channel configuration information and the starting address of the lighting device, the received 512 DMX channel values can be accurately converted into specific lighting control parameters.
[0068] For example, when a frame of DMX signal containing 512 data is received, if the starting address of the beam light corresponding to the frame is 10, then the 10th data of the 512 data will be directly used to control the brightness parameter of the beam light, and the 11th data will be used to control its pattern parameter. By analogy, it can be clearly understood how the 512 data correspond one by one and control the different channel parameters of a specific lamp.
[0069] It should be noted that previous lighting data migration technologies usually only stay at the simple playback stage after recording, or directly forward the data, but lack in-depth understanding and analysis of the lighting parameters (such as brightness, color, etc.) behind the data. The embodiments of the present invention can not only identify DMX data frames and channel values, but also deeply analyze the specific lighting parameters represented by each channel value according to the channel configuration of the lighting equipment, such as subtle changes in brightness adjustment, precise color matching, etc., thereby providing a solid foundation for accurate reproduction of lighting effects and creative programming.
[0070] S103: construct a target lighting scene based on lighting control parameters through a preset programming control interface.
[0071] After obtaining the lighting control data, the data can be saved through the preset programming control interface without modifying the lighting data. It can be either complete data saving or fragment data saving, so as to build a target lighting scene on the target control system that is consistent with the lighting effect on the source control system.
[0072] You can also adjust the lighting control parameters through the preset programming control interface to build the target lighting scene.
[0073] Specifically, step S103 may be: adjusting the lighting control parameters through a programming control interface to obtain a constructed target lighting scene.
[0074] Specifically, the target control system 102 is provided with a programming control interface, which supports the user to perform operations such as fine-tuning of lighting parameters, creation and editing of presets, creation and editing of scenes, and sequence arrangement to meet different performance requirements.
[0075] As an optional implementation, the step of adjusting the lighting control parameters through the programming control interface to obtain the constructed target lighting scene can be specifically divided into the following steps S1031 and S1032:
[0076] S1031, restoring a management component in the programming control interface according to the lighting control parameters, wherein the management component includes at least one of a preset, a scene, and a sequence;
[0077] S1032. Adjust the management component according to the adjustment instruction triggered by the programming control interface to obtain the constructed target lighting scene.
[0078] Specifically, the various states of the lighting equipment or lighting functions corresponding to the 512 DMX channels can be known through the lighting control parameters, so the management components such as presets, scenes and sequences can be restored through the lighting control parameters obtained by the above analysis. Among them, presets (Preset) are specific parameter values of a single or multiple lighting equipment that are preset in advance, and their granularity is the smallest. For example, the brightness value of a lighting equipment is preset to 60%, and the color value of a lighting equipment is preset to R=200, G=100, B=50; scenes (CUE) are a combination of multiple presets or a single preset; sequences (Sequence) are a collection of scenes or presets arranged in a certain time sequence. After restoring the management components, the management components can be adjusted based on the adjustment instructions triggered by the user in the programming control interface to construct the target lighting scene.
[0079] It should be noted that when it is necessary to transplant the light show data of other source control systems 101 to the new target control system 102, the embodiment of the present invention can quickly restore the preset, scene, sequence and other management components of the source control system 101 according to the parsed light control parameters through the programming control interface, and can also program the restored management components according to the light show requirements of the new light scene or the new light show requirements of the old light scene to obtain the target light scene and achieve more colorful light effects. Therefore, the embodiment of the present invention can enhance the portability and customizability of light effects between different systems, and provide a more powerful and convenient tool for light designers.
[0080] As an optional implementation, the step of adjusting the management component according to the adjustment instruction triggered by the programming control interface can be divided into the following steps S10321 to S10323:
[0081] S10321, receiving an adjustment instruction triggered by a user through a programming control interface;
[0082] S10322. Determine the target management component to be adjusted according to the adjustment instruction;
[0083] S10323. Perform adjustment operations on the target management component according to the adjustment instruction;
[0084] The adjustment operation includes at least one of parameter adjustment, preset adjustment, scene adjustment, sequence arrangement, and material selection and storage.
[0085] Specifically, referring to the above embodiments, in some embodiments, the DMX512 data can be recorded first, and in the process of constructing the target lighting scene, the recorded DMX512 data file is loaded and played back, and the simulated virtual scene can be displayed through the display device, or the lamps can be controlled for demonstration. The user reproduces the old lighting scene of the source control system 101 according to the DMX512 playback data, and determines which lighting parameters need to be modified according to the played back old lighting scene. The programming control interface provides a preset editor, a scene editor, and a sequence editor. Presets and scenes can be adjusted and optimized in real time through various editors. Users can trigger adjustment instructions through the programming control interface, such as modifying lighting parameters, adjusting the specific performance of lighting effects (such as gradient speed, color change range, etc.), or arranging multiple presets and scenes into a performance sequence in a specific order, and supports multiple playback modes such as loop playback and random playback to meet the needs of different performance scenes.
[0086] In some embodiments, the source control system 101 and the target control system 102 are connected via DMX512. During the process of the source control system 101 sending DMX512 data to the target control system 102, the target control system 102 restores the management component in the programming control interface based on the received DMX512 data. The user can trigger the instruction to build the target lighting scene through the programming control interface. The target lighting scene can be built directly based on the original lighting control parameters without modifying the lighting control parameters, or the instruction to adjust the lighting control parameters can be triggered to flexibly build a personalized target lighting scene according to the needs. In some embodiments, after the DMX512 data of the completed light show is recorded, the target control system 102 can load the recorded data for parsing, restore the management component in the programming control interface, and then build the target lighting scene. By building the target lighting scene through the method of the embodiment of the present invention, the target control system 102 can realize the restoration of the complete lighting effect of the source control system 101, the selection of fragments, or personalized modification and editing. Among them, the recording device used for recording can be a sub-component of the target control system 102, or it can be a recording device independent of the target control system 102.
[0087] Furthermore, the programming control interface also supports scene data and sequence data creation operations. First, the DMX512 playback data obtained above is imported into the programming control interface. Then, the timeline function of the target control system 102 can be used to locate the time period containing the required lighting effect. The start point and end point of the segment are selected according to the determined time period to obtain the lighting effect segment. Finally, the lighting control parameters corresponding to the selected lighting effect segment are stored in a newly created scene file or sequence file to obtain scene data or sequence data that is convenient for subsequent direct use. The scene data and sequence data can be used to directly create special lighting effects, such as light focus, color mutation, etc.
[0088] For example, the lighting control parameters at a specific time point may be selected and saved as materials, or the changes in the lighting control parameters over a period of time may be saved as scenes or sequences, so as to be reused or further edited in future performances.
[0089] Taking a large theater planning to upgrade its stage lighting control system as an example, the processing flow of the lighting scene reconstruction method of the embodiment of the present invention is as follows:
[0090] The first step is to record the DMX512 data stream of the old theater lighting control system and send the recorded DMX512 data stream to the new theater lighting control system;
[0091] The second step is to conduct in-depth analysis of the recorded DMX512 data stream and convert the original DMX channel value into specific lighting control parameters according to the channel configuration of the lighting equipment;
[0092] The third step is to quickly restore the presets, scenes, sequences and other management components input into the old theater lighting control system through the touch-sensitive programming control interface, preview the lighting effects in real time through the 3D simulation interface, adjust the presets, scenes, sequences and other management components according to the lighting effects, and realize the migration and upgrade of the lighting scene data of the old theater lighting control system.
[0093] The above is a description of the lighting scene reconstruction method based on the DMX512 protocol according to the embodiment of the present invention. It can be appreciated that, compared with the prior art, the embodiment of the present invention has the following advantages:
[0094] 1. Using DMX512 protocol as the lighting data transmission standard can effectively solve the compatibility problems caused by inconsistencies in operation concepts and data storage formats between stage lighting control systems of different manufacturers. Users can migrate lighting scenes between consoles of different brands and models;
[0095] Second, the lighting control parameters are obtained by deeply analyzing the DMX512 data stream, and then the target lighting scene is quickly adjusted and constructed through the programming control interface. The original lighting scene can be quickly migrated to the new control system with simple connection and configuration, without reprogramming from scratch, thus reducing labor costs and improving the convenience and efficiency of lighting scene reconstruction;
[0096] 3. You can select lighting effect clips and save them as scene files or sequence files, so as to facilitate the subsequent direct creation of special lighting effects to meet the needs of different performance scenes and improve the flexibility of lighting scene reconstruction.
[0097] Reference Figure 3 The embodiment of the present invention further provides a lighting scene reconstruction system based on the DMX512 protocol, comprising:
[0098] A data input module is used to receive the DMX512 data stream sent by the source control system;
[0099] Data parsing module, used to parse DMX512 data stream to obtain lighting control parameters;
[0100] The data optimization module is used to construct the target lighting scene based on the lighting control parameters through the programming control interface.
[0101] The contents of the above-mentioned embodiments of the lighting scene reconstruction method based on the DMX512 protocol are all applicable to the embodiments of the lighting scene reconstruction system based on the DMX512 protocol. The functions specifically implemented by the embodiments of the lighting scene reconstruction system based on the DMX512 protocol are the same as those of the above-mentioned embodiments of the lighting scene reconstruction method based on the DMX512 protocol, and the beneficial effects achieved are also the same as those achieved by the above-mentioned embodiments of the lighting scene reconstruction method based on the DMX512 protocol.
[0102] The embodiment of the present invention further provides an electronic device, the electronic device comprising: a memory, a processor, a program stored in the memory and executable on the processor, and a data bus for realizing connection and communication between the processor and the memory, wherein when the program is executed by the processor, the above-mentioned method for reconstructing a lighting scene based on the DMX512 protocol is realized. The electronic device may be any intelligent terminal including a tablet computer, a vehicle-mounted computer, etc.
[0103] like Figure 4 FIG. 1 is a schematic diagram of the hardware structure of an electronic device provided in an embodiment of the present invention. Figure 4 , an embodiment of the present invention provides an electronic device, including:
[0104] The processor 1001 may be implemented by a general-purpose CPU (Central Processing Unit), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits, and is used to execute relevant programs to implement the technical solutions provided in the embodiments of the present invention.
[0105] The memory 1002 can be implemented in the form of a read-only memory (ROM), a static storage device, a dynamic storage device, or a random access memory (RAM). The memory 1002 can store an operating system and other application programs. When the technical solution provided in the embodiments of this specification is implemented by software or firmware, the relevant program code is stored in the memory 1002, and the processor 1001 calls and executes the lighting scene reconstruction method based on the DMX512 protocol of the embodiment of the present invention;
[0106] Input / output interface 1003, used to implement information input and output;
[0107] The communication interface 1004 is used to realize the communication interaction between the device and other devices. The communication can be realized through a wired manner (such as USB, network cable, etc.) or a wireless manner (such as mobile network, WIFI, Bluetooth, etc.);
[0108] A bus 1005 , which transmits information between various components of the device (e.g., the processor 1001 , the memory 1002 , the input / output interface 1003 , and the communication interface 1004 );
[0109] The processor 1001 , the memory 1002 , the input / output interface 1003 and the communication interface 1004 are connected to each other in communication within the device via the bus 1005 .
[0110] An embodiment of the present invention further provides a storage medium, which is a computer-readable storage medium used for computer-readable storage. The storage medium stores one or more programs, and the one or more programs can be executed by one or more processors to implement the above-mentioned lighting scene reconstruction method based on the DMX512 protocol.
[0111] The memory, as a non-transient computer-readable storage medium, can be used to store non-transient software programs and non-transient computer executable programs. In addition, the memory may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage device. In some embodiments, the memory may optionally include a memory remotely disposed relative to the processor, and these remote memories may be connected to the processor via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0112] The embodiment of the present invention also discloses a computer program product or a computer program, wherein the computer program product or the computer program includes computer instructions, and the computer instructions are stored in a computer-readable storage medium. A processor of a computer device can read the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes Figure 1 The method shown.
[0113] In some selectable embodiments, the function / operation mentioned in the block diagram may not occur in the order mentioned in the operation diagram. For example, depending on the function / operation involved, the two boxes shown in succession can actually be executed substantially simultaneously or the above-mentioned boxes can sometimes be executed in reverse order. In addition, the embodiment presented and described in the flow chart of the present invention is provided by way of example, for the purpose of providing a more comprehensive understanding of technology. The disclosed method is not limited to the operation and logic flow presented herein. Selectable embodiments are expected, wherein the order of various operations is changed and the sub-operation of a part for which is described as a larger operation is performed independently.
[0114] In addition, although the present invention is described in the context of functional modules, it should be understood that, unless otherwise specified to the contrary, one or more of the above-mentioned functions and / or features can be integrated into a single physical device and / or software module, or one or more functions and / or features can be implemented in a separate physical device or software module. It is also understood that a detailed discussion of the actual implementation of each module is unnecessary for understanding the present invention. More specifically, in view of the properties, functions and internal relationships of the various functional modules in the device disclosed herein, the actual implementation of the module will be understood within the conventional skills of the engineer. Therefore, those skilled in the art can implement the present invention set forth in the claims without excessive experimentation using ordinary techniques. It is also understood that the specific concepts disclosed are merely illustrative and are not intended to limit the scope of the present invention, which is determined by the full scope of the appended claims and their equivalents.
[0115] If the above functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the above methods of each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program codes.
[0116] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as an ordered list of executable instructions for implementing logical functions, and can be embodied in any computer-readable medium for use by an instruction execution system, device or apparatus (such as a computer-based system, a system including a processor, or other system that can fetch instructions from an instruction execution system, device or apparatus and execute instructions), or in conjunction with such instruction execution systems, devices or apparatuses. For the purposes of this specification, "computer-readable medium" can be any device that can contain, store, communicate, propagate or transmit a program for use by an instruction execution system, device or apparatus, or in conjunction with such instruction execution systems, devices or apparatuses.
[0117] It should be understood that the various parts of the present invention can be implemented by hardware, software, firmware or a combination thereof. In the above-mentioned embodiments, a plurality of steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.
[0118] Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present invention, and that the scope of the present invention is defined by the claims and their equivalents.
[0119] The above is a specific description of the preferred implementation of the present invention, but the present invention is not limited to the embodiments. Those skilled in the art may make various equivalent modifications or substitutions without violating the spirit of the present invention. These equivalent modifications or substitutions are all included in the scope defined by the claims of this application.
Claims
1. A lighting scene reconstruction method based on DMX512 protocol, characterized in that: Applied to the target control system, including the following steps: Receive the DMX512 data stream sent by the source control system; Analyze the DMX512 data stream to obtain lighting control parameters; A target lighting scene is constructed based on the lighting control parameters through a preset programming control interface.
2. The lighting scene reconstruction method based on the DMX512 protocol according to claim 1, characterized in that: The DMX512 data stream sent by the receiving source control system specifically includes: Determining the operating status of the source control system; When the source control system is in operation and generates the DMX512 data stream, the DMX512 data stream sent by the source control system is received through the pre-connected DMX512 connection line.
3. The lighting scene reconstruction method based on the DMX512 protocol according to claim 1, characterized in that: The DMX512 data stream sent by the receiving source control system specifically includes: Determining the operating status of the source control system; When the source control system is in operation and generates the DMX512 data stream, the DMX512 data stream within a first preset time period is recorded by a preset recording device to obtain a DMX512 data file; Receive the DMX512 data file sent by the recording device.
4. The method for reconstructing a lighting scene based on the DMX512 protocol according to claim 1, characterized in that: The light control parameters are obtained by parsing the DMX512 data stream, specifically including: Get the channel configuration information and starting address of the lighting device; The DMX512 data stream is parsed according to the channel configuration information and the start address to obtain the lighting control parameters.
5. The method for reconstructing a lighting scene based on the DMX512 protocol according to claim 1, characterized in that: The target lighting scene is constructed based on the lighting control parameters through a preset programming control interface, specifically: The lighting control parameters are adjusted through the programming control interface to obtain a constructed target lighting scene.
6. The method for reconstructing a lighting scene based on the DMX512 protocol according to claim 5, characterized in that: The step of adjusting the lighting control parameters through the programming control interface to obtain a constructed target lighting scene specifically includes: Restore a management component in the programming control interface according to the lighting control parameters, wherein the management component includes at least one of a preset, a scene, and a sequence; The management component is adjusted according to the adjustment instruction triggered by the programming control interface to obtain the constructed target lighting scene.
7. The method for reconstructing a lighting scene based on the DMX512 protocol according to claim 6, characterized in that: The adjusting the management component according to the adjustment instruction triggered by the programming control interface specifically includes: Receiving the adjustment instruction triggered by the user through the programming control interface; Determining the target management component to be adjusted according to the adjustment instruction; Performing an adjustment operation on the target management component according to the adjustment instruction; The adjustment operation includes at least one of parameter adjustment, preset adjustment, scene adjustment, sequence arrangement, and material selection and storage.
8. A lighting scene reconstruction system based on DMX512 protocol, characterized in that: include: A data input module is used to receive the DMX512 data stream sent by the source control system; A data analysis module, used for analyzing the DMX512 data stream to obtain lighting control parameters; The data optimization module is used to construct a target lighting scene based on the lighting control parameters through a programming control interface.
9. An electronic device, characterized in that: The electronic device includes a memory, a processor, a program stored in the memory and executable on the processor, and a data bus for realizing connection and communication between the processor and the memory. When the program is executed by the processor, the steps of the lighting scene reconstruction method based on the DMX512 protocol as described in any one of claims 1 to 7 are realized.
10. A storage medium, the storage medium being a computer-readable storage medium, used for computer-readable storage, characterized in that: The storage medium stores one or more programs, and the one or more programs can be executed by one or more processors to implement the steps of the lighting scene reconstruction method based on the DMX512 protocol as described in any one of claims 1 to 7.
Citation Information
Cited By
Light control method
CN120812814A
AI light programming software system and AI light generation method
CN120909566A
An AI lighting programming software system and an AI lighting generation method
CN120909566B
Embedded DMX512 signal recording system
CN121619336A
