One-way point-to-point wireless DMX lamp data transmission method, system and device

By using a one-way point-opposite method in wireless DMX lamp data transmission, the periodic subcontract data of DMX data effect is solved, and the problems of low transmission efficiency and poor data stability in large-scale lighting control systems are realized. Efficient and real-time data transmission.

CN118510134BActive Publication Date: 2025-02-07JIANGMEN SIYU TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202410028714.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-01-08
Publication Date
2025-02-07
Estimated Expiration
2044-01-08

AI Technical Summary

Technical Problem

The existing wireless DMX transmission method has low transmission efficiency in large-scale lighting control systems, making it difficult to meet real-time control needs, and data transmission methods are prone to problems such as lag and packet loss, which cannot guarantee the integrity and stability of the data.

Method used

Using the wireless DMX lamp data transmission method opposite to the one-way point, the DMX source data is cached and periodic data effect calculation is performed through the transmitter, the component packet data is split and sent to the receiver through wireless transmission, and the receiver solves it. Adjust, identify and save, and finally transmit it to the lamp.

Benefits of technology

The data transmission across the one-way point is realized, the transmission efficiency is improved, the problems of low transmission efficiency and poor data stability in the prior art are solved, and the real-time and completeness of the data are ensured.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118510134B_ABST
    Figure CN118510134B_ABST
Patent Text Reader

Abstract

The present application discloses a one-way point-to-face wireless DMX lamp data transmission method, system and equipment, the method includes: a transmitting end receives DMX source data of a main control and a sub-control, caches the DMX source data, and calculates the period value of the DMX data effect of the current DMX source data mode; wherein the period value of the DMX data effect refers to the total number of frames of the periodic DMX data effect; the transmitting end splits the total number of frames of the periodic DMX data effect to obtain packet data, and sends the packet data to the receiving end in sequence and continuously through wireless transmission; the receiving end demodulates the received packet data to obtain demodulated packet data; the receiving end identifies the demodulated packet data, and saves the identified demodulated packet data in a memory area; the receiving end transmits the demodulated packet data in the memory area to the lamp. The present application realizes one-way point-to-face data transmission, and the data will be transmitted in real time, thereby improving the transmission efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of data transmission, and in particular to a one-way point-to-point wireless DMX lamp data transmission method, system and device. Background Art

[0002] At present, the lighting stage and outdoor landscape lighting control system generally adopts DMX control system, which is mostly divided into main controller, sub-controller, lamps, and the main and sub-control rooms, sub-controllers and lamps use cables to transmit data or wirelessly.

[0003] The emergence of wireless DMX transmission is aimed at solving the problem of cable transmission. However, the wireless DMX transmission methods currently on the market are point-to-point and data transparent transmission methods, but there are still some technical limitations; among them, although the point-to-point transmission method is suitable for data exchange between master and slave control, in large-scale lighting control systems, data interaction between multiple master and slave control devices is required. This method will lead to low transmission efficiency and is difficult to meet the needs of real-time control; and the data transparent transmission method has high requirements on the environment, and is prone to jamming, packet loss and other phenomena, and cannot guarantee the integrity and stability of the data; the above problems need to be solved. Summary of the invention

[0004] The main purpose of the present application is to overcome the shortcomings and deficiencies of the prior art and to provide a one-way point-to-point wireless DMX lighting data transmission method, system and device, which can realize one-way point-to-point data transmission, and the data will be transmitted in real time, thereby improving the transmission efficiency.

[0005] In order to achieve the above objectives, this application adopts the following technical solutions:

[0006] In a first aspect, the present application provides a one-way point-to-point wireless DMX lamp data transmission method, comprising: a transmitting end, a receiving end and a lamp, wherein the receiving end and the lamp include a plurality;

[0007] The transmitting end receives the DMX source data of the master control and the sub-control, caches the DMX source data, and calculates the period value of the DMX data effect of the current DMX source data mode; wherein the period value of the DMX data effect refers to the total number of frames of the periodic DMX data effect;

[0008] The transmitting end splits the total number of frames of the periodic DMX data effect to obtain sub-packet data, and sends the sub-packet data to the receiving end in sequence and continuously through wireless transmission;

[0009] The receiving end demodulates the received sub-packet data to obtain demodulated sub-packet data;

[0010] The receiving end identifies the demodulated sub-packet data and stores the identified demodulated sub-packet data in a memory area;

[0011] The receiving end transmits the demodulated packetized data in the memory area to the lamp.

[0012] As a preferred technical solution, the DMX source data is a periodically cyclic DMX data effect, including multiple groups of DMX data frames.

[0013] As a preferred technical solution, after caching the DMX source data, the method further includes:

[0014] Perform CRC calculation on all DMX data frames to obtain the CRC check value of the DMX data frame;

[0015] The CRC check value is used to compress the data of the DMX data frame to obtain a compressed DMX data frame data value, and the compressed DMX data frame data value has periodic uniqueness.

[0016] As a preferred technical solution, the period value of the DMX data effect is to cache the CRC check value of the data frame into the memory of the transmitter to realize the dynamic calculation of the period of the DMX data effect. The specific steps include:

[0017] Step 1: Clear the cached DMX data frame CRC check value, then store the first DMX data frame CRC check value, and shift the first end pointer and the first moving pointer of the first DMX data frame CRC check value downward by 1 unit respectively;

[0018] Step 2: Store the newly received DMX data frame CRC check value, shift the second moving pointer of the newly received DMX data frame CRC check value downward by 1 unit, and increase the second offset values ​​of the second start pointer and the second end pointer respectively, and at the same time, compare the DMX data frame CRC check value pointed to by the second start pointer and the second end pointer after the second offset value is increased;

[0019] If the second start pointer after adding the second offset value is inconsistent with the CRC check value of the DMX data frame currently pointed to by the second end pointer, the second offset value is cleared, and the second moving pointer is assigned to the end second pointer;

[0020] Step 3: looping step 2 until the second moving pointer points to the second DMX data frame of the next cycle, the third end pointer points to the CRC check value of the first DMX data frame, and the third offset values ​​of the third start pointer and the third end pointer are increased respectively, and at the same time, the CRC check values ​​of the DMX data frames pointed to by the third start pointer and the third end pointer after the third offset value is increased are compared;

[0021] If the third start pointer after adding the third offset value is consistent with the DMX data frame CRC check value pointed to by the third end pointer, the third offset value is increased by 1, and at this time, the third end pointer is not assigned a value;

[0022] Step 4: loop step 3 until the second moving pointer points to the second DMX data frame of the second cycle, the fourth offset value is N, the fourth end pointer points to the CRC check value of the first DMX data frame, and at this time, the difference between the fourth end pointer and the fourth start pointer is equal to N plus 1;

[0023] Step 5: Subtract 1 from the difference between the fourth end pointer and the fourth start pointer to obtain the period value of the DMX data effect.

[0024] As a preferred technical solution, the subpacket data includes function value, current DMX data frame number, DMX data effect cycle value N, DMX data frame length, subpacket number, total number of subpackets, DMX data frame CRC check value, packet length value and packet data.

[0025] As a preferred technical solution, the memory area includes: a boot area, a check area and a data area;

[0026] The guide area is used to identify whether the demodulated sub-packet data is associated with the saved periodic DMX data, guide the receiving end to address and output the complete DMX data frame to the lamp;

[0027] The verification area is used to verify the integrity and correctness of the DMX data frame;

[0028] The data area is used to store DMX data frames.

[0029] As a preferred technical solution, the identified demodulated sub-packet data is stored in a memory area, specifically:

[0030] Compare the DMX data effect period value in the demodulated sub-packet data with the DMX data effect period value in the boot area data information. If they are inconsistent, clear the entire memory area and rewrite the demodulated sub-packet data.

[0031] Compare the current DMX data frame number with the corresponding check value in the check area. If the check value in the check area is not empty and inconsistent, clear the memory area and rewrite the demodulated sub-packet data. If the check value in the check area is empty, use the offset of the boot area data as the reference unit, offset the current DMX data frame number unit, and write the demodulated sub-packet data into the data area.

[0032] As a preferred technical solution, the receiving end transmits the sub-packetized data in the memory area to the lamp, specifically:

[0033] When the demodulated sub-packet data is not completely stored in the memory area of ​​the receiving end, the receiving end transmits the demodulated sub-packet data to the lamp in real time;

[0034] When the demodulated sub-packet data is completely stored in the memory area of ​​the receiving end, the receiving end obtains the demodulated sub-packet data corresponding to the memory area according to the current DMX data frame sequence number, and transmits the demodulated sub-packet data to the lamp.

[0035] In a second aspect, the present application provides a one-way point-to-point wireless DMX lamp data transmission system, which is applied to the one-way point-to-point wireless DMX lamp data transmission method, including a cycle value calculation module, a packet data module, a packet data demodulation module, a storage module and a transmission module;

[0036] The cycle value calculation module is used for receiving the DMX source data of the main control and the sub-control at the transmitting end, caching the DMX source data, and calculating the cycle value of the DMX data effect of the current DMX source data mode; wherein the cycle value of the DMX data effect refers to the total number of frames of the periodic DMX data effect;

[0037] The packet data module is used for the transmitter to split the total number of frames of the periodic DMX data effect to obtain packet data, and to send the packet data to the receiver in sequence and continuously through wireless transmission;

[0038] The sub-packet data demodulation module is used for the receiving end to demodulate the received sub-packet data to obtain the demodulated sub-packet data;

[0039] The storage module is used for the receiving end to identify the demodulated sub-packet data and store the identified demodulated sub-packet data in the memory area;

[0040] The transmission module is used for transmitting the demodulated packet data in the memory area to the lamp at the receiving end.

[0041] In a third aspect, the present application provides an electronic device, the electronic device comprising:

[0042] at least one processor; and,

[0043] a memory communicatively connected to the at least one processor; wherein,

[0044] The memory stores computer program instructions executable by the at least one processor, and the computer program instructions are executed by the at least one processor to enable the at least one processor to execute the one-way point-to-face wireless DMX lighting data transmission method.

[0045] In summary, compared with the prior art, the effective effects brought about by the technical solution provided by this application include at least:

[0046] The present application proposes a one-way point-to-face wireless DMX lamp data transmission method. The transmitting end of the present application encapsulates the total number of frames of the periodic DMX data effect into packets and continuously sends them to multiple receiving ends through wireless transmission. A single transmitting end is used for wireless transmission and transmission, and multiple receiving ends are used for wireless transmission and reception. This realizes one-way point-to-face data transmission, solves the problem of full coverage wireless transmission that cannot be achieved by point-to-point network topology in the prior art, and also improves the transmission efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0047] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0048] Figure 1 A flowchart of a one-way point-to-point wireless DMX lamp data transmission method provided by an embodiment of the present application;

[0049] Figure 2 A schematic diagram of a periodic DMX data effect provided by an embodiment of the present application;

[0050] Figure 3 A schematic diagram of storing the CRC check value of the first DMX data frame provided by an embodiment of the present application;

[0051] Figure 4 A schematic diagram of storing a new DMX data frame CRC check value provided by an embodiment of the present application;

[0052] Figure 5 A schematic diagram of a cyclic processing of a DMX data frame CRC check value provided by an embodiment of the present application;

[0053] Figure 6 A schematic diagram of a DMX data frame CRC check value that is repeatedly processed in a loop according to an embodiment of the present application;

[0054] Figure 7 A schematic diagram of DMX data frame splitting provided in one embodiment of the present application;

[0055] Figure 8 A schematic diagram of a memory area provided for an embodiment of the present application;

[0056] Fig. 9A block diagram of a one-way point-to-point wireless DMX lighting data transmission system provided by an embodiment of the present application. DETAILED DESCRIPTION

[0057] In order to enable those skilled in the art to better understand the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without making creative work are within the scope of protection of the present application.

[0058] Reference to "embodiments" in this application means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described in this application may be combined with other embodiments.

[0059] Example:

[0060] See also Figure 1 In one embodiment of the present application, a one-way point-to-point wireless DMX lamp data transmission method is provided, including a transmitting end, a receiving end and a lamp, wherein the receiving end and the lamp include a plurality of lamps; the method comprises the following steps:

[0061] S1, the transmitting end receives the DMX source data of the main control and the sub-control, caches the DMX source data, and calculates the period value of the DMX data effect of the current DMX source data mode; wherein the period value of the DMX data effect refers to the total number of frames of the periodic DMX data effect;

[0062] For further information, see Figure 2 , the DMX source data is a periodic DMX data effect; the DMX source data includes multiple groups of DMX data frames;

[0063] In this embodiment, after caching the DMX source data, the method further includes:

[0064] Perform CRC calculation on all DMX data frames to obtain the CRC check value of the DMX data frame;

[0065] The CRC check value is used to compress the data of a single group of DMX data frames to obtain the data value of the compressed DMX data frame, and the data value of the compressed DMX data frame has periodic uniqueness.

[0066] The period value of the DMX data effect is to cache the CRC check value of the data frame into the memory of the transmitter to realize the period of the dynamic calculation DMX data effect. The specific steps include:

[0067] (1) Please refer to Figure 3 , clear the cached DMX data frame CRC check value, including clearing the start pointer, end pointer, moving pointer, and offset value; then, store the first DMX data frame CRC check value, and shift the first end pointer and the first moving pointer of the first DMX data frame CRC check value downward by 1 unit respectively;

[0068] (2) Please refer to Figure 4 , store the CRC check value of the newly received DMX data frame, shift the second moving pointer of the CRC check value of the newly received DMX data frame downward by 1 unit, and increase the second offset values ​​of the second start pointer and the second end pointer respectively, and compare the CRC check value of the DMX data frame pointed to by the second start pointer and the second end pointer after the second offset value is increased;

[0069] If the second start pointer after adding the second offset value is inconsistent with the CRC check value of the DMX data frame currently pointed to by the second end pointer, the second offset value is cleared, and the second moving pointer is assigned to the end second pointer;

[0070] (3) Please refer to Figure 5 , looping step (2) until the second moving pointer points to the second DMX data frame of the next cycle, the third end pointer points to the CRC check value of the first DMX data frame, and the third start pointer and the third end pointer offset values ​​are increased respectively, and at the same time, the DMX data frame CRC check values ​​pointed to by the third start pointer and the third end pointer after the third offset value is increased are compared;

[0071] If the third start pointer after adding the third offset value is consistent with the DMX data frame CRC check value pointed to by the third end pointer, the third offset value is increased by 1, and at this time, the third end pointer is not assigned a value;

[0072] (4) Please refer to Figure 6 , looping step (3) until the second moving pointer points to the second DMX data frame of the second cycle, the fourth offset value is N, the fourth end pointer points to the CRC check value of the first DMX data frame, and at this time, the difference between the fourth end pointer and the fourth start pointer is equal to N plus 1;

[0073] (5) Subtract 1 from the difference between the fourth end pointer and the fourth start pointer to obtain the period value of the DMX data effect.

[0074] S2. Please refer to Figure 7The transmitting end splits the total number of frames of the periodic DMX data effect to obtain packet data, and sends the packet data to the receiving end in sequence and continuously through wireless transmission;

[0075] In this embodiment, a single DMX data frame contains the effect data of all lamps. The data length of a single wireless transmission is limited. Therefore, it is necessary to split the total number of frames of the periodic DMX data effect into a single group of DMX data frame packet data, and transmit them in batches. When splitting, the DMX data frame is split according to the preset number of data frame bytes.

[0076] The sub-packet data includes function value, current DMX data frame number, DMX data effect cycle value N, DMX data frame length, sub-packet number, total number of sub-packets, DMX data frame CRC check value, packet length value and packet data, etc.

[0077] S3, the receiving end demodulates the received sub-packet data to obtain demodulated sub-packet data;

[0078] S4, the receiving end identifies the demodulated sub-packet data and stores the identified demodulated sub-packet data in a memory area;

[0079] Furthermore, the memory area includes: a boot area, a check area and a data area, see Figure 8 ;

[0080] The guide area is used to identify whether the demodulated sub-packet data is associated with the saved periodic DMX data, guide the receiving end to address and output the complete DMX data frame to the lamp;

[0081] The verification area is used to verify the integrity and correctness of the DMX data frame;

[0082] The data area is used to store DMX data frames.

[0083] The step of storing the identified demodulated sub-packet data in the memory area specifically includes:

[0084] Compare the DMX data effect period in the sub-packet data with the DMX data effect period in the boot area data information. If they are inconsistent, clear the entire memory area and rewrite the demodulated sub-packet data.

[0085] Compare the current DMX data frame number with the corresponding check value in the check area. If the check value in the check area is not empty and inconsistent, clear the memory area and rewrite the demodulated sub-packet data. If the check value in the check area is empty, use the offset of the boot area data as the reference unit, offset the current DMX data frame number unit, and write the demodulated sub-packet data into the data area.

[0086] It can be seen that in this step, by comparing the DMX data effect cycle and the DMX data frame number and the check value, the integrity of the sub-packet data can be ensured; if inconsistency is found, the system will clear the memory area and rewrite the data, thereby avoiding data loss or damage and improving the reliability of DMX data transmission.

[0087] S5, the receiving end transmits the demodulated sub-packet data in the memory area to the lamp, specifically:

[0088] When the demodulated sub-packet data is not completely saved in the memory area of ​​the receiving end, the receiving end transmits the demodulated sub-packet data to the lamp in real time, avoiding the step of saving all the data completely to the memory before processing, thereby reducing processing and transmission delays, improving data transmission efficiency, and ensuring the real-time nature of the data.

[0089] When the demodulated sub-packet data is completely stored in the memory area of ​​the receiving end, the receiving end obtains the demodulated sub-packet data corresponding to the memory area according to the current DMX data frame sequence number, and transmits the demodulated sub-packet data to the lamp.

[0090] It should be noted that, for the sake of convenience of description, the aforementioned method embodiments are all expressed as a series of action combinations, but those skilled in the art should know that the present application is not limited to the described order of actions, because according to the present application, certain steps can be performed in other orders or simultaneously.

[0091] Based on the same idea as the one-way point-to-point wireless DMX lamp data transmission method in the above embodiment, the present application also provides a one-way point-to-point wireless DMX lamp data transmission system, which can be used to execute the one-way point-to-point wireless DMX lamp data transmission method. For ease of explanation, the structural diagram of the one-way point-to-point wireless DMX lamp data transmission system embodiment only shows the parts related to the embodiment of the present application. Those skilled in the art can understand that the illustrated structure does not constitute a limitation on the system, and may include more or fewer components than shown in the diagram, or combine certain components, or arrange the components differently.

[0092] See also Fig. 9 In another embodiment of the present application, a one-way point-to-point wireless DMX lamp data transmission system 100 is provided, the system comprising a cycle value calculation module 101, a packet data module 102, a packet data demodulation module 103, a storage module 104 and a transmission module 105;

[0093] The cycle value calculation module 101 is used for receiving the DMX source data of the master control and the sub-control at the transmitting end, caching the DMX source data, and calculating the cycle value of the DMX data effect of the current DMX source data mode; wherein the cycle value of the DMX data effect refers to the total number of frames of the periodic DMX data effect;

[0094] The packet data module 102 is used for the transmitter to split the total number of frames of the periodic DMX data effect to obtain packet data, and to send the packet data to the receiver in sequence and continuously through wireless transmission;

[0095] The demodulation sub-packet data module 103 is used for the receiving end to demodulate the received sub-packet data to obtain the demodulated sub-packet data;

[0096] The storage module 104 is used for the receiving end to identify the demodulated sub-packet data and store the identified demodulated sub-packet data in the memory area;

[0097] The transmission module 105 is used for transmitting the demodulated packetized data in the memory area to the lamp at the receiving end.

[0098] It should be noted that a one-way point-to-face wireless DMX lamp data transmission system of the present application corresponds one-to-one to a one-way point-to-face wireless DMX lamp data transmission method of the present application. The technical features and beneficial effects described in the embodiment of the above-mentioned one-way point-to-face wireless DMX lamp data transmission method are applicable to the embodiment of a one-way point-to-face wireless DMX lamp data transmission system. For specific contents, please refer to the description in the embodiment of the method of the present application. It will not be repeated here. This is hereby declared.

[0099] In addition, in the implementation of a one-way point-to-face wireless DMX lighting data transmission system in the above-mentioned embodiment, the logical division of each program module is only an example. In actual applications, the above-mentioned functions can be assigned to different program modules as needed, for example, for the configuration requirements of the corresponding hardware or the convenience of software implementation. That is, the internal structure of the one-way point-to-face wireless DMX lighting data transmission system is divided into different program modules to complete all or part of the functions described above.

[0100] In another embodiment, an electronic device for implementing a one-way point-to-face wireless DMX lamp data transmission method is provided, comprising a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor; when the processor executes the computer program, a one-way point-to-face wireless DMX lamp data transmission method according to any embodiment of the present application is implemented.

[0101] Exemplarily, in this embodiment, the computer program may be divided into one or more modules, and the one or more modules are stored in the memory and executed by the processor to complete the present application. The one or more module elements may be a series of computer program instruction segments that can complete specific functions, and the instruction segments are used to describe the execution process of the computer program in the device;

[0102] The device may be a computing device such as a desktop computer, a notebook, a PDA, a cloud server, etc. The device may include, but is not limited to, a processor, a memory;

[0103] The processor may be a central processing unit (CPU), other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or any conventional processor, etc. The processor is the control center of the device, and uses various interfaces and lines to connect various parts of the entire device;

[0104] The memory can be used to store the computer program and / or module, and the processor realizes various functions of the device by running or executing the computer program and / or module stored in the memory, and calling the data stored in the memory. The memory can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, at least one application required for a function, etc.; in addition, the memory can include a high-speed random access memory, and can also include a non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), at least one disk storage device, a flash memory device, or other volatile solid-state storage devices.

[0105] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the program can be stored in a non-volatile computer-readable storage medium. When the program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).

[0106] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0107] The above embodiments are preferred implementation modes of the present application, but the implementation modes of the present application are not limited to the above embodiments. Any other changes, modifications, substitutions, combinations, and simplifications that do not deviate from the spirit and principles of the present application should be equivalent replacement methods and are included in the protection scope of the present application.

Claims

1. A one-way point-to-point wireless DMX lamp data transmission method, characterized in that: include: A transmitting end, a receiving end and a lamp, wherein the receiving end and the lamp include a plurality of; The transmitting end receives the DMX source data of the master control and the sub-control, caches the DMX source data, and calculates the period value of the DMX data effect of the current DMX source data mode; wherein the period value of the DMX data effect refers to the total number of frames of the periodic DMX data effect; the period value of the DMX data effect is to cache the CRC check value of the data frame into the transmitting end memory to realize the cycle of the dynamic calculation of the DMX data effect, and the specific steps include: Step 1: Clear the cached DMX data frame CRC check value, then store the first DMX data frame CRC check value, and shift the first end pointer and the first moving pointer of the first DMX data frame CRC check value downward by 1 unit respectively; Step 2: Store the newly received DMX data frame CRC check value, shift the second moving pointer of the newly received DMX data frame CRC check value downward by 1 unit, and increase the second offset values ​​of the second start pointer and the second end pointer respectively, and at the same time, compare the DMX data frame CRC check value pointed to by the second start pointer and the second end pointer after the second offset value is increased; If the second start pointer after adding the second offset value is inconsistent with the CRC check value of the DMX data frame currently pointed to by the second end pointer, the second offset value is cleared, and the second moving pointer is assigned to the end second pointer; Step 3: looping step 2 until the second moving pointer points to the second DMX data frame of the next cycle, the third end pointer points to the CRC check value of the first DMX data frame, and the third offset values ​​of the third start pointer and the third end pointer are increased respectively, and at the same time, the CRC check values ​​of the DMX data frames pointed to by the third start pointer and the third end pointer after the third offset value is increased are compared; If the third start pointer after adding the third offset value is consistent with the DMX data frame CRC check value pointed to by the third end pointer, the third offset value is increased by 1, and at this time, the third end pointer is not assigned a value; Step 4: loop step 3 until the second moving pointer points to the second DMX data frame of the second cycle, the fourth offset value is N, the fourth end pointer points to the CRC check value of the first DMX data frame, and at this time, the difference between the fourth end pointer and the fourth start pointer is equal to N plus 1; Step 5: Subtract 1 from the difference between the fourth end pointer and the fourth start pointer to obtain the period value of the DMX data effect; The transmitting end splits the total number of frames of the periodic DMX data effect to obtain sub-packet data, and sends the sub-packet data to the receiving end in sequence and continuously through wireless transmission; The receiving end demodulates the received sub-packet data to obtain demodulated sub-packet data; The receiving end identifies the demodulated sub-packet data and stores the identified demodulated sub-packet data in a memory area; The receiving end transmits the demodulated packetized data in the memory area to the lamp.

2. According to the one-way point-to-point wireless DMX lamp data transmission method of claim 1, it is characterized in that: The DMX source data is a periodically cyclic DMX data effect, including multiple groups of DMX data frames.

3. According to the one-way point-to-point wireless DMX lamp data transmission method of claim 1, it is characterized in that: After caching the DMX source data, the method further includes: Perform CRC calculation on all DMX data frames to obtain the CRC check value of the DMX data frame; The CRC check value is used to compress the data of the DMX data frame to obtain a compressed DMX data frame data value, and the compressed DMX data frame data value has periodic uniqueness.

4. According to the one-way point-to-point wireless DMX lamp data transmission method of claim 1, it is characterized in that: The sub-packet data includes a function value, a current DMX data frame sequence number, a DMX data effect cycle value N, a DMX data frame length, a sub-packet sequence number, a total number of sub-packets, a DMX data frame CRC check value, a packet length value and packet data.

5. According to the one-way point-to-point wireless DMX lamp data transmission method of claim 1, it is characterized in that: The memory area includes: a boot area, a check area and a data area; The guide area is used to identify whether the demodulated sub-packet data is associated with the saved periodic DMX data, guide the receiving end to address and output the complete DMX data frame to the lamp; The verification area is used to verify the integrity and correctness of the DMX data frame; The data area is used to store DMX data frames.

6. The one-way point-to-point wireless DMX lamp data transmission method according to claim 5, characterized in that: The identified demodulated sub-packet data is stored in the memory area, specifically: Compare the DMX data effect period value in the demodulated sub-packet data with the DMX data effect period value in the boot area data information. If they are inconsistent, clear the entire memory area and rewrite the demodulated sub-packet data. Compare the current DMX data frame sequence number with the corresponding check value in the check area. If the check value in the check area is not empty and inconsistent, clear the memory area and rewrite the demodulated sub-packet data; If the check value in the check area is empty, the offset of the data in the guide area is used as the reference unit, and the current DMX data frame sequence number unit is offset, and the demodulated sub-packet data is written into the data area.

7. The one-way point-to-point wireless DMX lamp data transmission method according to claim 1, characterized in that: The receiving end transmits the sub-packet data in the memory area to the lamp, specifically: When the demodulated sub-packet data is not completely stored in the memory area of ​​the receiving end, the receiving end transmits the demodulated sub-packet data to the lamp in real time; When the demodulated sub-packet data is completely stored in the memory area of ​​the receiving end, the receiving end obtains the demodulated sub-packet data corresponding to the memory area according to the current DMX data frame sequence number, and transmits the demodulated sub-packet data to the lamp.

8. A one-way point-to-point wireless DMX lighting data transmission system, characterized in that: A one-way point-to-face wireless DMX lamp data transmission method applied to any one of claims 1-7, comprising a cycle value calculation module, a packet data module, a packet data demodulation module, a storage module and a transmission module; The cycle value calculation module is used for the transmitter to receive the DMX source data of the main control and the sub-control, cache the DMX source data, and calculate the cycle value of the DMX data effect of the current DMX source data mode; wherein the cycle value of the DMX data effect refers to the total number of frames of the periodic DMX data effect; the cycle value of the DMX data effect is to cache the CRC check value of the data frame into the memory of the transmitter to realize the cycle of the dynamic calculation of the DMX data effect, and the specific steps include: Step 1: Clear the cached DMX data frame CRC check value, then store the first DMX data frame CRC check value, and shift the first end pointer and the first moving pointer of the first DMX data frame CRC check value downward by 1 unit respectively; Step 2: Store the newly received DMX data frame CRC check value, shift the second moving pointer of the newly received DMX data frame CRC check value downward by 1 unit, and increase the second offset values ​​of the second start pointer and the second end pointer respectively, and at the same time, compare the DMX data frame CRC check value pointed to by the second start pointer and the second end pointer after the second offset value is increased; If the second start pointer after adding the second offset value is inconsistent with the CRC check value of the DMX data frame currently pointed to by the second end pointer, the second offset value is cleared, and the second moving pointer is assigned to the end second pointer; Step 3: looping step 2 until the second moving pointer points to the second DMX data frame of the next cycle, the third end pointer points to the CRC check value of the first DMX data frame, and the third offset values ​​of the third start pointer and the third end pointer are increased respectively, and at the same time, the CRC check values ​​of the DMX data frames pointed to by the third start pointer and the third end pointer after the third offset value is increased are compared; If the third start pointer after adding the third offset value is consistent with the DMX data frame CRC check value pointed to by the third end pointer, the third offset value is increased by 1, and at this time, the third end pointer is not assigned a value; Step 4: loop step 3 until the second moving pointer points to the second DMX data frame of the second cycle, the fourth offset value is N, the fourth end pointer points to the CRC check value of the first DMX data frame, and at this time, the difference between the fourth end pointer and the fourth start pointer is equal to N plus 1; Step 5: Subtract 1 from the difference between the fourth end pointer and the fourth start pointer to obtain the period value of the DMX data effect; The packet data module is used for the transmitter to split the total number of frames of the periodic DMX data effect to obtain packet data, and to send the packet data to the receiver in sequence and continuously through wireless transmission; The sub-packet data demodulation module is used for the receiving end to demodulate the received sub-packet data to obtain the demodulated sub-packet data; The storage module is used for the receiving end to identify the demodulated sub-packet data and store the identified demodulated sub-packet data in the memory area; The transmission module is used for transmitting the demodulated packet data in the memory area to the lamp at the receiving end.

9. An electronic device, characterized in that: The electronic device comprises: at least one processor; and, a memory communicatively connected to the at least one processor; wherein, The memory stores computer program instructions executable by the at least one processor, and the computer program instructions are executed by the at least one processor so that the at least one processor can execute the one-way point-to-face wireless DMX lighting data transmission method as described in any one of claims 1-7.

Citation Information

Patent Citations

  • Real-time software frame synchronizing method

    CN103227660A

  • Monitoring device and method of monitoring programmable lamps

    WO2009053097A1