An LED display system, device and method
By introducing a cache structure built by hardware and firmware in the LED display system, the first display information is directly written into the first level cache, and the data is transmitted to the second level cache through firmware control, which solves the problem of full firmware communication bandwidth in the prior art and realizes the stable operation of the system.
Patent Information
- Application Number
- CN202310427924.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-04-20
- Publication Date
- 2025-06-27
- Estimated Expiration
- 2043-04-20
AI Technical Summary
When the existing LED display system writes the display content in the controller to the display cache, the communication bandwidth of the firmware is full, causing the system to be stuck.
By introducing a first-level cache built on hardware and a second-level cache built on firmware in the LED display system, the first display information is directly written to the first-level cache, and the firmware is only used to control the transmission device to obtain and write the second display information to the second-level cache according to the display refresh rate of the LED array.
It effectively reduces the data processing volume of firmware and avoids the communication bandwidth fullness and system jamming caused by the LED display system generating a large amount of data at one time.
Smart Images

Figure CN116524849B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the technical field of LED displays, and more particularly, to an LED display system, device, and method. Background Art
[0002] As Figure 1 shown, the existing LED display system includes a controller ( Figure 1 MCU in Figure 1 Firmware in Figure 1 Controller in Figure 1 LEDARRAY in Figure 1 Display DataBuffer Memory in
[0003] electrically connected in sequence, and the control circuit integrates a display buffer ( Summary of the Invention
[0004] The purpose of this application is to provide an LED display system, device, and method that can avoid occupying the communication bandwidth of the firmware when writing the first display information into the first-level cache.
[0005] In a first aspect, this application provides an LED display system, which includes:
[0006] A first display information sending module;
[0007] A first-level cache built based on hardware, electrically connected to the first display information sending module, and used to cache the first display information sent by the first display information sending module;
[0008] A transmission device, one end of which is electrically connected to the first-level cache;
[0009] A second-level cache built based on firmware, with the other end of the transmission device electrically connected to the memory for storing the firmware;
[0010] An LED array, electrically connected to the memory for storing the firmware, for displaying second display information;
[0011] The firmware is used to control the transmission device to obtain second display information based on the first-level cache and write it into the second-level cache according to the display refresh rate of the LED array. The second display information is a frame of information in the first display information.
[0012] An LED display system provided by the present application directly writes the first display information into the first-level cache. Since the firmware of the present application is only used to control the transmission device to obtain second display information based on the first-level cache and write it into the second-level cache according to the display refresh rate of the LED array, while the firmware of the prior art needs to be used as the transmission bandwidth for writing the first display information into the first-level cache and sending the data in the first-level cache to the LED array frame by frame. Therefore, compared with the prior art, this system can effectively reduce the data processing amount of the firmware, thus effectively avoiding the situation that the communication bandwidth of the firmware is occupied due to a large amount of data generated by the LED display system at one time, resulting in the LED display system being stuck.
[0013] Optionally, the transmission device is a DMA transmission device.
[0014] Since the DMA transmission device has the advantage of fast data transmission speed, this technical solution can effectively improve the rate of transmitting the second display information.
[0015] Optionally, the second-level cache includes multiple cache units, and each cache unit is used to cache a second display information. The process by which the firmware controls the transmission device to obtain second display information based on the first-level cache and write it into the second-level cache according to the display refresh rate of the LED array includes:
[0016] Determine whether the second display information in the current cache unit has been completely displayed;
[0017] If so, control the transmission device to obtain the corresponding second display information in the next display stage based on the first-level cache and write it into the current cache unit according to the display refresh rate of the LED array.
[0018] Optionally, the process by which the firmware controls the transmission device to obtain second display information based on the first-level cache and write it into the second-level cache further includes:
[0019] If the second display information in the current cache unit has not been completely displayed, control the second-level cache to output the second display information it caches, so that the LED array displays the second display information.
[0020] Optionally, the process of controlling the transmission device to obtain the corresponding second display information in the next display stage based on the first-level cache and write it into the current cache unit according to the display refresh rate of the LED array further includes:
[0021] Determine whether all cache units have been updated;
[0022] If not, determine whether the corresponding second display information in the next display stage can be transmitted;
[0023] If the corresponding second display information in the next display stage can be transmitted, control the transmission device to obtain the second display information based on the first-level cache and write it into the current cache unit according to the display refresh rate of the LED array.
[0024] Optionally, the firmware is further configured to write an error message into the cache unit corresponding to the second display information when the transmission device fails to obtain or write the second display information correctly.
[0025] Since the error message does not affect the transmission of subsequent second display information by the transmission device, this technical solution can effectively avoid the situation where the LED array display freezes due to the error in obtaining or writing the second display information by the transmission device.
[0026] Optionally, the firmware is further configured to control the transmission device to re-transmit the second display information in the next write cycle when the transmission device fails to obtain or write the second display information correctly.
[0027] Since this technical solution controls the transmission device to re-transmit the second display information in the next write cycle when the transmission device fails to obtain or write the second display information correctly, this technical solution can effectively avoid the situation where the LED array display has a frame-skipping problem due to the error in transmitting the second display information.
[0028] In a second aspect, the present application further provides an LED display device, which includes firmware, and the firmware includes:
[0029] An acquisition module, configured to acquire the display refresh rate of the LED array;
[0030] A pre-constructed second-level cache, the number of frames and frame structure of which match the LED array;
[0031] A trigger module, configured to generate trigger information according to the display refresh rate, so that the transmission device obtains the second display information based on the first-level cache and writes it into the second-level cache, where the second display information is a frame of information in the first display information, and is further configured to control the second-level cache to send the received second display information to the LED array one by one according to the display refresh rate, so that the LED array displays the second display information.
[0032] An LED display device provided by the present application directly writes the first display information into the first-level cache. Since the firmware of the present application is only used to control the transmission device to obtain the second display information based on the first-level cache and write it into the second-level cache according to the display refresh rate of the LED array, while the firmware of the prior art needs to be used as the transmission bandwidth for writing the first display information into the first-level cache and sending the data in the first-level cache to the LED array frame by frame. Therefore, compared with the prior art, this device can effectively reduce the data processing amount of the firmware, thereby effectively avoiding the situation that the communication bandwidth of the firmware is occupied due to a large amount of data generated by the LED display system at one time, resulting in the LED display system being stuck.
[0033] In a third aspect, the present application further provides an LED display method, which is applied to an LED display system. The LED display system includes a first display information sending module, a first-level cache built based on hardware, a transmission device, a second-level cache built based on firmware, and an LED array. The first-level cache is electrically connected to the first display information sending module, and the first-level cache is used to cache the first display information sent by the first display information sending module. Both ends of the transmission device are electrically connected to the first-level cache and the memory for storing the firmware respectively. The LED array is electrically connected to the memory for storing the firmware, and the LED array is used to display the second display information. The LED display method includes the steps of:
[0034] Obtain the display refresh rate of the LED array;
[0035] Generate trigger information according to the display refresh rate, so that the transmission device obtains the second display information based on the first-level cache and writes it into the second-level cache. The second display information is a frame of information in the first display information;
[0036] Control the second-level cache to send the received second display information to the LED array one by one according to the display refresh rate, so that the LED array displays the second display information.
[0037] An LED display method provided by the present application directly writes the first display information into the first-level cache. Since the firmware of the present application is only used to control the transmission device to obtain the second display information based on the first-level cache and write it into the second-level cache according to the display refresh rate of the LED array, while the firmware of the prior art needs to be used as the transmission bandwidth for writing the first display information into the first-level cache and sending the data in the first-level cache to the LED array frame by frame. Therefore, compared with the prior art, this method can effectively reduce the data processing amount of the firmware, thereby effectively avoiding the situation that the communication bandwidth of the firmware is occupied due to a large amount of data generated by the LED display system at one time, resulting in the LED display system being stuck.
[0038] Optionally, the construction steps of the second-level cache include:
[0039] Configure the number of frames and frame structure of the second-level cache according to the LED array.
[0040] As can be seen from the above, in an LED display system, device, and method provided by the present application, the first display information is directly written into the first-level cache. Since the firmware of the present application is only used to control the transmission device to obtain the second display information based on the first-level cache and write it into the second-level cache according to the display refresh rate of the LED array, while the firmware of the prior art needs to be used as the transmission bandwidth for writing the first display information into the first-level cache and sending the data in the first-level cache to the LED array frame by frame. Therefore, compared with the prior art, this system can effectively reduce the data processing amount of the firmware, thereby effectively avoiding the situation where the communication bandwidth of the firmware is occupied due to a large amount of data being generated by the LED display system at one time, resulting in the LED display system being stuck. Description of the Drawings
[0041] Figure 1 It is a schematic structural diagram of an existing LED display system.
[0042] Figure 2 It is a schematic diagram of data transfer of an LED display system provided by an embodiment of the present application.
[0043] Figure 3 It is a schematic structural diagram of an LED display system provided by an embodiment of the present application.
[0044] Figure 4 It is a schematic structural diagram of an LED display device, a transmission device, and an LED array provided by an embodiment of the present application.
[0045] Figure 5 It is a flowchart of an LED display method provided by an embodiment of the present application.
[0046] Reference Numerals: 1. First display information sending module; 2. First-level cache; 3. Transmission device; 4. Second-level cache; 5. LED array; 6. Memory for storing firmware; 7. Acquisition module; 8. Trigger module. Detailed Embodiments
[0047] Next, the technical solutions in the embodiments of the present application will be clearly and completely described in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. Usually, the components of the embodiments of the present application described and illustrated herein can be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the present application provided in the drawings is not intended to limit the scope of the present application to be protected, but only represents the selected embodiments of the present application. Based on the embodiments of the present application, all other embodiments obtained by those skilled in the art without creative efforts fall within the scope of protection of the present application.
[0048] It should be noted that similar reference numerals and letters indicate similar items in the following drawings. Therefore, once an item is defined in one drawing, it does not need to be further defined and explained in subsequent drawings. At the same time, in the description of this application, the terms "first", "second", etc. are only used for distinguishing descriptions and cannot be understood as indicating or implying relative importance.
[0049] In a first aspect, as Figure 2 and Figure 3 shown, this application provides an LED display system, which includes:
[0050] A first display information sending module 1;
[0051] A first-level cache 2 built based on hardware, electrically connected to the first display information sending module 1, and used to cache the first display information sent by the first display information sending module 1;
[0052] A transmission device 3, one end of which is electrically connected to the first-level cache 2;
[0053] A second-level cache 4 built based on firmware, the other end of the transmission device 3 is electrically connected to a memory 6 for storing firmware;
[0054] An LED array 5, electrically connected to the memory 6 for storing firmware, and used to display second display information;
[0055] The firmware is used to control the transmission device 3 to obtain the second display information based on the first-level cache 2 and write it into the second-level cache 4 according to the display refresh rate of the LED array 5, and the second display information is a frame of information in the first display information.
[0056] Among them, the first display information sending module 1 in this embodiment is equivalent to the controller in the prior art. The first display information sending module 1 is used to send first display information, and the first display information is the content that the LED array 5 needs to display. The first-level cache 2 is constructed based on hardware, and the hardware in this embodiment is preferably SRAM. The first-level cache 2 is electrically connected to the first display information sending module 1. The first-level cache 2 is used to cache the first display information sent by the first display information sending module 1 (equivalent to the first display information sending module 1 writing the first display information into the first-level cache 2). Therefore, the first-level cache 2 is equivalent to the display cache in the prior art. The transmission device 3 can be a program-directly controlled data transmission device, an interrupt-controlled data transmission device, a DMA (Direct Memory Access) data transmission device, a channel data transmission device, or other devices that can transmit data. Since the firmware is a program written into the memory, both ends of the transmission device 3 are electrically connected to the first-level cache 2 and the memory 6 for storing the firmware respectively. The transmission device 3 can transmit the data in the first-level cache 2 to the second-level cache 4. The second-level cache 4 is constructed based on the firmware. The second-level cache 4 is equivalent to a virtual cache. The LED array 5 is in the prior art and will not be elaborated in detail here. The LED array 5 is electrically connected to the memory 6 for storing the firmware. The firmware is used to control the transmission device 3 to transmit second display information according to the display refresh rate of the LED array 5. The second display information is one frame of the content in the first display information. The second-level cache 4 in this embodiment is equivalent to sending the first display information in the first-level cache 2 to the LED array 5 frame by frame according to the display refresh rate of the LED array 5, so that the LED array 5 can display. It should be understood that since the second-level cache 4 is a virtual cache, the number of frames and the frame structure of the second-level cache 4 are variable, that is, the second-level cache 4 can cache different numbers of second display information. It should also be understood that the LED display system provided in this application is preferably applied to static LED displays or application scenarios that implement simple animations based on a multi-frame structure. Therefore, the second-level cache 4 is preferably based on the multi-frame structure of the LED array 5 to meet the first-level cache.
[0057] The working principle of this embodiment is as follows: An LED display system provided by this application includes a first display information sending module 1, a first-level cache 2, a transmission device 3, a second-level cache 4, and an LED array 5 that are electrically connected in sequence. The system directly writes the first display information into the first-level cache 2 (equivalent to the existing controller directly writing the display content into the existing display cache). Since the firmware of this application is only used to control the transmission device 3 to obtain the second display information based on the first-level cache 2 and write it into the second-level cache 4 according to the display refresh rate of the LED array 5, while the firmware of the prior art needs to serve as the transmission bandwidth for writing the first display information into the first-level cache 2 and sending the data in the first-level cache 2 to the LED array 5 frame by frame. Therefore, compared with the prior art, this system can effectively reduce the data processing volume of the firmware, thereby effectively avoiding the situation where the communication bandwidth of the firmware is occupied due to a large amount of data being generated by the LED display system at one time, resulting in the LED display system being stuck. It should be understood that this embodiment can achieve the automatic display of the LED array 5 without refreshing the first-level cache 2 by configuring the display time, thereby effectively reducing the data transmission bandwidth.
[0058] An LED display system provided by this application directly writes the first display information into the first-level cache 2. Since the firmware of this application is only used to control the transmission device 3 to obtain the second display information based on the first-level cache 2 and write it into the second-level cache 4 according to the display refresh rate of the LED array 5, while the firmware of the prior art needs to serve as the transmission bandwidth for writing the first display information into the first-level cache 2 and sending the data in the first-level cache 2 to the LED array 5 frame by frame. Therefore, compared with the prior art, this system can effectively reduce the data processing volume of the firmware, thereby effectively avoiding the situation where the communication bandwidth of the firmware is occupied due to a large amount of data being generated by the LED display system at one time, resulting in the LED display system being stuck.
[0059] In some embodiments, the transmission device 3 is a DMA transmission device. The DMA transmission device 3 in this embodiment is equivalent to the DMA-based data transmission device in the above embodiment. Since the DMA transmission device has the advantage of fast data transmission speed, this embodiment can effectively improve the rate of transmitting the second display information.
[0060] In some embodiments, the second-level cache 4 includes multiple cache units, and each cache unit is used to cache a second display information. The process by which the firmware controls the transmission device 3 to obtain the second display information based on the first-level cache 2 and write it into the second-level cache 4 according to the display refresh rate of the LED array 5 includes:
[0061] Determine whether the second display information in the current cache unit has been completely displayed;
[0062] If so, the transmission device 3 is controlled according to the display refresh rate of the LED array 5 to obtain the corresponding second display information in the next display stage based on the first-level cache 2 and write it into the current cache unit.
[0063] Since the writing of the second-level cache 4 needs to be in frame operation units, this embodiment can divide the display content corresponding to the first display information into multiple display stages according to the total number of frames of the first display information and the number of cache units (equivalent to the cacheable number of frames of the second-level cache 4). For example, if the total number of frames of the first display information is 20 frames and the number of cache units is 10, the first display information is divided into two display stages. The first display stage is the 1st frame - the 10th frame of the first display information, and the second display stage is the 11th frame - the 20th frame of the first display information. Judging whether the second display information in the current cache unit has been completely displayed belongs to the prior art and will not be elaborated here. If the second display information in the current cache unit has been completely displayed, the firmware controls the transmission device 3 according to the display refresh rate of the LED array 5 to obtain the corresponding second display information in the next display stage based on the first-level cache 2 and write it into the current cache unit to update the current cache unit. The above steps are repeatedly executed until the display of the first display information is completed.
[0064] In some embodiments, the process of the firmware controlling the transmission device 3 to obtain the second display information based on the first-level cache 2 and write it into the second-level cache 4 according to the display refresh rate of the LED array 5 further includes:
[0065] If the second display information in the current cache unit has not been completely displayed, control the second-level cache 4 to output the second display information cached therein, so that the LED array 5 displays the second display information.
[0066] In this embodiment, if the second display information in the current cache unit has not been completely displayed, the firmware controls the current second-level cache 4 to output the second display information cached therein (equivalent to controlling the current cache unit to send the received second display information to the LED array 5), so that the LED array 5 displays the second display information.
[0067] In some embodiments, the process of the transmission device 3 obtaining the corresponding second display information in the next display stage based on the first-level cache 2 and writing it into the current cache unit according to the display refresh rate of the LED array 5 further includes:
[0068] Judge whether all cache units have been updated;
[0069] If not, judge whether the corresponding second display information in the next display stage can be transmitted;
[0070] If the corresponding second display information in the next display stage can be transmitted, the transmission device 3 is controlled according to the display refresh rate of the LED array 5 to obtain the second display information based on the first-level cache 2 and write it into the current cache unit.
[0071] Judging whether all cache units in this embodiment are updated is equivalent to judging whether the display of the first display information is completed. If the display of the first display information is not completed, it is judged whether the corresponding second display information in the next display stage can be transmitted, and when the corresponding second display information in the next display stage can be transmitted, the transmission device 3 is controlled according to the display refresh rate of the LED array 5 to obtain the second display information based on the first-level cache 2 and write it into the current cache unit to update the current cache unit.
[0072] When the transmission device continuously obtains and writes the second display information, if an error occurs in the process of the transmission device obtaining or writing the second display information (such as failure to obtain the second display information, failure to write the second display information into the second-level cache 4, or inability to write the second display information into the second-level cache 4 within the specified time), it will cause the transmission device 3 to be unable to normally obtain and write the subsequent second display information, resulting in stuttering of the display of the LED array 5.
[0073] To solve this technical problem, in some embodiments, the firmware is further used to write error information into the cache unit corresponding to the second display information when an error occurs in the process of the transmission device 3 obtaining or writing the second display information. Since the error information does not affect the transmission device 3 to transmit the subsequent second display information, this embodiment can effectively avoid the situation that the display of the LED array 5 is stuck due to the error of the transmission device 3 obtaining or writing the second display information.
[0074] When the transmission device obtains and writes the second display information discontinuously, if an error occurs in the process of the transmission device obtaining or writing the second display information (such as failure to obtain the second display information, failure to write the second display information into the second-level cache 4, or inability to write the second display information into the second-level cache 4 within the specified time), it will cause the LED array to display a frame with artifacts.
[0075] To solve this technical problem, in some embodiments, the firmware is further configured to control the transmission device 3 to re-transmit the second display information in the next write cycle when an error occurs in obtaining or writing the second display information by the transmission device 3. During a write cycle, the transmission device 3 obtains a second display information based on the first-level cache 2 and writes the second display information into the second-level cache 4. Since this embodiment controls the transmission device 3 to re-transmit the second display information in the next write cycle when an error occurs in obtaining or writing the second display information by the transmission device 3, this embodiment can effectively avoid the situation that the LED array 5 displays a distorted frame due to an error in transmitting the second display information. It should be understood that this embodiment will control the transmission device 3 to re-transmit the second display information in the next write cycle only before the LED array does not display the second display information with a transmission error.
[0076] As can be seen from the above, in an LED display system provided by the present application, the first display information is directly written into the first-level cache 2. Since the firmware of the present application is only used to control the transmission device 3 to obtain the second display information based on the first-level cache 2 and write it into the second-level cache 4 according to the display refresh rate of the LED array 5, while the firmware of the prior art needs to serve as the transmission bandwidth for writing the first display information into the first-level cache 2 and sending the data in the first-level cache 2 to the LED array 5 frame by frame, compared with the prior art, this system can effectively reduce the data processing amount of the firmware, thereby effectively avoiding the situation that the communication bandwidth of the firmware is occupied and the LED display system freezes due to a large amount of data generated by the LED display system at one time.
[0077] In a second aspect, the present application further provides an LED display device, which includes firmware, and the firmware includes:
[0078] An acquisition module 7, configured to acquire the display refresh rate of the LED array 5;
[0079] A pre-constructed second-level cache 4, the number of frames and the frame structure of which match those of the LED array 5;
[0080] A trigger module 8, configured to generate trigger information according to the display refresh rate, so that the transmission device 3 obtains the second display information based on the first-level cache 2 and writes it into the second-level cache 4, where the second display information is a frame of information in the first display information, and is further configured to control the second-level cache 4 to send the received second display information to the LED array 5 one by one according to the display refresh rate, so that the LED array 5 displays the second display information.
[0081] The number of frames and the frame structure of the second-level cache 4 in this embodiment match the LED array 5. Specifically, the number of frames and the frame structure of the second-level cache 4 match the display mode and display requirements of the LED array 5. This application provides an LED display device, which includes firmware. The working principle of the firmware is similar to that of an LED display system provided in the first aspect above, and will not be elaborated here in detail.
[0082] As can be seen from the above, for the LED display device provided in this application, the first display information is directly written into the first-level cache 2. Since the firmware of this application is only used to control the transmission device 3 to obtain the second display information based on the first-level cache 2 and write it into the second-level cache 4 according to the display refresh rate of the LED array 5, while the firmware of the prior art needs to be used as the transmission bandwidth for writing the first display information into the first-level cache 2 and sending the data in the first-level cache 2 to the LED array 5 frame by frame. Therefore, compared with the prior art, this device can effectively reduce the data processing amount of the firmware, thereby effectively avoiding the situation where the communication bandwidth of the firmware is occupied due to a large amount of data generated by the LED display system at one time, resulting in the LED display system being stuck.
[0083] In a third aspect, this application also provides an LED display method, which is applied to an LED display system. The LED display system includes a first display information sending module 1, a first-level cache 2 constructed based on hardware, a transmission device 3, a second-level cache 4 constructed based on firmware, and an LED array 5. The first-level cache 2 is electrically connected to the first display information sending module 1. The first-level cache 2 is used to cache the first display information sent by the first display information sending module 1. Both ends of the transmission device 3 are electrically connected to the first-level cache 2 and the memory 6 for storing firmware respectively. The LED array 5 is electrically connected to the memory 6 for storing firmware. The LED array 5 is used to display the second display information. The LED display method includes the steps:
[0084] S1. Obtain the display refresh rate of the LED array 5;
[0085] S2. Generate trigger information according to the display refresh rate, so that the transmission device 3 obtains the second display information based on the first-level cache 2 and writes it into the second-level cache 4. The second display information is a frame of information in the first display information;
[0086] S3. Control the second-level cache 4 to send the received second display information to the LED array 5 one by one according to the display refresh rate, so that the LED array 5 displays the second display information.
[0087] The LED display method provided in this application is applied to an LED display system. The working principle of the LED display method provided in the embodiment of this application is the same as that of the LED display system provided in the first aspect above, and will not be elaborated here in detail.
[0088] In some embodiments, the steps of constructing the second-level cache 4 include:
[0089] Configure the number of frames and frame structure of the second-level cache 4 according to the LED array 5.
[0090] As can be seen from the above, for an LED display method provided by the present application, the first display information is directly written into the first-level cache 2. Since the firmware of the present application is only used to control the transmission device 3 to obtain the second display information based on the first-level cache 2 and write it into the second-level cache 4 according to the display refresh rate of the LED array 5, while the firmware of the prior art needs to serve as the transmission bandwidth for writing the first display information into the first-level cache 2 and sending the data in the first-level cache 2 to the LED array 5 frame by frame. Therefore, compared with the prior art, this method can effectively reduce the data processing amount of the firmware, thereby effectively avoiding the situation where the communication bandwidth of the firmware is occupied due to a large amount of data generated by the LED display system at one time, resulting in the LED display system being stuck.
[0091] As can be seen from the above, for an LED display system, device and method provided by the present application, the first display information is directly written into the first-level cache 2. Since the firmware of the present application is only used to control the transmission device 3 to obtain the second display information based on the first-level cache 2 and write it into the second-level cache 4 according to the display refresh rate of the LED array 5, while the firmware of the prior art needs to serve as the transmission bandwidth for writing the first display information into the first-level cache 2 and sending the data in the first-level cache 2 to the LED array 5 frame by frame. Therefore, compared with the prior art, this system can effectively reduce the data processing amount of the firmware, thereby effectively avoiding the situation where the communication bandwidth of the firmware is occupied due to a large amount of data generated by the LED display system at one time, resulting in the LED display system being stuck.
[0092] In the embodiments provided by the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. The device embodiments described above are merely illustrative. For example, the above unit division is only a logical function division, and there can be other division methods in actual implementation. For another example, multiple units or components can be combined or integrated into another robot, or some features can be ignored or not executed. Another point, the displayed or discussed mutual coupling or direct coupling or communication connection can be through some communication interfaces, and the indirect coupling or communication connection of the device or unit can be in electrical, mechanical or other forms.
[0093] In addition, the unit described as a separated component may or may not be physically separated, and the component shown as a unit may or may not be a physical unit, that is, it may be raised to one place or distributed to multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0094] Furthermore, in each embodiment of the present application, the functional modules can be integrated together to form an independent part, or each module can exist alone, or two or more modules can be integrated to form an independent part.
[0095] In this text, relational terms such as first and second are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations.
[0096] The above description is only for the embodiments of the present application and is not used to limit the protection scope of the present application. For those skilled in the art, the present application can have various changes and modifications. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application shall be included in the protection scope of the present application.
Claims
1. An LED display system, characterized in that, The LED display system includes: A first display information sending module; A first-level cache built based on hardware, electrically connected to the first display information sending module, and used to cache the first display information sent by the first display information sending module; A transmission device, one end of which is electrically connected to the first-level cache; A second-level cache built based on firmware, and the other end of the transmission device is electrically connected to a memory for storing firmware; An LED array, electrically connected to the memory for storing firmware, and used to display second display information; The firmware is used to control the transmission device to obtain second display information based on the first-level cache and write it into the second-level cache according to the display refresh rate of the LED array, and the second display information is a frame of information in the first display information.
2. The LED display system according to claim 1, wherein The transmission device is a DMA transmission device.
3. The LED display system according to claim 1, wherein, The second-level cache includes a plurality of cache units, each cache unit is used to cache a second display information, and the process that the firmware controls the transmission device to obtain second display information based on the first-level cache and write it into the second-level cache according to the display refresh rate of the LED array includes: Judging whether the second display information in the current cache unit has been completely displayed; If so, controlling the transmission device to obtain the corresponding second display information in the next display stage based on the first-level cache and write it into the current cache unit according to the display refresh rate of the LED array.
4. The LED display system according to claim 3, wherein, The process that the firmware controls the transmission device to obtain second display information based on the first-level cache and write it into the second-level cache according to the display refresh rate of the LED array further includes: If the second display information in the current cache unit has not been completely displayed, controlling the second-level cache to output the second display information cached by it, so that the LED array displays the second display information.
5. The LED display system according to claim 3, wherein, The process of controlling the transmission device to obtain the corresponding second display information in the next display stage based on the first-level cache and write it into the current cache unit according to the display refresh rate of the LED array includes: Judging whether all cache units have been updated; If not, judging whether the corresponding second display information in the next display stage can be transmitted; If the corresponding second display information in the next display stage can be transmitted, controlling the transmission device to obtain the second display information based on the first-level cache and write it into the current cache unit according to the display refresh rate of the LED array.
6. The LED display system according to claim 3, wherein The firmware is further used to write error information into the cache unit corresponding to the second display information when an error occurs in obtaining or writing the second display information by the transmission device.
7. The LED display system according to claim 3, wherein The firmware is further used to control the transmission device to re-transmit the second display information in the next write cycle when an error occurs in obtaining or writing the second display information by the transmission device.
8. An LED display device, characterized in that, The LED display device includes firmware, and the firmware includes: An acquisition module, used to acquire the display refresh rate of the LED array; A pre-built second-level cache, the number of frames and frame structure of which match the LED array; A trigger module, configured to generate trigger information according to the display refresh rate, so that a transmission device obtains second display information based on a first-level cache and writes the second display information into the second-level cache, where the second display information is a frame of information in the first display information, and is further configured to control the second-level cache to sequentially send the received second display information to an LED array according to the display refresh rate, so that the LED array displays the second display information.
9. An LED display method, characterized in that, Applied in an LED display system, the LED display system includes a first display information sending module, a first-level cache built based on hardware, a transmission device, a second-level cache built based on firmware, and an LED array. The first-level cache is electrically connected to the first display information sending module. The first-level cache is configured to cache the first display information sent by the first display information sending module. Two ends of the transmission device are respectively electrically connected to the first-level cache and a memory for storing firmware. The LED array is electrically connected to the memory for storing firmware. The LED array is configured to display second display information. An LED display method includes the steps of: Obtain the display refresh rate of the LED array; Generate trigger information according to the display refresh rate, so that a transmission device obtains second display information based on a first-level cache and writes the second display information into the second-level cache, where the second display information is a frame of information in the first display information; Control the second-level cache to sequentially send the received second display information to the LED array according to the display refresh rate, so that the LED array displays the second display information.
10. The LED display method according to claim 9, wherein The construction steps of the second-level cache include: Configure the number of frames and the frame structure of the second-level cache according to the LED array.
Citation Information
Patent Citations
Direct memory access window display
GB2180729A
Methods of and apparatus for controlling the reading of arrays of data from memory
US20110080419A1