Disclosure of Invention
The technical problem mainly solved by the application is to provide the LED display screen, the display method thereof and the device with the storage function, and the problem of unsynchronized display of the LED display screen can be effectively solved.
In order to solve the above technical problem, the first technical solution adopted by the present application is: a display method of an LED display screen is provided, and the display method comprises the following steps:
acquiring and storing image data to be displayed of each module of the LED display screen;
and driving each module to simultaneously display the image pictures to be displayed stored in the module.
The step of acquiring and storing the image information to be displayed of each module of the LED display screen specifically comprises the following steps: acquiring image data to be displayed on the LED display screen; and distributing the image data to the image processing unit of each corresponding module for storage according to the arrangement mode of the modules.
The step of acquiring and storing the image data to be displayed of each module of the LED display screen specifically comprises the following steps: acquiring image data of each frame to be displayed on the LED display screen; distributing each frame of image data to the image processing unit of each corresponding module according to the arrangement mode of the modules for storage; the step of driving each of the modules to simultaneously display the stored image frames to be displayed specifically includes: and sequentially driving each module to simultaneously display the same frame of image to be displayed stored by the module.
The step of driving each of the modules to simultaneously display the stored image frames to be displayed specifically includes: and determining the starting time difference of each module when the same picture is displayed according to the distance from each module to the controller, wherein the starting time for driving each module is in negative correlation with the distance from the module to the controller, so that each module simultaneously displays the stored picture to be displayed.
The step of driving each of the modules to simultaneously display the stored image frames to be displayed specifically includes: and producing a new driving time sequence according to the initial time difference for driving each module, and driving each module to simultaneously display the image picture to be displayed stored by the module according to the new driving time sequence.
After the step of acquiring and storing the image data to be displayed of each module of the LED display screen, and before the step of driving each module to simultaneously display the stored image frames to be displayed, the display method further includes: comparing the image data to be displayed of each module with the corresponding original data, and judging whether the image data to be displayed of each module is distorted; and if the distortion occurs, performing image compensation on the distorted image data, and storing the compensated image information.
The step of comparing the image data to be displayed of each module with the corresponding original data and judging whether the image data to be displayed of each module is distorted specifically comprises the following steps: comparing at least one of image brightness and image chroma included in the image data to be displayed of each module with the corresponding original data, and determining whether the image data to be displayed of each module is distorted.
Wherein, if distortion occurs, the image compensation is performed to the distorted image data, and the step of storing the compensated image information specifically includes: and judging whether the distortion error of the distorted image data is greater than a preset threshold value, if so, performing image compensation on the distorted image data, and storing the compensated image information.
In order to solve the above technical problem, the second technical solution adopted by the present application is: providing a flat knitting machine comprising a memory and a processor, the processor being coupled to the memory, the memory for storing a computer program executed by the processor and intermediate data generated by the processor when executing the computer program; and when the processor executes the computer program, the display method of the LED display screen is realized.
In order to solve the above technical problem, the third technical solution adopted by the present application is: the device with the storage function stores program data which can be executed to realize the display method of the LED display screen.
The beneficial effect of this application is: different from the prior art, the method and the device for displaying the image data of each module of the LED display screen are used for acquiring and storing the image data to be displayed; and driving each module to simultaneously display the image pictures to be displayed stored in the module. Through the mode of caching the data to be displayed before display, the problem of display asynchronism caused by different orders or different time of the display pictures received by the module when real-time display is effectively avoided, and the display quality of the pictures is effectively improved.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
For the purpose of description, an LED display screen, i.e., a light emitting diode display screen, is referred to as an LED display screen throughout the text. Most of display modules of the existing LED display screen are formed by arraying and splicing, as shown in FIG. 1, FIG. 1 is a schematic structural diagram of an embodiment of an arrangement mode of the display modules of the LED display screen. Each small LED module displays an image which is preset at the PC end, and the data sent by the PC end at one time only has the image displayed by one module, so that the sequence of sending the images by the PC end can be 1-2-3-4-5-6-7-8 or 8-7-6-5-4-3-2-1, and the images are sequentially transmitted. It should be noted that the arrangement of the modules of the LED display panel is merely an example and is not limited, and in other embodiments, the LED display panel may also be arranged in other arrangements, such as a rectangle, a circle, a polygon or other irregular patterns, according to the size and shape of the LED display panel, and is not limited herein.
In order to overcome the problem that the display of the modules of the LED display screen is asynchronous due to the fact that the distance between the modules of the LED display screen and the position of a driver or the time difference between the received data of the image to be displayed exists, the provided technical scheme is that the image to be displayed of each module of the LED display screen is cached, and then all the modules are driven to display simultaneously.
For clarity of the above process, referring to fig. 2, fig. 2 is a schematic flow chart of an embodiment of a display method of the LED display screen according to the present application.
As shown in fig. 2, the method for controlling the handpiece of the present embodiment includes the steps of:
step 201: and acquiring and storing image data to be displayed of each module of the LED display screen.
In the present embodiment, the LED display screen acquires image data to be displayed on the LED display screen from the PC, and uses the image data as cache data. And distributing the image data to the image processing unit of each corresponding module according to the arrangement mode of the modules for storage.
The image processing unit is arranged on a receiving and sending device of the corresponding module, such as a receiving card or a sending card.
In an optional embodiment, when receiving the corresponding image data to be displayed, the image processing module may perform processing on the image data to be displayed according to a preset processing manner, such as a filter, a smoothing process, and the like, which is not limited herein.
Because the image data generally consists of images of one frame and one frame, in order to further improve the display effect of the LED display screen, in a specific embodiment, the LED display screen respectively acquires the image data of each frame to be displayed; and distributing the image data of each frame to the image processing unit of each corresponding module according to the arrangement mode of the modules for storage.
Step 202: and driving each module to simultaneously display the image pictures to be displayed stored in the module.
The driving result of the present embodiment is that the images displayed by the plurality of modules are synchronous, so that the modules of the LED display screen simultaneously display the image data of the image storage units thereof when receiving the driving signal.
When the image data stored by the image processing unit of each module of the LED display screen is the image data taking a frame as a unit, correspondingly, the LED display screen drives each module to simultaneously and sequentially display the same frame of image pictures to be displayed.
Through the mode of caching the data to be displayed before display, the problem of display asynchronism caused by different orders or different time of the display pictures received by the module when real-time display is effectively avoided, and the display quality of the pictures is effectively improved.
Further, due to the arrangement of the LED display screens, the distances from each module to the controller of the LED display screen are also equal, even if the display data is cached in advance, when the modules are driven simultaneously, the time for receiving signals may not be synchronized due to different lengths of the wires.
For example, the closer the module to the controller is driven to display the same picture or the later the start time of the same frame of picture, the farther the module from the controller is driven to display the same picture or the earlier the start time of the same frame of picture.
Further, when the LED display screen displays, in order to enable normal display, a new time sequence is generated according to the start time difference for driving each module, and each module is driven according to the new time sequence to simultaneously display the stored image frame to be displayed.
Through above-mentioned mode, further improve the asynchronous problem of module display of LED display screen, improve the display effect.
In another embodiment, as shown in fig. 3, fig. 3 is a schematic flow chart of another embodiment of a display method of an LED display screen according to the present application. The display method of the present embodiment includes the steps of:
301: and acquiring and storing image data to be displayed of each module of the LED display screen.
In the present embodiment, the LED display screen acquires image data to be displayed on the LED display screen from the PC, and uses the image data as cache data. And distributing the image data to the image processing unit of each corresponding module according to the arrangement mode of the modules for storage.
The image processing unit is arranged on a receiving and sending device of the corresponding module, such as a receiving card or a sending card.
In an optional embodiment, when receiving the corresponding image data to be displayed, the image processing module may perform processing on the image data to be displayed according to a preset processing manner, such as a filter, a smoothing process, and the like, which is not limited herein.
Because the image data generally consists of images of one frame and one frame, in order to further improve the display effect of the LED display screen, in a specific embodiment, the LED display screen respectively acquires the image data of each frame to be displayed; and distributing the image data of each frame to the image processing unit of each corresponding module according to the arrangement mode of the modules for storage.
302: comparing the image data to be displayed of each module with the corresponding original data, and judging whether the image data to be displayed of each module is distorted.
In any of the above embodiments, although the screen display effect can be improved by means of buffering. However, although the image data is the same, the LED display screens are made of different materials or manufactured differently, and the dot pitches of the LED display screens are different, so that the display effects of the same image on the display screens with different dot pitches are different, and errors such as luminance or chromaticity may occur during the playing process due to signal loss during the transmission of the signal. Therefore, in the embodiment, in order to solve the problem of signal errors caused by external factors, after the LED display screen buffers the image to be displayed by each module, the image data to be displayed by each module is further compared with the corresponding original data, and whether the image data to be displayed by each module is distorted is determined.
The process of judging the distortion comprises the step of comparing at least one of the brightness and the chroma of the image with the corresponding original data.
303: and if the distortion occurs, performing image compensation on the distorted image data, and storing the compensated image information.
In one particular embodiment, the user's appreciation is not actually affected by too subtle an error. Therefore, in order to reduce the workload of the LED display screen and save resources, when the LED display screen detects image distortion, whether the distortion error of the distorted image data is greater than a preset threshold value is further judged, if so, the distorted image data is subjected to image compensation, and the compensated image information is stored. That is, the compensated image information is replaced with the previously stored image data, which is not limited herein.
304: and driving each module to simultaneously display the image pictures to be displayed stored in the module.
When the image data stored by the image processing unit of each module of the LED display screen is the image data taking a frame as a unit, correspondingly, the LED display screen drives each module to simultaneously and sequentially display the same frame of image pictures to be displayed.
Different from any of the above embodiments, the LED display screen of this embodiment further determines whether the image data is distorted after storing the image data to be displayed, and after determining that the image data is distorted, the distorted image is compensated according to an error with the original image data and then displayed, so as to further enhance the display effect and improve the user experience.
Referring to fig. 4, fig. 4 is a schematic structural diagram of an embodiment of an LED display screen according to the present application.
As shown in fig. 4, the flat knitting machine 40 of the present application comprises a memory 41 and a processor 42, wherein the processor 42 is coupled to the memory 41, and the memory 41 is used for storing a computer program executed by the processor 32 and intermediate data generated when the processor 42 executes the computer program; when executing the computer program, the processor 32 is specifically configured to execute acquiring and storing image data to be displayed by each module of the LED display screen, and drive each module to simultaneously display an image frame to be displayed.
The processor 42 is specifically configured to obtain image data to be displayed on the LED display screen from the PC side, and use the image data as cache data. And distributing the image data to the image processing unit of each corresponding module according to the arrangement mode of the modules for storage.
The image processing unit is arranged on a receiving and sending device of the corresponding module, such as a receiving card or a sending card.
In an optional embodiment, when receiving the corresponding image data to be displayed, the image processing module may perform processing on the image data to be displayed according to a preset processing manner, such as a filter, a smoothing process, and the like, which is not limited herein.
Since the image data generally consists of one frame by one frame of image, in order to further improve the display effect of the LED display screen, in a specific embodiment, the processor 42 is further configured to separately obtain the image data of each frame to be displayed; and distributing the image data of each frame to the image processing unit of each corresponding module according to the arrangement mode of the modules for storage.
When the image data stored by the image processing unit of each module of the LED display screen is the image data taking a frame as a unit, correspondingly, the LED display screen drives each module to simultaneously and sequentially display the same frame of image pictures to be displayed.
In another embodiment, the processor 42 is further configured to control a start time for driving each module to display the same frame or the same frame, and further ensure synchronization of image data display by setting a start time difference. For example, the closer the module to the controller is driven to display the same picture or the later the start time of the same frame of picture, the farther the module from the controller is driven to display the same picture or the earlier the start time of the same frame of picture. And generating a new time sequence according to the initial time difference for driving each module, and driving each module to simultaneously display the stored image picture to be displayed according to the new time sequence.
In another embodiment, in order to improve the problem of signal errors caused by external factors, the processor 42 is further configured to perform buffering on the image to be displayed by each module, and then compare the image data to be displayed by each module with the corresponding original data to determine whether the image data to be displayed by each module is distorted. The process of judging the distortion comprises the step of comparing at least one of the brightness and the chroma of the image with the corresponding original data. And if the distortion occurs, performing image compensation on the distorted image data, and storing the compensated image information.
In particular, the user's appreciation is not actually affected due to too weak errors. Therefore, in order to reduce the workload of the LED display screen and save resources, the processor 42 further determines whether the distortion error of the distorted image data is greater than a preset threshold when detecting the image distortion, and if so, performs image compensation on the distorted image data, and stores the compensated image information. That is, the compensated image information is replaced with the previously stored image data, which is not limited herein.
Different from any of the above embodiments, the processor of this embodiment further determines whether the image data is distorted after storing the image data to be displayed, and after determining that the image data is distorted, the processor performs compensation on the distorted image according to an error with the original image data and then displays the image, thereby further enhancing the display effect and improving the user experience.
Referring to fig. 5, fig. 5 is a schematic structural diagram of an embodiment of a device with a storage function according to the present application. The device 50 with the storage function stores at least one program or instruction 51, and the program or instruction 51 is used for realizing the display method of any one of the LED display screens. In one embodiment, an apparatus having a storage function includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
In the several embodiments provided in the present application, it should be understood that the disclosed method and apparatus may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, a division of a module or a unit is merely a logical division, and an actual implementation may have another division, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
Units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application may be substantially implemented or contributed to by the prior art, or all or part of the technical solution may be embodied in a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, a network device, or the like) or a processor (processor) to execute all or part of the steps of the method according to the embodiments of the present application.
The above embodiments are merely examples and are not intended to limit the scope of the present disclosure, and all modifications, equivalents, and flow charts using the contents of the specification and drawings of the present disclosure or those directly or indirectly applied to other related technical fields are intended to be included in the scope of the present disclosure.