A method for controlling information scrolling display, LED screen and storage medium

By periodically copying and superimposing OSD image data in the LED screen, the problem of excessive resource utilization when scrolling OSD information in the LED screen is solved, and more efficient resource utilization is achieved.

CN113467685BActive Publication Date: 2025-02-18ZHEJIANG DAHUA TECH CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202110866686.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-07-29
Publication Date
2025-02-18
Estimated Expiration
2041-07-29

AI Technical Summary

Technical Problem

In the prior art, when the OSD information is displayed in the LED screen, it occupies a lot of resources, resulting in the LED display screen always in a high load state.

Method used

The consumption of system resources is reduced by periodically copying the currently displayed first sub-OSD image data from memory and superimposing it into the current frame image data.

Benefits of technology

The OSD function's requirement for cached read and write data bandwidth in the LED screen is reduced, the system resources are occupied, and the resource utilization rate is improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113467685B_ABST
    Figure CN113467685B_ABST
Patent Text Reader

Abstract

The present invention discloses a control method for information scrolling display, an LED screen and a storage medium, so as to solve the technical problem that a large number of resources are occupied when an LED screen scrolls and displays OSD information in the prior art. The method comprises: periodically copying the first sub-OSD image data currently displayed from a memory; wherein a first storage area in the memory stores complete OSD image data, and the first sub-OSD image data increases with the period, and the first column of pixels of the first sub-OSD image data corresponds to the pixel column in the OSD image data which increases or decreases according to the scrolling step; superimposing the first sub-OSD image data on the current frame image data to obtain the superimposed current frame image data; wherein the current frame image data is stored in a second storage area in the memory; and sending the superimposed current frame image data to an LED light board for display.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of LED screens, and in particular to a control method for information scrolling display, an LED screen and a storage medium. Background Art

[0002] In light-emitting diode (LED) display screens, small-pitch LED display screens are increasingly widely used due to their outstanding display effects and seamless splicing.

[0003] LED screens used in large-scale performances, customer visits and communication meetings usually require superimposing time, date, slogans and other information on the LED screens, which makes the demand for scrolling display in LED screens increasingly strong.

[0004] In the prior art, the OSD (On Screen Display) method based on the LED display screen first generates an OSD picture and control information according to the OSD control command information, and then reads the image to be displayed and the OSD picture frame by frame, and superimposes the OSD picture on the image to be displayed, and obtains the target picture of the corresponding frame, which is output to the LED light board for display.

[0005] However, when using this method to achieve the scrolling display (dynamic OSD) effect of OSD information in the LED screen, it is necessary to continuously issue OSD control instructions and parse and generate OSD pictures and control information corresponding to each frame of the image to be displayed. At the same time, the OSD picture must be superimposed on the image to be displayed in the corresponding frame to achieve the effect of scrolling character display. This requires a large amount of resources to be occupied for the scrolling display of OSD information in the LED display screen, which keeps the LED display screen under high load.

[0006] In view of this, how to reduce the resource occupancy rate of OSD information scrolling display in LED display screen has become a technical problem to be solved urgently. Summary of the invention

[0007] The present invention provides a method for controlling information scrolling display, an LED screen and a storage medium, which are used to solve the technical problem in the prior art that scrolling display of OSD information in an LED screen occupies a large amount of resources.

[0008] In the first aspect, in order to solve the above technical problems, an information scrolling display method provided by an embodiment of the present invention is applied to a controller in an LED screen. The technical solution of the method is as follows:

[0009] Periodically copying the first sub-OSD image data currently displayed from the memory; wherein the first storage area in the memory stores the complete OSD image data, and the first sub-OSD image data increases with the period, and the first column of pixels of the first sub-OSD image data corresponds to the pixel column in the OSD image data and increases or decreases according to the scrolling step length;

[0010] superimposing the first sub-OSD image data onto the current frame image data to obtain the superimposed current frame image data; wherein the current frame image data is stored in the second storage area of ​​the memory;

[0011] The superimposed current frame image data is sent to the LED light board for display.

[0012] In a possible implementation manner, before periodically copying the first sub-OSD image data currently displayed from the memory, the method further includes:

[0013] determining whether the image data in the second storage area is updated;

[0014] If yes, use the later image data as the current frame image data;

[0015] Determine whether it is necessary to scroll and display OSD information when displaying the current frame image data; wherein the OSD information is information corresponding to the complete OSD image;

[0016] If not, the current frame image is sent to the LED light board for display;

[0017] If the OSD information needs to be scrolled when displaying the current frame image data, the part of the OSD image data is periodically copied from the memory.

[0018] In a possible implementation manner, before determining whether the image data in the second storage area is updated, the method further includes:

[0019] Get OSD control command information;

[0020] Parsing the OSD control instruction information to obtain OSD control information and the OSD image data; wherein the OSD control information includes the location area where the OSD image data is displayed in the LED light board and the scrolling step length;

[0021] The OSD image data is stored in the first storage area.

[0022] In a possible implementation manner, storing the OSD image data into the first storage area includes:

[0023] Obtaining, from the index conversion table, an index value corresponding to the color value of each pixel in the OSD image data, and obtaining picture index information composed of the index values ​​of all pixels in the OSD image data;

[0024] The picture index information is stored in the first storage area.

[0025] A possible implementation method is to periodically copy the first sub-OSD image data currently displayed from the memory, including:

[0026] Determine the first address according to the second first address of the second sub-OSD image data corresponding to the previous cycle, the scrolling step length, and the scrolling direction of the OSD image data;

[0027] Starting from the pixel column where the first first address is located, part of the OSD image data that matches the size of the location area is copied from the OSD image data in the opposite direction of the scrolling direction as the first sub-OSD image data.

[0028] In a possible implementation manner, when the first storage area stores the screen index information, periodically copying the first sub-OSD image data currently displayed from the memory includes:

[0029] Determine the first index address of the first sub-picture index information according to the second first index address of the second sub-picture index information corresponding to the previous cycle, the scrolling step length, and the scrolling direction of the OSD image data;

[0030] Starting from the pixel column where the first index address is located, copying part of the screen index information that matches the size of the position area from the screen index information in the opposite direction of the scrolling direction;

[0031] According to the index conversion table, the color value corresponding to each index in the partial picture index information is queried to obtain the first sub-OSD image data.

[0032] In a possible implementation manner, superimposing the first sub-OSD image data onto the current frame image data to obtain the superimposed current frame image data includes:

[0033] Determine the background color in the OSD image data according to the OSD control information, and whether the background color needs to be displayed when scrolling the OSD image;

[0034] If the background color does not need to be displayed when the OSD image is scrolled, superimposing the pixel data of the first sub-OSD image data except the background color onto the current frame image data to obtain the superimposed current frame image data;

[0035] If the background color needs to be displayed when the OSD image is scrolled, all of the first sub-OSD image data are superimposed on the current frame image data to obtain the superimposed current frame image data.

[0036] In a second aspect, an embodiment of the present invention provides an LED screen, including:

[0037] A controller, configured to execute the method according to the first aspect;

[0038] An LED light board is used to display the image received from the controller.

[0039] In a third aspect, an embodiment of the present invention further provides an LED screen, comprising:

[0040] at least one processor, and

[0041] a memory coupled to the at least one processor;

[0042] The memory stores instructions that can be executed by the at least one processor, and the at least one processor executes the method as described in the first aspect above by executing the instructions stored in the memory.

[0043] In a fourth aspect, an embodiment of the present invention further provides a readable storage medium, including:

[0044] Memory,

[0045] The memory is used to store instructions. When the instructions are executed by the processor, the device including the readable storage medium performs the method described in the first aspect above.

[0046] Through the technical solutions in one or more of the above embodiments of the embodiments of the present invention, the embodiments of the present invention have at least the following technical effects:

[0047] In the embodiment provided by the present invention, the first sub-OSD image data currently displayed is periodically copied from the memory; wherein the first storage area in the memory stores the complete OSD image data, and as the period of the first sub-OSD image data increases, the first column of pixels of the first sub-OSD image data corresponds to the pixel column in the OSD image data which increases or decreases according to the scrolling step; the first sub-OSD image data is superimposed on the current frame image data to obtain the superimposed current frame image data; wherein the current frame image data is stored in the second storage area in the memory; the superimposed current frame image data is sent to the LED light board for display. Since the above process is to copy the first sub-OSD image data from the memory and superimpose it on the current frame image data in the memory, the entire process does not need to read the current frame image data separately, thereby reducing the OSD function's requirements for the cache read and write data bandwidth in the LED screen, reducing the occupation of system resources, and improving resource utilization. BRIEF DESCRIPTION OF THE DRAWINGS

[0048] Figure 1 It is a structural schematic diagram of the LED display screen control system in the prior art;

[0049] Figure 2 A flowchart of information scrolling display provided by an embodiment of the present invention;

[0050] Figure 3 A schematic diagram of the relationship between OSD image data and OSD information provided by an embodiment of the present invention;

[0051] Figure 4 A schematic diagram of copying first sub-OSD image data provided by an embodiment of the present invention;

[0052] Figure 5 A schematic diagram of another method for copying first sub-OSD image data provided by an embodiment of the present invention;

[0053] Figure 6 A schematic diagram of obtaining superimposed current frame image data provided by an embodiment of the present invention;

[0054] Figure 7 A schematic structural diagram of an LED screen provided in an embodiment of the present invention. DETAILED DESCRIPTION

[0055] The embodiments of the present invention provide a method for controlling information scrolling display, an LED screen and a storage medium to solve the technical problem in the prior art that a large amount of resources are occupied when the LED screen scrolls and displays OSD information.

[0056] In order to better understand the above technical scheme, the technical scheme of the present invention is described in detail below through the accompanying drawings and specific embodiments. It should be understood that the embodiments of the present invention and the specific features in the embodiments are detailed descriptions of the technical scheme of the present invention, rather than limitations on the technical scheme of the present invention. In the absence of conflict, the embodiments of the present invention and the technical features in the embodiments can be combined with each other.

[0057] See also Figure 1 , which is a structural diagram of an LED display screen control system in the prior art.

[0058] LED display control systems are mostly composed of a sending card and a receiving card. The sending card mainly includes time-frequency acquisition and preprocessing, a control information processing unit, a video cache unit, and a transmission package unit. The sending card collects the video image data to be displayed through the video interface, and uses its various component units to implement image acquisition, scaling, OSD overlay, video and control information data transmission and other actions according to the instructions issued by the host computer; among them, the control information processing unit can be a microcontroller unit (MCU) or a soft-core controller on a programmable logic.

[0059] The receiving card forwards the data packets received from the sending card through the Gigabit network, and parses the data packets to obtain video data and control information. Finally, the video display is driven according to the control information to complete the driving and display of the video data on the LED light board.

[0060] The LED display screen displays OSD information. The host computer in the LED display screen control system needs to generate OSD screen and position information according to OSD control information. The sending card reads the image to be output and the OSD screen, and then superimposes the two to obtain the target output screen, and then sends it to the receiving card for display output. If the OSD information needs to be displayed dynamically (i.e. scrolling display), the host computer needs to continuously send the OSD control information to be superimposed and parse and generate the OSD screen to achieve the dynamic OSD effect; the sending card needs to continuously read the OSD screen and the image to be output to perform OSD superposition.

[0061] Obviously, the host computer keeps sending down the OSD data to be superimposed, causing the host computer's performance to be occupied by the running screen function for a long time and at a high load; while the sending card reads the OSD screen and the image data to be output at the same time, occupying a large amount of data access bandwidth of the video storage unit, thus causing a large waste of resources.

[0062] To solve the above problems, the present invention adopts the following technical solutions:

[0063] Please refer to Figure 2An embodiment of the present invention provides a method for scrolling information display, which is applied to a controller in an LED screen. The processing process of the method is as follows.

[0064] Step 201: Periodically copy the first sub-OSD image data currently displayed from the memory; wherein the first storage area in the memory stores complete OSD image data, and the first sub-OSD image data increases with the period, and the first column of pixels of the first sub-OSD image data corresponds to the pixel column in the OSD image data which increases or decreases according to the scrolling step.

[0065] If the period of copying the first sub-OSD image data is set to be very large, set to a specific value FFFFFFF, it can be determined that the first sub-OSD image data is superimposed on the current frame image data in a static manner. Therefore, the method of the present invention can be used not only for scrolling display of OSD information, but also for static display of OSD information.

[0066] The OSD image data is an image form of the OSD information on a canvas of a specific size. The OSD information may include text, symbols, logos, etc.

[0067] See also Figure 3 A schematic diagram of the relationship between OSD image data and OSD information provided by an embodiment of the present invention.

[0068] Assuming that the OSD information is "Welcome to XXX", this OSD information needs to be placed in a canvas size of 2000×200 pixels, and the size of the corresponding OSD image data is 2000×200 pixels. Figure 3 The canvas size is indicated by a black border.

[0069] When the user needs to send the OSD information that needs to be scrolled to the LED screen through the host computer, the controller in the LED screen can obtain the complete OSD image data corresponding to the OSD information in the following ways:

[0070] Obtain OSD control command information; parse the OSD control command information to obtain OSD control information and OSD image data; wherein the OSD control information includes the location area and scrolling step length of the OSD image data displayed in the LED light board; store the OSD image data in the first storage area.

[0071] For example, if the host computer requires the LED screen to scroll and display the OSD information "XXX Company welcomes you!", the host computer will generate OSD control instruction information for the above OSD information and provide it to the controller of the LED screen.

[0072] The controller needs to first parse the acquired OSD control instruction information, and then obtain OSD control information and complete OSD image data (ie, image data corresponding to the OSD information), and then store the complete OSD image data into the first storage area.

[0073] If the host computer provides complete OSD image data and OSD control information to the controller of the LED screen, the controller directly stores the OSD image data in the first storage area.

[0074] In the embodiment provided by the present invention, by storing OSD image data in the memory, the LED screen can conveniently obtain the required partial OSD data therefrom for the corresponding frame image, so that the host computer does not have to provide partial OSD data separately for each frame image as in the prior art, thereby reducing the occupancy of the host computer resources.

[0075] Storing the OSD image data in the first storage area may be directly storing the OSD image data in the first storage area.

[0076] Since the total number of colors of most OSD image data is less than 16, and the total number of colors is usually 2 (i.e., background color and font color), in order to reduce the size of the storage space occupied by the complete OSD image data, the present invention represents the color of each pixel in the complete OSD image data with an index value, so the complete OSD image data is stored in the first storage area. The OSD image data can also be stored indirectly in the following manner:

[0077] The index value corresponding to the color value of each pixel in the OSD image data is obtained from the index conversion table, and the screen index information composed of the index values ​​of all pixels in the OSD image data is obtained; and the screen index information is stored in the first storage area. The index conversion table includes the corresponding relationship between the color value (such as RGB value) and the index value.

[0078] For example, Figure 3 Taking the complete OSD image data in as an example, it is assumed that the index value corresponding to black (RGB value is ox0) in the index conversion table is 0, and the index value corresponding to white (RGB value is oxFFFFFF) is 1, where ox represents hexadecimal.

[0079] According to the index conversion table, Figure 3The complete OSD image data is converted into a matrix consisting of only 0 and 1 (i.e., screen index information), in which each element occupies 1 bit. If the complete OSD image data is directly stored, since the RGB value of each pixel pair needs to occupy 3 bytes (i.e., 24 bits), the complete OSD image is converted into screen index information and stored in the first storage area, which can reduce the capacity requirement of the first storage area, thereby reducing the memory occupancy.

[0080] Since the total number of colors of most OSD image data is less than 16, 4-bit data can be used to represent the index value of each pixel corresponding to the OSD image data with a total number of 16 colors. Obviously, this greatly reduces the memory space occupied by the OSD image data.

[0081] In a possible implementation manner, before periodically copying the first sub-OSD image data currently displayed from the memory, the method further includes:

[0082] Determine whether the image data in the second storage area is updated; if so, use the latest image data as the current frame image data; determine whether it is necessary to scroll the OSD information when displaying the current frame image data; wherein the OSD information is the information corresponding to the complete OSD image; if not, send the current frame image to the LED light board for display; if it is necessary to scroll the OSD information when displaying the current frame image data, periodically copy part of the OSD image data from the memory.

[0083] For example, the first storage area of ​​the LED screen memory stores complete OSD image data (such as Figure 3 As shown), initially, no data is stored in the second storage area in the LED screen memory. After image 1 is stored in the second storage area, it is determined through judgment that there is an image update in the second memory. At this time, image 1 is used as the current frame image. At the same time, it is determined that there is no need to scroll the OSD information in image 1, and image 1 is sent to the light board for display.

[0084] At the next time, Image 2 is stored in the second storage area. At this time, it is determined that there is an image update in the second storage area in the LED screen memory, and Image 2 is used as the current frame image. At the same time, it is determined that the OSD image information needs to be scrolled in Image 2. After that, part of the OSD image data will be copied from the first storage area in the memory at a set period (such as every 1 second) and superimposed on Image 2 for display.

[0085] In a possible implementation mode, periodically copying the currently displayed first sub-OSD image data from the memory can be implemented in the following manner:

[0086] The first address is determined according to the second first address of the second sub-OSD image data corresponding to the previous cycle, the scrolling step, and the scrolling direction of the OSD image data; starting from the pixel column where the first first address is located, part of the OSD image data that matches the size of the position area is copied from the OSD image data in the opposite direction of the scrolling direction as the first sub-OSD image data.

[0087] See also Figure 4 A schematic diagram of copying first sub-OSD image data provided by an embodiment of the present invention.

[0088] Assume that the OSD message is "Welcome to the cool water world". Figure 4 The size of the corresponding complete OSD image data is 2000×200 pixels, and the size of the location area where the OSD control information is displayed in the LED screen is 800×200. The second first address (denoted as b) of the second sub-OSD image data corresponding to the previous cycle is the first address of the complete OSD image data (such as Figure 4 b corresponds to the position of the arrow in the figure), the scrolling step is d, and the scrolling direction is to the left. Based on this, it can be determined that the first first address of the first sub-OSD image data currently displayed is a, and the scrolling step between a and the second first address (b) in the opposite direction of the scrolling direction is d. After determining the first first address a, starting from the first address a, copy a portion of the OSD image data with a size of 800×200 pixels from the OSD image data in the opposite direction of the scrolling direction as the first sub-OSD image data.

[0089] See also Figure 5 A schematic diagram of another method of copying first sub-OSD image data provided by an embodiment of the present invention.

[0090] If the size of the remaining OSD image data in the complete OSD image data starting from the column where the first address a is located in the opposite direction of the scrolling direction is smaller than the position area (in the above example, the position area is 800×200, if the size of the remaining OSD image data is 600×200), then the insufficient part of the data (i.e., 200×200) is copied from the column where the first address of the complete OSD image data is located in the opposite direction of the scrolling direction, and finally the first sub-OSD image data is obtained, such as Figure 5 shown.

[0091] The complete OSD image data may also be regarded as a ring image connected end to end, and the partial OSD image data whose size matches the position area is copied from the column where the first address a is located in the opposite direction of the scrolling direction as the first sub-OSD image data.

[0092] Since the complete OSD image data stored in the first storage area can also be stored in the form of index values, when the first storage area stores the screen index information, periodically copying the currently displayed first sub-OSD image data from the memory can also be implemented in the following manner:

[0093] Determine the first index address of the first sub-screen index information according to the second index address of the second sub-screen index information corresponding to the previous cycle, the scrolling step, and the scrolling direction of the OSD image data; starting from the pixel column where the first index address is located, copy the partial screen index information that matches the size of the position area from the screen index information in the opposite direction of the scrolling direction; query the color value corresponding to each index in the partial screen index information according to the index conversion table to obtain the first sub-OSD image data.

[0094] For example, Figure 4 For example, assuming that the first storage area stores the screen index information corresponding to the complete OSD image data, b is the second index address of the second sub-screen index information corresponding to the previous cycle, a is the first index address of the first sub-screen index information determined according to the second index address, the scrolling step d, and the scrolling direction, and then starting from the first index address a, copy the partial screen index information that conforms to 800×200 pixels from the screen index information in the opposite direction of the scrolling direction, and according to the index conversion table, query the corresponding color value of each in the partial screen index information, and finally obtain the first sub-OSD image data.

[0095] After the first sub-OSD image data is obtained, step 202 and step 203 may be performed.

[0096] Step 202: superimposing the first sub-OSD image data onto the current frame image data to obtain the superimposed current frame image data; wherein the current frame image data is stored in the second storage area in the memory;

[0097] Step 203: Send the superimposed current frame image data to the LED light board for display.

[0098] See also Figure 6 A schematic diagram of obtaining superimposed current frame image data provided by an embodiment of the present invention.

[0099] Assume that the LED displays a picture (i.e. Figure 6 When displaying this picture, the OSD information "Welcome to the cool water world" needs to be scrolled. Figure 4Take the complete OSD image data in as an example. The first address of the currently displayed first OSD image data is determined according to the second first address of the second sub-OSD image data of the previous cycle, the scrolling cycle, and the scrolling direction. In the complete OSD image data, a portion of the OSD image data with a size of 800×200 pixels is copied from the first first address in the opposite direction of the scrolling direction as the first sub-OSD image data, and superimposed on the current frame image data to obtain the superimposed current frame image data (i.e., the superimposed image of the current cycle), and sent to the LED light board for display. For ease of understanding, the superimposed image of the previous cycle is also shown.

[0100] It should be understood that when the LED screen displays video data, the period for obtaining the first OSD image data may be the duration of displaying one frame of image, that is, when displaying each frame of image, the corresponding first OSD image data is obtained for superposition and display.

[0101] In a possible implementation, the first sub-OSD image data is superimposed on the current frame image data to obtain the superimposed current frame image data, and the OSD information can also be scrolled with or without background color, which can be implemented in the following ways:

[0102] Determine the background color in the OSD image data according to the OSD control information, and whether the background color needs to be displayed when the OSD image is scrolled; if the background color does not need to be displayed when the OSD image is scrolled, superimpose the data of the pixels other than the background color in the first sub-OSD image data onto the current frame image data to obtain the superimposed current frame image data; if the background color needs to be displayed when the OSD image is scrolled, superimpose all the first sub-OSD image data onto the current frame image data to obtain the superimposed current frame image data.

[0103] For example, Figure 6 Taking the example in as an example, according to the received OSD control information, it is determined that the background color of the complete OSD image data is red. However, in the complete OSD image data, except for the font color, the other colors are gray (that is, the background color of the complete OSD image data is gray), and then it is determined that there is no need to display the background color of the OSD image data in the currently displayed picture (that is, the OSD information is scrolled in a transparent display mode). Therefore, when copying part of the OSD data in the complete OSD image data, the data of the pixels except the background color in 800×200 pixels are copied starting from the first address in the opposite direction of the scrolling direction (that is, when copying, only the data of the pixel color of black is copied), and superimposed on the corresponding pixel position in the current frame image data to obtain the superimposed current frame image data.

[0104] If the background color in the complete OSD image data is consistent with the background color of the OSD image data determined according to the OSD control information, the OSD information needs to be displayed with the background color. Figure 4 The method is implemented in this way and will not be described in detail here.

[0105] It should be noted that, in the above-mentioned embodiment of the present invention, although the complete OSD image data corresponds to text, it may also include picture data such as LOGO, so the content included in the OSD image data should not be limited to the example.

[0106] In the embodiment provided by the present invention, the first sub-OSD image data currently displayed is periodically copied from the memory; wherein the first storage area in the memory stores the complete OSD image data, and as the period of the first sub-OSD image data increases, the first column of pixels of the first sub-OSD image data corresponds to the pixel column in the OSD image data which increases or decreases according to the scrolling step; the first sub-OSD image data is superimposed on the current frame image data to obtain the superimposed current frame image data; wherein the current frame image data is stored in the second storage area in the memory; the superimposed current frame image data is sent to the LED light board for display. Since the above process is to copy the first sub-OSD image data from the memory and superimpose it on the current frame image data in the memory, the entire process does not need to read the current frame image data separately, thereby reducing the OSD function's requirements for the cache read and write data bandwidth in the LED screen, reducing the occupation of system resources, and improving resource utilization.

[0107] Based on the same inventive concept, an embodiment of the present invention provides an LED screen. For the method of the LED screen, please refer to Figure 7 , the LED screen includes:

[0108] The controller 701 is used to execute the information scrolling display method as described above; the specific implementation method can refer to the description of the method embodiment part, and the repeated parts will not be repeated.

[0109] The LED light board 702 is used to display the image received from the controller 701 .

[0110] Based on the same inventive concept, an embodiment of the present invention provides an LED screen, comprising: at least one processor, and

[0111] a memory coupled to the at least one processor;

[0112] The memory stores instructions that can be executed by the at least one processor, and the at least one processor executes the information scrolling display method as described above by executing the instructions stored in the memory.

[0113] Based on the same inventive concept, an embodiment of the present invention further provides a readable storage medium, including:

[0114] Memory,

[0115] The memory is used to store instructions. When the instructions are executed by the processor, the device including the readable storage medium completes the information scrolling display method as described above.

[0116] Those skilled in the art will appreciate that the embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the embodiments of the present invention may take the form of complete hardware embodiments, complete software embodiments, or embodiments combining software and hardware. Moreover, the embodiments of the present invention may take the form of computer program products implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes.

[0117] The embodiments of the present invention are described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to the embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0118] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0119] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0120] Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include these modifications and variations.

Claims

1. A method for scrolling information display, applied to a controller in an LED screen, characterized in that: include: Periodically copying first sub-OSD image data to be displayed in the current cycle from the complete OSD image data stored in the first storage area of ​​the memory; wherein the complete OSD image data is generated according to the OSD information to be scrolled and displayed as required before the periodic copying; the image data copied from the complete OSD image data in the current cycle and the cycle before the current cycle are of the same size, and the positions where the copying starts differ by a scrolling step; superimposing the first sub-OSD image data onto the current frame image data stored in the second storage area of ​​the memory to obtain the superimposed current frame image data; Sending the superimposed current frame image data to the LED light board for display; The method of superimposing the first sub-OSD image data onto the current frame image data stored in the second storage area of ​​the memory to obtain the superimposed current frame image data includes: Determine the background color in the complete OSD image data and whether the background color needs to be displayed during scrolling display according to the OSD control information; wherein the OSD control information includes the location area and scrolling step length of the complete OSD image data displayed in the LED light board; If the background color does not need to be displayed during scrolling display, superimpose the pixel data of the first sub-OSD image data except the background color onto the current frame image data to obtain the superimposed current frame image data; If the background color needs to be displayed during scrolling display, all of the first sub-OSD image data are superimposed on the current frame image data to obtain the superimposed current frame image data.

2. The method according to claim 1, characterized in that Periodically copying the first sub-OSD image data to be displayed in the current period from the complete OSD image data, further comprising: determining whether the image data in the second storage area is updated; If yes, use the updated image data as the current frame image data; Determining whether it is necessary to scroll and display OSD information when displaying the current frame image data; wherein the OSD information is information corresponding to the complete OSD image data; If not, the current frame image is sent to the LED light board for display; If the OSD information needs to be scrolled when displaying the current frame image data, the first sub-OSD image data to be displayed in the current period is periodically copied from the complete OSD image data.

3. The method according to claim 2, characterized in that Before determining whether the image data in the second storage area is updated, the method further includes: Get OSD control command information; The OSD control instruction information is parsed to obtain the OSD control information and the OSD image data; and the OSD image data is stored in the first storage area.

4. The method according to claim 3, characterized in that Storing the complete OSD image data in the first storage area of ​​the memory includes: Obtaining, from the index conversion table, an index value corresponding to the color value of each pixel in the complete OSD image data, and obtaining picture index information composed of the index values ​​of all pixels in the complete OSD image data; The picture index information is stored in the first storage area.

5. The method according to claim 4, characterized in that Periodically copying the first sub-OSD image data to be displayed in the current period from the complete OSD image data, including: Determine a first address according to the second first address of the second sub-OSD image data corresponding to the previous cycle, the scrolling step, and the scrolling direction of the OSD image data; wherein the first first address is the first address from which the first sub-OSD image data is copied from the complete OSD image data in the current cycle, and the second first address is the first address from which the second sub-OSD image data is copied from the complete OSD image data in the previous cycle; Starting from the pixel column where the first first address is located, part of the OSD image data that matches the size of the location area is copied from the complete OSD image data in the opposite direction of the scrolling direction as the first sub-OSD image data.

6. The method according to claim 4, characterized in that When the first storage area stores the screen index information, periodically copying the first sub-OSD image data to be displayed in the current period from the complete OSD image data includes: Determine the first index address of the first sub-picture index information according to the second first index address of the second sub-picture index information corresponding to the previous cycle, the scrolling step, and the scrolling direction of the OSD image data; wherein the first first index address is the first index address of the first sub-picture index information copied from the picture index information in the current cycle, and the second first address is the first index address of the second sub-picture index information copied from the picture index information in the previous cycle; Starting from the pixel column where the first index address is located, copying part of the screen index information that matches the size of the position area from the screen index information in the opposite direction of the scrolling direction; According to the index conversion table, the color value corresponding to each index in the partial picture index information is queried to obtain the first sub-OSD image data.

7. An LED screen, characterized in that: include: A controller, configured to execute the method according to any one of claims 1 to 6; An LED light board is used to display the image received from the controller.

8. An LED screen, characterized in that: include: at least one processor, and a memory coupled to the at least one processor; The memory stores instructions that can be executed by the at least one processor, and the at least one processor executes the method according to any one of claims 1 to 6 by executing the instructions stored in the memory.

9. A readable storage medium, characterized in that: Including memory, The memory is used to store instructions. When the instructions are executed by the processor, the device including the readable storage medium implements the method according to any one of claims 1 to 6.

Citation Information

Patent Citations

  • Method and device for character superimposition of video image

    CN105450942A

  • Time stamp superposition method and device, shooting device and storage device

    CN110290422A

  • Screen display content superposition method and device, electronic equipment and storage medium

    CN110971847A

  • Character display method and system, electronic equipment and storage medium

    CN112667178A