A Distributed LED Direct-View Display Control Method and System
By generating a set of module distribution coordinate offsets and a data segment distribution mapping table, the problem of image distortion caused by changes in the position of LED display modules in traditional methods is solved, achieving efficient data transmission and display consistency, and simplifying the debugging and maintenance process.
Patent Information
- Application Number
- CN202610624016.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2026-05-08
- Publication Date
- 2026-11-17
- Estimated Expiration
- 2046-05-08
AI Technical Summary
Traditional distributed LED direct display control methods struggle to maintain image consistency when module positions change or installation is misaligned, resulting in distorted content splicing, complex debugging, and inconvenient maintenance.
By obtaining the module coordinate values in the Ethernet cascaded topology, a set of module distribution coordinate offsets is generated, the two-dimensional coordinate index of the image data segment is calculated, and the data segment index number is reorganized in combination with the column coordinate order to generate a data segment distribution mapping table, ultimately realizing the binding of data segments with module numbers and the precise positioning of video memory addresses.
It improves the accuracy of data transmission and the continuity of display, reduces debugging and maintenance costs, and ensures the consistency and stability of the video wall display.
Smart Images

Figure CN122245226B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of video wall display technology, and in particular to a distributed LED direct-view control method and system. Background Technology
[0002] The field of video wall display technology mainly involves systems that form large-size display images by physically splicing multiple display units. Its core aspects include the array arrangement of display modules, row and column scanning drive methods, pixel grayscale control, power and data transmission interfaces, and timing coordination methods between multiple units. In the overall technical implementation, video data is output by a control card and parsed by a receiving control unit. The image data is then distributed to each display module according to the scanning order of row and column driving. Simultaneously, clock and synchronization signals are used to achieve display consistency and refresh control among multiple modules. Traditional distributed LED direct-view control methods refer to a display system composed of multiple LED display modules where the main control device divides the image data into several data segments according to a fixed mapping relationship and transmits them to corresponding receiving control units. Each receiving control unit buffers the input data according to a preset address mapping table and outputs it to the corresponding row and column driving circuits according to a row-by-row scanning drive method. Simultaneously, the data is sequentially transmitted to the next-level control unit through a cascaded communication interface, and the refresh timing alignment of each display unit is achieved using a unified synchronization clock signal and frame synchronization signal.
[0003] Traditional operation methods rely on pre-set data allocation relationships and sequential transmission paths. In actual splicing scenarios, if there are changes in module positions, network port cascading paths, partial horizontal or vertical misalignment, or changes in array configuration after expansion, the data segmentation criteria and physical screen positions can easily become disconnected. Although the control side can continuously output data, the content received by each display unit may correspond to the wrong area, causing phenomena such as vertical inversion, horizontal misalignment, edge breakage, and partial duplicate display. During the maintenance phase, it is often necessary to repeatedly check wiring, manually correct addresses, and perform screen-by-screen trial and error calibration, which is time-consuming and more likely to amplify error propagation in large-size splicing scenarios. For example, if the position of a certain unit in the middle is offset, the content of subsequent cascaded units may also be misaligned. Simply relying on a fixed mapping table to cache input data makes it difficult to reflect the true planar position of each data segment in the entire frame image. When encountering cross-row and cross-column distributions, it is not easy to accurately determine the data boundaries, and the risk of local out-of-bounds writing or display overwriting increases accordingly. At the same time, although a unified timing can maintain a consistent refresh rate, it is difficult to solve the problem of discontinuous stitching caused by inaccurate content placement. The result is that the overall picture is synchronized but the content stitching is distorted. The more complex the on-site installation, the longer the troubleshooting path, the stronger the reliance on debugging experience, and the more limited the replicability of the project and the convenience of subsequent maintenance. Summary of the Invention
[0004] To achieve the above objectives, the present invention adopts the following technical solution: a distributed LED direct-view control method, comprising the following steps: S1: Obtain the horizontal and vertical coordinates of the LED display modules in the Ethernet cascaded topology, select the coordinates of the top left module as the reference coordinates, calculate the coordinate differences of the remaining modules, pair the horizontal and vertical offsets according to the RJ45 network port cascade order, and generate a set of module distribution coordinate offsets. S2: Based on the module distribution coordinate offset set, obtain the whole frame image pixel data in the video transmission card frame buffer RAM, calculate the number of segments, number the starting pixel position of each data segment, convert the number of the starting pixel position into row coordinates and column coordinates and combine them to form a two-dimensional coordinate index, arrange them according to the transmission order, and generate an image data segment coordinate queue. S3: Based on the image data segment coordinate queue, perform interval matching calculation between the column coordinates of the data segment and the horizontal offset in the module distribution coordinate offset set to determine the module number set; perform interval matching calculation between the row coordinates of the data segment and the vertical offset of the corresponding module; perform boundary judgment based on the horizontal resolution pixel value and vertical resolution pixel value of the LED display module; bind the data segment index number and the module number; and generate a data segment distribution mapping table. S4: Based on the data segment distribution mapping table, call the network port transmission sequence number, reorganize the data segment index number according to the module number correspondence, and arrange them in order of column coordinates to obtain the distributed data transmission sequence; S5: Based on the distributed data transmission sequence, the address is calculated by calling the address value of the video memory start address register and the module resolution parameter, generating a distributed module video memory address sequence, and writing the image pixel data into the receiving card video memory address according to the sequence, and performing data latching control in conjunction with the latch signal LAT.
[0005] As a further aspect of the present invention, the module distribution coordinate offset set includes a reference module identifier, a horizontal offset sequence, a vertical offset sequence, and a network port concatenation pairing order; the image data segment coordinate queue includes a data segment number sequence, a starting pixel number, a row and column index unit, and a transmission position marker; the data segment distribution mapping table includes a segment number module corresponding item, a row domain belonging marker, a column domain belonging marker, and a boundary validity identifier; the distributed data transmission sequence includes a network port transmission position, a module splicing order, a column-directed continuous sorting item, and a reassembled segment data list; the distributed module memory address sequence includes a memory starting address unit, a module address offset item, a pixel write address item, and a latch control bit.
[0006] As a further aspect of the present invention, the step of performing interval matching calculation between the data segment column coordinates and the lateral offset in the module distribution coordinate offset set includes comparing the data segment column coordinates in ascending order with the continuous intervals formed by the lateral offset, and determining the corresponding unique module number when the data segment column coordinates are within the interval range between adjacent lateral offsets.
[0007] As a further aspect of the present invention, the step of performing interval matching calculation between the data segment row coordinates and the corresponding module longitudinal offset includes aligning and comparing the data segment row coordinates with the hierarchical intervals formed by the longitudinal offsets in the module distribution coordinate offset set, and establishing a mapping relationship with the corresponding module number in the module number set when the data segment row coordinates are within the corresponding longitudinal offset interval.
[0008] As a further aspect of the present invention, the specific steps of S1 are as follows: S101: Obtain the horizontal and vertical coordinates of the LED display modules in the Ethernet cascade topology, call the coordinate sequence to perform index rearrangement processing, map the module coordinates to the two-dimensional index structure, and extract the module coordinates corresponding to the index at the beginning of the sequence as a reference point to generate reference coordinates; S102: Based on the reference coordinates, call the coordinate sequences of the remaining modules, perform coordinate difference calculation on the module coordinates, obtain the corresponding horizontal offset sequence and vertical offset sequence, and arrange them in a structured manner according to the index order to generate a coordinate offset difference matrix. S103: Based on the coordinate offset difference matrix, call the RJ45 network port concatenation sequence, perform pairing and combination processing on the horizontal offset sequence and the vertical offset sequence, and rearrange the sequence according to the concatenation order to construct a unified sequence structure and generate a module distribution coordinate offset set.
[0009] As a further aspect of the present invention, the specific steps of S2 are as follows: S201: Based on the module distribution coordinate offset set, obtain the whole frame image pixel data in the video transmission card frame buffer RAM, call the horizontal resolution parameter and the single module resolution width pixel value to perform segmentation number calculation processing, divide the whole frame pixel data into structural parts and establish sequential number identifiers, associate the corresponding identifiers with the starting pixel positions, and generate pixel segmentation starting index sequence. S202: Based on the pixel segment starting index sequence, call the starting pixel position identifier to perform coordinate mapping calculation processing, convert the linear pixel position into a combination structure of row coordinates and column coordinates, and reorganize it according to the pixel arrangement order to form an index set with two-dimensional structure attributes, and generate an image segment two-dimensional coordinate index set. S203: Based on the two-dimensional coordinate index set of the image segment, call the transmission order parameter sequence to perform order matching processing, rearrange the two-dimensional coordinate indexes according to the transmission order and construct a continuous arrangement structure to generate the image data segment coordinate queue.
[0010] As a further aspect of the present invention, the specific steps of S3 are as follows: S301: Based on the image data segment coordinate queue, perform interval matching calculation processing on the column coordinates of the data segments and the horizontal offset in the module distribution coordinate offset set, call the column coordinate sequence and the horizontal offset sequence to determine the interval range, and perform classification numbering processing on the column coordinates of the data segments that satisfy the interval relationship, establish the correspondence between column coordinates and module numbers, and generate a column coordinate module matching set containing the module number set; S302: Based on the column coordinate module matching set containing the module number set, call the data segment row coordinate sequence in the image data segment coordinate queue, perform interval matching calculation processing on the row coordinate and the module vertical offset, and perform joint judgment in combination with the module number correspondence, bind the data segment index that meets the interval condition with the module number, and generate a data segment module association index set; S303: Based on the data segment module associated index set, call the horizontal resolution pixel value and the vertical resolution pixel value of the LED display module to perform boundary judgment processing, perform screening processing on the data segment indexes that do not meet the boundary range constraints, and perform number reorganization and binding to the remaining indexes to construct a mapping structure and generate a data segment distribution mapping relationship table.
[0011] As a further aspect of the present invention, the specific steps of S4 are as follows: S401: Based on the data segment distribution mapping relationship table, the network port transmission sequence number is called as the sorting basis, and the sequence matching calculation processing is performed on the correspondence between the data segment index number and the module number. The data segment index number is associated and recombined according to the network port transmission sequence number, and a corresponding sequence relationship structure is established to generate a data segment sequence mapping sequence. S402: Based on the data segment sequential mapping sequence, call the column coordinate sequential sequence, perform column coordinate sequential alignment processing on the data segment index number, and continuously arrange and reorganize according to the column coordinate order to form an index structure with sequential association attribute, and generate a column-order continuous index structure. S403: Based on the column sequence continuous index structure, the module number correspondence is called to perform overall sequence integration processing, and the data segment index numbers are uniformly arranged according to the network port sending order and column coordinate order to construct a continuous sequence structure and generate a distributed data sending sequence.
[0012] As a further aspect of the present invention, the specific steps of S5 are as follows: S501: Based on the distributed data transmission sequence, call the address value of the video memory start address register and the module resolution parameter to perform address calculation processing, perform address mapping on the data segment index number, establish the correspondence structure between the data segment and the video memory address, and generate a video memory address mapping index set. S502: According to the video memory address mapping index set, call the image pixel data sequence, perform address matching processing on the pixel data corresponding to the data segment index number, write the pixel data into the corresponding video memory address range, and arrange and organize them according to the address index order to generate the video memory write address sequence. S503: Based on the video memory write address sequence, call the latch signal LAT to perform data latch control processing, perform latch operation on the pixel data in the video memory address, and establish a corresponding relationship structure according to the address order to generate a distributed module video memory address sequence.
[0013] A distributed LED direct-view control system, comprising: The topology acquisition module obtains the horizontal and vertical coordinate values of the LED display modules in the Ethernet cascade topology, selects the coordinates of the top left module as the reference coordinates, performs coordinate difference calculation on the coordinates of the other modules, and pairs and arranges the horizontal and vertical offsets according to the RJ45 network port cascade order to generate a set of module distribution coordinate offsets. The coordinate index module obtains the whole frame image pixel data in the video transmission card frame buffer RAM based on the module distribution coordinate offset set, calculates the number of segments according to the horizontal resolution and the single module resolution width pixel value, numbers the starting pixel position of each data segment, and converts it into a two-dimensional coordinate index by combining row coordinates and column coordinates, and arranges them according to the transmission order to generate an image data segment coordinate queue. The data segment mapping module, based on the image data segment coordinate queue, performs interval matching calculations between the column coordinates of the data segments and the horizontal offsets in the module distribution coordinate offset set to determine the corresponding module number set. Then, it performs interval matching calculations between the row coordinates of the data segments and the vertical offsets of the corresponding modules. Based on the horizontal resolution pixel values and vertical resolution pixel values of the LED display modules, it performs boundary determination to complete the binding process between the data segment index number and the module number, and generates a data segment distribution mapping relationship table. The data segment reordering module uses the network port transmission sequence number as the sorting basis according to the data segment distribution mapping table, performs sequential reordering of the data segment index numbers according to the module number correspondence, and performs continuous arrangement processing in combination with the column coordinate order to obtain a distributed data transmission sequence. The video memory writing module calculates the address by calling the video memory start address register address value and the module resolution parameters based on the distributed data transmission sequence, writes the corresponding image pixel data into the receiving card video memory address, and performs data latching control in conjunction with the latch signal LAT to obtain the distributed module video memory address sequence.
[0014] Compared with the prior art, the advantages and positive effects of the present invention are as follows: In this invention, by establishing a module spatial offset relationship around the coordinate difference, the physical layout, cascading order and data starting position are uniformly associated, so that image distribution changes from fixed segmentation to matching with the actual layout, reducing misalignment and boundary crossing problems. The data plane position is clearly defined based on the two-dimensional coordinate index, and the horizontal and vertical offsets participate in the boundary determination to improve the addressing accuracy. The sequence is recombined according to the sending order and column coordinates, so that the connection order is consistent with the image unfolding, reducing adjustment costs. Combined with address calculation, data is directly written and latched, enhancing the determinism of data arrival and the continuity of display. Attached Figure Description
[0015] To more clearly illustrate the technical solutions in the embodiments of the present invention, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0016] Figure 1 This is a schematic diagram of the steps of the present invention; Figure 2 This is a detailed schematic diagram of S1 of the present invention; Figure 3 This is a detailed schematic diagram of S2 of the present invention; Figure 4 This is a detailed schematic diagram of S3 of the present invention; Figure 5 This is a detailed schematic diagram of S4 of the present invention; Figure 6 This is a detailed schematic diagram of S5 of the present invention; Figure 7 This is a system module diagram of the present invention. Detailed Implementation
[0017] The technical solution of the present invention will now be described with reference to the accompanying drawings.
[0018] To make the technical problems, technical solutions and advantages of the present invention clearer, a detailed description will be given below in conjunction with the accompanying drawings and specific embodiments.
[0019] Please see Figure 1 This invention provides a distributed LED direct-view display control method, comprising the following steps: S1: Obtain the horizontal and vertical coordinates of the LED display modules in the Ethernet cascaded topology, select the coordinates of the top left module as the reference coordinates, perform coordinate difference calculations on the coordinates of the remaining modules, pair and arrange the horizontal and vertical offsets according to the RJ45 network port cascade order, and generate a set of module distribution coordinate offsets. S2: Based on the module distribution coordinate offset set, obtain the whole frame image pixel data in the video transmission card frame buffer RAM, calculate the number of segments according to the horizontal resolution and the single module resolution width pixel value, number the starting pixel position of each data segment, and convert it into a two-dimensional coordinate index by combining row coordinates and column coordinates, arrange them according to the transmission order, and generate an image data segment coordinate queue. S3: Based on the image data segment coordinate queue, perform interval matching calculation between the column coordinates of the data segment and the horizontal offset in the module distribution coordinate offset set to determine the corresponding module number set. Then, perform interval matching calculation between the row coordinates of the data segment and the vertical offset of the corresponding module. Based on the horizontal resolution pixel value and the vertical resolution pixel value of the LED display module, perform boundary judgment to complete the binding process between the data segment index number and the module number, and generate a data segment distribution mapping table. S4: Based on the data segment distribution mapping table, the network port transmission sequence number is used as the sorting basis. The data segment index numbers are reorganized according to the module number correspondence and then continuously arranged in combination with the column coordinate order to obtain the distributed data transmission sequence. S5: Based on the distributed data transmission sequence, the address is calculated by calling the address value of the video memory start address register and the module resolution parameters. The corresponding image pixel data is written to the video memory address of the receiving card, and data latching control is performed in combination with the latch signal LAT to obtain the distributed module video memory address sequence.
[0020] The module distribution coordinate offset set includes the reference module identifier, horizontal offset sequence, vertical offset sequence, and network port concatenation pairing order; the image data segment coordinate queue includes the data segment number sequence, starting pixel number, row and column index unit, and transmission position mark; the data segment distribution mapping table includes the segment number module corresponding item, row domain belonging mark, column domain belonging mark, and boundary validity mark; the distributed data transmission sequence includes the network port transmission position, module splicing order, column-direction continuous sorting item, and reassembled segment data list; the distributed module memory address sequence includes the memory starting address unit, module address offset item, pixel write address item, and latch control bit.
[0021] Please see Figure 2 The specific steps of S1 are as follows: S101: Obtain the horizontal and vertical coordinates of the LED display modules in the Ethernet cascade topology, call the coordinate sequence to perform index rearrangement processing, map the module coordinates to the two-dimensional index structure, and extract the module coordinates corresponding to the index at the beginning of the sequence as a reference point to generate reference coordinates; Twelve LED display modules were selected and arranged in 4 columns and 3 rows. The dimensions of each module were 320 mm x 160 mm, and the pixel resolution was 128 pixels x 64 pixels. These values are within the range of common module specifications and transmission control bandwidth. During reading, empty coordinates, duplicate coordinates, and coordinates exceeding the page boundary were first removed. The coordinate duplication threshold was set to 2 mm, which was obtained from three sets of trial assembly data. When the threshold was 1 mm, two modules were misjudged as duplicates due to installation hole position errors. When the threshold was 3 mm, adjacent modules were merged. When the threshold was 2 mm, all 12 modules were correctly identified. Subsequently, the modules were rearranged column-first, mapping the first to 12 modules in the original acquisition sequence to a two-dimensional index. The first column index corresponds to rows 1 to 3, the second column index corresponds to rows 1 to 3, and so on, completing the mapping of all four columns. In this example, the measured coordinates of the top-left module are 0 mm horizontally and 0 mm vertically, the adjacent module to the right is 320 mm horizontally and 0 mm vertically, and the adjacent module below is 0 mm horizontally and 160 mm vertically. After completing the two-dimensional index, the coordinates of the top-left module corresponding to the sequence start index are extracted as reference coordinates, resulting in a horizontal reference value of 0 mm and a vertical reference value of 0 mm. To facilitate subsequent continuous calls, the reference coordinates and the two-dimensional index number are synchronously written into the initialization record. The record format uses three text fields—index number, horizontal reference value, and vertical reference value—stored sequentially. Table 1 Module Coordinates and Cascading Sequence
[0022] As shown in Table 1, the installation coordinates, two-dimensional indexes, and network port cascading order of the 12 modules have been written accordingly, and the same dataset will be continuously called in subsequent steps.
[0023] S102: Based on the reference coordinates, call the coordinate sequences of the other modules, perform coordinate difference calculation on the module coordinates, obtain the corresponding horizontal offset sequence and vertical offset sequence, and arrange them in a structured manner according to the index order to generate a coordinate offset difference matrix. The coordinates of the remaining 11 modules in Table 1 were retrieved one by one, and coordinate difference processing was performed with the aforementioned reference coordinates. The lateral offset was obtained by subtracting the lateral reference value from the lateral installation position of each module, and the longitudinal offset was obtained by subtracting the longitudinal reference value from the longitudinal installation position of each module. The results were rearranged according to the two-dimensional index order, no longer following the field acquisition order. In the example, the lateral installation position of the 5th module is 320 mm and the longitudinal installation position is 160 mm. After substituting the aforementioned lateral reference value of 0 mm and longitudinal reference value of 0 mm, the lateral offset of the 5th module is 320 mm and the longitudinal offset is 160 mm; the lateral offset of the 12th module is 960 mm and the longitudinal offset is 320 mm. To avoid installation errors affecting subsequent matching, a position adjustment was performed on all offsets. The adjustment reference was taken as 1.25% of the module's outer dimensions, the lateral adjustment threshold was taken as 4 mm, and the longitudinal adjustment threshold was taken as 2 mm. This threshold was obtained through six sets of assembly plate verification data. When the lateral error does not exceed 4 mm and the longitudinal error does not exceed 2 mm, the module seam remains within the allowable range for conventional assembly. Therefore, the offset within this range is rounded to the nearest integer multiple of 320 mm or 160 mm. In the example, if the measured longitudinal installation position of the 8th module is 161 mm, it is rounded to 160 mm. After rounding, a coordinate offset difference matrix of 4 columns and 3 rows is organized with the column number as the outer layer order and the row number as the inner layer order. Each matrix cell contains two data items: lateral offset and longitudinal offset, for subsequent pairing and retrieval. The first column of the matrix contains three longitudinal offset results: 0 mm, 160 mm, and 320 mm, and the last column contains three longitudinal offset results corresponding to 960 mm.
[0024] S103: Based on the coordinate offset difference matrix, call the RJ45 network port concatenation sequence, perform pairing and combination processing on the horizontal offset sequence and the vertical offset sequence, and rearrange the sequence according to the concatenation order to construct a unified sequence structure and generate a set of module distribution coordinate offsets. The coordinate offset difference matrix is paired one-to-one with the network port cascading sequence in Table 1. First, the horizontal offset of each module is read, then the corresponding vertical offset is read to form paired coordinate offset records. Then, the sequences are rearranged according to the network port cascading order. In this example, the first column contains three modules, cascaded in the field as Module 1, Module 2, and Module 3. The second column uses a reverse continuation, with the cascading order corresponding to Module 6, Module 5, and Module 4. Therefore, the first six items after rearrangement are written as follows: Horizontal 0 mm, Vertical 0 mm, Horizontal 0 mm, Vertical 160 mm, Horizontal 0 mm, Vertical 320 mm, Horizontal 320 mm, Vertical 320 mm, Horizontal 320 mm, Vertical 160 mm, Horizontal 320 mm, Vertical 0 mm. During rearrangement, the network port transmission sequence number is simultaneously written, which is used to directly determine the column and row intervals during subsequent image segment mapping. To prevent missing or duplicate numbers, the cascading sequence is first checked for continuity. The starting number is fixed at 1, and the ending number is fixed at 12; no skipped numbers are allowed. In this example, if a network port registration form mistakenly registers both module 11 and module 12 as the 10th position, the continuity check will immediately report the duplicate number and return to the previous pairing stage to reread the cabling registration, without proceeding to subsequent mapping. After verification, the 12 coordinate offset records are constructed into a unified sequence structure. Each record contains five items: network port transmission sequence number, horizontal offset, vertical offset, two-dimensional index column number, and two-dimensional index row number, forming a set of module distribution coordinate offsets. The 10th item in this set corresponds to module 12, recorded as the 10th position, 960 mm horizontally, 320 mm vertically, 4th column, and 3rd row.
[0025] Please see Figure 3 The specific steps of S2 are as follows: S201: Based on the module distribution coordinate offset set, obtain the whole frame image pixel data in the video transmission card frame buffer RAM, call the horizontal resolution parameter and the single module resolution width pixel value to perform segmentation calculation, divide the whole frame pixel data into structural parts and establish sequential number identifiers, associate the corresponding identifiers with the starting pixel positions, and generate the pixel segmentation starting index sequence. The entire screen consists of 4 columns and 3 rows of modules. Each module has a resolution of 128 pixels by 64 pixels, resulting in a horizontal resolution of 512 pixels and a vertical resolution of 192 pixels for the entire frame. This value falls within the processing capacity of a typical transmission controller for a single frame. When reading frame buffer data, an 8-bit color depth, sequentially arranged pixel stream is used as input. Each pixel entry carries three pieces of information: row position, column position, and color value. Then, the horizontal resolution parameter of 512 pixels and the single module resolution width of 128 pixels are used to process the number of segments, resulting in a single row being divided into 4 segments. The entire frame is then divided vertically into groups of 64 pixels, resulting in 3 rows. This forms a total of 12 image segments, each corresponding to the pixel coverage area of one module. To establish the correspondence between segment numbers and pixel starting positions, a linear numbering method is adopted, starting with rows and then columns. Segment 1 corresponds to the starting position of row 1, column 1 of the entire frame; segment 2 corresponds to row 65, column 1; segment 3 corresponds to row 129, column 1; segment 4 corresponds to row 129, column 129; and subsequent segment numbers are registered according to the network interface transmission order. If represented by linear pixel numbers, the starting number of segment 1 is 1, segment 2 is 32769, segment 3 is 65537, and segment 7 is 257. All segment numbers and their starting pixel positions are written into the pixel segment starting index sequence for direct use in subsequent two-dimensional coordinate conversions. Table 2 Image Segmentation Starting Index Table
[0026] Table 2 lists the starting positions of the 12 data segments after the entire frame image is divided. The segment number, starting row and column coordinates, and linear starting pixel number in the table are reused in subsequent steps.
[0027] S202: Based on the starting index sequence of pixel segments, call the starting pixel position identifier to perform coordinate mapping calculation processing, convert the linear pixel position into a combination structure of row coordinates and column coordinates, and reorganize it according to the pixel arrangement order to form an index set with two-dimensional structure attributes, generating a two-dimensional coordinate index set of image segments; The coordinate conversion is performed item by item according to the linear starting pixel indices in Table 2. No formula is written during the conversion; instead, the conversion is performed by accumulating forward based on a fixed width of 512 pixels per row for the entire frame: first, the number of rows completely occupied before a given linear starting pixel index is counted, and then the remaining pixel count is converted to the column position in the current row. In the example, the starting pixel index of the 5th linear segment is 32897. After subtracting the previous 64 rows (32768 pixels), the remainder is 129, thus determining its starting row coordinate as row 65 and its starting column coordinate as column 129. The starting pixel index of the 10th linear segment is 65921. After subtracting the previous 128 rows (65536 pixels), the remainder is 385, therefore its starting row coordinate is row 129 and its starting column coordinate is column 385. After all 12 data segments have been converted, they are reorganized into a two-dimensional index set arranged in pixel order. Each entry in the set contains five items: data segment number, starting row coordinates, ending row coordinates, starting column coordinates, and ending column coordinates. The ending row and column coordinates are obtained by superimposing the starting coordinates with the single-module resolution. In this example, the row span of each segment is fixed at 64 pixels, and the column span is fixed at 128 pixels. Therefore, the coverage area of the 5th segment is written as rows 65 to 128 and columns 129 to 256. To avoid boundary overflows, a full-frame range check is performed on all ending coordinates. Row coordinates must fall between 1 and 192, and column coordinates must fall between 1 and 512. If the ending column coordinate of a segment exceeds 512, the segment is marked as an out-of-bounds segment and will not be included in subsequent sequential matching. In this example, all 12 segments are within the valid range, thus obtaining a complete two-dimensional coordinate index set for image segments.
[0028] S203: Based on the two-dimensional coordinate index set of the image segment, call the transmission order parameter sequence to perform order matching processing, rearrange the two-dimensional coordinate index according to the transmission order and build a continuous arrangement structure to generate the image data segment coordinate queue; Read the corresponding module transmission order from Table 2, and then move the start and end row and column coordinates of the same data segment to that order. In this embodiment, the original two-dimensional index is arranged naturally from left to right and from top to bottom on the screen, while the transmission order parameter sequence adopts a serpentine concatenation. Therefore, the three data segments in the fourth column are not located at the end of the natural order of the sequence, but are inserted at the 10th, 11th, and 12th positions. In specific processing, the first position still takes the first segment, the second position takes the second segment, the third position takes the third segment, the fourth position takes the corresponding position of the fourth segment in the original natural order, the fifth position takes the fifth segment, the sixth position takes the sixth segment, and so on, taking the seventh, eighth, ninth, 12th, 11th, and 10th segments in sequence. After the rearrangement is completed, the start and end row and column coordinates of the same order are arranged into a continuous arrangement structure to form an image data segment coordinate queue. The fourth item in the queue is written as start row 129, end row 192, start column 129, and end column 256; the tenth item is written as start row 129, end row 192, start column 385, and end column 512. To verify the continuity of the queue, an adjacent sequence check is performed, requiring the sequence number to increase from 1 to 12 without any missing items. In this example, the 12 items are consecutive and complete, so the queue is directly sent to the subsequent interval matching. If the check shows that sequence 9 jumps directly to sequence 11, the missing sequence is registered as a transmission order anomaly, and the process is rolled back to the current segment for rearrangement and rereading of the transmission order parameter sequence.
[0029] Please see Figure 4 The specific steps of S3 are as follows: S301: Based on the image data segment coordinate queue, perform interval matching calculation processing on the column coordinates of the data segment and the horizontal offset in the module distribution coordinate offset set, call the column coordinate sequence and the horizontal offset sequence to determine the interval range, and perform classification numbering processing on the column coordinates of the data segment that meet the interval relationship, establish the correspondence between column coordinates and module numbers, and generate a column coordinate module matching set containing the module number set; To ensure a unified dimension between pixel column coordinates and the horizontal mounting position, the horizontal offset is first converted into column interval boundaries based on the correspondence between a single module width of 320 mm and a single module pixel width of 128 pixels. In this example, a horizontal offset of 0 mm corresponds to column coordinates 1 to 128, a horizontal offset of 320 mm corresponds to column coordinates 129 to 256, a horizontal offset of 640 mm corresponds to column coordinates 257 to 384, and a horizontal offset of 960 mm corresponds to column coordinates 385 to 512. Then, the starting and ending column coordinates of each segment in the image data segment coordinate queue are read to determine whether it falls completely within a certain horizontal column interval. The column coordinate interval of segment 8 is 257 to 384, so it is directly assigned to the 3rd column module group corresponding to a horizontal offset of 640 mm; the column coordinate interval of segment 11 is 385 to 512, so it is assigned to the 4th column module group corresponding to a horizontal offset of 960 mm. To handle boundary jitter, a column interval determination tolerance of 1 pixel is set. This value is determined through three sets of sent test data. When the tolerance is 0 pixels, some segments are judged as unmatched due to tail column deviation during segmentation. When the tolerance is 2 pixels, cross-column segments are incorrectly snapped together. When the tolerance is 1 pixel, all 12 segments are stably assigned to a unique column interval. After classification, a correspondence between column coordinates and module column numbers is established for each data segment, resulting in a column coordinate module matching set containing the module number set. In this set, the 4th data segment is associated with the 2nd column module, the 10th data segment is associated with the 4th column module, and different data segments within the same column are not distinguished by specific row positions for the time being, awaiting joint determination in the next segment.
[0030] S302: Based on the column coordinate module matching set containing the module number set, call the data segment row coordinate sequence in the image data segment coordinate queue, perform interval matching calculation on the row coordinate and the module vertical offset, and perform joint judgment in combination with the module number correspondence, bind the data segment index that meets the interval condition with the module number, and generate a data segment module association index set; The system reads the row coordinate intervals from the image data segment coordinate queue and performs a joint determination with the vertical offset intervals from the module distribution coordinate offset set. The vertical offset is also converted to row interval boundaries based on the correspondence between a module height of 160 mm and a single module pixel height of 64 pixels. In this example, a vertical offset of 0 mm corresponds to row coordinates 1 to 64, a vertical offset of 160 mm corresponds to row coordinates 65 to 128, and a vertical offset of 320 mm corresponds to row coordinates 129 to 192. During processing, the system first reads the column number that has been matched for a data segment, and then determines which row module its row coordinate interval falls into within that column. Taking the 5th data segment as an example, its column interval 129 to 256 already corresponds to the 2nd column module group. Then, its row interval 65 to 128 is read, and it is determined that it falls into the 2nd row module corresponding to a vertical offset of 160 mm. Therefore, this data segment is bound to the 2nd column, 2nd row module. Writing back to Table 1, we can obtain its corresponding module number as 5. Taking the fourth data segment as an example, its column range is 129 to 256, and its row range is 129 to 192. After joint determination, it is bound to the module in the second column and third row, corresponding to module number 6. To avoid misjudgment across rows, a 1-pixel tolerance is also set for the row range, and the starting and ending rows are required to fall within the same module row range. If either end exceeds the range, it is recorded as an unbound segment. In this embodiment, all 12 data segments are bound, generating a data segment module association index set. Each record contains five data items: data segment number, module number, column number, row number, and sending order.
[0031] S303: Based on the data segment module associated index set, call the horizontal resolution pixel value and the vertical resolution pixel value of the LED display module to perform boundary judgment processing, perform screening processing on the data segment index that does not meet the boundary range constraint, and perform number reorganization and binding to the remaining index to build a mapping structure and generate a data segment distribution mapping relationship table; The system calls the single-module horizontal resolution of 128 pixels and the single-module vertical resolution of 64 pixels to check whether the width and height of each data segment are consistent with the pixel coverage range of the module. In the example, the row range of the third data segment is 129 to 192, the row span is 64 pixels, the column range is 1 to 128, and the column span is 128 pixels, which is completely consistent with the single-module resolution, so it is retained; if an abnormal segment has a column span of 129 pixels or a row span of 63 pixels, it is directly recorded as not conforming to the boundary range constraint and filtered out. After the boundary check, a duplicate binding check is performed, requiring that one data segment can only correspond to one module number, and one module number can only receive one data segment number. In the example, the 12 modules and 12 data segments correspond one-to-one, with no duplicate binding or missing binding items. Then, the remaining indexes are reorganized according to the module number and written into a mapping structure table, with the field order fixed as module number, data segment number, transmission order, starting row coordinates, ending row coordinates, starting column coordinates, and ending column coordinates. Taking module number 11 as an example, the corresponding data segment number is 11, the transmission order is 11, the starting row is 65, the ending row is 128, the starting column is 385, and the ending column is 512. After reassembly, a data segment distribution mapping table is obtained. This table retains both the spatial distribution relationship of the modules and the transmission order relationship of the data segments. The subsequent sorting stage directly reads this table, without repeatedly scanning the image queue and coordinate offset set. The associated link remains a unidirectional continuous record from module number to data segment number to transmission order.
[0032] Please see Figure 5 The specific steps of S4 are as follows: S401: Based on the data segment distribution mapping table, the network port transmission sequence number is used as the sorting basis. The sequence matching calculation is performed on the correspondence between the data segment index number and the module number. The data segment index number is associated and reorganized according to the network port transmission sequence number, and a corresponding sequence relationship structure is established to generate a data segment sequence mapping sequence. Sort the data segments by transmission order from smallest to largest. If a segment has the same transmission order, check the network port cascading order in Table 1. If the segments still cannot be distinguished, the segment is removed from the current sorting. In this example, the transmission orders of the 12 segments are 1 to 12, with no duplicates, so the sorting result is directly determined. Then, the data segment number and corresponding module number under each transmission order are written side-by-side into the sequence relationship structure. The first position corresponds to data segment 1 and module 1, the fourth position corresponds to data segment 4 and module 6, and the tenth position corresponds to data segment 10 and module 12. The reason why module 6 is in the fourth position and module 12 is in the tenth position is because the network port cascading uses a serpentine cabling pattern, and the sorting stage completely follows the transmission order, no longer following the natural position on the screen. After sorting, an adjacent difference check is performed again, requiring that the difference between adjacent transmission orders is always 1. In this example, the difference between the 9th and 10th positions is 1, and the difference between the 10th and 11th positions is also 1, indicating that the sequence mapping is continuous. The resulting data segment sequence mapping sequence retains only three core fields: transmission order, data segment number, and module number, reducing the amount of data read during subsequent column alignment. The 6th record in this sequence contains the transmission order 6, data segment number 6, and module number 4.
[0033] S402: Based on the data segment sequential mapping sequence, call the column coordinate sequential sequence, perform column coordinate sequential alignment processing on the data segment index number, and continuously arrange and reorganize according to the column coordinate order to form an index structure with sequential association attributes, generating a column-order continuous index structure; The starting column coordinates of each data segment are read from the data segment distribution mapping table, and a column coordinate sequence is formed in ascending order. In this example, there are four column groups, with the order as follows: 1 to 128, 129 to 256, 257 to 384, and 385 to 512. The data segment sequence is then scanned line by line to determine the column group to which the current data segment belongs, and the data segments in the same column group are arranged consecutively according to their transmission order. In this example, column group 1 contains data segments 1, 2, and 3; column group 2 contains data segments 4, 5, and 6; and column group 4 contains data segments 10, 11, and 12. Because columns 2 and 4 have reverse connections in the field wiring, their internal order in the transmission order is maintained during column alignment, and they are not forcibly restored to their natural top-to-bottom order. After this processing, the second column group forms a continuous index block of data segments 4, 5, and 6, and the fourth column group forms a continuous index block of data segments 10, 11, and 12. These four continuous index blocks are then concatenated from left to right according to their column coordinates to obtain a column-order continuous index structure. In this structure, the first block corresponds to the outermost column on the left, and the fourth block corresponds to the outermost column on the right. To verify continuity, an incremental check is performed on the starting column coordinates of each column block, requiring that the starting column coordinates of the next column block increase by at least 128 pixels compared to the previous column block. In this example, the incremental relationship of 1, 129, 257, and 385 is satisfied, therefore the column-order continuous index structure is valid.
[0034] S403: Based on the column order continuous index structure, call the module number correspondence to perform overall sequential integration processing, arrange the data segment index numbers in a unified manner according to the network port sending order and column coordinate order, and construct a continuous sequence structure to generate a distributed data sending sequence; Read the three data segments and their module numbers from the first column block and write them according to the predetermined sending order; then read the corresponding relationships from the second, third, and fourth columns block and append them sequentially. In this embodiment, the first six items of the sequence are written as data segment 1 corresponding to module 1, data segment 2 corresponding to module 2, data segment 3 corresponding to module 3, data segment 4 corresponding to module 6, data segment 5 corresponding to module 5, and data segment 6 corresponding to module 4; the last six items are written as data segment 7 corresponding to module 7, data segment 8 corresponding to module 8, data segment 9 corresponding to module 9, data segment 10 corresponding to module 12, data segment 11 corresponding to module 11, and data segment 12 corresponding to module 10. This sequence retains both the column-direction continuity feature and the actual routing order, and can be directly used as the memory address mapping input. To verify whether the overall sequence is consistent with the aforementioned data segment distribution mapping table, a total quantity check and a uniqueness check are performed. The total quantity check requires a sequence length of 12, and the uniqueness check requires that each of the 12 data segment numbers and 12 module numbers appear once. In this embodiment, both checks passed, so the distributed data transmission sequence is permanently written into the transmission task buffer. If a module number is found to be missing during the check, for example, module 8 is not present, the corresponding column block is rolled back to S402 for realignment to prevent empty writes or incorrect writes during subsequent address writing.
[0035] Please see Figure 6 The specific steps of S5 are as follows: S501: Based on the distributed data transmission sequence, it calls the address value of the video memory start address register and the module resolution parameters to perform address calculation processing, performs address mapping on the data segment index number, establishes the correspondence structure between the data segment and the video memory address, and generates a video memory address mapping index set. The memory start address register value is set to address 0. The total number of pixels in a single module is calculated by multiplying 128 pixels horizontally and 64 pixels vertically, resulting in 8192 pixel storage units. If each pixel is written with 3 bytes of color data, the address span of a single module is 24576 bytes. During address mapping, the starting address of the first data segment is still address 0. The starting address of the second data segment is taken from the position after the span of the previous data segment, which is address 24576. The starting address of the third data segment is address 49152, and so on, with the starting address of the 12th data segment being address 270336. To verify whether this address span setting is within the achievable range of conventional control card storage organization, the total storage capacity of the entire screen is first calculated as 12 segments multiplied by 24576 bytes, resulting in 294912 bytes. This is then compared with the total number of bytes corresponding to the current frame of 512 by 192 pixels, with 3 bytes per pixel. The two are consistent, indicating that there are no missing segments or overlaps in the address mapping. If a higher color depth is used, the address span of a single segment will increase synchronously with the number of bytes per pixel. However, this embodiment maintains an 8-bit color depth to ensure consistency with the aforementioned frame buffer data. After the calculation is completed, each data segment number and its corresponding start and end addresses are written into the video memory address mapping index set. The address range of the 10th data segment is from address 221184 to address 245759. Table 3 Memory Address Mapping and Write Verification Table
[0036] As shown in Table 3, the memory address ranges of the 12 data segments are connected end to end without overlap, and the verification results after latching are all consistent.
[0037] S502: Based on the video memory address mapping index set, call the image pixel data sequence, perform address matching processing on the pixel data corresponding to the data segment index number, write the pixel data into the corresponding video memory address range, and arrange and organize it according to the address index order to generate the video memory write address sequence. The data is expanded sequentially according to the sending order, with each segment containing a fixed 24,576 bytes. Truncation across segments is not allowed. In this example, the first data segment extracts color data within the 128 x 64 pixel range of the top-left corner of the entire frame, and writes it sequentially to addresses 0 to 24575. The fifth data segment corresponds to the pixel data from row 65 to row 128 and column 129 to column 256 of the entire frame, and writes it to addresses 98304 to 122879. The twelfth data segment writes to addresses 270336 to 294911. To prevent misalignment, the amount of data extracted for each segment is first checked against the target address span of that segment, ensuring both are 24,576 bytes. If a segment has insufficient extracted data, partial writing is not performed; instead, the entire segment is returned to the image data segment coordinate queue for re-extraction. In this example, the number of bytes extracted for all 12 segments matches the address span, thus ensuring complete writing. After writing, an address sequence check is performed, requiring that the starting address of the next segment is exactly one address following the ending address of the previous segment. In this example, the ending address of segment 8 is address 196607, and the starting address of segment 9 is address 196608, thus establishing a continuity. This forms a video memory write address sequence, which stores five data items: data segment number, starting address, ending address, number of bytes written, and corresponding module number. These serve as direct inputs for subsequent latching processing.
[0038] S503: Based on the video memory write address sequence, the latch signal LAT is called to perform data latch control processing, perform latch operation on the pixel data in the video memory address, and establish a corresponding relationship structure according to the address order to generate a distributed module video memory address sequence. First, latch data segment 1 corresponding to addresses 0 to 24575, then latch data segments 2 to 12 sequentially. Before latching, check the write completion flag for each segment; address segments that have not been written are not allowed to be latched. After latching is triggered, immediately read back the first address, last address, and one intermediate sampling address of the corresponding address range, and check whether the content of the color byte is consistent with the byte at the same position in the write cache. Taking the 10th data segment as an example, before latching, the starting address of this segment is address 221184 and the ending address is address 245759. Sampling addresses 221184, 233472, and 245759, and checking the read back values, if they are consistent with the write cache, then the 10th segment is marked as latched successfully. After all 12 segments are completed, establish the correspondence between address segments and module numbers according to address order, forming a distributed module display memory address sequence. In this sequence, module 12 corresponds to addresses 221184 to 245759, and module 10 corresponds to addresses 270336 to 294911. Combined with the latched verification results in Table 3, all 12 segments show consistency, indicating that a continuous closed correspondence has been formed between the aforementioned data segment numbers, module numbers, and display memory addresses. Subsequent display output will directly follow this sequence.
[0039] Please see Figure 7 A distributed LED direct-view control system, comprising: The topology acquisition module obtains the horizontal and vertical coordinate values of the LED display modules in the Ethernet cascade topology, selects the coordinates of the top left module as the reference coordinates, performs coordinate difference calculation on the coordinates of the other modules, and pairs and arranges the horizontal and vertical offsets according to the RJ45 network port cascade order to generate a set of module distribution coordinate offsets. The coordinate index module obtains the pixel data of the entire frame image in the frame buffer RAM of the video transmission card based on the module distribution coordinate offset set. It calculates the number of segments according to the horizontal resolution and the pixel value of the single module resolution width. It numbers the starting pixel position of each data segment and converts it into a two-dimensional coordinate index by combining row coordinates and column coordinates. The coordinates are arranged according to the transmission order to generate an image data segment coordinate queue. The data segment mapping module, based on the image data segment coordinate queue, performs interval matching calculations between the column coordinates of the data segment and the horizontal offset in the module distribution coordinate offset set to determine the corresponding module number set. Then, it performs interval matching calculations between the row coordinates of the data segment and the vertical offset of the corresponding module. Based on the horizontal resolution pixel value and the vertical resolution pixel value of the LED display module, it performs boundary determination, completes the binding process between the data segment index number and the module number, and generates a data segment distribution mapping relationship table. The data segment reordering module uses the network port transmission sequence number as the sorting basis according to the data segment distribution mapping table. It reorders the data segment index numbers according to the module number correspondence and performs continuous arrangement processing in combination with the column coordinate order to obtain the distributed data transmission sequence. The video memory writing module is based on the distributed data transmission sequence. It calls the address value of the video memory start address register and the module resolution parameters to calculate the address, writes the corresponding image pixel data to the video memory address of the receiving card, and combines the latch signal LAT to perform data latch control and obtain the distributed module video memory address sequence.
[0040] 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 variations or substitutions that can be easily conceived by those skilled in the art within the technical scope disclosed in the present invention should be included 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 distributed LED direct display control method, characterized in that, Includes the following steps: S1: Obtain the horizontal and vertical coordinates of the LED display modules in the Ethernet cascaded topology, select the coordinates of the top left module as the reference coordinates, calculate the coordinate differences of the remaining modules, pair the horizontal and vertical offsets according to the RJ45 network port cascade order, and generate a set of module distribution coordinate offsets. The specific steps of S1 are as follows: S101: Obtain the horizontal and vertical coordinates of the LED display modules in the Ethernet cascade topology, call the coordinate sequence to perform index rearrangement processing, map the module coordinates to the two-dimensional index structure, and extract the module coordinates corresponding to the index at the beginning of the sequence as a reference point to generate reference coordinates; S102: Based on the reference coordinates, call the coordinate sequences of the remaining modules, perform coordinate difference calculation on the module coordinates, obtain the corresponding horizontal offset sequence and vertical offset sequence, and arrange them in a structured manner according to the index order to generate a coordinate offset difference matrix. S103: Based on the coordinate offset difference matrix, call the RJ45 network port concatenation sequence, perform pairing and combination processing on the horizontal offset sequence and the vertical offset sequence, and rearrange the sequence according to the concatenation order to construct a unified sequence structure from the pairing results and generate a module distribution coordinate offset set. S2: Based on the module distribution coordinate offset set, obtain the whole frame image pixel data in the video transmission card frame buffer RAM, calculate the number of segments, number the starting pixel position of each data segment, convert the number of the starting pixel position into row coordinates and column coordinates and combine them to form a two-dimensional coordinate index, arrange them according to the transmission order, and generate an image data segment coordinate queue. The specific steps of S2 are as follows: S201: Based on the module distribution coordinate offset set, obtain the whole frame image pixel data in the video transmission card frame buffer RAM, call the horizontal resolution parameter and the single module resolution width pixel value to perform segmentation number calculation processing, divide the whole frame pixel data into structural parts and establish sequential number identifiers, associate the corresponding identifiers with the starting pixel positions, and generate pixel segmentation starting index sequence. S202: Based on the pixel segment starting index sequence, call the starting pixel position identifier to perform coordinate mapping calculation processing, convert the linear pixel position into a combination structure of row coordinates and column coordinates, and reorganize it according to the pixel arrangement order to form an index set with two-dimensional structure attributes, and generate an image segment two-dimensional coordinate index set. S203: Based on the image segment two-dimensional coordinate index set, call the sending order parameter sequence to perform order matching processing, rearrange the two-dimensional coordinate indexes according to the sending order and construct a continuous arrangement structure to generate an image data segment coordinate queue; S3: Based on the image data segment coordinate queue, perform interval matching calculation between the column coordinates of the data segment and the horizontal offset in the module distribution coordinate offset set to determine the module number set, perform interval matching calculation between the row coordinates of the data segment and the vertical offset of the corresponding module, perform boundary judgment based on the horizontal resolution pixel value and vertical resolution pixel value of the LED display module, bind the data segment index number and the module number, and generate a data segment distribution mapping relationship table. The specific steps for S3 are as follows: S301: Based on the image data segment coordinate queue, perform interval matching calculation processing on the column coordinates of the data segments and the horizontal offset in the module distribution coordinate offset set, call the column coordinate sequence and the horizontal offset sequence to determine the interval range, and perform classification numbering processing on the column coordinates of the data segments that satisfy the interval relationship, establish the correspondence between column coordinates and module numbers, and generate a column coordinate module matching set containing the module number set; S302: Based on the column coordinate module matching set containing the module number set, call the data segment row coordinate sequence in the image data segment coordinate queue, perform interval matching calculation processing on the row coordinate and the module vertical offset, and perform joint judgment in combination with the module number correspondence, bind the data segment index that meets the interval condition with the module number, and generate a data segment module association index set; S303: Based on the data segment module associated index set, call the horizontal resolution pixel value and the vertical resolution pixel value of the LED display module to perform boundary judgment processing, perform screening processing on the data segment indexes that do not meet the boundary range constraints, and perform number reorganization and binding to the remaining indexes to build a mapping structure and generate a data segment distribution mapping relationship table; S4: Based on the data segment distribution mapping table, call the network port transmission sequence number, reorganize the data segment index number according to the module number correspondence, and arrange them in order of column coordinates to obtain the distributed data transmission sequence; The specific steps of S4 are as follows: S401: Based on the data segment distribution mapping relationship table, the network port transmission sequence number is called as the sorting basis, and the sequence matching calculation processing is performed on the correspondence between the data segment index number and the module number. The data segment index number is associated and recombined according to the network port transmission sequence number, and a corresponding sequence relationship structure is established to generate a data segment sequence mapping sequence. S402: Based on the data segment sequential mapping sequence, call the column coordinate sequential sequence, perform column coordinate sequential alignment processing on the data segment index number, and continuously arrange and reorganize according to the column coordinate order to form an index structure with sequential association attribute, and generate a column-order continuous index structure. S403: Based on the column sequence continuous index structure, call the module number correspondence to perform overall sequence integration processing, arrange the data segment index numbers in a unified manner according to the network port sending order and column coordinate order, and construct a continuous sequence structure to generate a distributed data sending sequence; S5: Based on the distributed data transmission sequence, the address is calculated by calling the address value of the video memory start address register and the module resolution parameters, generating a distributed module video memory address sequence, and writing the image pixel data into the receiving card video memory address according to the sequence, and performing data latching control in conjunction with the latch signal LAT. The specific steps of S5 are as follows: S501: Based on the distributed data transmission sequence, call the address value of the video memory start address register and the module resolution parameter to perform address calculation processing, perform address mapping on the data segment index number, establish the correspondence structure between the data segment and the video memory address, and generate a video memory address mapping index set. S502: According to the video memory address mapping index set, call the image pixel data sequence, perform address matching processing on the pixel data corresponding to the data segment index number, write the pixel data into the corresponding video memory address range, and arrange and organize them according to the address index order to generate the video memory write address sequence. S503: Based on the video memory write address sequence, call the latch signal LAT to perform data latch control processing, perform latch operation on the pixel data in the video memory address, and establish a corresponding relationship structure according to the address order to generate a distributed module video memory address sequence.
2. A distributed LED direct display control system, characterized by, The system is used to implement the distributed LED direct display control method according to claim 1, the system comprising: The topology acquisition module obtains the horizontal and vertical coordinate values of the LED display modules in the Ethernet cascade topology, selects the coordinates of the top left module as the reference coordinates, performs coordinate difference calculation on the coordinates of the other modules, and pairs and arranges the horizontal and vertical offsets according to the RJ45 network port cascade order to generate a set of module distribution coordinate offsets. The coordinate index module obtains the whole frame image pixel data in the video transmission card frame buffer RAM based on the module distribution coordinate offset set, calculates the number of segments according to the horizontal resolution and the single module resolution width pixel value, numbers the starting pixel position of each data segment, and converts it into a two-dimensional coordinate index by combining row coordinates and column coordinates, and arranges them according to the transmission order to generate an image data segment coordinate queue. The data segment mapping module, based on the image data segment coordinate queue, performs interval matching calculations between the column coordinates of the data segments and the horizontal offsets in the module distribution coordinate offset set to determine the corresponding module number set. Then, it performs interval matching calculations between the row coordinates of the data segments and the vertical offsets of the corresponding modules. Based on the horizontal resolution pixel values and vertical resolution pixel values of the LED display modules, it performs boundary determination to complete the binding process between the data segment index number and the module number, and generates a data segment distribution mapping relationship table. The data segment reordering module uses the network port transmission sequence number as the sorting basis according to the data segment distribution mapping table, performs sequential reordering of the data segment index numbers according to the module number correspondence, and performs continuous arrangement processing in combination with the column coordinate order to obtain a distributed data transmission sequence. The video memory writing module calculates the address by calling the video memory start address register address value and the module resolution parameters based on the distributed data transmission sequence, writes the corresponding image pixel data into the receiving card video memory address, and performs data latching control in conjunction with the latch signal LAT to obtain the distributed module video memory address sequence.
Citation Information
Patent Citations
Image data transmission method and device, display controller and display screen control system
CN113270060A
Method and system for determining connection relation of spliced display screens
CN119234266A
