Display data processing method and device, transmission equipment and storage medium
By detecting changes in the data to be displayed in the OLED display screen and generating fill data, and adjusting the output data, the pixel damage problem caused by the OLED screen displaying the same image for a long time is solved, extending the service life of the pixel points and avoiding the display brightness reduction.
Patent Information
- Application Number
- CN202411029621.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-29
- Publication Date
- 2024-11-12
AI Technical Summary
Pixels in the same image or area for a long time may be permanently damaged, resulting in a shorter service life and reduced display brightness, and cannot be restored.
By obtaining the data to be displayed, when it is detected that it has not changed within the preset time period, fill data is generated and inserted, the display data is adjusted, and output it to the display device, so that the display screen changes and reduce the long time of pixels Continuous glowing condition.
It effectively reduces the probability of permanent damage to pixel points in the display device, extends the service life of pixel points, and avoids the appearance of image afterimage.
Smart Images

Figure CN118942390A_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the field of display technology, and in particular, relates to a display data processing method, device, transmission equipment and storage medium. Background Art
[0002] With the rapid development of display devices, the functions of display devices will become more and more abundant and the performance will become more and more powerful. At present, as an emerging display technology, Organic Light-Emitting Diode (OLED) display screen has unique characteristics such as self-luminous pixels, thinness, wide viewing angle, fast response speed, and low energy consumption, showing great application potential in many fields.
[0003] However, when the OLED screen displays the same image for a long time or the pixels in the same area continue to emit light, the pixels in that area may be permanently damaged, which will reduce the service life of the pixels in that area, and also reduce the display brightness of the area, and leave an afterimage of the displayed image that cannot be restored, which will affect the user's use. Summary of the invention
[0004] The embodiments of the present application provide a method, apparatus, transmission device and storage medium for processing display data, aiming to solve the problem that pixels of existing display devices may be permanently damaged when displaying the same image for a long time.
[0005] In a first aspect, an embodiment of the present application provides a method for processing display data, the method being applied to a transmission device, the transmission device being used to output data to a display device, the display device being used to receive the data output by the transmission device and display corresponding content, the method comprising:
[0006] Get the data to be displayed;
[0007] When it is detected that the data to be displayed has not changed within a preset time period, generating filling data according to a preset generation rule;
[0008] The filling data is inserted into the data to be displayed to obtain adjusted target display data, and the target display data is output to the display device.
[0009] In a possible implementation of the first aspect, when it is detected that the data to be displayed has not changed within a preset time period, generating the filling data according to a preset generation rule includes:
[0010] When it is detected that the data to be displayed has not changed within a preset time period, obtaining the resolution of the display device;
[0011] Determine the filling area corresponding to the data to be displayed according to the resolution and a preset generation rule; wherein the generation rule includes a determination strategy for the filling area;
[0012] According to the area size of the filling area, filling data corresponding to the filling area is generated.
[0013] In a possible implementation manner of the first aspect, inserting the filling data into the data to be displayed to obtain adjusted target display data includes:
[0014] Shifting the data to be displayed by a preset unit in a predetermined direction to obtain the shifted data to be displayed;
[0015] Writing the filling data into the filling area to obtain a target filling area;
[0016] The target filling area is combined with the translated data to be displayed to obtain adjusted target display data.
[0017] In a possible implementation manner of the first aspect, determining the filling area corresponding to the to-be-displayed data according to the resolution and a preset generation rule includes:
[0018] Get the historical area location of the historical fill area;
[0019] Determining a target location in the data to be displayed according to the determination strategy and the historical area location;
[0020] A filling area corresponding to the data to be displayed is determined according to the target position, the resolution and a preset generation rule.
[0021] In a possible implementation manner of the first aspect, determining the target location in the data to be displayed according to the determination strategy and the historical area location includes:
[0022] Detecting whether the data to be displayed includes a target area; wherein the data to be displayed is a pixel matrix, and the pixel value deviation between each pixel in the target area is less than or equal to a preset pixel value deviation threshold;
[0023] In the case that the data to be displayed includes a target area, a position of a fixed unit adjacent to the position of the historical area in the target area is determined as the target position; wherein the fixed unit corresponds to the determination strategy.
[0024] In a possible implementation of the first aspect, before generating the filling data according to a preset generation rule when detecting that the data to be displayed has not changed within a preset time period, the method further includes:
[0025] Acquiring historical display data of the display device;
[0026] When the historical display data matches the data to be displayed, determining that the data to be displayed has not changed within a preset time period;
[0027] When the historical display data does not match the data to be displayed, it is determined that the data to be displayed has changed within a preset time period.
[0028] In a possible implementation manner of the first aspect above, the method further includes:
[0029] When it is detected that the data to be displayed changes within a preset time period, detecting whether there is a to-be-processed area in the data to be displayed; wherein the to-be-processed area is an area in which the data to be displayed does not change within the preset time period;
[0030] When it is detected that there is a to-be-processed area in the to-be-processed data, filling data of the to-be-processed area is generated according to the generation rule, and the filling data of the to-be-processed area is inserted into the to-be-processed area to obtain target display data of the to-be-processed area.
[0031] In a second aspect, an embodiment of the present application provides a display data processing device, the device is applied to a transmission device, the transmission device is used to output data to a display device, the display device is used to receive the data output by the transmission device and display corresponding content, the device includes:
[0032] An acquisition module, used to acquire data to be displayed;
[0033] A generating module, configured to generate filling data according to a preset generating rule when detecting that the data to be displayed has not changed within a preset time period;
[0034] A processing module, configured to insert the filling data into the data to be displayed, obtain the adjusted target display data, and output the target display data to the display device
[0035] In a third aspect, an embodiment of the present application provides a transmission device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the method for processing display data provided in the first aspect above is implemented.
[0036] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method for processing display data provided in the first aspect above is implemented.
[0037] It can be understood that the beneficial effects of the second to fourth aspects mentioned above can be found in the relevant description of the first aspect mentioned above, and will not be repeated here.
[0038] Compared with the prior art, the embodiments of the present invention have the following beneficial effects:
[0039] In an embodiment of the present application, by acquiring data to be displayed, when it is detected that the data to be displayed has not changed within a preset time period, filling data is generated according to a preset generation rule, the filling data is inserted into the data to be displayed, and the adjusted target display data is obtained, and the target display data is output to a display device. The display device can display the display data after the filling data is inserted, so that the display screen of the display device changes, and the situation where the display device displays the same image or pixels in the same area for a long time is reduced, thereby reducing the probability of permanent damage to pixels in the display device. BRIEF DESCRIPTION OF THE DRAWINGS
[0040] Figure 1 This is an architecture diagram of a transmission device-terminal device-display device provided by an embodiment of the present application;
[0041] Figure 2 It is a structural schematic diagram of a transmission device provided by an embodiment of the present application;
[0042] Figure 3 is a flowchart of a method for processing display data provided by an embodiment of the present application;
[0043] Figure 4a is a schematic diagram of a filling area provided by the present application;
[0044] Figure 4b is a schematic diagram of another filling area provided by the present application;
[0045] Figure 4c It is a schematic diagram of a region to be processed provided by the present application;
[0046] Figure 5 is a flowchart of another method for processing display data provided by an embodiment of the present application;
[0047] Figure 6a is a schematic diagram of another filling area provided by the present application;
[0048] Figure 6b is a schematic diagram of a filling area in a target area provided in the present application;
[0049] Figure 7 It is a structural diagram of a display data processing device provided by an embodiment of the present application;
[0050] Figure 8 It is a structural block diagram of a transmission device provided in one embodiment of the present application. DETAILED DESCRIPTION
[0051] In order to make the technical problems, technical solutions and beneficial effects to be solved by the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0052] At present, Organic Light-Emitting Diode (OLED) displays have unique characteristics such as self-luminous pixels, light weight, wide viewing angle, fast response speed, and low energy consumption, and have shown great application potential in many fields.
[0053] However, since the OLED screen uses self-luminous technology, that is, each pixel in the screen can emit light independently without the need for a backlight, when the OLED screen displays the same image for a long time or the pixels in the same area continue to emit light, there will be an overuse of pixels in the screen, which will accelerate the aging of the pixels, reduce the service life of the pixels, and even cause permanent damage to the pixels, reduce the display brightness of the pixels, and leave an afterimage of the displayed image that cannot be restored, which will affect the user's use.
[0054] At present, in order to reduce the impact of OLED screen burn-in, that is, to reduce the aging speed of pixels in the OLED screen, display devices of different brands can pre-set strategies for protecting OLED screens, such as turning off the screen to reduce the length of time the OLED screen displays the same image or continues to emit light, or displaying a screen saver screen, that is, displaying other screens to avoid the OLED screen displaying the same image for a long time or continuously emitting light at a fixed brightness.
[0055] However, when the display device using the OLED screen is not equipped with a strategy to protect the OLED screen, it will be affected by the OLED screen burn-in phenomenon. In addition, by turning off the screen or displaying other pictures to protect the screen, the picture required by the user cannot be displayed, and the user's needs cannot be met.
[0056] Based on this, the present application provides a transmission device, which can be used to connect multiple external devices and realize the function of data transmission between multiple external devices. The above transmission device may include but is not limited to expansion docks, multi-computer switches (Keyboard Video Mouse, KVM) and other devices. The transmission device can be connected to a terminal device and obtain the display data output by the terminal device. For details, see Figure 1 , Figure 1A transmission device-terminal device-display device architecture diagram provided by an embodiment of the present application is shown. Figure 1 As shown, the transmission device 1 can be connected to the terminal device 2 and the display device 3, so as to obtain the display data output by the terminal device 2 and transmit the display data to the display device 3 so as to display the corresponding screen image through the display device 3.
[0057] The terminal device can be a device that outputs display data, such as a computer, a mobile terminal, a mobile storage device, etc. The transmission device can also be connected to the cloud platform for communication and obtain the display data issued by the cloud platform. The transmission device can be connected to the display device and output the display data to the display device, and then the display device can receive the display data output by the transmission device and display the corresponding display data on the screen. The display device can be a device that outputs an image, that is, the display device displays the image corresponding to the display data by adjusting the pixel value of each pixel point on the screen. The display device can be a display, a vehicle-mounted display device, an inductive liquid crystal display screen, etc.
[0058] Specifically, the transmission device may include an input interface, an output interface, and an anti-burn-in module. The input interface may be used to connect to the terminal device by wire and obtain display data output by the terminal device, the output interface may be used to connect to the display device by wire and output display data to the display device, the anti-burn-in module may be used to process the display data input by the terminal device when the anti-burn-in function is triggered, and the anti-burn-in module may include a memory, a processor, and a computer program stored in the memory and executable on the processor.
[0059] See also Figure 2 , Figure 2 A schematic diagram of the structure of a transmission device provided by an embodiment of the present application is shown. Figure 2 As shown, the transmission device 1 may include at least one input interface 11 and at least one output interface 12. The transmission device 1 can be connected to at least one terminal device by wire through the input interface 11 to obtain display data output by at least one terminal device. The display data may be an image that the terminal device needs to display through the display device. The transmission device 1 can be connected to at least one display device by wire through the output interface 12 and output the display data to the corresponding display device.
[0060] In actual applications, after receiving at least one display data, the input interface 11 in the transmission device 1 can perform anti-burn-in processing on the display data through the built-in anti-burn-in module when the anti-burn-in function is triggered, and output the processed display data to the corresponding display device through the output interface 12, so that the display device can display the image after the anti-burn-in processing. Even if the display device does not have a strategy to prevent the OLED screen from burning, it can change the display screen of the display device by displaying the image after the anti-burn-in processing, reduce the situation where the display device displays the same image or pixels in the same area for a long time, and thus reduce the probability of permanent damage to pixels in the display device.
[0061] Specifically, the processor in the anti-burn-in module can implement a method for processing display data provided in an embodiment of the present application when executing a computer program.
[0062] See also Figure 3 , Figure 3 A flowchart of a method for processing display data provided by an embodiment of the present application is shown. The method is applied to a transmission device, the transmission device can be used to output data to a display device, and the display device can be used to receive the data output by the transmission device and display corresponding content. Specifically, the method may include the following steps:
[0063] Step 301, obtaining data to be displayed.
[0064] The data to be displayed may be display data that needs to be displayed by a display device, and the display data may be image data, specifically expressed as a pixel matrix, that is, a matrix composed of pixel values of each pixel in the display device.
[0065] When the terminal device needs to display through the display device, it will generate corresponding data to be displayed, and transmit the data to be displayed to the display device through the transmission device for display. Then the transmission device can receive the data to be displayed output by the terminal device, that is, obtain the data to be displayed.
[0066] For example, the terminal device may be a computer, and the user needs to perform a split-screen operation on the computer and establish a wired connection between the computer and the transmission device. The computer will then respond to the user's split-screen requirements and generate corresponding data to be displayed, such as computer desktop image data, document display data, etc., and transmit the data to be displayed to the transmission device via a wired connection.
[0067] Step 302: when it is detected that the data to be displayed has not changed within a preset time period, fill data is generated according to a preset generation rule.
[0068] The preset duration may be a period of time in the past, and the specific duration may be a user-defined value. The generation rule may be used to generate fill data, and the generation rule may be pre-defined by the user. The fill data may be data inserted into the data to be displayed, and the fill data may be image data, specifically expressed as a pixel matrix, and the fill data may include at least one style of pixel matrix, such as pixel matrix A may be a pixel matrix with RGB pixel values of 0, pixel matrix B may be a pixel matrix with RGB pixel values of 255, and pixel matrix C may be a pixel matrix composed of pixels with RGB pixel values of 0 and pixels with RGB pixel values of 255 in a cycle.
[0069] After obtaining the data to be displayed, it can be detected whether the data to be displayed changes within a preset time period, and when it is detected that the data to be displayed does not change within the preset time period, filling data can be generated according to a preset generation rule.
[0070] In actual applications, when it is detected that the data to be displayed has not changed within a preset time period, it can be determined that the display device displays the same image for a long time, that is, burn-in may occur, which will trigger the anti-burn-in function, and it is necessary to perform anti-burn-in operations on the data to be displayed. Specifically, filling data can be generated according to the generation rules to adjust the data to be displayed based on the filling data, so that the display screen of the display device changes, thereby reducing the situation where the display device displays the same image for a long time.
[0071] In an embodiment of the present application, before step 302, the following steps may also be included:
[0072] The historical display data of the display device is obtained. When the historical display data matches the data to be displayed, it is determined that the data to be displayed has not changed within a preset time period. When the historical display data does not match the data to be displayed, it is determined that the data to be displayed has changed within the preset time period.
[0073] The historical display data may be display data of the display device in the past period of time.
[0074] After obtaining the data to be displayed, the display data of the display device in the past period of time can be obtained, and the historical display data can be compared with the data to be displayed. Then, when the pixel value of each pixel point in the historical display data is the same as the pixel value of each pixel point in the data to be displayed, it can be determined that the historical display data matches the data to be displayed; and when the pixel value of a pixel point in the historical display data is different from the pixel value of the corresponding pixel point in the data to be displayed, it can be determined that the historical display data does not match the data to be displayed.
[0075] When the historical display data matches the data to be displayed, it can be determined that the data to be displayed has not changed within the preset time period; when the historical display data does not match the data to be displayed, it can be determined that the data to be displayed has changed within the preset time period.
[0076] In practical applications, if the display data of the display device in the past period of time is to be stored, it is necessary to configure a storage space of sufficient capacity in the transmission device. However, due to the problem of small device space in the transmission device, it is difficult to configure a storage space of sufficient capacity. Even if it can be configured, it increases the production cost of the transmission device. In addition, when detecting whether the data to be displayed has changed within a preset time period, if each historical display data is compared with the data to be displayed separately, it is necessary to perform multiple comparison operations, which has the problems of large amount of calculation and low comparison efficiency.
[0077] As an example, each time display data is output to the display device, the display data output last time is obtained, and the currently output display data is compared with the display data output last time, so as to count the number of matches between the currently output display data and the display data output last time, and to obtain the number of matches. If the currently output display data does not match the display data output last time, the number of matches is reset to 0. If the number of matches is greater than a preset number threshold, it can be determined that the data to be displayed has not changed within a preset time length, and if the number of matches is less than or equal to the preset number threshold, it can be determined that the data to be displayed has changed within the preset time length.
[0078] Based on this, the transmission device only needs to store the display data output last time, and count the situations where the currently output display data matches the display data output last time, without having to store all the display data in the past period of time, thus saving storage space. Moreover, only the display data output last time needs to be compared with the currently output display data, without having to compare all the historical display data with the data to be displayed, thus reducing the amount of calculation and improving the comparison efficiency of the display data.
[0079] In an embodiment of the present application, step 302 may include steps 3021 to 3023:
[0080] Step 3021: When it is detected that the data to be displayed has not changed within a preset time period, the resolution of the display device is obtained.
[0081] The resolution may be the maximum number of pixels that a display device can display.
[0082] When it is detected that the data to be displayed has not changed within a preset time period, a request can be sent to the display device to obtain the resolution of the display device, and then the resolution returned by the display device in response to the request can be obtained; the device identification, model and other device attributes of the display device can also be obtained, and then the device specification data corresponding to the device attributes of the display device can be queried through the cloud platform or database, and the device specification data may include the resolution of the display device; the maximum size of the image displayed by the display device in the past period of time can also be determined as the resolution of the display device.
[0083] Step 3022: Determine the filling area corresponding to the data to be displayed according to the resolution and the preset generation rule.
[0084] Among them, the generation rules may include a strategy for determining the filling area, which may be a user-defined strategy, or a strategy for determining the area where the filling data is inserted from the data to be displayed, and the filling area may be an area in the data to be displayed where the filling data is inserted, specifically, an area in the pixel matrix where the filling data is inserted.
[0085] After obtaining the resolution, the strategy for determining the filling area can be determined from the generation rules, and then the position of the area for inserting the filling data in the data to be displayed can be determined based on the determination strategy, and the size of the area for inserting the filling data in the data to be displayed can be determined according to the resolution of the display device. The filling area can be generated according to the position of the area for inserting the filling data in the data to be displayed and the size of the area.
[0086] In actual applications, filling data can be inserted into any area of the data to be displayed, and the filling data is different from the image that the display device needs to display. For example, the filling data can be a pixel matrix with pixel values of 255, that is, the displayed image is the filling data of a pure white image, which is different from the image that the display device needs to display. The user will notice that the image is different from the image that the display device needs to display, which will affect the user experience.
[0087] Based on this, the filling data can be inserted into the edge area of the data to be displayed, that is, the area in the data to be displayed that is colinear with the image boundary, such as the area corresponding to the upper boundary, lower boundary, left boundary and other boundaries in the image displayed by the data to be displayed, and the determination strategy can be defined as a strategy for inserting the filling data into the edge area of the data to be displayed. Inserting the filling data into the edge area of the data to be displayed can reduce the probability of the user noticing the image displayed by the filler data.
[0088] In actual applications, the size of the filling area can be determined based on the position of the filling area for inserting filling data in the data to be displayed and the resolution of the display device. Specifically, when the edge area is the upper boundary and the lower boundary of the image displayed by the data to be displayed, the horizontal size of the filling area is the horizontal size in the resolution of the display device, and the vertical size of the filling area is the size corresponding to the resolution set by the user. For example, if the vertical size of the resolution is 600, the vertical size of the filling area corresponds to 2 pixel units, and if the vertical size of the resolution is 1200, the vertical size of the filling area corresponds to 4 pixel units.
[0089] Similarly, when the edge area is the area corresponding to the left boundary and the right boundary in the image displayed by the data to be displayed, the vertical size of the filling area is the vertical size in the resolution of the display device, and the horizontal size of the filling area is the size pre-set by the user corresponding to the horizontal size of the resolution.
[0090] In a specific implementation, since the edge area in the data to be displayed may include edge areas corresponding to four boundaries, the filling area may be defined as periodic. For example, the position of the filling area in the previous cycle is determined as the area corresponding to the upper boundary in the data to be displayed, and the position of the filling area determined in this cycle is the area corresponding to the left boundary in the data to be displayed. Based on this, the user may predefine the determination order of each edge area in the cycle, that is, the determination strategy may include the determination order of each edge area in the cycle, and the filling area in the data to be displayed is determined according to the determination order of each edge area in the cycle.
[0091] Exemplarily, the resolution of the display device may be 800*600, and the position of the fill area in the data to be displayed may be determined based on the determination strategy to be the area corresponding to the upper boundary, and then the horizontal size of the fill area may be determined to be the size corresponding to the horizontal size of the resolution, that is, 800 pixels, and the vertical size of the fill area may be the size corresponding to the vertical size of the resolution, that is, 2, then the size of the fill area may be determined to be 800*2, and the position of the fill area may be the area corresponding to the upper boundary.
[0092] See also Figure 4a , Figure 4a A schematic diagram of a filling area provided by the present application is shown, such as Figure 4a As shown, image A may be the image displayed by the data to be displayed, specifically expressed as a pixel matrix, the black dots in image A are pixels, line a2 may be the upper boundary of image A, and area a1 may be a filling area colinear with the upper boundary.
[0093] Step 3023: Generate filling data corresponding to the filling area according to the area size of the filling area.
[0094] The area size may be the size of the filling area.
[0095] After the filling area is obtained, the pixel values of the pixels to be generated can be determined according to the generation rules.
[0096] In practical applications, the pixel value of each pixel in the filling data can be pre-defined. Since white or black images are less likely to attract user attention, the pixel value of each pixel in the filling data can be defined as the pixel value corresponding to white or black, that is, the pixel value of each pixel in the filling data is defined as 0 or 255.
[0097] After determining the pixel values of the pixels to be generated, a pixel matrix having the same number of rows and columns as the horizontal size of the filling area and the same number of columns as the vertical size of the filling area can be generated according to the pixel values of the pixels to be generated, which is the filling data.
[0098] For example, the area size of the filling area can be 800*2, and the pixel value of the pixel point to be generated can be 0, so that a pixel point matrix of 800 columns and 2 rows can be generated, and the pixel value of each pixel point in the pixel point matrix is 0.
[0099] Step 303: inserting filling data into the data to be displayed to obtain adjusted target display data, and outputting the target display data to the display device.
[0100] The target display data may be display data that has been processed to prevent screen burn-in, that is, display data that has been changed by inserting filler data.
[0101] After the filling data is obtained, the filling data may be inserted into the data to be displayed, specifically, the filling data may be inserted into a filling area of the data to be displayed to obtain adjusted target display data.
[0102] In practical applications, the pixel points in the data to be displayed can be translated, and the pixel values of the pixels in the filling area can be updated according to the pixel value of each pixel point in the filling data, so that the pixel values of the pixels in the filling area are the same as the pixel values of each pixel point in the filling data, thereby obtaining the adjusted target display data.
[0103] See also Figure 4b , Figure 4b A schematic diagram of another filling area provided by the present application is shown, such as Figure 4bAs shown, the pixels in image A can be translated downward, and the pixel values of the pixels in the filling area a1 can be updated according to the pixel value of each pixel in the filling data, wherein the dotted line marked area B can be the pixels that are moved out of the display area after translating image A, and the display area can be the area in the data to be displayed for display on the display device.
[0104] After the adjusted target display data is obtained, the target display data may be output to a display device, and then the display device may output the target display data.
[0105] In an embodiment of the present application, the following steps may also be included:
[0106] When it is detected that the data to be displayed changes within a preset time period, it is detected whether there is a to-be-processed area in the data to be displayed.
[0107] The area to be processed may be an area where the data to be displayed has not changed within a preset time period.
[0108] When it is detected that the data to be displayed changes within a preset time period, it can be determined that there are some or all areas in the display device that do not display the same image for a long time, and then it can be detected whether there is an area to be processed in the data to be displayed.
[0109] In practical applications, each pixel point in the data to be displayed can be compared with the pixel points of the historical display data, and then it can be detected whether there is a pixel value of a certain pixel point in the data to be displayed that is the same as the pixel value of the corresponding pixel point in the historical display data. In the case where it is detected that the pixel value of a certain pixel point is the same as the pixel value of the corresponding pixel point in the historical display data, the area with the same pixel value is determined as the area to be processed, that is, it can be determined that there is an area to be processed in the data to be displayed. In the case where it is detected that the pixel value of each pixel point is different from the pixel value of the corresponding pixel point in the historical display data, it can be determined that there is no area to be processed in the data to be displayed, and there is no need to process the data to be displayed, and the data to be processed is output to the display device.
[0110] When it is detected that there is a to-be-processed area in the to-be-processed data, filling data of the to-be-processed area is generated according to the generation rule, and the filling data of the to-be-processed area is inserted into the to-be-processed area to obtain target display data of the to-be-processed area.
[0111] In practical applications, when it is detected that there is an area to be processed in the data to be displayed, the above method can be used to generate filling data of the area to be processed and insert the filling data of the area to be processed into the area to be processed to obtain the target display data of the area to be processed, so as to output the target display data to the display device.
[0112] See also Figure 4c , Figure 4c A schematic diagram of a region to be processed provided by the present application is shown, such as Figure 4c As shown, the marked area a can be represented as the image displayed by the data to be displayed, the sub-area b in the marked area a can be represented as the area where the data to be displayed changes within a preset time length, and the sub-area c can be represented as the area to be processed, that is, the area in the marked area a except the sub-area b.
[0113] In an embodiment of the present application, by acquiring data to be displayed, when it is detected that the data to be displayed has not changed within a preset time period, filling data is generated according to a preset generation rule, the filling data is inserted into the data to be displayed, and the adjusted target display data is obtained, and the target display data is output to a display device. The display device can display the display data after the filling data is inserted, so that the display screen of the display device changes, and the situation where the display device displays the same image or pixels in the same area for a long time is reduced, thereby reducing the probability of permanent damage to pixels in the display device.
[0114] See also Figure 5 , Figure 5 A flowchart of another method for processing display data provided by an embodiment of the present application is shown, which may specifically include the following steps:
[0115] Step 501, obtaining data to be displayed.
[0116] Step 502: when it is detected that the data to be displayed has not changed within a preset time period, the resolution of the display device is obtained.
[0117] For the related descriptions of step 501 to step 502, please refer to step 301 to step 302, and they will not be repeated here.
[0118] Step 503, obtaining the historical area position of the historical filling area.
[0119] The historical filling area may be the filling area when the anti-burn-in function was last executed, that is, the filling area when the display data processing method was last executed, and the historical area position may be the position of the historical filling area.
[0120] When it is detected that the data to be displayed has not changed within a preset time period, the historical fill area determined when it was last detected that the data to be displayed has not changed within the preset time period can be obtained, and the position of the data to be displayed when it was last detected that the data to be displayed has not changed within the preset time period can be determined as the historical area position.
[0121] Step 504: Determine the target location in the data to be displayed according to the determination strategy and the historical area location.
[0122] The target position may be the position of the filling area in the data to be displayed.
[0123] After obtaining the historical area position, a determination strategy for generating a fill area can be determined, and then the next edge area of the historical area position can be determined according to the determination order of the edge areas in the determination strategy, and the position of the next edge area can be determined as the target position in the data to be displayed.
[0124] In practical applications, the display area of the display device can be determined, and then one or more edge areas can be defined based on the boundary of the display area, and the determination order of each edge area can be defined, so that after determining the position of the last filled area, that is, determining the edge area determined when the anti-burn-in function was last performed, according to the determination order of the edge areas, the edge area after the edge area determined last time is determined as the edge area currently performing the anti-burn-in function, and the position of the edge area currently performing the anti-burn-in function is determined as the target position.
[0125] For example, the boundaries of the display area may include an upper boundary, a lower boundary, a left boundary, and a right boundary, and then an edge area can be defined at the upper boundary, and so on to obtain the edge area corresponding to each boundary, and the order of determining each edge area is defined. The edge corresponding to the upper boundary is the first area to be determined, followed by the edge area corresponding to the left boundary, the edge area corresponding to the lower boundary, and the last area to be determined is the edge area corresponding to the right boundary, and this cycle is repeated.
[0126] Exemplarily, the edge area may include edge area A, edge area B, edge area C, and edge area D, and edge area A is the first area determined, followed by edge area B and edge area C, and the last area determined is edge area D. Furthermore, when the edge area where the anti-burn-in function was last performed is edge area B, edge area C that is ranked after edge area B can be determined as the edge area currently performing the anti-burn-in function, and the position of edge area C can be determined as the target position.
[0127] It is important to understand that if the time period for which the data to be displayed does not change is too long, even if filler data is inserted into the data to be displayed, the display device will display the same data to be displayed with the filler data inserted for a long time, resulting in screen burn-in. However, by defining the order of the filler regions, the filler data can be periodically inserted into the data to be displayed according to the order of the filler regions, so that the data to be displayed after the filler data is inserted each time is different, thereby reducing the situation where the display device displays the same data to be displayed with the filler data inserted for a long time, and reducing the probability of screen burn-in.
[0128] In an embodiment of the present application, step 504 may include steps 5041 to 5042:
[0129] Step 5041, detecting whether the data to be displayed includes the target area.
[0130] The pixel value deviation between each pixel point in the target area is less than or equal to a preset pixel value deviation threshold, and the target area may be an area with a smaller pixel value deviation in the data to be displayed. The pixel value deviation may be the deviation of the pixel value between each pixel point, and the pixel value deviation threshold may be a user-defined threshold, which may be used to determine an area with a smaller pixel value deviation in the data to be displayed.
[0131] When it is detected that the data to be displayed has not changed within a preset time period, each pixel in the data to be displayed can be compared, and the pixel value deviation between each pixel in the data to be displayed can be obtained. It can be determined whether the data to be displayed includes the target area based on the pixel value deviation between every two pixels.
[0132] In actual applications, when it is detected that the pixel value deviation between any two adjacent pixels in the data to be displayed is less than or equal to a preset pixel value deviation threshold, it can be determined that the data to be displayed includes a target area, and then the pixels whose pixel value deviation between every two pixels is less than or equal to the preset pixel value deviation threshold can be determined as target pixels, and the area where all target pixels are located can be determined as the target area; when it is detected that the pixel value deviations between all adjacent pixels in the data to be displayed are greater than the pixel value deviation threshold, it can be determined that the data to be displayed does not include the target area, and then the above method can be used to determine the position of the edge area currently executing the anti-burn-in function as the target position.
[0133] Step 5042: When the data to be displayed includes the target area, determine the position of a fixed unit adjacent to the position of the historical area in the target area as the target position.
[0134] The fixed unit may correspond to a determination strategy, and the fixed unit may be expressed as the number of pixels.
[0135] In the case that the data to be displayed includes a target area, it is possible to determine that there is an area in the data to be displayed with a smaller pixel value deviation, and then it is possible to determine the filling area that was in the target area when the anti-burn-in function was last executed, or determine the filling area when the anti-burn-in function was last executed and the target area existed, and according to the determination strategy, determine the position with a fixed number of pixels adjacent to the historical area position as the target position, that is, the position after the historical area position is shifted by a preset number of pixels is the target position.
[0136] In practical applications, the direction of the historical region position translation and the number of pixels to be translated can be predefined. For example, the direction of the historical region position translation can be predefined as rightward translation, and the number of pixels to be translated can be 2 pixels, and the target position can be determined as the position of two pixels adjacent to the right side of the historical region position.
[0137] It should be understood that when there is an area in the data to be displayed where the pixel value deviation between two or more adjacent pixels is small, even if filling data is inserted in the edge area of the data to be displayed, there will be pixels in the data to be displayed whose pixel values have not changed after the filling data is inserted, that is, there will still be pixels displaying the same pixel value after the filling data is inserted, and thus screen burn-in may occur.
[0138] Exemplarily, when the target area also existed when the anti-burn-in function was executed last time, the position of the filling area for the target area when the anti-burn-in function was executed last time can be determined as the historical area position, and when the anti-burn-in function is currently executed, it can be detected whether the target area exists in the data to be displayed when the anti-burn-in function is currently executed, and when the existence of the target area is detected, the position of the two pixel points adjacent to the right side of the historical area position in the target area when the anti-burn-in function is currently executed is determined as the target position, until the right side of the historical area position is the boundary of the target area, and then the leftmost area in the target area can be determined as the target position, and so on and so forth, so that the target position can be cyclically translated in the target area, that is, the filling area with the filling data inserted can be cyclically translated in the target area.
[0139] Based on this, it is possible to detect whether there is a target area in the data to be displayed, and determine the position of the target area that is adjacent to the historical area position in a preset direction as the target position, so as to insert the filling data into the target position, so that the filling data can be inserted into different positions of the target area in different cycles, so that there are no pixel points whose pixel values have not changed in the data to be displayed after the filling data is inserted, thereby reducing the probability of screen burn-in.
[0140] See also Figure 6a , Figure 6a A schematic diagram of another filling area provided by the present application is shown, such as Figure 6a As shown, image C may be the image displayed by the data to be displayed, the solid line marked area c1 may be the target area, the dotted line marked area c2 may be the historical area position, the dotted line marked area c3 may be the target position of the two pixel points adjacent to the right side of the dotted line marked area c2, the black dots may represent the pixel points in the data to be displayed, and the white dots may represent the pixel points in the target area.
[0141] Step 505 , determining a filling area corresponding to the data to be displayed according to the target position, resolution and preset generation rules.
[0142] After obtaining the target position, the resolution of the display device can be acquired, and the size of the area for inserting fill data in the data to be displayed can be determined based on the resolution of the display device. Then, a fill area corresponding to the data to be displayed can be generated based on the target position and the size of the area for inserting fill data.
[0143] In practical applications, the target position can be determined as the position of the filling area, and the position of the edge area can also be determined as the position of the filling area, so as to obtain the filling area generated by the target position and the filling area generated by the position of the edge area, that is, one or more filling areas can be obtained.
[0144] Step 506: Generate filling data corresponding to the filling area according to the area size of the filling area.
[0145] Step 507 : Shift the data to be displayed by a preset unit in a predetermined direction to obtain the shifted data to be displayed.
[0146] After the filling area and the filling data are obtained, the data to be displayed can be translated in a predetermined direction, and the translation distance is a preset number of pixels, so that the translated data to be displayed can be obtained.
[0147] In practical applications, blank columns can be inserted at the end of the pixel matrix of the data to be displayed, and the number of inserted columns corresponds to the translation distance of the data to be displayed. Then, the pixel value of each pixel in the pixel matrix can be assigned to an adjacent number of pixels to achieve pixel value translation, that is, the image displayed by the data to be displayed is translated in a preset direction.
[0148] Step 508, writing the filling data into the filling area to obtain a target filling area.
[0149] The target filling area may be the filling area after the filling data is inserted.
[0150] After obtaining the shifted data to be displayed, the filling data may be inserted into the filling area of the data to be displayed to obtain the adjusted target display data.
[0151] In practical applications, the pixel values of the pixels in the filling area can be updated according to the pixel values of each pixel in the filling data, so that the pixel values of the pixels in the filling area are the same as the pixel values of each pixel in the filling data, thereby obtaining the target filling area.
[0152] See also Figure 6b , Figure 6bA schematic diagram of a filling area in a target area provided by the present application is shown, Figure 6b As shown, image D may be the image displayed by the data to be displayed, the solid line marked area d1 may be the target area, the dotted line marked area d2 may be the target position, and the dot with dotted line filling content in the dotted line marked area d2 may represent the pixel point after the pixel value is updated according to the filling data.
[0153] In a specific implementation, when there is a target area in the data to be displayed, there is no need to translate the pixels in the target area, and the filling data is directly written into the filling area of the target area.
[0154] Step 509 , merging the target filling area with the translated data to be displayed to obtain adjusted target display data, and outputting the target display data to a display device.
[0155] After obtaining the target filling area, the target filling area can be merged with the translated data to be displayed, thereby obtaining the adjusted target display data, and outputting the target display data to the display device to display the target display data in the display device, thereby reducing the probability of screen burn-in in the display device.
[0156] In an embodiment of the present application, data to be displayed is obtained, and when it is detected that the data to be displayed has not changed within a preset time period, the resolution of the display device is obtained, the historical area position of the historical filling area is obtained, and the target position in the data to be displayed is determined according to the determination strategy and the historical area position, and the filling area corresponding to the data to be displayed is determined according to the target position, resolution and preset generation rules, and filling data corresponding to the filling area is generated according to the area size of the filling area, and the data to be displayed is translated by a preset unit in a predetermined direction to obtain the translated data to be displayed, and the filling data is written into the filling area to obtain the target filling area, and the target filling area is merged with the translated data to be displayed to obtain the adjusted target display data, and the target display data is output to the display device, and the display device can display the display data after the filling data is inserted, so that the display screen of the display device changes, and the situation where the display device displays the same image or pixels in the same area for a long time is reduced, thereby reducing the probability of permanent damage to pixels in the display device.
[0157] See also Figure 7 , Figure 7 A schematic diagram of the structure of a display data processing device provided by an embodiment of the present application is shown. The device is applied to a docking station. The docking station can be used to output data to a display device. The display device can be used to receive the data output by the docking station and display corresponding content. The device may specifically include the following modules:
[0158] The acquisition module 701 is used to acquire data to be displayed;
[0159] The generating module 702 is used to generate filling data according to a preset generating rule when it is detected that the data to be displayed has not changed within a preset time period;
[0160] The processing module 703 is used to insert filling data into the data to be displayed, obtain adjusted target display data, and output the target display data to the display device.
[0161] In one implementation, the generating module 702 may also be used to:
[0162] When it is detected that the data to be displayed has not changed within a preset time period, the resolution of the display device is obtained;
[0163] Determine the filling area corresponding to the data to be displayed according to the resolution and the preset generation rules; wherein the generation rules include a determination strategy for the filling area;
[0164] Based on the area size of the fill area, fill data corresponding to the fill area is generated.
[0165] In one implementation, the processing module 703 may also be used to:
[0166] The data to be displayed is translated by a preset unit in a predetermined direction to obtain translated data to be displayed;
[0167] Writing the filling data into the filling area to obtain the target filling area;
[0168] The target filling area is merged with the translated data to be displayed to obtain adjusted target display data.
[0169] In one implementation, the generating module 702 may also be used to:
[0170] Get the historical area location of the historical fill area;
[0171] Determine the target location in the data to be displayed based on the determination strategy and the historical area location;
[0172] According to the target position, resolution and preset generation rules, the filling area corresponding to the data to be displayed is determined.
[0173] In one implementation, the generating module 702 may also be used to:
[0174] Detecting whether the data to be displayed includes the target area; wherein the data to be displayed is a pixel matrix, and the pixel value deviation between each pixel in the target area is less than or equal to a preset pixel value deviation threshold;
[0175] In the case where the data to be displayed includes a target area, a position of a fixed unit adjacent to the position of the historical area in the target area is determined as the target position; wherein the fixed unit corresponds to the determination strategy.
[0176] In one implementation, the acquisition module 701 may also be used to:
[0177] When it is detected that the data to be displayed has not changed within a preset time period, before generating the filling data according to a preset generation rule, obtaining the historical display data of the display device;
[0178] When the historical display data matches the data to be displayed, determining that the data to be displayed has not changed within a preset time period;
[0179] When the historical display data does not match the data to be displayed, it is determined that the data to be displayed has changed within a preset time period.
[0180] In one implementation, the device further includes:
[0181] A detection module, for detecting whether there is a to-be-processed area in the data to be displayed when it is detected that the data to be displayed changes within a preset time period; wherein the to-be-processed area is an area in which the data to be displayed does not change within the preset time period;
[0182] In one implementation, the processing module 703 may also be used to:
[0183] When it is detected that there is a to-be-processed area in the to-be-processed data, filling data of the to-be-processed area is generated according to the generation rule, and the filling data of the to-be-processed area is inserted into the to-be-processed area to obtain target display data of the to-be-processed area.
[0184] In an embodiment of the present application, by acquiring data to be displayed, when it is detected that the data to be displayed has not changed within a preset time period, filling data is generated according to a preset generation rule, the filling data is inserted into the data to be displayed, and the adjusted target display data is obtained, and the target display data is output to a display device. The display device can display the display data after the filling data is inserted, so that the display screen of the display device changes, and the situation where the display device displays the same image or pixels in the same area for a long time is reduced, thereby reducing the probability of permanent damage to pixels in the display device.
[0185] It should be noted that the information interaction, execution process and other contents between the above-mentioned devices are based on the same concept as the method embodiment of the present application. Their specific functions and technical effects can be found in the method embodiment part and will not be repeated here.
[0186] The technicians in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example for illustration. In practical applications, the above-mentioned function allocation can be completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiment can be integrated in a processing unit, or each unit can exist physically separately, or two or more units can be integrated in one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of this application. The specific working process of the units and modules in the above-mentioned system can refer to the corresponding process in the aforementioned method embodiment, which will not be repeated here.
[0187] See also Figure 8 , Figure 8 A structural block diagram of a transmission device provided by an embodiment of the present application is shown. Figure 8 As shown, this embodiment provides a transmission device 81, which includes: at least one processor 811, a memory 812, and a computer program 8121 stored in the memory 812 and executable on at least one processor 811, and when the processor 811 executes the computer program 8121, the steps in any of the above-mentioned method embodiments are implemented.
[0188] The embodiment of the present application further provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, the steps in any one of the above method embodiments can be implemented.
[0189] An embodiment of the present application provides a computer program product. When the computer program product runs on a mobile terminal, the mobile terminal can implement the steps in the above-mentioned method embodiments when executing the computer program product.
[0190] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present application implements all or part of the processes in the above-mentioned embodiment method, which can be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium, and the computer program can implement the steps of the above-mentioned various method embodiments when executed by the processor. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may at least include: any entity or device capable of carrying the computer program code to the camera device / terminal device, a recording medium, a computer memory, a read-only memory (ROM), a random access memory (RAM), an electrical carrier signal, a telecommunication signal, and a software distribution medium.
[0191] The embodiments described above are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, a person skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application, and should all be included in the protection scope of the present application.
Claims
1. A method for processing display data, characterized in that: The method is applied to a transmission device, the transmission device is used to output data to a display device, the display device is used to receive the data output by the transmission device and display corresponding content, and the method includes: Get the data to be displayed; When it is detected that the data to be displayed has not changed within a preset time period, generating filling data according to a preset generation rule; The filling data is inserted into the data to be displayed to obtain adjusted target display data, and the target display data is output to the display device.
2. The method for processing display data according to claim 1, characterized in that: When it is detected that the data to be displayed has not changed within a preset time period, generating filling data according to a preset generation rule includes: When it is detected that the data to be displayed has not changed within a preset time period, obtaining the resolution of the display device; Determine the filling area corresponding to the data to be displayed according to the resolution and a preset generation rule; wherein the generation rule includes a determination strategy for the filling area; According to the area size of the filling area, filling data corresponding to the filling area is generated.
3. The method for processing display data according to claim 2, characterized in that: Inserting the filling data into the data to be displayed to obtain adjusted target display data includes: Shifting the data to be displayed by a preset unit in a predetermined direction to obtain the shifted data to be displayed; Writing the filling data into the filling area to obtain a target filling area; The target filling area is combined with the translated data to be displayed to obtain adjusted target display data.
4. The method for processing display data according to claim 2, characterized in that: The step of determining the filling area corresponding to the data to be displayed according to the resolution and a preset generation rule includes: Get the historical area location of the historical fill area; Determining a target location in the data to be displayed according to the determination strategy and the historical area location; A filling area corresponding to the data to be displayed is determined according to the target position, the resolution and a preset generation rule.
5. The method for processing display data according to claim 4, characterized in that: Determining the target location in the data to be displayed according to the determination strategy and the historical area location includes: Detecting whether the data to be displayed includes a target area; wherein the data to be displayed is a pixel matrix, and the pixel value deviation between each pixel in the target area is less than or equal to a preset pixel value deviation threshold; In the case that the data to be displayed includes a target area, a position of a fixed unit adjacent to the position of the historical area in the target area is determined as the target position; wherein the fixed unit corresponds to the determination strategy.
6. The method for processing display data according to any one of claims 1 to 5, characterized in that: Before generating the filling data according to the preset generation rule when it is detected that the data to be displayed has not changed within the preset time, the method further includes: Acquiring historical display data of the display device; When the historical display data matches the data to be displayed, determining that the data to be displayed has not changed within a preset time period; When the historical display data does not match the data to be displayed, it is determined that the data to be displayed has changed within a preset time period.
7. The method for processing display data according to claim 1, characterized in that: The method further comprises: When it is detected that the data to be displayed changes within a preset time period, detecting whether there is a to-be-processed area in the data to be displayed; wherein the to-be-processed area is an area in which the data to be displayed does not change within the preset time period; When it is detected that there is a to-be-processed area in the to-be-processed data, filling data of the to-be-processed area is generated according to the generation rule, and the filling data of the to-be-processed area is inserted into the to-be-processed area to obtain target display data of the to-be-processed area.
8. A display data processing device, characterized in that: The device is applied to a transmission device, the transmission device is used to output data to a display device, the display device is used to receive the data output by the transmission device and display corresponding content, and the device includes: An acquisition module, used to acquire data to be displayed; A generating module, configured to generate filling data according to a preset generating rule when detecting that the data to be displayed has not changed within a preset time period; The processing module is used to insert the filling data into the data to be displayed, obtain adjusted target display data, and output the target display data to the display device.
9. A transmission device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the method according to any one of claims 1 to 7 is implemented.
10. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the method according to any one of claims 1 to 7 is implemented.
