Display data processing method and device, terminal equipment and storage medium
By pixel accumulation of the images displayed on the vehicle light panel, the power level of each frame of the picture is determined, and the light panel display is controlled, the problem that the power exceeds the maximum allowable power during the vehicle light panel display is solved, and the service life of the light panel is extended.
Patent Information
- Application Number
- CN202311743564.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-18
- Publication Date
- 2025-06-20
AI Technical Summary
During the vehicle light board display image, the power is likely to exceed the maximum allowable power, resulting in a shortening of the service life of the light board.
By accumulating pixels on the pre-acquisitioned images to be displayed, the calculation results are obtained, and the power level of each frame of the picture is determined based on the calculation results, the picture information and power level are written into the data frame, and sent to the lamp board end to control the display.
It reduces the energy consumption loss of the lamp panel and extends the service life of the lamp panel.
Smart Images

Figure CN120186846A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of vehicles, and in particular, to a display data processing method, apparatus, terminal device, and storage medium. Background Art
[0002] With the progress of technology, setting a light board on a vehicle to display images has become a new means of decoration and information transmission.
[0003] Currently, during the process of displaying images on a vehicle light board, its power is prone to exceed the maximum allowable power, which will shorten the service life of the light board. Summary of the Invention
[0004] The main purpose of the present invention is to provide a display data processing method, apparatus, terminal device, and storage medium, aiming to solve the problem that during the process of displaying images on a vehicle light board, its power is prone to exceed the maximum allowable power, resulting in shortening the service life of the light board.
[0005] To achieve the above object, the present invention provides a display data processing method, which is applied to a control end, and the method includes the following steps:
[0006] Perform pixel accumulation on a pre-acquired image to be displayed to obtain a calculation result;
[0007] Determine the power level of each frame of picture in the image to be displayed based on the calculation result;
[0008] Write the picture information and power level of each frame of picture into a corresponding data frame;
[0009] Send the data frame to the light board end for the light board end to display each frame of picture in the image to be displayed based on the power level and the picture information.
[0010] Optionally, the step of determining the power level of each frame of picture in the image to be displayed based on the calculation result includes:
[0011] Calculate the initial brightness level of each light bead when the light board end displays each frame of picture;
[0012] Correct the light beads based on the calculation result and the initial brightness level of each light bead to obtain a corrected brightness level;
[0013] Determine the power level of each frame of picture based on the corrected brightness level.
[0014] Optionally, the step of correcting the light beads based on the calculation result and the initial brightness level of each light bead to obtain a corrected brightness level includes:
[0015] When the calculation result is greater than the first calculation result threshold and less than or equal to the second calculation result threshold, correct the lamp beads according to the initial brightness level of the lamp beads;
[0016] If the initial brightness level of the lamp bead is greater than or equal to the third brightness level threshold, lower the lamp bead by one brightness level to obtain the corrected brightness level.
[0017] Optionally, the step of correcting the lamp beads based on the calculation result and the initial brightness level of each lamp bead to obtain the corrected brightness level further includes:
[0018] When the calculation result is greater than the second calculation result threshold and less than or equal to the third calculation result threshold, correct the lamp beads according to the initial brightness level of the lamp beads;
[0019] If the initial brightness level of the lamp bead is greater than or equal to the fourth brightness level threshold, lower the lamp bead by two brightness levels to obtain the corrected brightness level;
[0020] If the initial brightness level of the lamp bead is greater than or equal to the second brightness level threshold and less than the fourth brightness level threshold, lower the lamp bead by one brightness level to obtain the corrected brightness level.
[0021] Optionally, the step of correcting the lamp beads based on the calculation result and the initial brightness level of each lamp bead to obtain the corrected brightness level further includes:
[0022] When the calculation result is greater than the third calculation result threshold, correct the lamp beads according to the initial brightness level of the lamp beads;
[0023] If the initial brightness level of the lamp bead is greater than or equal to the fifth brightness level threshold, lower the lamp bead by three brightness levels to obtain the corrected brightness level;
[0024] If the initial brightness level of the lamp bead is greater than or equal to the third brightness level threshold and less than the fifth brightness level threshold, lower the lamp bead by two brightness levels to obtain the corrected brightness level;
[0025] If the initial brightness level of the lamp bead is greater than or equal to the first brightness level threshold and less than the third brightness level threshold, lower the lamp bead by one brightness level to obtain the corrected brightness level.
[0026] Optionally, the step of writing the picture information and power level of each frame of picture into the corresponding data frame includes:
[0027] Write the current frame sequence number into the first two bytes of the corresponding data frame;
[0028] Write the power level into the third byte of the corresponding data frame.
[0029] Optionally, when the method is applied to the lamp board side, the method includes the following steps:
[0030] Receive a data frame sent by the terminal, where the data frame contains the picture information and power level written by the terminal. The power level is determined based on the calculation result after the terminal accumulates pixels of a pre-acquired image to be displayed to obtain a calculation result;
[0031] Display each frame of the picture in the image to be displayed based on the power level.
[0032] An embodiment of the present invention further provides a display data processing device, which is arranged at the control end, and the device includes:
[0033] A data calculation module, configured to accumulate pixels of a pre-acquired image to be displayed to obtain a calculation result;
[0034] A data preparation module, configured to determine the power level of each frame of the picture in the image to be displayed based on the calculation result;
[0035] A data frame writing module, configured to write the picture information and power level of each frame of the picture into the corresponding data frame;
[0036] An interaction module, configured to send the data frame to the lamp board side for the lamp board side to display each frame of the picture in the image to be displayed based on the power level and the picture information.
[0037] An embodiment of the present invention further provides a terminal device, which includes a memory, a processor, and a display data processing program stored on the memory and executable on the processor. When the display data processing program is executed by the processor, the above-mentioned display data processing method is implemented.
[0038] An embodiment of the present invention further provides a computer-readable storage medium, on which a display data processing program is stored. When the display data processing program is executed by a processor, the above-mentioned display data processing method is implemented.
[0039] The display data processing method, device, terminal device and storage medium provided by the embodiments of the present invention perform pixel accumulation on a pre-acquired image to be displayed to obtain a calculation result; determine the power level of each frame of picture in the image to be displayed based on the calculation result; write the picture information and power level of each frame of picture into a corresponding data frame; and send the data frame to the lamp board side, so that the lamp board side can display each frame of picture in the image to be displayed based on the power level and the picture information. By performing pixel accumulation on the pre-acquired image to be displayed, obtaining a calculation result, then determining a suitable power level based on the calculation result, and sending the power level to the lamp board side through a data frame, the embodiments of the present invention can control the lamp board side to display each frame of picture in the image to be displayed based on the corresponding power level, thereby reducing the energy consumption loss of the lamp board and extending the service life of the lamp board. Description of the Drawings
[0040] Figure 1 It is a schematic diagram of the functional modules of the terminal device to which the display data processing device of the present invention belongs;
[0041] Figure 2 It is a schematic flowchart of an exemplary embodiment of the display data processing method of the present invention;
[0042] Figure 3 It is a schematic flowchart of another exemplary embodiment of the display data processing method of the present invention;
[0043] Figure 4 It is a schematic flowchart of another exemplary embodiment of the display data processing method of the present invention;
[0044] Figure 5 It is a schematic flowchart of another exemplary embodiment of the display data processing method of the present invention;
[0045] Figure 6 It is a schematic flowchart of another exemplary embodiment of the display data processing method of the present invention;
[0046] Figure 7 It is a schematic flowchart of another exemplary embodiment of the display data processing method of the present invention;
[0047] Figure 8 It is a schematic flowchart of another exemplary embodiment of the display data processing method of the present invention.
[0048] The implementation, functional features and advantages of the object of the present invention will be further described with reference to the embodiments and the accompanying drawings. Detailed Embodiments
[0049] It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.
[0050] The main solution of the embodiment of the present invention is as follows: perform pixel accumulation on the pre-acquired image to be displayed to obtain a calculation result; determine the power level of each frame of the image to be displayed based on the calculation result; write the image information and power level of each frame of the image into the corresponding data frame; send the data frame to the lamp board side for the lamp board side to display each frame of the image in the image to be displayed based on the power level and the image information. By performing pixel accumulation on the pre-acquired image to be displayed, obtaining a calculation result, then determining a suitable power level based on the calculation result, and sending the power level to the lamp board side through the data frame, the embodiment of the present invention can control the lamp board side to display each frame of the image in the image to be displayed based on the corresponding power level, thereby reducing the energy consumption loss of the lamp board and prolonging the service life of the lamp board.
[0051] The embodiment of the present invention takes into account that currently, during the process of displaying an image on a vehicle lamp board, its power is likely to exceed the maximum allowable power, which will shorten the service life of the lamp board.
[0052] Therefore, the embodiment of the present invention proposes a solution. By performing pixel accumulation on the pre-acquired image to be displayed, obtaining a calculation result, then determining a suitable power level based on the calculation result, and sending the power level to the lamp board side through the data frame, the embodiment of the present invention can control the lamp board side to display each frame of the image in the image to be displayed based on the corresponding power level, thereby reducing the energy consumption loss of the lamp board and prolonging the service life of the lamp board.
[0053] Specifically, referring to Figure 1 , Figure 1 is a schematic diagram of the functional modules of the terminal device to which the display data processing device of the present invention belongs. The display data processing device can be a device independent of the device and capable of data processing, and it can be carried on the device in the form of hardware or software. The device can be an intelligent mobile terminal with data processing functions such as a mobile phone or a tablet computer, and can also be a fixed device or a server with data processing functions, etc.
[0054] In this embodiment, the terminal device to which the display data processing device belongs at least includes an output module 110, a processor 120, a memory 130, and a communication module 140.
[0055] The memory 130 stores an operating system and a display data processing program; the output module 110 can be a display screen, etc. The communication module 140 can include a WIFI module and a Bluetooth module, etc., and communicates with external devices or servers through the communication module 140.
[0056] Among them, when the display data processing program in the memory 130 is executed by the processor, the following steps are implemented:
[0057] Perform pixel accumulation on the pre-acquired image to be displayed to obtain a calculation result;
[0058] Determine the power level of each frame of the image to be displayed based on the calculation result;
[0059] Write the picture information and power level of each frame of the picture into the corresponding data frame;
[0060] Send the data frame to the lamp board side for the lamp board side to display each frame of the image to be displayed based on the power level and the picture information.
[0061] Furthermore, when the display data processing program in the memory 130 is executed by the processor, the following steps are further implemented:
[0062] Calculate the initial brightness level of each lamp bead when the lamp board side displays each frame of the picture;
[0063] Based on the calculation result and the initial brightness level of each lamp bead, correct the lamp beads to obtain a corrected brightness level;
[0064] Determine the power level of each frame of the picture based on the corrected brightness level.
[0065] Furthermore, when the display data processing program in the memory 130 is executed by the processor, the following steps are further implemented:
[0066] When the calculation result is greater than the first calculation result threshold and less than or equal to the second calculation result threshold, correct the lamp beads according to the initial brightness level of the lamp beads;
[0067] If the initial brightness level of the lamp bead is greater than or equal to the third brightness level threshold, lower the brightness level of the lamp bead by one level to obtain the corrected brightness level.
[0068] Furthermore, when the display data processing program in the memory 130 is executed by the processor, the following steps are further implemented:
[0069] When the calculation result is greater than the second calculation result threshold and less than or equal to the third calculation result threshold, correct the lamp beads according to the initial brightness level of the lamp beads;
[0070] If the initial brightness level of the lamp bead is greater than or equal to the fourth brightness level threshold, lower the brightness level of the lamp bead by two levels to obtain the corrected brightness level;
[0071] If the initial brightness level of the lamp bead is greater than or equal to the second brightness level threshold and less than the fourth brightness level threshold, lower the brightness level of the lamp bead by one level to obtain the corrected brightness level.
[0072] Further, when the display data processing program in the memory 130 is executed by the processor, the following steps are also implemented:
[0073] When the calculation result is greater than the third calculation result threshold, correct the lamp beads according to the initial brightness level of the lamp beads;
[0074] If the initial brightness level of the lamp bead is greater than or equal to the fifth brightness level threshold, reduce the lamp bead by three brightness levels to obtain the corrected brightness level;
[0075] If the initial brightness level of the lamp bead is greater than or equal to the third brightness level threshold and less than the fifth brightness level threshold, reduce the lamp bead by two brightness levels to obtain the corrected brightness level;
[0076] If the initial brightness level of the lamp bead is greater than or equal to the first brightness level threshold and less than the third brightness level threshold, reduce the lamp bead by one brightness level to obtain the corrected brightness level.
[0077] Further, when the display data processing program in the memory 130 is executed by the processor, the following steps are also implemented:
[0078] Write the current frame number into the first two bytes of the corresponding data frame;
[0079] Write the power level into the third byte of the corresponding data frame.
[0080] Further, when the display data processing program in the memory 130 is executed by the processor, the following steps are also implemented:
[0081] Receive a data frame sent by the terminal, the data frame includes the picture information and power level written by the terminal, and the power level is determined based on the calculation result after the terminal accumulates pixels of a pre-acquired image to be displayed to obtain a calculation result;
[0082] Display each frame of the picture in the image to be displayed based on the power level.
[0083] In this embodiment, through the above solution, specifically, pixel accumulation is performed on the pre-acquired image to be displayed to obtain a calculation result; based on the calculation result, the power level of each frame of the image to be displayed is determined; the image information and power level of each frame of the image are written into the corresponding data frame; and the data frame is sent to the lamp board side for the lamp board side to display each frame of the image to be displayed based on the power level and the image information. In the embodiment of the present invention, pixel accumulation is performed on the pre-acquired image to be displayed to obtain a calculation result, and then a suitable power level is determined based on the calculation result, and the power level is sent to the lamp board side through the data frame, so that each frame of the image to be displayed can be controlled to be displayed on the lamp board side based on the corresponding power level, thereby reducing the energy consumption loss of the lamp board and prolonging the service life of the lamp board.
[0084] Based on the above device architecture but not limited to the above architecture, an embodiment of the method of the present invention is proposed.
[0085] The execution subject of the method in this embodiment can be a display data processing device, which can be a device independent of the device and capable of data processing, and can be carried on the device in the form of hardware or software.
[0086] Referring to Figure 2 , Figure 2 is a schematic flowchart of an exemplary embodiment of the display data processing method of the present invention. The method is applied to the control end, and the display data processing method includes:
[0087] Step S10, perform pixel accumulation on the pre-acquired image to be displayed to obtain a calculation result.
[0088] Among them, the image to be displayed is a signature, picture, video uploaded by the user or an image drawn by the user in real time.
[0089] Among them, if the image to be displayed is an animated image, video or an image drawn by the user in real time, the image to be displayed can be split into several pictures.
[0090] Then, the several pictures are divided based on a preset time unit.
[0091] Among them, assuming that the image to be displayed is split into 30 pictures in total, and a preset time unit corresponds to 10 pictures, then the image to be displayed can be divided into 3 groups in sequence based on this time unit.
[0092] Then, the pixel data of the pictures under each time unit are accumulated to obtain the calculation result of this group.
[0093] For example, based on the three groups of pictures obtained from the above division, pixel accumulation can be performed on the pictures in the first group, the second group, and the third group respectively to obtain the calculation results corresponding to each group of pictures.
[0094] Specifically, each pixel point in the picture corresponds to a 4-bit gray value. For each pixel point in the image, accumulation is performed to obtain the calculation result of this group. The equation is as follows: SubArray_x = sum of (all of 4-bit data) (where x ∈ [1, n] represents the nth picture in a group of pictures).
[0095] Among them, SubArray_x represents the calculation result of the nth picture in a group of pictures.
[0096] Then, after obtaining the calculation results corresponding to each group of pictures, filtering processing is performed on the calculation results corresponding to each group of pictures respectively. The equation is as follows: pixel_filter_x = sum of (SubArray_x) / TimeWindow.
[0097] Among them, TimeWindow is the filtering processing factor.
[0098] Then, the maximum value among the calculation results corresponding to each group of pictures after filtering processing is used as the calculation result of the image to be displayed. The equation is as follows: Pixel_max_x = max (each pixel_filter_x of each group).
[0099] Step S20: Determine the power level of each frame of picture in the image to be displayed based on the calculation result.
[0100] Among them, the calculation result can be associated with the power level, and thus the corresponding power level can be determined based on the calculation result.
[0101] Specifically, as an implementation manner, the initial brightness levels of each light bead when the lamp board displays each frame of picture can be calculated.
[0102] Then, based on the calculation result and the initial brightness levels of each light bead, the light beads are corrected to obtain the corrected brightness levels.
[0103] Finally, based on the corrected brightness levels, the power level of each frame of picture is determined.
[0104] Step S30: Write the picture information and power level of each frame of picture into the corresponding data frame.
[0105] Among them, the picture information may include: picture size, current frame number of the picture, picture type, etc.
[0106] Among them, for the data frame corresponding to each frame of picture, the picture information and power level of the frame of picture can be written into a preset position in the data frame.
[0107] Step S40: Send the data frame to the lamp board terminal for the lamp board terminal to display each frame of picture in the to-be-displayed image based on the power level and the picture information.
[0108] Among them, after the control terminal sends the data frame to the lamp board terminal, the lamp board terminal reads the power level and picture information in the preset position of the data frame, and then displays the frame of picture based on the power level and the picture information.
[0109] As an implementation manner, taking the to-be-displayed image as an image drawn by the user in real time as an example, when the user draws an image, the image drawn in real time will be directly sent to the lamp board terminal for real-time display, thereby improving the synchronization of image display. At the same time, taking the image drawn by the user as the to-be-displayed image, steps S10 - S40 are executed, thereby calculating the power level of each frame of picture in the to-be-displayed image and sending the power level to the lamp board terminal. When the lamp board terminal redisplay or loop display the image drawn by the user after real-time display, the power level determined in step S20 is used to display the to-be-displayed image, thereby reducing the energy loss of the lamp board and prolonging the service life of the lamp board when redisplaying or loop displaying the image drawn by the user.
[0110] In this embodiment, through the above solution, by performing pixel accumulation on the pre-obtained to-be-displayed image, a calculation result is obtained; based on the calculation result, the power level of each frame of picture in the to-be-displayed image is determined; the picture information and power level of each frame of picture are written into the corresponding data frame; the data frame is sent to the lamp board terminal for the lamp board terminal to display each frame of picture in the to-be-displayed image based on the power level and the picture information. In the embodiment of the present invention, by performing pixel accumulation on the pre-obtained to-be-displayed image to obtain a calculation result, and then determining a suitable power level based on the calculation result, and sending the power level to the lamp board terminal through the data frame, thereby the lamp board terminal can be controlled to display each frame of picture in the to-be-displayed image based on the corresponding power level, so as to reduce the energy consumption loss of the lamp board and prolong the service life of the lamp board.
[0111] Refer to Figure 3 , Figure 3 which is a schematic flowchart of another exemplary embodiment of the display data processing method of the present invention.
[0112] Based on the above Figure 2 shown embodiment, in step S20, determining the power level of each frame of picture in the to-be-displayed image based on the calculation result includes:
[0113] Step S21, calculate the initial brightness levels of each light bead when the light board displays each frame of picture.
[0114] Among them, each light bead has 16 different brightness levels.
[0115] Among them, the initial brightness levels of each light bead can be calculated through the display content of each frame of picture.
[0116] Step S22, based on the calculation result and the initial brightness levels of each light bead, correct the light beads to obtain the corrected brightness levels.
[0117] Among them, the calculation result and the initial brightness levels of each light bead can be comprehensively analyzed to obtain an analysis result, and based on the analysis result, the light beads are corrected to obtain the corrected brightness levels.
[0118] Specifically, as an implementation manner, the calculation result and the initial brightness levels of each light bead can be comprehensively analyzed to obtain an analysis result, and based on the analysis result, a correction coefficient is determined, and then this correction coefficient is used to correct the brightness level of the light bead.
[0119] As another implementation manner, different calculation result thresholds can also be set based on the calculation result, different brightness level thresholds can be set based on the light bead brightness levels, analyze which calculation result threshold range and which brightness level threshold range the initial brightness level of the light bead falls into to obtain an analysis result, and based on the analysis result, the light bead is corrected to obtain the corrected brightness level.
[0120] Step S23, determine the power level of each frame of picture based on the corrected brightness level.
[0121] Among them, different brightness levels of the light beads correspond to different power levels.
[0122] Among them, the corresponding power level of the light bead can be queried based on the corrected brightness level;
[0123] Then, calculate the power levels of all the light beads in each frame of picture. For example, accumulate the power levels of all the light beads in each frame of picture, and use the accumulated result as the power level of this frame of picture, or, count the power levels of all the light beads in each frame of picture, and use the power level with the largest proportion as the power level of this frame of picture, etc.
[0124] In the embodiment of the present invention, the light beads are corrected based on the calculation result and the initial brightness levels of each light bead to obtain the corrected brightness levels, and the power level of each frame of picture is determined based on the corrected brightness levels, thereby controlling the power of the image to be displayed, reducing the energy consumption loss of the light board, and thus prolonging the service life of the light board.
[0125] Reference Figure 4 , Figure 4 is a schematic flowchart of another exemplary embodiment of the display data processing method of the present invention.
[0126] Based on the above Figure 3 shown embodiment, in step S22, based on the calculation result and the initial brightness level of each of the lamp beads, correcting the lamp beads to obtain the corrected brightness level includes:
[0127] In step S221, when the calculation result is greater than the first calculation result threshold and less than or equal to the second calculation result threshold, correcting the lamp beads according to the initial brightness level of the lamp beads.
[0128] For example, assume that the total number of lamp beads on the lamp board is 1712, the first calculation result threshold is set to 1080, and the second calculation result threshold is set to 1200.
[0129] Among them, when the calculation result is greater than 1080 and less than or equal to 1200, the number of lit lamp beads on the lamp board is greater than 1080 and less than 1200.
[0130] In step S222, if the initial brightness level of the lamp bead is greater than or equal to the third brightness level threshold, reducing the brightness level of the lamp bead by one level to obtain the corrected brightness level.
[0131] For example, the first brightness level threshold is set to 5, the second brightness level threshold is set to 6, the third brightness level threshold is set to 10, the fourth brightness level threshold is set to 13, and the fifth brightness level threshold is set to 14.
[0132] Among them, when the calculation result is greater than the first calculation result threshold and less than or equal to the second calculation result threshold, if the initial brightness level of the lamp bead is 15, which is greater than the third brightness level threshold of 10, then the brightness level of the lamp bead is reduced to 14.
[0133] Among them, as an implementation manner, when the calculation result is less than the first calculation result threshold, the brightness level of the lamp bead remains unchanged.
[0134] In the embodiment of the present invention, based on the calculation result and the initial brightness level of each of the lamp beads, the lamp beads are corrected to obtain the corrected brightness level, and based on the corrected brightness level, the power level of each frame of picture is determined, thereby controlling the power of the image to be displayed, reducing the energy consumption loss of the lamp board, and thus extending the service life of the lamp board.
[0135] Reference Figure 5 , Figure 5 is a schematic flowchart of another exemplary embodiment of the display data processing method of the present invention.
[0136] Based on the above Figure 3 In the embodiment shown, step S22 of correcting the lamp beads based on the calculation result and the initial brightness level of each lamp bead to obtain the corrected brightness level further includes:
[0137] Step S223, when the calculation result is greater than the second calculation result threshold and less than or equal to the third calculation result threshold, correct the lamp beads according to the initial brightness level of the lamp beads.
[0138] For example, assume that the total number of lamp beads on the lamp board is 1712, the second calculation result threshold is set to 1200, and the third calculation result threshold is set to 1320.
[0139] Among them, when the calculation result is greater than 1200 and less than or equal to 1320, the number of lit lamp beads on the lamp board is greater than 1200 and less than 1320.
[0140] Step S224, if the initial brightness level of the lamp bead is greater than or equal to the fourth brightness level threshold, lower the lamp bead by two brightness levels to obtain the corrected brightness level.
[0141] For example, the fourth brightness level threshold is 13 as described in the previous embodiment.
[0142] Among them, when the calculation result is greater than the second calculation result threshold and less than or equal to the third calculation result threshold, if the initial brightness level of the lamp bead is 15, which is greater than or equal to the fourth brightness level threshold of 13, the brightness level of the lamp bead is lowered to 13.
[0143] Step S225, if the initial brightness level of the lamp bead is greater than or equal to the second brightness level threshold and less than the fourth brightness level threshold, lower the lamp bead by one brightness level to obtain the corrected brightness level.
[0144] For example, the second brightness level threshold is 6 as described in the previous embodiment.
[0145] Among them, when the calculation result is greater than the second calculation result threshold and less than or equal to the third calculation result threshold, if the initial brightness level of the lamp bead is 12, which is greater than the second brightness level threshold of 6 and less than the fourth brightness level threshold of 13, the brightness level of the lamp bead is lowered to 11.
[0146] In the embodiment of the present invention, the lamp beads are corrected based on the calculation result and the initial brightness level of each lamp bead to obtain the corrected brightness level, and the power level of each frame of picture is determined based on the corrected brightness level, thereby controlling the power of the image to be displayed, reducing the energy consumption loss of the lamp board, and thus prolonging the service life of the lamp board.
[0147] Refer toFigure 6 , Figure 6 is a schematic flowchart of another exemplary embodiment of the data display processing method of the present invention.
[0148] Based on the above Figure 3 shown embodiment, the step S22 of correcting the lamp beads based on the calculation result and the initial brightness level of each lamp bead to obtain the corrected brightness level further includes:
[0149] Step S226, when the calculation result is greater than the third calculation result threshold, correct the lamp bead according to the initial brightness level of the lamp bead.
[0150] For example, assume that the total number of lamp beads on the lamp board is 1712, and the third calculation result threshold is 1320.
[0151] Among them, when the calculation result is greater than 1320, the number of lit lamp beads on the lamp board is greater than 1320.
[0152] Step S227, if the initial brightness level of the lamp bead is greater than or equal to the fifth brightness level threshold, reduce the brightness level of the lamp bead by three levels to obtain the corrected brightness level.
[0153] For example, the fifth brightness level threshold is as Figure 4 shown in the embodiment described, and is 14.
[0154] Among them, when the calculation result is greater than the third calculation result threshold, if the initial brightness level of the lamp bead is 15, which is greater than the fifth brightness level threshold of 14, the brightness level of the lamp bead is reduced to 12.
[0155] Step S228, if the initial brightness level of the lamp bead is greater than or equal to the third brightness level threshold and less than the fifth brightness level threshold, reduce the brightness level of the lamp bead by two levels to obtain the corrected brightness level.
[0156] For example, the third brightness level threshold is as Figure 4 shown in the embodiment described, and is 10.
[0157] Among them, when the calculation result is greater than the third calculation result threshold, if the initial brightness level of the lamp bead is 13, which is greater than the third brightness level threshold of 10 and less than the fifth brightness level threshold of 14, the brightness level of the lamp bead is reduced to 11.
[0158] Step S229, if the initial brightness level of the lamp bead is greater than or equal to the first brightness level threshold and less than the third brightness level threshold, reduce the brightness level of the lamp bead by one level to obtain the corrected brightness level.
[0159] For example, as described in the embodiment shown by Figure 4 , the third brightness level threshold is 5.
[0160] Wherein, when the calculation result is greater than the third calculation result threshold, if the initial brightness level of the lamp bead is 9, which is greater than the first brightness level threshold of 5 and less than the third brightness threshold level of 10, the brightness level of the lamp bead is reduced to 8.
[0161] The embodiment of the present invention corrects the lamp beads based on the calculation result and the initial brightness level of each lamp bead to obtain the corrected brightness level, and determines the power level of each frame of picture based on the corrected brightness level, thereby controlling the power of the image to be displayed, reducing the energy consumption loss of the lamp board, and thus extending the service life of the lamp board.
[0162] Referring to Figure 7 , Figure 7 is a schematic flowchart of another exemplary embodiment of the display data processing method of the present invention.
[0163] Based on the above Figure 3 shown embodiment, step S30 of writing the picture information and power level of each frame of picture into the corresponding data frame includes:
[0164] Step S31, writing the current frame number into the first two bytes of the corresponding data frame.
[0165] Wherein, the embodiment of the present invention improves the structure of the data frame.
[0166] For example, each frame of data contains 964 bytes, where the first two bytes represent the current frame number, and the maximum value is 65535, which can cover the number of all pictures used.
[0167] Step S32, writing the power level into the third byte of the corresponding data frame.
[0168] Wherein, the third byte in the data frame is used as the power level, and the value can range from 0x01 to 0x0F.
[0169] The embodiment of the present invention improves the structure through the data frame, enabling it to transfer the corresponding picture power level to the lamp board end, thereby controlling the power of the image to be displayed, reducing the energy consumption loss of the lamp board, and thus extending the service life of the lamp board.
[0170] Referring to Figure 8 , Figure 8 is a schematic flowchart of another exemplary embodiment of the display data processing method of the present invention.
[0171] Based on the above Figure 3In the illustrated embodiment, the method is applied to the lamp board side, and the display data processing method includes:
[0172] Step S1000: Receive a data frame sent by a terminal. The data frame includes picture information and a power level written by the terminal. The power level is determined based on a calculation result obtained after the terminal performs pixel accumulation on a to-be-displayed image acquired in advance.
[0173] Among them, the lamp board side includes a data processing unit and a front row lamp board.
[0174] Among them, after the data processing unit in the lamp board side receives the data frame sent by the terminal, it extracts the picture information and the power level.
[0175] Then, display each frame of the picture in the to-be-displayed image based on the power level.
[0176] Step S2000: Display each frame of the picture in the to-be-displayed image based on the power level.
[0177] Among them, the picture information may include: picture size, current frame sequence number of the picture, picture type, and so on.
[0178] Taking the current frame sequence number of the picture as an example, determine a frame of the picture in the to-be-displayed picture based on the current frame sequence number in the frame data, and associate the power level in the data frame with this frame of the picture.
[0179] Then, the lamp board side displays this frame of the picture based on the power level in the data frame.
[0180] In the embodiment of the present invention, by receiving the data frame sent by the terminal and then displaying each frame of the picture in the to-be-displayed image based on the power level in the data frame, the power of the to-be-displayed image can be controlled, the energy consumption loss of the lamp board can be reduced, and thus the service life of the lamp board can be extended.
[0181] In addition, the embodiment of the present application also proposes a display data processing device. The device is arranged on the control side, and the display data processing device includes:
[0182] A data calculation module, configured to perform pixel accumulation on a to-be-displayed image acquired in advance to obtain a calculation result;
[0183] A data preparation module, configured to determine the power level of each frame of the picture in the to-be-displayed image based on the calculation result;
[0184] A data frame writing module, configured to write the picture information and the power level of each frame of the picture into the corresponding data frame;
[0185] An interaction module, configured to send the data frame to the lamp board side, so that the lamp board side can display each frame of picture in the to-be-displayed image based on the power level and the picture information.
[0186] For the principle and implementation process of implementing display data processing in this embodiment, please refer to the above embodiments and will not be elaborated here.
[0187] In addition, an embodiment of the present application further provides a terminal device, which includes a memory, a processor, and a display data processing program stored on the memory and executable on the processor. When the display data processing program is executed by the processor, the steps of the display data processing method described above are implemented.
[0188] Since all the technical solutions of the foregoing embodiments are adopted when the display data processing program is executed by the processor, it has at least all the beneficial effects brought by all the technical solutions of the foregoing embodiments, which will not be elaborated one by one here.
[0189] In addition, an embodiment of the present application further provides a computer-readable storage medium, on which a display data processing program is stored. When the display data processing program is executed by the processor, the steps of the display data processing method described above are implemented.
[0190] Since all the technical solutions of the foregoing embodiments are adopted when the display data processing program is executed by the processor, it has at least all the beneficial effects brought by all the technical solutions of the foregoing embodiments, which will not be elaborated one by one here.
[0191] In this embodiment, through the above solution, specifically, by performing pixel accumulation on the to-be-displayed image obtained in advance, a calculation result is obtained; based on the calculation result, the power level of each frame of picture in the to-be-displayed image is determined; the picture information and power level of each frame of picture are written into the corresponding data frame; the data frame is sent to the lamp board side, so that the lamp board side can display each frame of picture in the to-be-displayed image based on the power level and the picture information. In the embodiment of the present invention, by performing pixel accumulation on the to-be-displayed image obtained in advance to obtain a calculation result, and then determining a suitable power level based on the calculation result, and sending the power level to the lamp board side through a data frame, thereby, based on the corresponding power level, the lamp board side can be controlled to display each frame of picture in the to-be-displayed image, so that the energy consumption loss of the lamp board can be reduced, and the service life of the lamp board can be extended.
[0192] It should be noted that, in this article, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, such that a process, method, article or method including a series of elements not only includes those elements but also includes other elements not expressly listed, or further includes elements inherent to such process, method, article or method. Without further limitation, an element defined by the statement "including one..." does not exclude the existence of additional identical elements in the process, method, article or method including such element.
[0193] The serial numbers of the above embodiments of the present invention are only for description and do not represent the superiority or inferiority of the embodiments.
[0194] Through the description of the above embodiments, those skilled in the art can clearly understand that the above-described embodiment methods can be implemented by means of software plus a necessary general hardware platform. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art can be embodied in the form of a software product. This computer software product is stored in a storage medium as described above (such as ROM / RAM, magnetic disk, optical disk) and includes several instructions for causing a terminal device (which can be a mobile phone, computer, server, controlled terminal, or network device, etc.) to execute the methods of each embodiment of the present invention.
[0195] The above are only the preferred embodiments of the present invention and do not limit the patent scope of the present invention accordingly. Any equivalent structural or equivalent process transformation made by using the specification and drawings of the present invention, or directly or indirectly applied in other related technical fields, shall be equally included in the patent protection scope of the present invention.
Claims
1. A display data processing method, characterized in that, The method is applied to a control terminal, and the method includes the following steps: Perform pixel accumulation on a pre-acquired image to be displayed to obtain a calculation result; Determine the power level of each frame of the image to be displayed based on the calculation result; Write the image information and power level of each frame of the image into a corresponding data frame; Send the data frame to a lamp board terminal for the lamp board terminal to display each frame of the image to be displayed based on the power level and the image information.
2. The method according to claim 1, characterized in that, The step of determining the power level of each frame of the image to be displayed based on the calculation result includes: Calculate the initial brightness level of each lamp bead when the lamp board terminal displays each frame of the image; Correct the lamp beads based on the calculation result and the initial brightness level of each lamp bead to obtain a corrected brightness level; Determine the power level of each frame of the image based on the corrected brightness level.
3. The method according to claim 2, characterized in that, The step of correcting the lamp beads based on the calculation result and the initial brightness level of each lamp bead to obtain a corrected brightness level includes: When the calculation result is greater than a first calculation result threshold and less than or equal to a second calculation result threshold, correct the lamp beads according to the initial brightness level of the lamp beads; If the initial brightness level of the lamp bead is greater than or equal to a third brightness level threshold, lower the lamp bead by one brightness level to obtain the corrected brightness level.
4. The method according to claim 2, characterized in that, The step of correcting the lamp beads based on the calculation result and the initial brightness level of each lamp bead to obtain a corrected brightness level further includes: When the calculation result is greater than the second calculation result threshold and less than or equal to a third calculation result threshold, correct the lamp beads according to the initial brightness level of the lamp beads; If the initial brightness level of the lamp bead is greater than or equal to a fourth brightness level threshold, lower the lamp bead by two brightness levels to obtain the corrected brightness level; If the initial brightness level of the lamp bead is greater than or equal to a second brightness level threshold and less than the fourth brightness level threshold, lower the lamp bead by one brightness level to obtain the corrected brightness level.
5. The method according to claim 2, characterized in that, The step of correcting the lamp beads based on the calculation result and the initial brightness level of each lamp bead to obtain a corrected brightness level further includes: When the calculation result is greater than the third calculation result threshold, correct the lamp beads according to the initial brightness level of the lamp beads; If the initial brightness level of the lamp bead is greater than or equal to a fifth brightness level threshold, lower the lamp bead by three brightness levels to obtain the corrected brightness level; If the initial brightness level of the lamp bead is greater than or equal to a third brightness level threshold and less than the fifth brightness level threshold, lower the lamp bead by two brightness levels to obtain the corrected brightness level; If the initial brightness level of the lamp bead is greater than or equal to a first brightness level threshold and less than the third brightness level threshold, lower the lamp bead by one brightness level to obtain the corrected brightness level.
6. The method according to claim 1, characterized in that, The step of writing the image information and power level of each frame of the image into a corresponding data frame includes: Write the current frame sequence number into the first two bytes of the corresponding data frame; Write the power level into the third byte of the corresponding data frame.
7. A display data processing method, characterized in that, The method is applied to the lamp board side, and the method includes the following steps: Receive a data frame sent by a terminal, where the data frame includes picture information and a power level written by the terminal, and the power level is determined based on a calculation result obtained after the terminal accumulates pixels of a pre-acquired image to be displayed; Display each frame of the picture in the image to be displayed based on the power level.
8. A display data processing device, characterized in that, The device is arranged at the control side, and the device includes: A data calculation module, configured to accumulate pixels of a pre-acquired image to be displayed to obtain a calculation result; A data preparation module, configured to determine the power level of each frame of the picture in the image to be displayed based on the calculation result; A data frame writing module, configured to write the picture information and the power level of each frame of the picture into a corresponding data frame; An interaction module, configured to send the data frame to the lamp board side for the lamp board side to display each frame of the picture in the image to be displayed based on the power level and the picture information.
9. A display data processing terminal device, characterized in that The display data processing terminal device includes a memory, a processor, and a computer program stored on the memory and executable on the processor. When the computer program is executed by the processor, it implements the display data processing method according to any one of claims 1-7.
10. A computer-readable storage medium, characterized in that A computer program is stored on the computer-readable storage medium. When the computer program is executed by a processor, it implements the display data processing method according to any one of claims 1-7.
Citation Information
Cited By
Display data processing method and apparatus, terminal device, and storage medium
EP4770276A1
Display data processing method and apparatus, terminal device, and storage medium
WO2025130885A1