A Dotting Method and Device for LED Display Screens Based on Microinstructions
By dividing the display area of the LED display screen and establishing a column signal address table and a row sweep sequence table, and using micro-instructions to read data cyclically for slicing points, the problems of large memory usage and low efficiency in the existing technology are solved, and support for modules of different manufacturers and models and memory consumption are reduced.
Patent Information
- Application Number
- CN202211134101.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-09-16
- Publication Date
- 2025-07-25
- Estimated Expiration
- 2042-09-16
AI Technical Summary
The existing LED display pointing method occupies a large amount of memory space and consumes a large memory bandwidth and is inefficient. It cannot effectively support modules of different manufacturers and models to have different LED light bead arrangement methods.
By dividing the display area of the LED display screen, establishing a column signal address table, generating a row sweep order table and a row sweep trace table, and using micro-instructions to read the data in these tables to trace points, reducing memory consumption.
It realizes supporting various lamp bead arrangement methods between modules of different manufacturers and models, reducing memory consumption and improving point-tracing efficiency.
Smart Images

Figure CN115394242B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of LED display, and particularly relates to a method and device for dotting an LED display screen based on microinstructions. Background Art
[0002] At present, with the development of technology and the progress of society, LED display screens are more and more widely used in daily life. The commonly used LED display screen control system mainly includes a video source, a video processor, a sending card, a scanning card, and an LED display screen connected in sequence. The scanning card is generally installed in the LED box in cooperation with a HUB board (also called an adapter board). At the same time, the HUB ports on the HUB board are connected to multiple LED light board modules through cables or pins for cascaded display, thus forming an LED box, and multiple LED boxes are then spliced into an LED display screen.
[0003] To light up the existing LED display screen, an image display driving signal needs to be output by the scanning card, then data grouping and signal driving enhancement are performed through the HUB board, and then the HUB board is connected to the LED light board module through a cable or other connectors to light up. At the same time, some chips or functional modules with monitoring functions on the LED light board module also need to communicate with the scanning card through a cable and the HUB board, so as to transmit the monitoring information back to the scanning card end, and then be transmitted back to the host computer software through the scanning card for display to the user.
[0004] The display method of the existing LED display screen is generally implemented by the dotting method. Specifically, the dotting table records the address information of each point in a module. When the system is initialized, this dotting table is copied n times into the memory and expanded into the dotting table of the entire LED screen. When the screen is refreshed, each pixel accesses the dotting table once. The existing dotting method is equivalent to needing to record the dotting data of an entire LED screen, which will occupy a large amount of memory space, and each time the data of each point needs to be accessed before reading, which will consume a large amount of memory bandwidth and have low efficiency. Summary of the Invention
[0005] In order to solve at least one of the technical problems in the prior art, embodiments of the present invention provide a method and device for dotting an LED display screen based on microinstructions.
[0006] In a first aspect, an embodiment of the present invention provides a method for dotting an LED display screen based on microinstructions. The LED display screen is formed by splicing multiple identical modules. One hub is connected in series with multiple modules, and the modules connected in series by multiple hubs are spliced into an LED display screen. The method includes: dividing a display area of the display screen; establishing a column signal address table based on each display area; performing a row signal test on the display screen to generate a row scan sequence table; performing a test on the wiring of the display screen to generate an in-row wiring table; circularly reading data in the column signal address table, the row scan sequence table, and the in-row wiring table based on a preset microinstruction code; and refreshing the screen by reading image information based on the data.
[0007] Further, the dividing the display area of the display screen includes: evenly dividing the display screen into multiple display areas; each hub controls a string of modules, and the hub includes at least one set of column signals, and each set of column signals controls one display area.
[0008] Further, the establishing the column signal address table based on each display area includes: sequentially controlling the display area controlled by each column signal; determining the pixel address of the upper left corner of the display area controlled by each column signal; and saving the pixel address of the upper left corner corresponding to the display area controlled by each column signal as the column signal address table.
[0009] Further, the performing the row signal test on the display screen to generate the row scan sequence table includes: generating the row scan sequence table based on which row of lamp beads is actually controlled by a certain row signal on the module; wherein, the row scan sequence table includes one set of row scan sequence tables or multiple sets of row scan sequence tables; when the row scan signals of the upper and lower regions of a module are the same, the row scan sequence table is one set; when the row scan signals of the upper and lower regions of a module are different, the row scan sequence table is multiple sets.
[0010] Further, the performing the test on the wiring of the display screen to generate the in-row wiring table includes: the in-row wiring table only needs to record the wiring information of one module; testing by sequentially lighting the lamp beads of the module, and determining the wiring information of the module based on the lighting of each lamp bead; the wiring information includes one or a combination of whether to read in reverse order, at which fold line, the number of pixels read, and the starting pixel address in the fold line.
[0011] Further, the step of cyclically reading data in the hub address table, the line scanning sequence table, and the in-line trace table based on a preset micro-instruction code includes: S1: Loading the i-th column signal address from the column signal table into the module register R0, where i belongs to (0, n - 1), and n is the number of column signals; S2: Loading the address of line scan j from the line scanning sequence table into the module register R1, where j belongs to (0, m - 1), and m is the number of row signals; S3: Loading the trace information of the k-th data from the trace table, and respectively storing the information on which fold line, the number of pixels read, and the starting pixel address in the fold line into the module register R2, the module register R3, and the module register R4; S4: Generating a memory address based on the information stored in the module register R0, the module register R1, the module register R2, and the module register R4; S5: The microkernel reads the pixel number data in the in-line trace table of the line scan into the cache; S6: Repeating the above steps S1 - S5 until multiple pixel data are read into the cache for each area corresponding to each group of column signals; S7: Taking the first pixel data from each group of caches and forming a group of continuous data of 16 * pb bytes and writing it into the frame buffer. The frame buffer is in the sdram frame buffer, where pb is the number of bytes included in each pixel; S8: Repeating step S7, reading the second pixel data and writing it into the sdram frame buffer, and repeating until all pixel data in the cache are written into the sdram frame buffer; S9: When k is incremented, repeating steps S3 - S8 until the entire trace table is read. At this time, all pixel data of the same line scan are written into the sdram frame buffer; S10: When j is incremented, repeating steps S1 - S9 until the entire line scanning sequence table is read. At this time, all data of one frame are written into the sdram frame buffer.
[0012] Further, the method further includes: the hardware automatically indexes the hub address table in the sram according to the i value; and / or the hardware automatically indexes the line scanning sequence table in the sram according to the j value; and / or the hardware automatically indexes the in-line trace table in the sram according to the k value.
[0013] Second aspect, an embodiment of the present invention provides a micro-instruction based LED display dotting device. The LED display is composed of multiple identical modules spliced together, where one hub is connected in series with multiple modules, and the modules connected in series by multiple hubs are spliced into an LED display. The device includes: a division module, adapted to divide the display area of the display; a column signal address table establishment module, adapted to establish a column signal address table based on each display area; a row scan sequence table generation module, adapted to perform a row signal test on the display to generate a row scan sequence table; a row scan internal wiring table generation module, adapted to perform a wiring test on the display to generate a row scan internal wiring table; a cyclic reading module, adapted to cyclically read data in the column signal address table, the row scan sequence table, and the row scan internal wiring table based on a preset micro-instruction code; and a screen refreshing module, adapted to read image information based on the data for screen refreshing.
[0014] Third aspect, a computer-readable storage medium is provided. One or more instructions are stored in the computer-readable storage medium, and the computer instructions are used to cause the computer to execute the above-mentioned micro-instruction based LED display dotting method.
[0015] Fourth aspect, an electronic device is provided, which is characterized by including: a memory and a processor; at least one program instruction is stored in the memory; and the processor loads and executes the at least one program instruction to implement the above-mentioned micro-instruction based LED display dotting method.
[0016] The beneficial effects brought by the technical solution provided by the embodiment of the present invention are as follows: A micro-instruction based LED display dotting method is provided. The LED display is composed of multiple identical modules spliced together, where one hub is connected in series with multiple modules, and the modules connected in series by multiple hubs are spliced into an LED display. The method includes: dividing the display area of the display; establishing a column signal address table based on each display area; performing a row signal test on the display to generate a row scan sequence table; performing a wiring test on the display to generate a row scan internal wiring table; cyclically reading data in the column signal address table, the row scan sequence table, and the row scan internal wiring table based on a preset micro-instruction code; and reading image information based on the data for screen refreshing. By configuring the hub address table, the row scan sequence table, and the row scan internal wiring table for the LED display controller, and combining the above-mentioned dotting tables based on a preset micro-instruction, the problem that different manufacturers and different models of modules have different LED lamp bead arrangements can be solved. By adopting this method, various lamp bead arrangements can be supported and memory consumption can be reduced. Description of the Drawings
[0017] To more clearly illustrate the technical solutions in the embodiments of the present invention, the following will briefly introduce the drawings required for the description of the embodiments. Obviously, the drawings in the following description are only some embodiments of the present invention. For those of ordinary skill in the art, without creative efforts, other drawings can be obtained based on these drawings.
[0018] Figure 1 is a flowchart of a method for dotting an LED display screen based on microinstructions provided by an embodiment of the present invention;
[0019] Figures 2a - 2b is a schematic diagram of controlling one LED screen by multiple hub interfaces provided by an embodiment of the present invention;
[0020] Figure 3 is a schematic diagram of the arrangement of lamp beads on a module provided by an embodiment of the present invention;
[0021] Figure 4 is a schematic diagram of a device for dotting an LED display screen based on microinstructions provided by an embodiment of the present invention;
[0022] Figure 5 is a partial block diagram of an electronic device provided by an embodiment of the present invention. Detailed implementation manners
[0023] To make the objectives, technical solutions and advantages of the present invention clearer, the following will further describe the embodiments of the present invention in detail with reference to the drawings.
[0024] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by those of ordinary skill in the technical field of the present invention; the terms used in the description of the present invention in this specification are only for the purpose of describing specific embodiments, and are not intended to limit the present invention. For example, the terms "length", "width", "upper", "lower", "left", "right", "front", "rear", "vertical", "horizontal", "top", "bottom", "inner", "outer", etc. indicate the orientation or position based on the orientation or position shown in the drawings, and are only for convenience of description and cannot be construed as a limitation to the technical solution of the present invention.
[0025] The terms "including" and "having" and any variations thereof in the description and claims of the present invention and the above-mentioned drawings are intended to cover non-exclusive inclusion; the terms "first", "second", etc. in the description and claims of the present invention or the above-mentioned drawings are used to distinguish different objects, rather than to describe a specific order. The meaning of "a plurality" is two or more, unless otherwise specifically defined.
[0026] In addition, the mention of "embodiment" in this document means that the specific features, structures, or characteristics described in connection with the embodiment can be included in at least one embodiment of the present invention. The appearance of this phrase at various positions in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein can be combined with other embodiments.
[0027] The following are the explanations of the terms that may appear in the following embodiments:
[0028] Hub: There are row signals, column signals, clock signals, enable signals, etc. on one hub. Generally, multiple modules are connected in series by one hub, and the modules connected in series by multiple hubs are spliced into an LED display screen.
[0029] Row signal and column signal: Whether the lamp beads on the LED module are on or off is jointly controlled by the row signal and the column signal. One row signal controls the positive (negative) poles of all the lamps on that row, and the negative (positive) poles of these lamps are simultaneously connected to all the column signals. For example, if the first row signal is enabled and the second column signal is enabled at the same time, the second lamp in the first row will light up.
[0030] Routing: Routing refers to the arrangement of the lamp beads on the module. One row signal does not necessarily drive one row of lamp beads. It may also drive two rows or four rows. In this case, the number of column signals is twice or four times the number of lamp beads in one row.
[0031] Sram: (Static Random-Access Memory), synchronous static random access memory.
[0032] Sdram: (synchronous dynamic random-access memory), synchronous dynamic random access memory.
[0033] For the convenience of subsequent understanding, the display principle of the LED display screen is explained as follows:
[0034] The LED display screen is composed of multiple identical modules spliced together. One hub is connected in series with multiple modules, and the modules connected in series by multiple hubs are spliced into an LED display screen. There are row signals, column signals, clock signals, enable signals, etc. on one hub (here we only focus on row and column signals). Generally, one hub is connected in series with multiple modules, and the modules connected in series by multiple hubs are spliced into an LED display screen. The row signals on all hubs are the same, that is, a complete LED display screen has only one set of row signals, and the column signals of each hub are independent, and they send different data synchronously according to the clock signal. Generally, one hub has two sets of column signals. As shown in Figure 2, it is a schematic diagram of multiple hub interfaces controlling an LED screen (in a specific display screen, the hub order is not fixed and will be connected arbitrarily in actual applications). There are 8 hubs in the figure, and each hub has 256*64 points, that is, each hub contains 256 row points and 64 column points, and there are 2 hubs in one row.
[0035] Reference Figure 1 , which shows a flowchart of a method for dot description of an LED display screen based on microinstructions according to the present invention. The method includes:
[0036] S110: Divide the display area of the display screen.
[0037] As an example, divide the display screen into multiple display areas evenly; each hub controls a string of modules, and there is at least one set of column signals on the hub, and each set of column signals controls a display area.
[0038] Specifically, the LED display screen can be evenly divided into multiple areas, such as Figure 2a shown, then the LED display screen is divided into 8 evenly divided areas, and each area is controlled by one hub.
[0039] S120: Establish a column signal address table based on each display area.
[0040] As an example, the establishing a column signal address table based on each display area includes: controlling the display area of each column signal in sequence; determining the pixel address of the upper left corner of the display area controlled by each column signal; saving the pixel address of the upper left corner corresponding to the display area controlled by each column signal as the column signal address table.
[0041] Specifically, such as Figure 2bAs shown, each hub controls a string of modules. There is one or two groups of column signals on the hub. The following uses "col signal" to represent the column signal. (For full-color display, one group of col signals includes three signals: RGB). Each group of col signals controls a rectangular display area. In the figure, an example of a hub with two groups of col signals is shown. The col address table stores the pixel address of the upper left corner of the rectangular area it controls. By controlling the control card to fully light up the lamp beads on the first column signal, the pixel address of the upper left corner of the area controlled by the first column signal can be obtained. Then, by controlling the control card to fully turn off the lamp beads on the first column signal and fully light up the lamp beads on the second column signal, the pixel address of the upper left corner of the area controlled by the second column signal can be obtained, and so on. By separately controlling all the lamp beads in the areas controlled by each column signal to light up, the pixel addresses of the upper left corners of the areas controlled by all column signals can be obtained, and the column signal address table stored at these pixel addresses can be obtained.
[0042] S130: Perform a row signal test on the display screen to generate a row scan sequence table.
[0043] As an example, performing a row signal test on the display screen to generate a row scan sequence table includes: generating a row scan sequence table based on which row of lamp beads is actually controlled by a certain row signal on the module; where the row scan sequence table includes one group of row scan sequence tables or multiple groups of row scan sequence tables; when the row scan signals of the upper and lower regions of a module are the same, the row scan sequence table is one group; when the row scan signals of the upper and lower regions of a module are different, the row scan sequence table is multiple groups.
[0044] Specifically, since each module configured in the same LED display screen is the same, the wiring data for each row scan is the same, and the number of modules driven by each hub is the same, only one module needs to be tested during the generation of the row scan sequence table. The control card is used to control the first row to light up, and then observe which row of lamp beads is lit and record it to obtain the row scan sequence table. That is, the row scan sequence table stores which row of lamp beads is actually controlled by the 0th to n - 1th row signals on the module. Generally, a module is divided into upper and lower regions, and the regions are controlled by different groups of column signals. When the row scan signals of the upper and lower regions are the same, only one row scan sequence table needs to be established. When the row scan signals of the upper and lower regions are different, there are also different row scan sequences, so multiple groups of row scan sequence tables are also required.
[0045] S140: Perform a test on the display screen wiring to generate a row scan internal wiring table.
[0046] As an example, the generation of the in-line scan routing table for the display panel routing includes: the in-line scan routing table only needs to record the routing information of one module; by sequentially lighting the light beads of the module for testing, the routing information of the module is determined based on the lighting of each light bead; the routing information includes one or a combination of whether to read in reverse order, at which fold line, the number of pixels read, and the starting pixel address in the fold line.
[0047] Specifically, for the in-line scan routing table using run-length encoding, the routing table only needs to record the routing information of one module. The unit data format in the routing table is as follows: one data occupies 32 bits, that is, 4 bytes:
[0048]
[0049] As Figure 3 shown, the figure is a module of 32 * 32 pixels (one module is divided into the upper half screen and the lower half screen, controlled by two groups of column signals. Only the upper half screen is illustrated in the above figure, one group of column signals), controlled by 8 row signals. At this time, one row signal is connected in series with 64 lights in the upper half screen (there are 64 column signals), and the routing method is as shown in the figure. When displaying, the control circuit first sends 64 pixel data to the column signals to light up (the column signals of the lower half screen send 64 data synchronously, so 128 lights are lit simultaneously in one row scan), and then sends the second row scan to light up, and so on for dynamic refresh. The human eye can see a picture of 32 * 32 size. In order to display the picture normally, the control circuit needs to read the picture data according to the routing method of the module. It is necessary to first read the first 8 pixels (1 - 8) of the first row in the picture and send them to the column signals, then read the first 8 pixels (9 - 16) of the 9th row and send them, then read the last 8 pixels (17 - 24) of the first row and send them, and then read the last 8 pixels (25 - 32) of the 9th row and send them. Among them, line is the fold line number, and the corresponding data is: 0 (pixels 1 - 8 are in the 0th fold line); 1 (pixels 9 - 16 are in the 1st fold line); 0 (pixels 17 - 24 are in the 0th fold line); 1 (pixels 25 - 32 are in the 1st fold line). Size is the number of pixels read, and the Size corresponding to the data in Figure 3 is 8. Addr is the starting pixel address in the fold line, and the Addr corresponding to the data in Figure 3 is 0. The reverse value affects the behavior when the read instruction is executed next time (0 means sequential reading, 1 means reverse reading), and the reverse value in Figure 3 is 0.
[0050] It can be seen that since the data volume in the above three tables is very small, it can be stored in the sram, and the reading efficiency is further improved.
[0051] S150: Read the data in the column signal address table, row scan sequence table, and internal row scan wiring table cyclically based on a preset micro-instruction code.
[0052] S160: Refresh the screen based on the image information read from the data.
[0053] As an example, the cyclically reading the data in the column signal address table, row scan sequence table, and internal row scan wiring table based on a preset micro-instruction code includes:
[0054] S1: Load the i-th column signal address from the column signal table into module register R0, where i belongs to (0, n - 1) and n is the number of column signals;
[0055] S2: Load the address of row scan j from the row scan sequence table into module register R1, where j belongs to (0, m - 1) and m is the number of row signals;
[0056] S3: Load the wiring information of the k-th data from the wiring table, and save the information on which fold line, the number of pixels read, and the starting pixel address in the fold line into module register R2, module register R3, and module register R4 respectively;
[0057] S4: Generate a memory address based on the information saved in module register R0, module register R1, module register R2, and module register R4;
[0058] S5: The microkernel reads the data of the number of pixels in the internal row scan wiring table into the cache;
[0059] S6: Repeat the above steps S1 - S5 until multiple pixel data are read into the cache for each area corresponding to a group of column signals;
[0060] S7: Take the first pixel data from each group of caches and form a group of continuous data of 16 * pb bytes and write it into the refresh cache. The refresh cache is in the sdram refresh cache, where pb is the number of bytes contained in each pixel;
[0061] S8: Repeat step S7, read the second pixel data and write it into the sdram refresh cache, and repeat until all the pixel data in the cache are written into the sdram refresh cache;
[0062] S9: When k is incremented, repeat steps S3 - S8 until the entire wiring table is read. At this time, all the pixel data of the same row scan are written into the sdram refresh cache;
[0063] S10: When j is incremented, repeat steps S1 - S9 until the entire row scan sequence table is read. At this time, all the data of one frame are written into the sdram refresh cache.
[0064] Specifically, the microinstructions include the following:
[0065] S1: LDCr0,i;
[0066] Load the i-th col address from the column signal table into module register R0, and the hardware automatically indexes the col table in sram according to the i value (the same applies to other tables).
[0067] S2: LDROW r1,r0,j;
[0068] Load the address of row scan j from the row scan sequence table to module register R1. R0 value is used as a parameter to indicate which group of row scan sequence tables the hardware should take the value from. When R0 is an even number, it should take the value from the first group of tables; when R0 is an odd number, it should take the value from the second group of tables.
[0069] S3: LDT line,size,addr,k;
[0070] k—loads the kth data from the routing table, where line, size, and addr are saved to the module's three registers R2-R4 respectively; line indicates the line in which the data is folded; size indicates the number of pixels to read; addr indicates the starting pixel address in the line; the reverse value affects the behavior of the next read instruction (0 for sequential reading and 1 for reverse reading).
[0071] S4: Calculate the address of the sdram to be read based on the information obtained in the above 3 steps:
[0072] sdram address = (R0 + (R1 + line) * LED screen width + addr) * pb.
[0073] S5: read buffer sdram, size;
[0074] The microkernel reads size pixels of data into the cache.
[0075] S6: After executing i increment, repeat steps 1 to 5 until a number of pixel data corresponding to each group of col is read into the cache, i=0 (assuming the number of col groups is 16, repeat 16 times), the cache is a storage space implemented by SRAM or hardware registers. In this example, 16 groups of col are taken as an example. In fact, there may be 32 groups or 48 groups of col at the same time, but the hardware does not need to implement the same number of groups of cache. Due to programmability, it can be processed in multiple times, which can save hardware implementation costs.
[0076] S7: Take the first pixel data from each group of cache, form a group of continuous data of 16*pb bytes and write it into the screen cache. The screen cache is in SDRAM. The read and write efficiency of SDRAM is very high according to the integer multiple of 16 bytes.
[0077] S8: Repeat step 7, read the second pixel data and write it into the SDRAM. Repeat until all the pixel data in the cache has been written into the SDRAM.
[0078] S9: After k is incremented, start repeating from step 3 until the entire routing table has been read and k = 0. At this time, all the pixel data for the same line scan has been written into the SDRAM.
[0079] S10: After j is incremented, start repeating from step 1 until the entire line scan sequence table has been read. At this time, all the data for one frame has been written into the SDRAM refresh cache.
[0080] After the above processing, the data in the refresh cache is independent of the module routing, line scan sequence, and hub port arrangement of the LED screen. The refresh hardware in the LED controller only needs to read 16 * pb bytes of data from the refresh cache in sequence and output it to 16 groups of col signal pins to achieve correct image display. Among them, the above-mentioned module registers R0 to R4 are internal registers of the module, and based on these registers, zero-delay access can be achieved.
[0081] By configuring the column signal address table, line scan sequence table, and in-line routing table for the LED display controller and combining the above-mentioned dotting table based on preset microinstructions, when different manufacturers and different models of modules have different LED bead arrangements, this method can support various bead arrangements and reduce memory consumption.
[0082] Embodiment 2
[0083] A dotting device for an LED display screen based on microinstructions is provided.
[0084] Reference Figure 4 , which shows a schematic diagram of a dotting device for an LED display screen based on microinstructions provided by an embodiment of the present invention. The device includes:
[0085] A division module, suitable for dividing the display area of the display screen;
[0086] A column signal address table establishment module, suitable for establishing a column signal address table based on each display area;
[0087] A line scan sequence table generation module, suitable for performing line signal tests on the display screen to generate a line scan sequence table;
[0088] An in-line routing table generation module, suitable for performing routing tests on the display screen to generate an in-line routing table;
[0089] A loop reading module, which is applicable to loop reading data in the column signal address table, the row scanning sequence table, and the in-row routing table based on a preset micro-instruction code;
[0090] A screen refreshing module, which is applicable to refresh the screen based on the read image information using the data.
[0091] Embodiment 3
[0092] An embodiment of the present invention also provides a storage medium, on which a method for LED display dotting based on micro-instructions is stored. When the LED display dotting program is executed by a processor, the steps of a method for LED display dotting based on micro-instructions as described above are implemented. Since this storage medium adopts all the technical solutions of the above-mentioned all embodiments, it has at least all the beneficial effects brought by the technical solutions of the above embodiments, and will not be elaborated herein one by one.
[0093] Embodiment 4
[0094] Please refer to Figure 5 , an embodiment of the present invention also provides an electronic device, including: a memory and a processor; at least one program instruction is stored in the memory; the processor loads and executes the at least one program instruction to implement the method for LED display dotting based on micro-instructions provided in Embodiment 1.
[0095] The memory 502 and the processor 501 are connected in a bus manner. The bus may include any number of interconnected buses and bridges, and the bus connects various circuits of one or more processors 501 and the memory 502 together. The bus can also connect various other circuits such as peripheral devices, voltage regulators, and power management circuits, which are well known in the art, so they will not be further described herein. The bus interface provides an interface between the bus and the transceiver. The transceiver may be an element or multiple elements, such as multiple receivers and transmitters, and provides a unit for communicating with various other devices on the transmission medium. The data processed by the processor 501 is transmitted on the wireless medium through the antenna. Further, the antenna also receives data and transmits the data to the processor 501.
[0096] The processor 501 is responsible for managing the bus and general processing, and can also provide various functions, including timing, peripheral interface, voltage regulation, power management, and other control functions. The memory 502 can be used to store data used by the processor 501 when performing operations.
[0097] The above are only embodiments of the present invention. Specific structures and common knowledge such as characteristics that are well-known in the art are not described in detail herein. Those of ordinary skill in the art know all the common general technical knowledge in the technical field to which the invention pertains before the filing date or the priority date, can learn all the existing technologies in this field, and have the ability to apply conventional experimental means before this date. Those of ordinary skill in the art can, under the inspiration given in this application, combine their own abilities to improve and implement this solution. Some typical well-known structures or well-known methods should not become an obstacle for those of ordinary skill in the art to implement this application. It should be noted that for those skilled in the art, without departing from the structure of the present invention, several deformations and improvements can still be made, and these should also be regarded as the protection scope of the present invention, and these will not affect the implementation effect of the present invention and the practicality of the patent. The protection scope claimed in this application shall be subject to the content of its claims, and the specific implementation manners and the like recorded in the specification can be used to interpret the content of the claims.
Claims
1. A dot - plotting method for an LED display screen based on micro - instructions, characterized in that, The LED display screen is composed of multiple identical modules spliced together. One hub is connected in series with multiple modules, and the modules connected in series by multiple hubs are spliced into an LED display screen. The method includes: Dividing the display area of the display screen; Establishing a column signal address table based on each of the display areas; Performing a row signal test on the display screen to generate a row scan sequence table; Testing the wiring of the display screen to generate an in-row scan wiring table; Circularly reading the data in the column signal address table, the row scan sequence table, and the in-row scan wiring table based on a preset micro-instruction code; Reading image information based on the data for screen refreshing.
2. The method for dotting an LED display screen based on microinstructions according to claim 1, wherein The dividing the display area of the display screen includes: Uniformly dividing the display screen into multiple display areas; Each hub controls a string of modules, and the hub includes at least one set of column signals, and each set of column signals controls one display area.
3. The method for dotting an LED display screen based on microinstructions according to claim 2, wherein, The establishing a column signal address table based on each of the display areas includes: Controlling the display areas controlled by each column signal in sequence; Determining the pixel address at the upper left corner of the display area controlled by each column signal; Saving the pixel address at the upper left corner corresponding to the display area controlled by each column signal as the column signal address table.
4. The dotting method for LED display screen based on microinstructions according to claim 1, wherein The performing a row signal test on the display screen to generate a row scan sequence table includes: Generating a row scan sequence table based on which row of lamp beads is actually controlled by a certain row signal on the module; Among them, the row scan sequence table includes one set of row scan sequence tables or multiple sets of row scan sequence tables; When the row scan signals of the upper and lower regions of a module are the same, the row scan sequence table is one set; When the row scan signals of the upper and lower regions of a module are different, the row scan sequence table is multiple sets.
5. The method for dotting an LED display screen based on microinstructions according to claim 1, wherein The testing the wiring of the display screen to generate an in-row scan wiring table includes: The in-row scan wiring table only needs to record the wiring information of one module; Testing by sequentially lighting the lamp beads of the module, and determining the wiring information of the module based on the lighting of each lamp bead; The wiring information includes one or a combination of whether to read in reverse order, at which fold line, the number of pixels read, and the starting pixel address in the fold line.
6. The method for dotting an LED display screen based on microinstructions according to claim 1, wherein The circularly reading the data in the column signal address table, the row scan sequence table, and the in-row scan wiring table based on a preset micro-instruction code includes: S1: Loading the i-th column signal address from the column signal table into the module register R0; S2: Loading the address of row scan j from the row scan sequence table into the module register R1; S3: Loading the wiring information of the k-th data from the wiring table, and saving the information of which fold line, the number of pixels read, and the starting pixel address in the fold line into the module register R2, the module register R3, and the module register R4 respectively; S4: Generating a memory address based on the information saved in the module register R0, the module register R1, the module register R2, and the module register R4; S5: The micro-kernel reads the data of the number of pixels in the in-row scan wiring table into the cache; S6: Repeating the above steps S1 - S5 until i traverses all column signals, and multiple pixel data are read into the cache for each area corresponding to each set of column signals; S7: Take the first pixel data from each group of caches, and form a group of consecutive data of 16 * pb bytes and write it into the frame buffer. The frame buffer is in the sdram frame buffer, where pb is the number of bytes included in each pixel; S8: Repeat step S7, read the second pixel data and write it into the sdram frame buffer, and repeat until all the pixel data in the cache is written into the sdram frame buffer; S9: After k is incremented, repeat steps S3 - S8 until the routing table is completely read. At this time, all the pixel data of the same line scan is written into the sdram frame buffer; S10: After j is incremented, repeat steps S1 - S9 until the line scan sequence table is completely read. At this time, all the data of one frame is written into the sdram frame buffer.
7. The method for dotting an LED display screen based on microinstructions according to claim 6, characterized in that, The method further includes: The hardware automatically indexes from the column signal address table in the sram according to the i value; and / or The hardware automatically indexes from the line scan sequence table in the sram according to the j value; and / or The hardware automatically indexes from the in-line routing table in the sram according to the k value.
8. An LED display dotting device based on microinstructions, characterized in that, The LED display screen is formed by splicing multiple identical modules. One hub is connected in series with multiple modules, and the modules connected in series by multiple hubs are spliced into an LED display screen. The device includes: A division module, suitable for dividing the display area of the display screen; A hub address table establishment module, suitable for establishing a hub address table based on each of the display areas; A line scan sequence table generation module, suitable for performing a line signal test on the display screen to generate a line scan sequence table; An in-line routing table generation module, suitable for performing a routing test on the display screen to generate an in-line routing table; A cyclic reading module, suitable for cyclically reading the data in the hub address table, the line scan sequence table, and the in-line routing table based on a preset micro-instruction code; A frame buffer module, suitable for performing frame buffering based on the data read to obtain image information.
9. A computer-readable storage medium storing one or more instructions, characterized in that, The instruction is used to cause the computer to execute the micro-instruction-based LED display screen dotting method according to any one of claims 1 - 7.
10. An electronic device, characterized in that, Including: A memory and a processor; At least one program instruction is stored in the memory; The processor loads and executes the at least one program instruction to implement the micro-instruction-based LED display screen dotting method according to any one of claims 1 - 7.
Citation Information
Patent Citations
Fractal scanning display control system supporting gamma correction
CN105185350A
LED display screen control system
CN106652894A