Disclosure of Invention
The present invention provides a processing method for preventing a residual image of a television, a television and a storage medium, aiming at solving the problem that the effect of preventing the residual image of an OLED screen of the television in the prior art is poor.
The technical scheme adopted by the invention for solving the technical problem is as follows:
a processing method for preventing afterimage of TV set includes:
if the OLED screen of the television is in a lighting state, detecting whether a display picture on the OLED screen changes within a first preset time;
and if the brightness of the OLED screen is not changed, judging the display picture on the OLED screen as a static picture, and controlling the OLED screen to reduce the brightness according to a preset rule.
Further, the processing method for preventing the afterimage of the television further comprises the following steps:
dividing the OLED screen into a plurality of areas, and respectively detecting first average brightness of each area of a current frame;
acquiring second average brightness of each area of the previous frame, and calculating the absolute value of the difference between the first average brightness and the second average brightness corresponding to each area;
comparing the absolute value with a preset difference value, and if the absolute value is smaller than the preset difference value, judging whether the duration of which the absolute value is smaller than the preset difference value reaches the preset duration or not;
if the duration reaches the preset duration, judging whether the first average brightness of the current area is greater than a preset brightness threshold, and if so, reducing the first average brightness to the preset brightness threshold.
Further, the processing method for preventing the afterimage of the television further comprises the following steps:
if the television is in a starting state, judging whether the OLED screen plays a starting logo, a starting animation or a starting advertisement picture;
and if the OLED screen plays the startup logo, the startup animation or the startup advertisement picture, controlling the OLED screen to reduce the brightness according to a preset rule.
Further, the preset rule is to reduce the brightness of the current OLED screen to 50%.
Further, the processing method for preventing the afterimage of the television further comprises the following steps:
and pre-storing the screen saver animation with the black background, and acquiring and displaying the screen saver animation with the black background when the OLED screen performs screen protection.
Further, the processing method for preventing the afterimage of the television further comprises the following steps:
detecting whether the OLED screen is in a small window playing state, and judging whether the OLED screen has an operation event within second preset time when the OLED screen is in the small window playing state;
and if the operation event does not occur within the second preset time, controlling the OLED screen to automatically play in a full screen mode.
Further, the processing method for preventing the afterimage of the television further comprises the following steps:
pre-storing a channel station caption template, and dividing a station caption area on an OLED screen;
intercepting a display picture of the station caption area and matching the display picture with a pre-stored channel station caption template;
and when the channel identification in the display picture of the station caption area is successfully matched with the channel station caption template, reducing the brightness of the station caption area to a preset threshold value.
Further, the processing method for preventing the afterimage of the television further comprises the following steps:
judging whether a menu bar is displayed in a display picture of the OLED screen;
if a menu bar is displayed in a display picture of the OLED screen, judging whether an operation event for the menu bar is generated within a third preset time;
and if the operation event to the menu bar is not generated within the third preset time, controlling the menu bar to disappear in the display picture.
The invention also provides equipment which comprises a memory, a processor and a television anti-afterimage processing program which is stored on the memory and can run on the processor, wherein the television anti-afterimage processing program realizes the steps of the television anti-afterimage processing method when being executed by the processor.
The present invention also provides a storage medium, wherein the storage medium stores a computer program, and the computer program can be executed to implement the steps of the processing method for preventing the television from the afterimage.
The invention provides a processing method for preventing afterimage of a television, the television and a storage medium, comprising the following steps: if the OLED screen of the television is in a lighting state, detecting whether a display picture on the OLED screen changes within a first preset time; and if the brightness of the OLED screen is not changed, judging the display picture on the OLED screen as a static picture, and controlling the OLED screen to reduce the brightness according to a preset rule. According to the invention, the brightness of the OLED screen under the static picture is properly reduced, so that the pixel points on the OLED screen are not in a high-brightness state for a long time, the occurrence probability of the afterimage is reduced, the failure rate of the afterimage of the OLED screen can be effectively reduced, and the service life of the OLED screen is prolonged while the normal use of the OLED screen by a user is ensured.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention clearer and clearer, the present invention is further described in detail below with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
The invention adopts different solutions aiming at different scenes generating the afterimages, and processes the afterimage prevention technologies by introducing a screen saver display strategy, the screen saver requirements of each module, measures for reducing the loss of an OLED screen body, the afterimage prevention of the OLED screen body and the like. Because the residual shadow is more likely to appear when the luminance of the pixel point is high for a long time, the luminance of the OLED screen is properly reduced, so that the luminance of the pixel point of the same picture is reduced, the pixel point on the OLED screen is not in a high-luminance state for a long time, the occurrence probability of the residual shadow is reduced, the failure rate of the residual shadow of the OLED screen can be effectively reduced, the service life of the OLED screen is prolonged while the normal use of the OLED screen by a user is ensured, the popularization and the use of an OLED television are facilitated, and the OLED television has wide application value.
Referring to fig. 1, fig. 1 is a flowchart of a processing method for preventing image sticking of a television according to the present invention. As shown in fig. 1, the processing method for preventing afterimages of a television according to the embodiment of the present invention includes the following steps:
s100, if the OLED screen of the television is in a lighting state, detecting whether a display picture on the OLED screen changes within a first preset time.
And S200, if the change does not occur, judging the display picture on the OLED screen as a static picture, and controlling the OLED screen to reduce the brightness according to a preset rule.
In one implementation, the first predetermined time is 3 minutes; and if the OLED screen of the television is in a lighting state, detecting whether a display picture on the OLED screen changes within 3 minutes. That is, the current screen may be detected in real time and compared with the display screen 3 minutes ago. And if the current picture and the picture content of the last 3 minutes are detected to be identical, the current picture is considered to be a static picture. In still pictures, where the user generally does not use a television, the brightness is directly reduced to reduce the occurrence of ghosting. Preferably, the preset rule is to reduce the brightness of the current OLED screen to 50%.
For example, when a user watches a video, the user does not watch the television, the picture is static when the video is in a pause state, and if the brightness of the picture is too high, the pixel point on the OLED screen is in a high-brightness state for a long time, so that the probability of the occurrence of the afterimage is increased. At this time, the current screen brightness is adjusted to 50% of the original brightness.
In one implementation, detecting whether a display screen on the OLED screen changes can be achieved by comparing gray level histograms of the screens. When the video picture is still, the value of each step of the gray histogram is basically unchanged or slightly changed. And analyzing 32-order histograms of the two pictures, wherein the higher the closeness of the two pictures is, the closer the value of each order of the gray level histograms of the two pictures is. In addition, the time length (the first predetermined time) is added to the limitation because there is a case that the average brightness is slowly increased to 1, 2, 3, 4, 5, and when the histograms of two consecutive frames are close to each other, the close cannot be simply regarded as the same. Only if the pictures obtained within the preset continuous 3 minutes are close to the initial picture, the current picture can be confirmed to be a static picture.
However, for some dynamic pictures such as drama or anaglyphs with small picture fluctuation, only a part of the pictures have large fluctuation, but the rest of the pictures have small change, but the pictures cannot be processed as static pictures, and the long-time playing of the picture source still has a high probability of generating afterimages. Therefore, in one implementation manner, the processing method for preventing the television from the afterimage further includes:
s11, dividing the OLED screen into a plurality of areas, and respectively detecting the first average brightness of each area of the current frame;
s12, obtaining a second average brightness of each area of the previous frame, and calculating the absolute value of the difference between the first average brightness and the second average brightness corresponding to each area;
s13, comparing the absolute value with a preset difference value, and if the comparison result is that the absolute value is smaller than the preset difference value, judging whether the duration of which the absolute value is smaller than the preset difference value reaches the preset duration or not;
and S14, if the duration reaches the preset duration, judging whether the first average brightness of the current area is greater than a preset brightness threshold, and if so, reducing the first average brightness to the preset brightness threshold.
The invention separately calculates whether the display picture of each small area has change by dividing the OLED screen into a plurality of small areas, such as a first area, a second area, a third area and the like. Specifically, calculating an absolute value of a difference between a first average luminance of each region of a current frame and a second average luminance of each region of a previous frame; wherein the absolute value represents how strongly the image brightness of each region changes. The larger the absolute value is, the larger the change of the image brightness is, and the less the afterimage is generated; the smaller the absolute value, the smaller the change in image brightness, and the more likely afterimage is to be generated. If the absolute value is smaller than the preset difference, judging whether the duration of which the absolute value is smaller than the preset difference is correspondingly larger than or equal to the preset duration (for example, 3 minutes); if the duration is greater than or equal to the preset duration (3 minutes), acquiring the area average brightness (namely, the first average brightness) of the current area of the preset duration, and judging whether the first average brightness corresponding to the current area is greater than a preset brightness threshold value; if the first average brightness corresponding to the area is greater than the preset brightness threshold, it is indicated that the area is in a high brightness state for a long time and has small change, and the afterimage is easy to appear. Each region is detected and adjusted as described above, e.g., when the first region meets the above condition, the first region is adjusted; and when the second area does not meet the conditions, the second area is not adjusted. Therefore, the first average brightness is reduced to the preset brightness threshold, and the brightness of the screen is reduced when the display signal change of the partial area of the OLED television is not obvious, so that the purpose of avoiding the occurrence of the ghost shadow is achieved, and the service life of the OLED screen body is prolonged.
Further, in order to avoid that the whole screen of the OLED screen is too bright and a residual image is easily left in the process of starting up, the processing method for preventing the residual image of the television further comprises the following steps:
s21, if the television is in a startup state, judging whether the OLED screen plays a startup logo, a startup animation or a startup advertisement picture;
and S22, if the OLED screen plays the startup logo, the startup animation or the startup advertisement picture, controlling the OLED screen to reduce the brightness according to a preset rule.
In one implementation manner, the processing method for preventing afterimages of a television further includes: and S31, pre-storing the screen saver animation with the black background, and acquiring and displaying the screen saver animation with the black background when the OLED screen performs screen protection.
That is, the present invention does not use an advertisement screen saver pushed by the operator's background, but stores a specific screen saver animation in advance. Because the residual shadow is more likely to appear when the brightness of the pixel points is higher, the specific screen saver animation stored by the invention is a black background, so that the brightness of the pixel points of most pictures of the screen saver is very low, the probability of the occurrence of the residual shadow is reduced as much as possible, and the display pressure of the OLED screen is also greatly reduced. Specifically, the screensaver animation includes a first specific screensaver and a second specific screensaver; the first specific screen saver is a black background and a dynamic OLED word, and the second specific screen saver is a black background and a dynamic clock word. When the television is not networked, acquiring a first specific screen saver and displaying the first specific screen saver on an OLED screen; and when the television is networked, acquiring a second specific screen saver and displaying the second specific screen saver on the OLED screen. And, in the screen saver state, the screen brightness of the OLED screen is reduced according to a preset rule, for example, to 50% of the original brightness.
Further, the screen saver time setting entry can be cancelled, and the default time is uniformly set to a short predetermined time, such as 1 minute. When the local media is played, the video player and the music player are playing, and the online movie is played normally, the screen saver is not used, and when the playing is suspended, the prestored screen saver animation is displayed according to the mode. When the picture player slides, no screen saver exists, and the prestored screen saver animation is displayed in the other situations according to the mode.
Further, when it is monitored that the entire screen display UI interface in the OLED screen is not changed within a preset time, the preset screen saver animation is played circularly at intervals of a preset time (such as 60 seconds). Specifically, for a whole-screen UI static picture scene, such as a homepage, an application mall, setting, startup guidance and other non-video playing interfaces of other apps, if no user input is available within 60 seconds, the OLED intelligent screen saver program is started, and the corresponding screen saver animation is displayed according to the mode.
In addition, the invention can also adjust the static content under the dynamic video, which is a screen burning prevention measure taken on the part of some videos with long-time static pictures, and can intelligently distinguish the static background and the dynamic main angle by using an intelligent layering technology to adjust the local brightness and the image quality of the static background, thereby reducing the screen burning probability.
Further, the processing method for preventing the afterimage of the television further comprises the following steps:
s41, detecting whether the OLED screen is in a small window playing state, and judging whether the OLED screen has an operation event within a second preset time when the OLED screen is in the small window playing state;
and S42, if the operation event does not occur within the second preset time, controlling the OLED screen to automatically play in a full screen mode.
Specifically, when a user uses a small window to play in an online movie center, the user generally needs to operate a display picture outside the small window, and when the user does not operate the display picture, the display picture outside the small window is at the same brightness for a long time, so that the probability of the occurrence of the ghost of the OLED screen is increased. Therefore, when the OLED screen is in the small window playing state, whether the user operates the OLED screen within second preset time is detected, and if the user operates the OLED screen, the small window playing state is kept unchanged; if no operation action is carried out, the state of the small window is changed into full-screen playing, because the brightness of most pixel points on the OLED screen is changed when the video is played in the full screen, and therefore the occurrence probability of the ghost shadow of the OLED screen is reduced. Preferably, the second preset time is 30 seconds.
Further, the processing method for preventing the afterimage of the television further comprises the following steps:
s51, pre-storing a channel logo template, and dividing a logo area on the OLED screen;
s52, capturing a display picture of the station caption area and matching the display picture with a pre-stored channel station caption template;
and S53, when the channel identification in the display picture of the station caption area is successfully matched with the channel station caption template, reducing the brightness of the station caption area to a preset threshold value.
Specifically, when the television is in the ATV/DTV channel, each channel has a specific channel identifier, and the pattern and position of the channel identifier in the display screen are kept unchanged, so that if the brightness of the channel identifier is too high, a ghost phenomenon occurs at a pixel point where the station logo area is located. The invention prestores channel station caption templates and marks off station caption areas on an OLED screen, wherein the station caption areas are generally areas at the upper left corner. When the OLED screen displays a picture, the display picture of the station caption area is captured and matched with a pre-stored channel station caption template, and when the matching is successful, a semi-transparent shade is added to the station caption area. That is to say, the brightness of the pixel point corresponding to the station caption region is reduced. Preferably, the preset threshold is half of the original brightness, so that a translucent mask is added in the station logo area.
In one implementation manner, the processing method for preventing afterimages of a television further includes:
s61, judging whether a menu bar is displayed in the display picture of the OLED screen;
s62, if a menu bar is displayed in the display picture of the OLED screen, judging whether an operation event for the menu bar is generated within a third preset time;
and S63, if the operation event to the menu bar is not generated in the third preset time, controlling the menu bar to disappear in the display picture.
Specifically, when the local media is played or the local media is in an ATV/DTV channel, the appearing menu bar occupies a luminous pixel point, such as a video player menu bar, a music player menu bar, a picture player bottom menu bar, and the like. When the user does not operate the menu bar, the brightness of the pixel points occupied by the menu bar is also invariable all the time. Therefore, the invention detects the menu bar, and controls the menu bar to disappear in the display picture when detecting that the user does not operate the menu bar within the third preset time. Preferably, the third preset time is 5 seconds.
Meanwhile, the invention also has a pixel displacement function, so that the image moves by one pixel at a preset time interval (for example, 60 seconds) in a certain area, and each pixel point is ensured not to be in the same brightness and color for a long time as much as possible.
Further, the OLED screen can protect the screen body by detecting abnormal signals. Firstly, whether an ERROR DET signal is generated by the OLED screen is detected in real time, if the ERROR DET signal is detected, the OLED screen is indicated to have the risk of over-temperature and over-current, and the OLED screen is controlled to be automatically closed. And when the occurrence frequency reaches a preset threshold value, carrying out screen locking treatment on the OLED screen. Secondly, whether the OLED screen generates an EVDD DET signal or not is detected in real time, a detection signal of 24V is normally output, and when the voltage is lower than 14V, the screen body outputs a low level. And when detecting that the EVDD DET signal is at a low level, controlling the OLED screen to enter a standby state, and then starting up the system, namely restarting the system.
In addition, the HDR boost function of the screen body is cancelled, because the brightness of the whole screen is very high after the HDR boost function is turned on, the service life of the screen body is reduced, the temperature under partial images is too high, and the screen burning risk is caused.
Referring to fig. 2, the present invention further provides a television, including a memory 20, a processor 10, and a television anti-ghost processing program stored in the memory 20 and operable on the processor 10, wherein the television anti-ghost processing program, when executed by the processor, implements the steps of the television anti-ghost processing method described above; as described above.
The present invention also provides a storage medium storing a computer program executable for implementing the steps of the processing method for preventing afterimages of a television set as described above; as described above.
In summary, the processing method for preventing afterimages of a television, the television and the storage medium disclosed by the present invention include: if the OLED screen of the television is in a lighting state, detecting whether a display picture on the OLED screen changes within a first preset time; and if the brightness of the OLED screen is not changed, judging the display picture on the OLED screen as a static picture, and controlling the OLED screen to reduce the brightness according to a preset rule. According to the invention, the brightness of the OLED screen under the static picture is properly reduced, so that the pixel points on the OLED screen are not in a high-brightness state for a long time, the occurrence probability of the afterimage is reduced, the failure rate of the afterimage of the OLED screen can be effectively reduced, and the service life of the OLED screen is prolonged while the normal use of the OLED screen by a user is ensured.
It is to be understood that the invention is not limited to the examples described above, but that modifications and variations may be effected thereto by those of ordinary skill in the art in light of the foregoing description, and that all such modifications and variations are intended to be within the scope of the invention as defined by the appended claims.