Lamp picture control method and device, equipment and medium
By employing a collaborative architecture of server-side preprocessing and lamp-side remapping, the high hardware cost problem in complex image processing of intelligent lighting systems is solved, enabling flexible screen control and efficient image display, making it suitable for large-scale intelligent lighting systems.
Patent Information
- Application Number
- CN202511791327.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-12-01
- Publication Date
- 2026-01-09
AI Technical Summary
Existing smart lighting systems suffer from high hardware costs and system complexity when performing complex image processing, making it difficult to perform operations such as pixel coordinate transformation, image rotation, or mirroring locally on the terminal in real time, which limits the functional expansion of low- and mid-range products.
The server preprocesses the display materials and sends instructions to the lighting fixtures. The lighting fixtures then perform lightweight coordinate remapping, avoiding the need for external image processing chips and enabling complex image transformations.
Significantly reduces hardware costs and system complexity, enhances screen control flexibility, supports batch preprocessing and cache distribution of high-definition, dynamic video stream materials, and is suitable for large-scale intelligent lighting scenarios.
Smart Images

Figure CN121306044A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of display control technology, and in particular to a method, device, equipment and medium for controlling the display screen of a lamp. Background Technology
[0002] With the rapid development of intelligent lighting technology, LED lights have been widely used in architectural landscapes, commercial decoration, stage art, and other scenarios. Users' demands for the diversity and creativity of lighting display effects are increasing. They not only require basic color adjustment and brightness control, but also hope to support complex image display functions such as screen rotation, mirroring, and dynamic transformations. However, existing intelligent lighting systems face significant technical bottlenecks in achieving such complex image processing.
[0003] Traditional smart lighting control architectures typically employ embedded microcontrollers or dedicated driver chips, such as the SM8606S constant current driver IC based on a single-line return-to-zero code protocol, for signal analysis and LED driving. These have limited hardware resources and weak image processing capabilities, making it difficult to perform computationally intensive operations like pixel coordinate transformation, image rotation, or mirroring locally in real time. When screen rotation or mirroring is required, existing solutions often rely on adding a dedicated image processing chip, such as an FPGA or DSP, to the lighting fixture, along with complex image processing circuitry to handle pixel rearrangement and coordinate mapping. While this approach allows for functional expansion, it introduces several problems. Firstly, it significantly increases hardware costs and system power consumption. Secondly, the additional circuitry complicates the lighting fixture structure, increases wiring difficulty, and undermines the original advantages of a streamlined, easily deployed system.
[0004] Especially in multi-lamp cascade systems, requiring each lamp to be equipped with an image processing unit would lead to a significant increase in overall cost, severely hindering the widespread adoption of complex image functions in low- to mid-range lighting products. Therefore, achieving flexible image control without increasing the processing burden on the terminal has become a key obstacle restricting the evolution of smart lamps towards higher-level visual expression. Consequently, there is an urgent need for a lamp image control method capable of complex image transformations without relying on external image processing chips, to address the technical problems of excessively high cost of functional expansion and increased system complexity caused by limited terminal image processing capabilities. Summary of the Invention
[0005] The embodiments of the present invention provide a lighting display control method, device, equipment and medium, which aims to solve the technical problem that the product expansion cost is too high when intelligent lighting fixtures need to display complex images due to the limited image processing capabilities. This requires the access of image processing chips and circuits.
[0006] In a first aspect, embodiments of the present invention provide a lighting display control method, applied to a lighting display processing system, including a user terminal, a server terminal, and a target lighting fixture. The method includes: receiving a display control command input by a user via the user terminal at the server terminal; preprocessing the original display material based on the display control command and according to the point information map of the target lighting fixture to generate preprocessed display material; packaging and sending the preprocessed display material and the display control command from the server terminal to the target lighting fixture via a preset communication protocol; parsing the display control command at the target lighting fixture and remapping the preprocessed display material based on a preset pixel coordinate mapping rule; and driving the LED array of the target lighting fixture to display the display image via the remapped preprocessed display material.
[0007] Secondly, embodiments of the present invention also provide a lighting display control device for executing the lighting display control method described above.
[0008] Thirdly, embodiments of the present invention also provide a computer device, the computer device including a memory and a processor connected to the memory; the memory is used to store a computer program; the processor is used to run the computer program stored in the memory to perform the steps of the above-described lighting screen control method.
[0009] Fourthly, embodiments of the present invention also provide a computer-readable storage medium storing a computer program, the computer program including program instructions, which, when executed by a processor, can implement the steps of the above-described lighting screen control method.
[0010] Compared with the prior art, the beneficial effects of the present invention are: In the technical solution of this invention, the lighting display control method preprocesses the original material on the server side according to user instructions and lighting location information map to generate preprocessed display material adapted to the target display state, and packages it with control instructions and sends it to the target lighting fixture; after parsing the instructions, the lighting fixture performs local remapping processing on the material based on preset pixel coordinate mapping rules to drive the LED array to display the image. This solution preprocesses complex image transformation calculations on the server side, and the terminal only performs lightweight coordinate rearrangement, without the need for additional image processing chips. This significantly reduces the hardware cost and system complexity of the lighting fixture and improves the flexibility of image control. Attached Figure Description
[0011] To more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings used in the following description of the embodiments will be briefly introduced. Obviously, the drawings described below are some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0012] Figure 1 A flowchart of the lighting display control method provided by the present invention; Figure 2 This is a first sub-flowchart of the lighting display control method provided by the present invention. Figure 3 This is a second sub-flowchart of the lighting display control method provided by the present invention; Figure 4 The third sub-flowchart of the lighting display control method provided by the present invention; Figure 5 The fourth sub-flowchart of the lighting display control method provided by the present invention; Figure 6 The fifth sub-flowchart of the lighting display control method provided by the present invention; Figure 7 The sixth sub-flowchart of the lighting display control method provided by the present invention; Figure 8 The seventh sub-flowchart of the lighting display control method provided by the present invention; Figure 9 A schematic block diagram of a unit of the lighting display control device provided by the present invention; Figure 10 A schematic block diagram of a computer device provided for an embodiment of the present invention. Detailed Implementation
[0013] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0014] It should be understood that, when used in this specification and the appended claims, the terms "comprising" and "including" indicate the presence of the described features, integrals, steps, operations, elements and / or components, but do not exclude the presence or addition of one or more other features, integrals, steps, operations, elements, components and / or collections thereof.
[0015] It should also be understood that the terminology used in this specification is for the purpose of describing embodiments only and is not intended to limit the invention. As used in this specification and the appended claims, the singular forms “a,” “an,” and “the” are intended to include the plural forms unless the context clearly indicates otherwise.
[0016] It should also be further understood that the term "and / or" as used in this specification and the appended claims refers to any combination of one or more of the associated listed items and all possible combinations, and includes such combinations.
[0017] To address the technical problem of low testing efficiency during production due to the need for specific environmental requirements in existing performance testing methods for multi-array microphones, this invention discloses a lighting fixture image control method. This lighting fixture image control method is applied to a distributed lighting control system consisting of a user terminal, a server terminal, and a target lighting fixture.
[0018] Reference Figures 1 to 8 The lighting display control method includes the following steps: S110. The server receives screen control commands input by the user through the user terminal. S120. Based on the screen control command, preprocess the original display material according to the point information map of the target lamp to generate preprocessed display material; S130. The pre-processed display materials and screen control instructions from the server are packaged and sent to the target lamp through a preset communication protocol; S140. The screen control command is parsed through the target lamp, and the pre-processed display material is remapped based on the preset pixel coordinate mapping rules. S150. The LED array of the target lamp is driven to display an image by the pre-processed display material that has undergone remapping.
[0019] Users can select the target light fixture to be controlled through user-end applications, such as mobile apps or web platforms, and set screen control commands, including the desired screen rotation angle or mirror mode.
[0020] The instruction is transmitted to the server via the network. The server obtains the physical arrangement structure, effective display area and installation direction of the LED bead array based on the pre-stored location information map or the location information map reported by the target lamp.
[0021] Based on the location information map and screen control instructions, the server preprocesses the stored original display materials, such as performing image transformation operations like rotation, mirroring, or cropping, to generate preprocessed display materials that adapt to the current target display state, thus avoiding screen truncation due to orientation mismatch.
[0022] Subsequently, the server encapsulates the pre-processed display materials and screen control instructions into data packets according to a preset communication protocol, and sends them to the target lighting fixtures via a local area network or a wide area network.
[0023] After receiving the data packet, the target lighting fixture first parses the screen control instructions, extracts the display transformation type, and calls the preset pixel coordinate mapping rule table in the local firmware to reorder the pixel data in the preprocessed display material. For example, the original coordinates (x, y) are mapped to the target coordinates (y, W−1−x) according to the 90° rotation rule, where W is the width of the bitmap composed of pixels, thus completing the lightweight local remapping.
[0024] Finally, the remapped display data is converted into drive signal frames that conform to the single-line return-to-zero code protocol, and output bit by bit to the input of the driver chip to control the LED array to light up according to the expected pattern.
[0025] This solution centralizes complex image processing tasks on the server side, while the lighting fixtures only perform simple coordinate remapping. It eliminates the need for additional image processing chips, significantly reducing hardware costs and system complexity. It is suitable for large-scale LED lighting systems that require flexible image control, such as architectural landscapes and ambient lighting.
[0026] In one embodiment, step S120 includes: S121. Communicate with the target lamp through the server, or obtain the location information map of the target lamp based on the pre-stored information of the server. S122. The server parses the screen control command to determine the target display mode, the target display mode including screen rotation angle and / or mirror direction; S123. Based on the location information map and the target display mode, analyze the spatial adaptation relationship between the original display material and the target display state; S124. If the spatial adaptation relationship does not match, the server performs a corresponding image transformation operation on the original display material. The image transformation operation includes at least one of rotation, mirroring, and cropping. S125. If the spatial adaptation relationship matches, the preprocessed display material is encoded according to a preset data format.
[0027] The server establishes a two-way communication link with the target luminaire. During the luminaire's power-on initialization phase, the target luminaire actively reports its location information map, or the server sends a request command to obtain the luminaire's physical layout parameters. The location information map specifically includes the LED bead array's arrangement topology, the number of pixels in the horizontal and vertical directions, the total array length, the installation orientation (e.g., horizontal or vertical), the driver chip cascading order, and the effective display area boundary. It may also include luminaire type identification (e.g., linear lights, point light arrays, perforated letters) and pixel density information to facilitate subsequent spatial adaptation analysis. When the server receives a screen control command from the user, it first parses the target display mode contained in the command. The target display mode explicitly indicates the screen rotation angle, such as 90°, 180°, or 270°, and / or the mirror direction, such as horizontal mirroring or vertical mirroring.
[0028] Subsequently, based on the acquired point information map and target display mode, the server performs a comprehensive analysis of the spatial adaptation relationship between the original display material and the actual physical layout of the lighting fixtures to determine whether there is a risk of directional mismatch, size exceeding limits, or pixel misalignment.
[0029] In particular, in scenarios where non-square images are rotated 90° or 270°, directly rotating the image on the terminal using algorithms without preprocessing the original material can easily lead to truncated or missing edges, affecting visual integrity. Therefore, the server first determines the target display mode. If a mismatch exists, such as when the original material is a horizontal wide-format image while the lighting fixture needs to be presented vertically in a 90° rotating format, the server performs the corresponding image transformation operation in the cloud, rearranging the pixels of the original display material clockwise or counterclockwise by 90° to generate rotated image data. If the target display mode includes a mirror command, the image data undergoes further pixel flipping processing (rows or columns). If the transformed image size still exceeds the effective display area of the target lighting fixture, or if the lighting fixture has an arc layout, perforated lettering, or other irregular shapes causing some pixel areas to be invisible, the server crops the image data, retaining only the portion matching the effective area defined in the location information map, and centers or aligns key content to ensure the final display is complete and without overflow.
[0030] The preprocessing is completed on the server side, avoiding complex image calculations on the resource-constrained lighting fixtures, thus avoiding the increased hardware costs and system complexity caused by the need to add a dedicated image processing chip in traditional solutions.
[0031] If the server confirms through analysis that the original display material matches the target display state (e.g., the user only adjusts the brightness without changing the spatial layout, or the screen control command is 0° rotation and no mirroring), then there is no need to perform a transformation operation. The original display material is directly used as the pre-processed display material and encoded according to a preset data format. The preset data format may include a data frame structure that conforms to the lighting driver protocol. For example, each frame image is converted into a pixel sequence stream composed of 8-bit grayscale in RGB three channels, and timestamps, frame numbers, and verification information are added for terminal parsing.
[0032] By moving image processing tasks to the server side, this solution achieves a lightweight terminal implementation path for complex screen functions. It not only solves the technical bottleneck of needing an external image chip due to limited pixel-level computing power, but also makes full use of the high computing power and large storage advantages of the cloud. It supports batch preprocessing and cached distribution of high-definition and dynamic video stream materials, effectively improving system flexibility and functional scalability. It is especially suitable for intelligent lighting scenarios with high requirements for cost control and display consistency, such as multi-lamp cascade and large-scale point light source arrays.
[0033] In one embodiment, step S124 includes: S1241. If the target display mode includes a screen rotation command, then the original display material is rearranged into pixels according to the rotation angle specified by the screen rotation command to generate rotated image data. S1242. If the target display mode includes a mirror command, then the pixel row and column flipping is performed on the rotated image data or the original display material according to the specified mirror direction to generate the mirrored image data. S1243. Determine the effective display area of the target lamp based on the point information map of the target lamp. If the processed image data exceeds the effective display area, then crop the processed image data and retain the image data portion corresponding to the effective display area.
[0034] When the server completes a comprehensive analysis of the location information map and screen control instructions, and determines that there is a spatial mismatch between the original display material and the target display state, it will trigger an image transformation process to ensure that the final output image conforms to the actual physical layout of the lighting fixtures and the user's visual expectations.
[0035] If the target display mode includes a screen rotation command, the server will activate the rotation processing module. Based on the specified rotation angle, it will perform a coordinate rearrangement operation on the pixel matrix in the original display material to generate rotated image data. This rotation is not simply a change in the data display order, but a mathematical mapping based on the transformation relationship of the lighting display coordinate system. For example, when performing a 90° clockwise rotation, the server will reconfigure the pixel at coordinates (x, y) in the original image to the position (y, W−1−x) in the new image, where W is the total number of horizontal pixels in the original image; when performing a 180° rotation, the original pixel coordinates (x, y) are mapped to (W−1−x, H−1−y), achieving a centrally symmetrical flip; when performing a 270° clockwise rotation, the corresponding mapping is (H−1−y, x). Here, W is the width of the bitmap composed of pixels, and H is the number of pixels in the height of the original image. This pixel rearrangement method based on coordinate transformation can ensure that the image still completely covers the effective display area of the target lamp after rotation, avoiding problems such as image stretching, distortion or truncation of edge pixels caused by directly using terminal algorithm rotation. It is especially suitable for non-square screen lamps with large aspect ratio differences, such as LED linear lights, curved light strips or perforated font lights.
[0036] If the target display mode also includes a mirror command, the server will perform a mirror flip operation on the already rotated image data or directly on the original display material without rotation, generating mirrored image data. For horizontal mirroring, the system will reverse the pixel data of each row of the image along the X-axis, meaning the pixel at the original coordinates (x, y) is repositioned to (W−1−x, y), achieving a symmetrical left-right flip. For vertical mirroring, each column of pixels is flipped along the Y-axis, mapped to (x, H−1−y), achieving a symmetrical up-down display. If the mirror command is a full mirror, meaning it includes both horizontal and vertical mirroring, the above two steps are executed sequentially to complete the dual-axis flip.
[0037] The entire mirroring process is based on the origin of the coordinate system defined by the point information map. Typically, the geometric center of the lamp array or the corresponding position of the starting driver chip is taken to ensure that the flipping logic is consistent with the physical installation posture.
[0038] After rotation and mirroring, the server will further determine whether the processed image data exceeds its effective display area by combining the point information map of the target lamp. The effective display area does not only refer to the physical arrangement boundary of the LED beads, but may also include the visible range limited by the installation structure. For example, some curved light strips may have pixels that are not visible at the ends due to their curved design, or the internal hollow area of perforated letter lamps may not be displayed. If the processed image data exceeds the effective area in the width or height direction, the server will initiate a cropping mechanism to extract the portion of image data corresponding to the effective area. The cropping method can be intelligently selected according to the application scenario: for images with centered content, such as those with a key logo or text in the center, a center cropping strategy is adopted to retain the key content in the center; for edge-sensitive content, alignment cropping is performed according to the installation direction of the lamp, such as left alignment or bottom alignment; or content analysis algorithms can be combined to prioritize the retention of high-brightness or high-contrast areas to maximize the visual expression effect. The cropped image data serves as the intermediate result after adaptation and enters the subsequent encoding process.
[0039] In one embodiment, step S130 includes: S131. The pre-processed display material and the screen control instructions are encapsulated into a data packet by the server. S132. The data packet is serialized according to the preset communication protocol type and sent to the target lamp via the network.
[0040] After the server completes the preprocessing of the original display material and generates preprocessed display material adapted to the target display state, it encapsulates this material and the corresponding screen control instructions into a complete data packet for transmission to the target lighting fixture over the network. The data packet structure includes header information, control instruction fields, display data body, and checksum.
[0041] The header information includes the target lighting fixture's unique device identifier, data packet type identifier, frame sequence number, and timestamp, used to ensure the accuracy, sequence, and traceability of transmission. The control instruction field embeds target display mode information, such as rotation angle and mirror direction, into the screen control instructions. The display data body carries pre-processed display material after rotation, mirroring, or cropping, typically organized in pixel frames, such as a sequence of grayscale values in RGB888 format arranged by row or column. The checksum section can be generated using CRC16 or CRC32 algorithms, used by the receiving end to verify data integrity and prevent image misalignment or display abnormalities due to network interference.
[0042] After encapsulation, the server serializes the data packets according to a preset communication protocol type, converting them into a byte stream format to adapt to network transmission requirements. The preset communication protocol type can be flexibly selected based on the deployment environment. In a local area network (LAN) scenario, TCP / IP combined with a custom binary transmission format can be used to ensure reliability and real-time performance. In remote control or cloud management architectures, application layer protocols such as MQTT and HTTP / HTTPS can be used to achieve cross-network segment, high-concurrency data transmission capabilities, which is particularly suitable for centralized control systems with multiple lighting fixtures. The serialized data is transmitted to the target lighting fixture via a wired network or wireless communication link (such as Wi-Fi, 4G / 5G, LoRa), and the network path can be relayed through routers, switches, or dedicated lighting gateways.
[0043] Upon receiving the data packet, the target lighting fixture first verifies whether the device identifier matches. If a match is found, it unpacks and parses the packet, extracting pre-processed display materials and screen control commands for subsequent remapping processing. This communication mechanism supports batch distribution, breakpoint resumption, and retransmission mechanisms, ensuring reliable data delivery even when the network is unstable.
[0044] In addition, to accommodate the receiving capabilities of different lighting fixtures, the server can also perform data packet fragmentation, such as splitting high-resolution frames into multiple sub-packets and sending them sequentially, reducing the load of a single transmission and improving system compatibility.
[0045] This solution enables efficient and reliable data interaction between cloud processing results and terminal execution units, ensuring the synchronization of screen control commands and displayed content while remaining compatible with existing network infrastructure. It eliminates the need for additional dedicated communication lines, demonstrating excellent engineering applicability and scalability. It is particularly suitable for the remote operation and maintenance and dynamic content update needs of large-scale intelligent lighting systems such as urban landscape lighting and facade screen control in commercial complexes.
[0046] In one embodiment, step S140 includes: S141. Receive and parse the data packet through the target lighting fixture; S142. Call the pixel coordinate mapping rule table pre-stored in the target lamp; S143. Traverse each pixel in the preprocessed display material and calculate the target position coordinates of each pixel on the LED array according to the pixel coordinate mapping rule table. S144. Create a new display frame buffer, write each pixel point to the corresponding position according to the target position coordinates, and complete the remapping process.
[0047] The target luminaire receives data packets from the server via its built-in network communication module, which are then parsed by the luminaire's main control unit. The main control unit first reads the header information of the data packet, verifies whether the target device identifier matches the luminaire, and then extracts the screen control commands and pre-processed display materials. The parsed screen control commands are used to determine the type of display transformation to be performed, such as whether it includes 90°, 180°, or 270° rotation, and whether horizontal, vertical, or full mirror operations are required. Simultaneously, the main control unit calls a pixel coordinate mapping rule table pre-stored in the local firmware. This rule table, in the form of a lookup table (LUT) or functional logic, is stored in the luminaire's non-volatile memory and predefines the mapping relationship between the original pixel coordinates (x, y) and the target coordinates (x', y') in the physical layout of the LED array under different transformation modes.
[0048] The main control unit then iterates through each pixel in the pre-processed display material, calculating its corresponding display position on the target LED array based on the selected mapping relationship, and reorders the data accordingly. To implement this remapping process, the main control unit creates a new display frame buffer in SRAM (Static Random Access Memory), whose address space corresponds one-to-one with the physical arrangement order of the LED array. Subsequently, the grayscale data of each pixel, such as 8 bits each of R / G / B, is written to the corresponding address in the buffer according to the calculated target position coordinates, completing the pixel-level data reordering. During this process, if the pre-processed display material has already completed most of the image transformation on the server side, the terminal only needs to perform lightweight coordinate alignment or fine-tuning mapping, thereby greatly reducing the local processing burden. After the frame buffer is generated, it is used as the data to be driven into the next stage of the signal output process.
[0049] The entire remapping process is executed directly by the main control chip of the luminaire, without the need for an external image processing unit. The processing latency is controlled within 100 nanoseconds, far below the threshold that the human eye can perceive, and does not affect the system's high refresh rate and visual smoothness. In addition, this mechanism supports seamless integration with the single-line return-to-zero code communication protocol, ensuring that the remapped data can be output to the first-level driver chip in the correct timing, and maintaining the consistency and synchronization of the data flow in a multi-luminaire cascade system.
[0050] In one embodiment, step S150 includes: S151. The pre-processed display material after remapping is converted into a drive signal frame conforming to the single-line return-to-zero code communication protocol format. The drive signal frame includes a reset signal, a grayscale data stream, and a control field. S152. According to the timing requirements of the single-line return-to-zero code, output the grayscale data stream bit by bit to the input port of the driver chip of the target lamp. S153. The grayscale data stream is received and parsed sequentially by the driving chips at each level, and the grayscale value of the LED bead at the corresponding position in the grayscale data stream is extracted. S154. The pulse width and / or amplitude of the output current are adjusted by each of the driving chips based on the gray value to drive the corresponding lamp bead to achieve brightness control. S155. All the cascaded LEDs are lit up within the same refresh cycle to form a display screen.
[0051] After completing the remapping process of the pre-processed display material, the target luminaire converts the generated display frame buffer data into a drive signal frame conforming to the Return-to-Zero (RZ) communication protocol format to drive the LED array to achieve the expected image display. This drive signal frame consists of three parts: a reset signal at the beginning, followed by a grayscale data stream, and additional control fields. The reset signal is a low-level signal with a duration greater than 24μs, used to synchronize all cascaded constant current drive chips, ensuring that each chip starts receiving subsequent data at the same time. The grayscale data stream is organized according to the cascaded order of the drive chips, with each drive chip corresponding to 48 bits of grayscale data, controlling the brightness of each LED in its six internal channels. These six channels are R / G / B three-color channels or extended color channels, each 8 bits, achieving 65536 grayscale levels. The control fields are a set of additional control information embedded at the end of the data frame, typically 16 bits, with the first 12 bits used to set the current gain of each channel, and the last 4 bits configured as function extension bits. This part can be retained in this solution, or used in subsequent upgrades to pass rotation and mirror status identifiers to enhance system compatibility.
[0052] The main control unit outputs grayscale data bit by bit to the input port of the first-stage driver chip in the target lamp through the GPIO pin, in accordance with the strict timing requirements of the single-line return-to-zero code. Each bit of data represents logic "0" or "1" through high and low level pulse widths: for example, logic "0" is composed of approximately 350ns high level + 850ns low level, and logic "1" is composed of approximately 850ns high level + 350ns low level. The entire data stream is sent serially in microseconds.
[0053] Each driver chip sequentially receives the serial data stream and automatically completes data acquisition and distribution through its internal shift register. Each chip extracts its own 48-bit grayscale data from the input data stream and latches it into the output register. Then, it adjusts the output current of the corresponding LED bead based on this grayscale value. Specifically, the driver chip uses a high-frequency PWM dimming method to control the current conduction time, achieving stepless brightness adjustment by adjusting the pulse width duty cycle corresponding to the grayscale value, thus presenting different levels of visual grayscale effects. In some scenarios, an analog current adjustment mechanism can also be combined to fine-tune the output current amplitude, further improving dimming precision and low-grayscale performance.
[0054] Since all driver chips initiate data latching and output actions after the same Trst reset signal, all LEDs in the entire cascaded system can be lit within the same refresh cycle, avoiding screen tearing or edge misalignment caused by signal transmission delay, and ensuring the overall consistency and integrity of the display screen.
[0055] In particular, for cases with a large number of pixels and long cascaded links, such as more than 800 pixels in a single string, although there is a cumulative delay in the signal from the first stage to the last stage, the terminal does not need to perform complex calculations because the image transformation has been preprocessed on the server side, and the data transmission cycle is sufficient to cover the maximum delay. Therefore, smooth gradual dimming and dynamic picture playback can still be achieved, avoiding the dimming staircase effect caused by excessively long refresh intervals.
[0056] This driving mechanism is compatible with existing mainstream constant current driver ICs, such as SM8606S and LPD6803. It does not require changes to the hardware circuit structure. Only the protocol timing logic needs to be fixed on the main control terminal to achieve efficient and stable control output.
[0057] In one embodiment, the lighting display control method of the present invention further includes: S160. Obtain the transmission delay information of the target lamp through the server, and adjust the data transmission rhythm or insert compensation delay based on the transmission delay information.
[0058] To overcome the cascading delay accumulation problem caused by the sequential transmission of single-line return-to-zero (RZ) codes in large-scale cascaded systems—that is, the time difference between the first and last driver chips receiving complete data increases with the number of pixels—the system initiates a delay detection mechanism during initialization or configuration. This mechanism adds a time detection unit to the output of each driver chip to monitor the time difference between the input and output signals of that stage, i.e., the single-stage transmission delay t_delay. The time detection unit can be integrated into the peripheral logic of the driver chip or implemented by the main control unit using I / O pins. Each luminaire feeds this delay information back to the server or main control system via a reverse communication channel. The server collects the delay data from all cascaded nodes, calculates the total transmission delay distribution of the entire link, and dynamically adjusts the start timing of data transmission or inserts a preset compensation delay between frames accordingly, ensuring that luminaires in different branches or links of different lengths can complete the refresh action at the same logical moment.
[0059] Furthermore, the steps in S160 include: S161. Detect the time delay between the input signal and the output signal of each of the target lamps and generate local transmission delay information; S162. Feed back the transmission delay information of this level to the server. S163. The server calculates the total link delay distribution based on the delay information of the target lights at each level, and adjusts the data transmission rhythm or inserts compensation delay.
[0060] At each of the target luminaires, a built-in delay detection module monitors in real time the signal propagation time difference between the input (DIN) and output (DOUT) terminals of its driver chip, i.e., the transmission delay information at this stage. This detection module can be composed of the luminaire's main control unit and a high-precision timer, or it can be integrated into a dedicated logic circuit that supports delay monitoring.
[0061] During each frame of data transmission, the main control unit captures the rising edge of the reset signal (Trst) received at the DIN terminal or the moment the first bit of data is input as the starting time point. Simultaneously, it detects the start time of the DOUT terminal re-outputting the same signal stream and calculates the time difference between the two. This time difference yields the signal processing and output delay t_delay of the driver chip at that stage. This delay value is typically between tens and hundreds of nanoseconds, influenced by factors such as the specific driver chip model, operating voltage, ambient temperature, and data load.
[0062] Subsequently, the target luminaire reports its measured local transmission delay information to the server via a reverse communication link, completing the data feedback. In a centralized controller architecture, the main control unit can also collect the delay information of all lower-level luminaires and upload it to the server in batches. After receiving the local transmission delay information reported by each level of target luminaire, the server performs link path analysis based on the cascaded topology of the luminaires, such as chain, tree, or ring structures, and calculates the cumulative transmission delay from the main control output to each end luminaire link, forming a total link delay distribution map.
[0063] Based on this delay distribution, the server-side implements a synchronization compensation strategy. In centralized control mode, it directly generates data transmission scheduling commands to adjust the data frame transmission rhythm of different groups or branches, ensuring that the data reception and refresh actions of the final-stage chips in each branch are aligned as closely as possible. In local playback scenarios, compensation parameters are sent to the main control unit, which dynamically inserts compensation delays when generating single-line return-to-zero codes. For example, it inserts an empty cycle or delay before sending data to short-link lamps, and then uniformly starts the refresh action once the long link is ready, thus achieving near-synchronous lighting of all lamps in visual perception. This compensation mechanism can also be optimized in conjunction with dynamic brightness adjustment processes. When achieving smooth transition effects such as 2000ms gradual dimming, it ensures that even with a large number of pixels, each level of lamp maintains a consistent dimming pace, avoiding "wave-like" lighting or brightness jumps caused by uneven refresh cycles.
[0064] In addition, latency information can be collected and updated periodically, supporting adaptive correction of latency drift caused by factors such as temperature changes and aging, further enhancing the long-term stability and reliability of the system.
[0065] The lighting display control method of this invention demonstrates broad application prospects and technological evolution potential in the fields of intelligent lighting and related visual presentation. By constructing a collaborative architecture of cloud preprocessing and lightweight terminal remapping, this method overcomes the technical bottleneck of traditional intelligent lighting fixtures, which are limited by the computing power of embedded systems, making it difficult to achieve complex image transformations. It enables advanced display functions such as image rotation, mirroring, and cropping without the need for external image processing chips, significantly reducing hardware costs and system complexity. This provides a feasible path for endowing mid-to-low-end LED lighting products with high-end visual performance capabilities.
[0066] From an application perspective, this technology is particularly suitable for fields that demand high flexibility in visual presentation and cost-effective deployment, such as architectural landscape lighting, commercial visual merchandising installations, performance stage lighting, urban public space art lighting, and vehicle ambient lighting. Especially in the control of large-scale point light source arrays, such as perforated lettering, outline light strips, and LED grid screens, the server-side image preprocessing mechanism effectively solves the problems of truncation and misalignment that occur after rotating non-square images. Meanwhile, the lightweight processing method at the terminal, based on preset coordinate mapping rules, ensures the system's real-time response capability and high refresh rate characteristics, supporting smooth gradient dimming and dynamic video playback, greatly improving visual continuity and user experience.
[0067] Furthermore, with the improved transmission delay detection and compensation mechanism in this solution, the system can achieve high-precision synchronous control across links and multiple branches without adding extra synchronization hardware. This solves the problem of image tearing and brightness jumps caused by signal delay accumulation in long-distance cascading of existing single-line return-to-zero code protocols. This provides a technical foundation for building ultra-large-area distributed LED display networks in the future, and is expected to enable low-cost, highly consistent deployment solutions in large-scale visual projects such as smart city digital twins and outdoor immersive light shows.
[0068] Figure 9 This is a schematic block diagram of a lighting display control device 600 provided in an embodiment of the present invention. Figure 9 As shown, corresponding to the above-described lighting display control method, the present invention also provides a lighting display control device 600. This lighting display control device 600 includes a unit for executing the above-described lighting display control method, and the device can be configured in a desktop computer, tablet computer, smartphone, or other terminal.
[0069] Specifically, please refer to Figure 9 The lighting display control device 600 includes: The instruction acquisition unit 610 is used to receive screen control instructions input by the user through the user terminal on the server side; The preprocessing unit 620 is used to preprocess the original display material based on the screen control command and the point information map of the target lamp, and generate preprocessed display material. The data delivery unit 630 is used to package and deliver the pre-processed display materials and screen control instructions from the server to the target lamp through a preset communication protocol; The remapping unit 640 is used to parse the screen control command through the target lamp and remap the preprocessed display material based on the preset pixel coordinate mapping rule; The image display unit 650 is used to drive the LED array of the target lamp to display an image using the pre-processed display material that has undergone remapping.
[0070] In one embodiment, the audio data acquisition unit 620 includes: The location information acquisition unit is used to communicate with the target lamp through the server, or to acquire the location information map of the target lamp based on the pre-stored information of the server. The display mode parsing unit is used to parse the screen control instructions through the server to determine the target display mode, the target display mode including screen rotation angle and / or mirror direction; The spatial adaptation unit is used to analyze the spatial adaptation relationship between the original display material and the target display state based on the point information map and the target display mode; An adaptation adjustment unit is used to perform corresponding image transformation operations on the original display material through the server if the spatial adaptation relationship does not match. The image transformation operations include at least one of rotation, mirroring, and cropping. The data encoding unit is used to encode the preprocessed display material according to a preset data format if the spatial adaptation relationship matches.
[0071] In one embodiment, the adaptation adjustment unit includes: The rotation execution unit is used to rearrange the pixels of the original display material according to the rotation angle specified by the screen rotation instruction if the target display mode includes a screen rotation instruction, so as to generate rotated image data. The mirroring execution unit is used to perform pixel row and column flipping on the rotated image data or original display material according to the specified mirroring direction if the target display mode includes a mirroring instruction, so as to generate mirrored image data. The cropping execution unit is used to determine the effective display area of the target lamp based on the point information map of the target lamp. If the processed image data exceeds the effective display area, the processed image data is cropped to retain the portion of image data corresponding to the effective display area.
[0072] In one embodiment, the noise amplitude threshold unit 630 includes: An amplitude calculation unit is used to encapsulate the pre-processed display material and the screen control instructions into a data packet via the server. The serialization processing unit is used to serialize the data packets according to a preset communication protocol type and send them to the target lighting fixture via the network.
[0073] In one embodiment, the peak percentage unit 640 includes: A receiving unit is configured to receive and parse the data packet through the target lamp; The mapping table extraction unit is used to call the pixel coordinate mapping rule table pre-stored in the target lamp; The coordinate calculation unit is used to traverse each pixel in the preprocessed display material and calculate the target position coordinates of each pixel on the LED array according to the pixel coordinate mapping rule table. The coordinate writing unit is used to create a new display frame buffer, write each pixel point to the corresponding position according to the target position coordinates, and complete the remapping process.
[0074] In one embodiment, the final output unit 650 includes: A drive signal conversion unit is used to convert the pre-processed display material after remapping into a drive signal frame conforming to the single-line return-to-zero code communication protocol format. The drive signal frame includes a reset signal, a grayscale data stream, and a control field. The grayscale stream input unit is used to output grayscale data stream bit by bit to the input port of the driver chip of the target lamp according to the timing requirements of the single-line return-to-zero code. The grayscale value extraction unit is used to receive and parse the grayscale data stream sequentially through the driver chips at each stage, and extract the grayscale value of the LED bead at the corresponding position in the grayscale data stream; A brightness control unit is used to adjust the pulse width and / or amplitude of the output current based on the gray value through each of the driving chips, thereby driving the corresponding LED to achieve brightness control; The synchronous refresh unit is used to illuminate all the cascaded LEDs within the same refresh cycle to form a display image.
[0075] In one embodiment, the lighting display control device 600 further includes: The delay compensation unit is used to obtain the transmission delay information of the target lamp through the server, and adjust the data transmission rhythm or insert compensation delay based on the transmission delay information.
[0076] In one embodiment, the delay compensation unit further includes: This level transmission delay generation unit is used to detect the time delay between the input signal and the output signal of each target lamp and generate this level transmission delay information; The delay information reporting unit is used to feed back the local transmission delay information to the server. The cloud-based delay compensation unit is used to calculate the total link delay distribution based on the delay information of the target lights at each level through the server, and to adjust the data transmission rhythm or insert compensation delay.
[0077] The aforementioned lighting display control device 600 can be implemented as a computer program, which can, for example... Figure 10It runs on the computer device shown.
[0078] Please see Figure 10 , Figure 10 This is a schematic block diagram of a computer device 500 provided in an embodiment of this application. The computer device 500 can be a terminal or a server. The terminal can be an electronic device with communication functions, such as a desktop computer, tablet computer, or smartphone. The server can be a standalone server or a server cluster composed of multiple servers.
[0079] See Figure 10 The computer device 500 includes a processor 502, a memory, and a network interface 505 connected via a system bus 501. The memory may include a non-volatile storage medium 503 and internal memory 504.
[0080] The non-volatile storage medium 503 may store an operating system 5031 and a computer program 5032. The computer program 5032 includes program instructions that, when executed, cause the processor 502 to perform a lighting screen control method.
[0081] The processor 502 provides computing and control capabilities to support the operation of the entire computer device 500.
[0082] The internal memory 504 provides an environment for the operation of the computer program 5032 in the non-volatile storage medium 503. When the computer program 5032 is executed by the processor 502, the processor 502 can execute a lighting screen control method.
[0083] This network interface 505 is used for network communication with other devices. Those skilled in the art will understand that... Figure 10 The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the computer device 500 to which the present application is applied. The specific computer device 500 may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.
[0084] The processor 502 is used to run a computer program 5032 stored in a memory to implement the steps of the above method.
[0085] It should be understood that in the embodiments of this application, the processor 502 may be a central processing unit (CPU), or it may be other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), 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.
[0086] It will be understood by those skilled in the art that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program includes program instructions and can be stored in a storage medium, which is a computer-readable storage medium. The program instructions are executed by at least one processor in the computer system to implement the process steps of the embodiments of the above methods.
[0087] Therefore, the present invention also provides a storage medium. This storage medium can be a computer-readable storage medium. The storage medium stores a computer program, wherein the computer program includes program instructions. When executed by a processor, the program instructions cause the processor to perform the steps of the above-described method.
[0088] The storage medium can be any computer-readable storage medium capable of storing program code, such as a USB flash drive, portable hard drive, read-only memory (ROM), magnetic disk, or optical disk.
[0089] Those skilled in the art will recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of both. To clearly illustrate the interchangeability of hardware and software, the components and steps of the various examples have been generally described in terms of functionality in the foregoing description. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementations should not be considered beyond the scope of this invention.
[0090] In the several embodiments provided by this invention, it should be understood that the disclosed apparatus and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative. For example, the division of each unit is only a logical functional division, and there may be other division methods in actual implementation. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed.
[0091] The steps in the method of this invention can be adjusted, merged, or reduced in order according to actual needs. The units in the device of this invention can be merged, divided, or reduced according to actual needs. Furthermore, the functional units in the various embodiments of this invention can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit.
[0092] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, a terminal, or a network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present invention.
[0093] The above description is merely a specific embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Any person skilled in the art can easily conceive of various equivalent modifications or substitutions within the technical scope disclosed in the present invention, and these modifications or substitutions should all be covered within the scope of protection of the present invention. Therefore, the scope of protection of the present invention should be determined by the scope of the claims.
Claims
1. A method for controlling the display screen of a lighting fixture, characterized in that, An application to a lighting fixture image processing system, comprising a user terminal, a server terminal, and a target lighting fixture, the method includes: The server receives screen control commands input by the user through the user terminal. Based on the screen control instructions, the original display material is preprocessed according to the point information map of the target lamps to generate preprocessed display material; The pre-processed display materials and screen control commands from the server are packaged and sent to the target lamp via a preset communication protocol. The target lighting fixture parses the screen control command and remaps the pre-processed display material based on a preset pixel coordinate mapping rule; The pre-processed display material, after being remapped, drives the LED array of the target lamp to display an image.
2. The lighting display control method according to claim 1, characterized in that, The step of preprocessing the original display material based on the target lighting fixture's location information map, according to the screen control command, to generate preprocessed display material includes: The server communicates with the target lighting fixture, or obtains a location information map of the target lighting fixture based on the pre-stored information on the server. The server parses the screen control commands to determine the target display mode, which includes screen rotation angle and / or mirror orientation. Based on the location information map and the target display mode, analyze the spatial adaptation relationship between the original display material and the target display state; If the spatial adaptation relationship does not match, the server performs corresponding image transformation operations on the original display material. The image transformation operations include at least one of rotation, mirroring, and cropping. If the spatial adaptation relationship matches, the preprocessed display material is encoded according to a preset data format.
3. The lighting display control method according to claim 2, characterized in that, If the spatial adaptation relationship does not match, the server performs a corresponding image transformation operation on the original display material. The image transformation operation includes at least one of rotation, mirroring, and cropping. If the target display mode includes a screen rotation command, the original display material is rearranged pixel by pixel according to the rotation angle specified by the screen rotation command to generate rotated image data; If the target display mode includes a mirror command, then the pixel rows and columns of the rotated image data or the original display material are flipped according to the specified mirror direction to generate the mirrored image data. The effective display area of the target luminaire is determined based on the location information map of the target luminaire. If the processed image data exceeds the effective display area, the processed image data is cropped, and the portion of image data corresponding to the effective display area is retained.
4. The lighting display control method according to claim 1, characterized in that, The step of packaging and sending the pre-processed display materials and screen control commands from the server to the target lighting fixture via a preset communication protocol includes: The server encapsulates the pre-processed display materials and the screen control instructions into a data packet. According to the preset communication protocol type, the data packet is serialized and sent to the target lamp via the network.
5. The lighting display control method according to claim 4, characterized in that, The step of parsing the screen control command through the target light fixture and remapping the preprocessed display material based on a preset pixel coordinate mapping rule includes: The data packet is received and parsed by the target lighting fixture; Invoke the pixel coordinate mapping rule table pre-stored in the target lamp; Traverse each pixel in the preprocessed display material and calculate the target position coordinates of each pixel on the LED array according to the pixel coordinate mapping rule table; A new display frame buffer is created, and each pixel is written to its corresponding position according to the target position coordinates to complete the remapping process.
6. The lighting display control method according to claim 1, characterized in that, The step of driving the LED array of the target lamp to display an image using the pre-processed display material that has undergone remapping includes: The preprocessed display material after remapping is converted into a drive signal frame conforming to the single-line return-to-zero code communication protocol format. The drive signal frame includes a reset signal, a grayscale data stream, and a control field. According to the timing requirements of the single-line return-to-zero code, the grayscale data stream is output bit by bit to the input port of the driver chip of the target lamp. The driver chips at each level sequentially receive and parse grayscale data streams, and extract the grayscale values of the LEDs at corresponding positions in the grayscale data streams. The brightness control is achieved by adjusting the pulse width and / or amplitude of the output current of each driving chip based on the gray value, thereby driving the corresponding LED bead. All the cascaded LEDs are lit up within the same refresh cycle to form a display image.
7. The lighting display control method according to claim 6, characterized in that, The method further includes: The server obtains the transmission delay information of the target lamp and adjusts the data transmission rhythm or inserts compensation delay based on the transmission delay information.
8. A lighting display control device, characterized in that, Used to perform the lighting display control method as described in any one of claims 1 to 7.
9. A computer device, characterized in that, The computer device includes a memory and a processor connected to the memory; the memory is used to store a computer program; the processor is used to run the computer program stored in the memory to perform the steps of the method as described in any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that, The storage medium stores a computer program, which includes program instructions that, when executed by a processor, can implement the steps of the method as described in any one of claims 1 to 7.