A method, device, and storage medium for preventing screen burn-in

By calculating the historical change information and surrounding change information of screen pixels and dynamically adjusting the switching frequency, the screen ghosting problem is solved, efficient screen ghosting prevention is achieved, the display effect and user experience are improved, and costs are reduced.

CN119446018BActive Publication Date: 2025-10-10NINGBO FOTILE KITCHEN WARE CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202410923507.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-10
Publication Date
2025-10-10
Estimated Expiration
2044-07-10

AI Technical Summary

Technical Problem

Existing technologies cannot simultaneously take into account costs and user experience when preventing screen ghosting. Traditional methods of increasing refresh rate will increase power consumption and costs, and updating hardware equipment is costly.

Method used

By obtaining the initial historical changes and surrounding changes of the current pixel points and surrounding pixel points of the target screen, calculating the historical current change information and historical surrounding change information, determining the current target switching frequency, and updating the switching frequency of the pixel points in real time, dynamically monitoring the changes in screen content and user operations, and realizing instant adjustment and adaptation of parameters.

Benefits of technology

Effectively prevent and reduce screen ghosting, improve the clarity and responsiveness of display devices, reduce costs and complexity, and eliminate the need for additional hardware support.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119446018B_ABST
    Figure CN119446018B_ABST
Patent Text Reader

Abstract

The application relates to a screen residual image prevention method, device, equipment and storage medium. The method comprises the following steps: obtaining initial historical change conditions of a current pixel point of a target screen and initial peripheral change conditions of peripheral pixel points; calculating historical current change information of the current pixel point according to the initial historical change conditions and calculating historical peripheral change information of the peripheral pixel points according to the initial peripheral change conditions; determining a current target switching frequency of the current pixel point according to the historical current change information and the historical peripheral change information; when there is a next pixel point without a set target switching frequency, identifying the next pixel point as a new current pixel point; and after all target switching frequencies of all to-be-processed pixel points of the target screen are set, updating the switching frequencies of the corresponding pixel points in real time based on all the target switching frequencies. The method does not require additional hardware support and is realized only at the software level, thereby effectively improving the use experience of users while reducing the hardware cost.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of display screens, and in particular to a method, apparatus, device, and storage medium for preventing screen ghosting. Background Art

[0002] Traditional display systems typically utilize technologies like liquid crystal displays (LCDs) and LEDs. These technologies are prone to screen ghosting when displaying the same content for extended periods. Screen ghosting refers to residual images of previously displayed images or text left on the screen when the displayed content changes or when a user performs an action. This phenomenon typically occurs when liquid crystal molecules or LED light-emitting elements, after being powered on for an extended period, are unable to fully return to their off state, resulting in a residual light and shadow effect.

[0003] At present, the traditional solution is to minimize the ghosting problem by increasing the screen refresh frequency or using technical means such as screen driver chips. However, these traditional methods have some shortcomings in practical applications: 1. Increasing the screen refresh frequency can reduce the duration of ghosting, but it will increase the power consumption and cost of the display device, and to a certain extent affect the user's visual experience; 2. Using more advanced screen driver technology can increase the response speed of the display device, thereby reducing the impact of the ghosting problem, but this technology is expensive and requires hardware equipment to be updated.

[0004] Currently, there is no effective solution to the problem that existing technologies for preventing screen ghosting cannot take into account both cost and user experience. Summary of the Invention

[0005] Based on this, it is necessary to provide a method, device, equipment and storage medium for preventing screen ghosting in response to the above technical problems.

[0006] In a first aspect, the present application provides a method for preventing screen sticking. The method comprises:

[0007] Obtain the initial historical change of the current pixel of the target screen and the initial surrounding change of the surrounding pixels, where the initial historical change of the current pixel reflects the change of the color information of the current pixel in the time dimension; the initial surrounding change reflects the difference in color information between the surrounding pixels and the current pixel, and the surrounding pixels are the pixels within a preset neighborhood range of the current pixel;

[0008] Calculate the historical current change information of the current pixel based on the initial historical change situation, and calculate the historical surrounding change information of the surrounding pixels based on the initial surrounding change situation;

[0009] Determine the current target switching frequency of the current pixel based on historical current change information and historical surrounding change information;

[0010] When there is a next pixel point for which the target switching frequency is not set, the next pixel point is identified as the new current pixel point; wherein the switching frequency refers to the number of times the pixel point turns on and off alternately in one second;

[0011] After the target switching frequencies are set for all the pixels to be processed on the target screen, the switching frequencies of the corresponding pixels are updated in real time based on all the target switching frequencies.

[0012] In one embodiment, obtaining the initial historical change situation and the initial surrounding change situation includes:

[0013] Obtaining first color information of the current pixel at the current moment and second color information of the current pixel at the previous moment, respectively, and obtaining an initial historical change of the current pixel based on the first color information and the second color information;

[0014] The difference between the first color information of the current pixel at the current moment and the first surrounding color information of the surrounding pixels at the current moment is obtained to obtain the initial surrounding change situation.

[0015] In one embodiment, the method further includes:

[0016] Collect the color information of the current pixel in the preset monitoring time period and save it in the historical database;

[0017] After receiving the frequency calculation instruction, the color information of the current pixel at the corresponding moment is retrieved from the historical database, and the initial historical change situation and the initial peripheral change situation are calculated based on the color information at the corresponding moment.

[0018] In one embodiment, determining a current target switching frequency of a current pixel point based on historical current change information and historical surrounding change information includes:

[0019] Obtaining a first weight corresponding to historical current change information and a second weight corresponding to historical surrounding change information; wherein the first weight has a higher priority than the second weight;

[0020] According to the first weight and the second weight, weighted calculations are performed on the historical current change information and the historical surrounding change information respectively to obtain the current target switching frequency.

[0021] In one embodiment, the method further includes:

[0022] When it is detected that the historical current change information is greater than or equal to a preset first change threshold, reducing the first weight;

[0023] And / or, when it is detected that the historical surrounding change information is greater than or equal to a preset second change threshold, the second weight is reduced.

[0024] In one embodiment, the method further includes:

[0025] Dividing the target screen into at least two adjustment areas based on a preset division rule, and determining a target adjustment area among all the adjustment areas according to the acquired adjustment target instruction;

[0026] All pixels within the target adjustment area are taken as current pixels in turn.

[0027] In one embodiment, updating the switching frequencies of corresponding pixels in real time based on all target switching frequencies includes:

[0028] Obtain the target switching frequency of all pixels, and perform a light-on / light-off process on the corresponding pixels according to the target switching frequency when the entire interface is refreshed.

[0029] In a second aspect, the present application also provides a device for preventing screen burn-in. The device includes:

[0030] An acquisition module is used to obtain the initial historical change of the current pixel of the target screen and the initial peripheral change of the surrounding pixels, wherein the initial historical change of the current pixel reflects the change of the color information of the current pixel in the time dimension; the initial peripheral change reflects the difference in color information between the surrounding pixels and the current pixel, and the surrounding pixels are the pixels within a preset neighborhood range of the current pixel;

[0031] a calculation module, configured to calculate historical current change information of the current pixel based on the initial historical change information, and calculate historical surrounding change information of surrounding pixels based on the initial surrounding change information; determine a current target switching frequency of the current pixel based on the historical current change information and the historical surrounding change information; and identify the next pixel as the new current pixel when there is a next pixel for which no target switching frequency is set; wherein the switching frequency refers to the number of times a pixel alternates between on and off in one second;

[0032] The generation module is used to update the switching frequencies of the corresponding pixels in real time based on all the target switching frequencies after setting the target switching frequencies for all the pixels to be processed on the target screen.

[0033] In a third aspect, the present application further provides a computer device. The computer device includes a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the following steps are performed:

[0034] Obtain the initial historical change of the current pixel of the target screen and the initial surrounding change of the surrounding pixels, where the initial historical change of the current pixel reflects the change of the color information of the current pixel in the time dimension; the initial surrounding change reflects the difference in color information between the surrounding pixels and the current pixel, and the surrounding pixels are the pixels within a preset neighborhood range of the current pixel;

[0035] Calculate the historical current change information of the current pixel based on the initial historical change situation, and calculate the historical surrounding change information of the surrounding pixels based on the initial surrounding change situation;

[0036] Determine the current target switching frequency of the current pixel based on historical current change information and historical surrounding change information;

[0037] When there is a next pixel point for which the target switching frequency is not set, the next pixel point is identified as the new current pixel point; wherein the switching frequency refers to the number of times the pixel point turns on and off alternately in one second;

[0038] After the target switching frequencies are set for all the pixels to be processed on the target screen, the switching frequencies of the corresponding pixels are updated in real time based on all the target switching frequencies.

[0039] In a fourth aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the following steps:

[0040] Obtain the initial historical change of the current pixel of the target screen and the initial surrounding change of the surrounding pixels, where the initial historical change of the current pixel reflects the change of the color information of the current pixel in the time dimension; the initial surrounding change reflects the difference in color information between the surrounding pixels and the current pixel, and the surrounding pixels are the pixels within a preset neighborhood range of the current pixel;

[0041] Calculate the historical current change information of the current pixel based on the initial historical change situation, and calculate the historical surrounding change information of the surrounding pixels based on the initial surrounding change situation;

[0042] Determine the current target switching frequency of the current pixel based on historical current change information and historical surrounding change information;

[0043] When there is a next pixel point for which the target switching frequency is not set, the next pixel point is identified as the new current pixel point; wherein the switching frequency refers to the number of times the pixel point turns on and off alternately in one second;

[0044] After the target switching frequencies are set for all the pixels to be processed on the target screen, the switching frequencies of the corresponding pixels are updated in real time based on all the target switching frequencies.

[0045] The above-mentioned method, device, equipment and storage medium for preventing screen ghosting first obtains the initial historical change of the current pixel point and the initial peripheral change of the surrounding pixel points; then calculates the historical current change information of the current pixel point based on the initial historical change situation, and calculates the historical peripheral change information of the surrounding pixel points based on the initial peripheral change situation; finally, determines the current target switching frequency of the current pixel point based on the historical current change information and the historical peripheral change information, repeats the above steps to set the target switching frequency for all pixels to be processed, and then updates the switching frequency of the corresponding pixel points in real time based on all target switching frequencies. Through the above method, screen data is collected and processed in real time, and screen content changes and user operations are dynamically monitored. Through intelligent algorithm design, parameters are adjusted and adapted in real time, effectively preventing and reducing the occurrence of ghosting, and improving the clarity and response speed of the display device. In addition, the solution in this application does not require additional hardware support and only needs to be implemented at the software level, which reduces cost and complexity and is easy to promote and apply. BRIEF DESCRIPTION OF THE DRAWINGS

[0046] Figure 1 A diagram illustrating an application environment of a method for preventing screen sticking in one embodiment;

[0047] Figure 2 1 is a flow chart of a method for preventing screen sticking in one embodiment;

[0048] Figure 3 1 is a flow chart of a method for preventing screen sticking in a preferred embodiment;

[0049] Figure 4 is a structural block diagram of a device for preventing screen sticking in one embodiment;

[0050] Figure 5 FIG. 1 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION

[0051] In order to make the purpose, technical solutions and advantages of this application more clear, the following further describes this application in detail with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain this application and are not intended to limit this application.

[0052] The method for preventing screen ghosting provided in the embodiment of the present application can be applied to Figure 1In the application environment shown, terminal 102 communicates with server 104 via a network. A data storage system can store data that server 104 needs to process. The data storage system can be integrated with server 104, or placed on a cloud or other network server. First, the initial historical change of the current pixel and the initial surrounding change of surrounding pixels are obtained; then, the historical current change information of the current pixel is calculated based on the initial historical change, and the historical surrounding change information of surrounding pixels is calculated based on the initial surrounding change; finally, the current target switching frequency of the current pixel is determined based on the historical current change information and the historical surrounding change information. After repeating the above steps to set the target switching frequency for all pixels to be processed, the switching frequency of the corresponding pixels is updated in real time based on all target switching frequencies. Terminal 102 can be, but is not limited to, various personal computers, laptops, smartphones, tablets, IoT devices, and portable wearable devices. IoT devices can include smart speakers, smart TVs, smart air conditioners, smart car devices, etc. Portable wearable devices can include smart watches, smart bracelets, head-mounted devices, etc. Server 104 can be implemented as a standalone server or a server cluster consisting of multiple servers.

[0053] In one embodiment, Figure 2 As shown, a method for preventing screen ghosting is provided, which is applied to Figure 1 The following steps are used as an example to illustrate the server in the example:

[0054] Step S202, obtain the initial historical changes of the current pixel point of the target screen and the initial peripheral changes of the surrounding pixels, wherein the initial historical changes of the current pixel point reflect the changes in the color information of the current pixel point in the time dimension; the initial peripheral changes reflect the difference in color information between the surrounding pixels and the current pixel point, and the surrounding pixels are the pixels of the current pixel point within a preset neighborhood range.

[0055] Among them, the above-mentioned current pixel point is any pixel point in the target screen, and the initial historical change of the current pixel point is obtained. The initial historical change situation is reflected by the difference between the color information of the current pixel point at different times within a preset time period. Preferably, the preset time period can be 50ms, 30ms, etc. Similarly, the initial peripheral change situation is the difference in color information between the current pixel point and the surrounding pixel points. The size of the neighborhood range can be set by relevant personnel. For example, it can be set to the eight surrounding pixels adjacent to the current pixel point, or it can be set to two layers around the current pixel point as the center of the circle, that is, 24 pixels, etc. Further, considering that the color value of the pixel point generally has a larger value range, the pixel color information value can be 0 to 255, or 0.0 to 1.0, etc., which can be determined according to the actual application scenario.

[0056] Step S204 , calculating the historical current change information of the current pixel point based on the initial historical change situation, and calculating the historical surrounding change information of the surrounding pixels points based on the initial surrounding change situation.

[0057] Here, the degree of change in the color information of the current pixel within a unit time is calculated based on the initial historical change situation, thereby obtaining the historical current change information. For example, in some preferred embodiments, the calculation method of the historical current change information F1{x,y,t} can be F1{x,y,t}=D_C{x,y,t} / D_t, where D_C{x,y,t} is the initial historical change situation and D_t is the above-mentioned unit time. In some preferred embodiments, the historical current change information between the current moment and the previous moment can be calculated. In this case, the above-mentioned D_t is the time difference between the current moment and the previous moment. It can be understood that the above-mentioned historical current change information reflects the degree of change of the pixel value of the current pixel in the time dimension. Similarly, based on the initial surrounding change, the degree of change in the color information of the surrounding pixels over a period of time can be calculated, thereby obtaining historical surrounding change information. For example, in this embodiment, the calculation method for the historical surrounding change information F2{x,y,t} can be F2{x,y,t} = R_C{x,y,t} / D_t, where R_C{x,y,t} is the initial surrounding change, and D_t is the aforementioned unit time. The above-mentioned historical surrounding change information reflects the change in the gradient value between the current pixel and the surrounding pixels in the time dimension. This embodiment does not limit the specific calculation method for the degree of color information change. All methods that can quantitatively calculate the degree of pixel color information change should fall within the scope of protection of this application, such as calculating the amplitude of the color information change in each time unit, calculating the rate of change of the pixel color information, etc. It can also be understood that the historical current change information is proportional to the degree of change of the current pixel's color information. Similarly, the historical surrounding change information is proportional to the degree of change of the surrounding pixel's color information.

[0058] Step S206, determining the current target switching frequency of the current pixel based on the historical current change information and the historical surrounding change information; when there is a next pixel that does not have a set target switching frequency, identifying the next pixel as the new current pixel; wherein the switching frequency refers to the number of times the pixel alternates between on and off in one second.

[0059] In this embodiment, the current target switching frequency of the current pixel is calculated by combining historical current change information and historical surrounding change information. Specifically, to avoid screen ghosting caused by the pixel displaying the same content for a long time, the historical current change information and historical surrounding change information are combined to determine the change trend of the current pixel, thereby determining the switching frequency of the current pixel. It is understandable that this embodiment does not impose too many restrictions on the specific calculation method of the current target switching frequency. When it is determined that the change trend of the current pixel is that the pixel color information remains unchanged or the pixel color information changes very little, the switching frequency of the current pixel is correspondingly increased. All solutions that can achieve the above effects should fall within the scope of protection of this application.

[0060] Repeat the above method of calculating the current pixel's switching frequency by combining historical current change information and historical surrounding change information, traversing all pixels that do not have a set target switching frequency until the target switching frequency is calculated for all pixels. The above switching frequency usually refers to the number of times a pixel alternates between on and off in one second. For example, if the switching frequency is calculated to be 30Hz, the pixel will switch on and off once every 33ms.

[0061] Step S208 : After the target switching frequencies are set for all the pixels to be processed in the target image, the switching frequencies of the corresponding pixels are updated in real time based on all the target switching frequencies.

[0062] Among them, after calculating the target switching frequency of all pixels, the switching frequency of the corresponding pixels can be updated immediately, or it can be applied when the target screen interface is refreshed as a whole, thereby achieving the effect of reducing ghosting.

[0063] Through steps S202 to S208, the initial historical change and initial peripheral change of the current pixel are obtained, and the historical current change information of the current pixel and the historical peripheral change information of the surrounding pixels are calculated respectively, so as to calculate the current target switching frequency of the current pixel by combining the historical current change information and the historical peripheral change information. Through this application, changes in screen content can be monitored in real time, and the switching frequency of pixels can be quickly responded and adjusted, effectively reducing the ghosting phenomenon. Furthermore, this application does not require additional hardware support and only needs to be implemented at the software level, which reduces cost and complexity and is easy to promote and apply.

[0064] In one embodiment, the method includes:

[0065] Obtaining first color information of the current pixel at the current moment and second color information of the current pixel at the previous moment, respectively, and obtaining an initial historical change of the current pixel based on the first color information and the second color information;

[0066] The difference between the first color information of the current pixel at the current moment and the first surrounding color information of the surrounding pixels at the current moment is obtained to obtain the initial surrounding change situation.

[0067] Specifically, this embodiment defines a method for calculating the initial historical changes and the initial peripheral changes. The first color information of the current pixel at the current moment t and the second color information of the current pixel at the previous moment t-1 are obtained. Based on the difference between the first color information and the second color information, the initial historical changes D_C{x,y,t}=C{x,y,t}-C{x,y,t-1} are calculated, where x and y represent the x-coordinate and y-coordinate of the current pixel, respectively, and C represents the color information of the pixel, that is, the value of the pixel. Similarly, obtain the first color information of the current pixel at the current moment and the first surrounding color information of the surrounding pixels at the current moment, calculate the difference between the two and take the average, and obtain the initial surrounding change R_C{x,y,t}=((C{x,y,t}-C{x,y-1,t})+(C{x,y,t}-C{x,y+1,t})+(C{x,y,t}-C{x-1,y,t})+(C{x,y,t}-C{x+1,y,t})+(C{x,y,t}-C{x-1,y-1,t})+(C{x,y,t}-C{x+1,y+1,t})+(C{x,y,t}-C{x-1,y+1,t})) / 8. The above method can calculate the initial historical changes of the current pixel and the initial surrounding changes. This embodiment can quickly calculate the changes in the color information of the current pixel at different times, as well as the gradient value of the color information of the current pixel and the surrounding pixels, laying the foundation for subsequent judgment of the pixel trend.

[0068] In some embodiments, the method includes:

[0069] Collect the color information of the current pixel in the preset monitoring time period and save it in the historical database;

[0070] After receiving the frequency calculation instruction, the color information of the current pixel at the corresponding moment is retrieved from the historical database, and the initial historical change situation and the initial peripheral change situation are calculated based on the color information at the corresponding moment.

[0071] Specifically, this embodiment further includes a history database, which is used to store the values ​​of pixel points within a period of time and is used to calculate the change rate of the pixel values ​​when needed.

[0072] The above-mentioned frequency calculation instruction is used to instruct the calculation of the target switching frequency corresponding to the pixel points in the entire interface or a partial area, and to update the switching frequency of the pixel points according to the calculated new switching frequency. It is understandable that the frequency calculation instruction can be manually issued by the user, or it can be an instruction automatically generated at a certain time or after triggering certain conditions. This embodiment will not be described in detail here. After obtaining the frequency calculation instruction, the corresponding color information is retrieved from the historical database, and the initial historical changes and initial peripheral changes of the corresponding pixel points are calculated based on the color information, and subsequent calculation steps are performed. Through this embodiment, the color information of the pixel points is monitored and recorded in real time, so that after obtaining the frequency calculation instruction, it can be directly retrieved from the database, without the need to immediately collect the color information of the pixel points, thereby effectively improving the calculation efficiency and reducing the use of computing resources. Similarly, in some preferred embodiments, the device has better performance. At this time, there is no need to save the color information of the pixel points to the database first and retrieve it as needed. Instead, the real-time color information of the pixel points can be obtained to facilitate subsequent calculations.

[0073] In some embodiments, the method further comprises:

[0074] Obtaining a first weight corresponding to historical current change information and a second weight corresponding to historical surrounding change information; wherein the first weight has a higher priority than the second weight;

[0075] According to the first weight and the second weight, weighted calculations are performed on the historical current change information and the historical surrounding change information respectively to obtain the current target switching frequency.

[0076] Specifically, in this embodiment, a first weight is assigned to historical current change information, and a second weight is assigned to historical surrounding change information, and the first weight has a higher priority than the second weight. Among them, the setting of the values ​​of the first weight and the second weight is generally related to the number of pixels in the screen or the number of pixels that need to be adjusted. For example, if multiple pixels in the area where the current pixel is located change from black to white in batches, that is, the number of pixel changes and the degree of change in pixel values ​​are large, then a higher first weight value needs to be set. On the contrary, if the pixel values ​​in the area have not changed or changed slightly, while the number of pixel changes outside the area and the degree of change in pixel values ​​are large, then a higher second weight value needs to be set, thereby achieving the setting and real-time update of the first and second weights. Furthermore, both the first and second weights need to be adjusted in real time according to the degree of change in the pixel value. When both the first and second weights need to be adjusted, the degree of change in the first weight is generally higher than the second weight. This is because screen ghosting is often caused by the lack of time to refresh the pixel in advance when it changes, so more focus needs to be placed on the degree of change in the pixel itself. In practical applications, in order to highlight the difference in priority between the first weight and the second weight, it is also possible to consider setting rules in the process of weight change, that is, the value of the first weight of any pixel point at any moment must be kept greater than the value of the second weight; or it is also possible to consider assigning priority parameters to the weight values ​​for the first weight and the second weight respectively, such as the first weight n1 = the first priority parameter Gn1×(n1+n1x), where n1x+n1 is the updated value of the first weight n1. Similarly, the second weight n2 can be set to n2 = Gn2×(n2+n2x), Gn2 is the second priority parameter, and n2+n2x is the updated value of the second weight n2. The default value of Gn1=1 and Gn2=0.5 can ensure that in the process of updating the first weight and the second weight, the priority of the first weight is greater than the second weight.

[0077] After determining the first and second weights, a weighted calculation is performed on the historical current change information and the historical surrounding change information, respectively, to obtain a target switching frequency. Specifically, the target switching frequency can be: O(x, y, t) = f(x) = F1×n1 + F2×n2. This embodiment allows for setting corresponding weights for the historical current change information and the historical surrounding change information. To better prevent screen ghosting, this embodiment also requires that the degree of change in the first weight be higher than the second weight. Finally, the target switching frequency is obtained by weighting the first and second weights with the historical current change information and the historical surrounding change information, respectively. In practical applications, this allows for dynamic adjustment of parameters based on display content and user operation, thereby adapting to different scenarios and usage environments and improving system stability and applicability.

[0078] In some embodiments, the method further comprises:

[0079] When it is detected that the historical current change information is greater than or equal to a preset first change threshold, reducing the first weight;

[0080] And / or, when it is detected that the historical surrounding change information is greater than or equal to a preset second change threshold, the second weight is reduced.

[0081] Specifically, if the historical current change information is detected to be excessive, that is, greater than or equal to the first change threshold, the first weight needs to be reduced accordingly. The first change threshold is usually set to 33 frames. This is because the performance of the device is limited in actual application, and the human eye cannot distinguish too fast a switching frequency. Therefore, considering the user experience and device performance, the first weight can be reduced accordingly when the historical current change information is detected to be excessive. This avoids the final calculated target switching frequency being too large, which would waste device computing power and prevent rapid device aging.

[0082] Similarly, when excessive historical peripheral change information is detected, i.e., greater than or equal to the second change threshold, the second weight is correspondingly reduced. The second change threshold is typically set to 33 frames. Since the target switching frequency is derived by combining historical current change information and historical peripheral change information, the second weight may be reduced to avoid excessively high calculated target switching frequency. This embodiment comprehensively considers the challenges that the device may face in actual applications, thereby better adapting to different display content and user operations, adjusting the algorithm's response speed and stability accordingly, and ensuring the real-time and reliability of the system.

[0083] In some embodiments, the method further comprises:

[0084] Dividing the target screen into at least two adjustment areas based on a preset division rule, and determining a target adjustment area among all the adjustment areas according to the acquired adjustment target instruction;

[0085] All pixels within the target adjustment area are taken as current pixels in turn.

[0086] Specifically, in this embodiment, the target screen can be divided into multiple adjustment areas according to preset division rules, wherein the target screen can be divided evenly, such as dividing the target screen into x×y rectangles, or the target screen can be divided into multiple adjustment areas non-uniformly according to the division rules. It can be understood that this embodiment does not impose too many restrictions on the division method of the target screen. The division methods of the target screen in this technical field, such as uniform areas, non-uniform areas, multi-layer nested areas, etc. should all fall within the protection scope of this application.

[0087] After obtaining multiple adjustment areas, the target adjustment area is determined based on the obtained adjustment target instructions, wherein the adjustment target instruction can be an instruction input by the user, or when the screen display content of one or some areas in the adjustment area reaches the rule threshold preset by the technician, the above-mentioned adjustment target instruction is automatically generated for the area, thereby obtaining the target adjustment area. Finally, the pixel points in the target adjustment area are used as the current pixel points in turn, and the afterimage prevention method described above is executed on the target adjustment area. This embodiment can effectively reduce power consumption, and the solution of this application is only executed on areas where afterimage prevention is required, thereby improving computing efficiency while ensuring user experience.

[0088] In some embodiments, the method further comprises:

[0089] Obtain the target switching frequency of all pixels, and perform a light-on / light-off process on the corresponding pixels according to the target switching frequency when the entire interface is refreshed.

[0090] Specifically, different target switching frequencies after pixel updates are applied during overall interface refresh to reduce ghosting. In this embodiment, the interval between pixel on / off cycles is the target switching frequency. For example, if the calculated target switching frequency is 30Hz, the pixel switches on and off every 33ms.

[0091] Those skilled in the art will understand that the fundamental reason for the occurrence of screen ghosting is that it takes a certain amount of time for the liquid crystal molecules of the LCD (Liquid Crystal Display) to change their arrangement state. When the LCD displays the same image for a long time, the liquid crystal molecules may be in a specific arrangement state, called "continuous bias". When the image suddenly changes, this arrangement state will not change immediately, resulting in a slower change speed for these pixels and a ghosting effect.

[0092] The present application also provides a preferred embodiment of a method for preventing screen ghosting. Figure 3 FIG. 1 is a flow chart of a method for preventing screen ghosting in a preferred embodiment.

[0093] S310 , firstly, dividing the target screen into a plurality of adjustment areas, and determining a target adjustment area among the plurality of adjustment areas according to requirements in actual applications, where the target adjustment area is an area where screen ghosting prevention is required.

[0094] S320, scan each target adjustment area to determine the information of the pixels in each target adjustment area, which specifically includes obtaining the initial historical change and initial peripheral change of each pixel. The above-mentioned initial historical change reflects the degree of change of the pixel value between the current moment and the previous moment, that is, the degree of color change of the pixel. In this preferred embodiment, the degree of color change is calculated by the difference between the pixel values ​​between the current moment and the previous moment, that is, the initial historical change of the pixel. The above-mentioned initial peripheral change is for the eight adjacent pixels around the current pixel, reflecting the difference between the pixel values ​​of the eight peripheral pixels and the current pixel at the current moment. Furthermore, in this embodiment, the historical database is used to store the values ​​of the pixels over a period of time, and is used to calculate the rate of change of the pixel values ​​and other subsequent calculations when needed.

[0095] S330 calculates the historical current change information of the corresponding pixel based on the initial historical change information, and calculates the historical surrounding change information corresponding to the pixel based on the initial surrounding change information. Specifically, the historical current change information is calculated based on the difference in color of the current pixel at different times between adjacent frames, i.e., the historical current change information F1{x,y,t}=D_C{x,y,t} / D_t. Similarly, the historical surrounding change information is calculated based on the difference in gradient values ​​between the surrounding pixels and the current pixel at different times between adjacent frames, i.e., F2{x,y,t}=R_C{x,y,t} / D_t.

[0096] S340: Determine the current target switching frequency of the current pixel based on the historical current change information and the historical surrounding change information. In this embodiment, the pixel switching frequency is calculated as: O(x, y, t) = f(x) = F1*n1 + F2*n2, where n1 is the first weight and n2 is the second weight. n1 and n2 are related to factors such as the number of divided regions and the size of the pixels within the regions, and can be adjusted in real time. It can be understood that in this embodiment, the priority of n1 is greater than n2, that is, the change of the current pixel is prioritized, because the appearance of ghosting is often caused by the failure of the pixels in the area to change in time. Therefore, different priorities can be set for n1 and n2, namely Gn1 and Gn2, to ensure that the degree of change of n1 is higher than that of n2. At this time, n1 = Gn1*(n1+n1x), where n1x+n1 is the updated value of the first weight n1. Similarly, n2 = Gn2*(n2+n2x), where n2+n2x is the updated value of the second weight n2. Preferably, Gn1 = 1 and Gn2 = 0.5 by default. Furthermore, if it is detected that the historical current change information is too large, that is, greater than or equal to the first change threshold, the first weight needs to be reduced accordingly, where the first change threshold is usually set to 33 frames. This is because the performance of the device is limited in actual application, and the human eye cannot distinguish too fast switching frequencies. Therefore, considering the user experience and device performance, the first weight can be reduced accordingly when the historical current change information is detected to be too large. Similarly, when the historical surrounding change information is detected to be excessive, that is, greater than or equal to the second change threshold, the second weight is correspondingly reduced, where the second change threshold is typically set to 33 frames. The parameters in this application can be adjusted based on real-time feedback, and users can also customize and optimize the algorithm according to actual needs to meet personalized requirements.

[0097] This application utilizes information about the color change rate of each pixel on the screen and the areas where content changes, combined with user behavior, to intelligently adjust the color changes of the pixels through an algorithm, effectively reducing the probability of image retention and improving the display quality and user experience. Furthermore, according to this solution, this application requires no additional hardware support and can be implemented solely at the software level, reducing cost and complexity and facilitating widespread adoption and application.

[0098] It should be understood that, although the various steps in the flowcharts involved in the various embodiments described above are displayed in sequence according to the instructions of the arrows, these steps are not necessarily executed in sequence in the order indicated by the arrows. Unless otherwise specified herein, there is no strict order restriction on the execution of these steps, and these steps can be executed in other orders. Moreover, at least a portion of the steps in the flowcharts involved in the various embodiments described above can include multiple steps or multiple stages, and these steps or stages are not necessarily executed and completed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a portion of steps or stages in other steps.

[0099] Based on the same inventive concept, the present application also provides a device for preventing screen image sticking for implementing the aforementioned method for preventing screen image sticking. The solution provided by this device is similar to the solution described in the aforementioned method. Therefore, the specific limitations of one or more embodiments of the device for preventing screen image sticking provided below can be found in the aforementioned method for preventing screen image sticking, and will not be repeated here.

[0100] In one embodiment, Figure 4 As shown, a device for preventing screen ghosting is provided, comprising: an acquisition module 41, a calculation module 42, and a generation module 43, wherein:

[0101] An acquisition module 41 is configured to acquire an initial historical change of a current pixel of a target screen and an initial peripheral change of surrounding pixels, wherein the initial historical change of the current pixel reflects the change of the color information of the current pixel over time; the initial peripheral change reflects the change of the color information difference between the surrounding pixels and the current pixel over time, wherein the surrounding pixels are pixels within a preset neighborhood of the current pixel;

[0102] Calculation module 42 is configured to calculate historical current change information of the current pixel based on the initial historical change information, and to calculate historical peripheral change information of surrounding pixels based on the initial peripheral change information; determine a current target switching frequency of the current pixel based on the historical current change information and the historical peripheral change information; and identify the next pixel as the new current pixel when there is a next pixel for which no target switching frequency is set; wherein the switching frequency refers to the number of times a pixel alternates between on and off in one second;

[0103] The generating module 43 is configured to update the switching frequencies of the corresponding pixels in real time based on all the target switching frequencies after setting the target switching frequencies for all the pixels to be processed on the target screen.

[0104] Specifically, the acquisition module 41 obtains the initial historical change information of the current pixel of the target screen, as well as the initial peripheral change information of the surrounding pixels. Then, the initial historical change information and the initial peripheral change information are sent to the calculation module 42. The calculation module 42 calculates the historical current change information of the current pixel based on the initial historical change information, and calculates the historical peripheral change information of the surrounding pixels based on the initial peripheral change information. Then, the calculation module 42 determines the current target switching frequency of the current pixel based on the historical current change information and the historical peripheral change information. After the generation module 43 sets the target switching frequency for all pixels to be processed in the target screen according to the above method, it updates the switching frequency of the corresponding pixels in real time based on the target switching frequency.

[0105] Each module in the aforementioned screen image retention prevention device can be implemented in whole or in part through software, hardware, or a combination thereof. Each module can be embedded in or independent of a processor in a computer device in hardware form, or can be stored in a computer device memory in software form, so that the processor can call and execute the corresponding operations of each module.

[0106] In one embodiment, a computer device is provided. The computer device may be a server, and its internal structure diagram may be as follows: Figure 5 As shown. The computer device includes a processor, a memory and a network interface connected via a system bus. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store computing data related to the prevention of screen ghosting. The network interface of the computer device is used to communicate with an external terminal via a network connection. When the computer program is executed by the processor, a method for preventing screen ghosting is implemented.

[0107] Those skilled in the art will understand that Figure 5 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than shown in the figure, or combine certain components, or have a different component arrangement.

[0108] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the following steps are implemented:

[0109] Obtain the initial historical change of the current pixel of the target screen and the initial surrounding change of the surrounding pixels, where the initial historical change of the current pixel reflects the change of the color information of the current pixel in the time dimension; the initial surrounding change reflects the change of the color information difference between the surrounding pixels and the current pixel in the time dimension, and the surrounding pixels are the pixels within a preset neighborhood range of the current pixel;

[0110] Calculate the historical current change information of the current pixel based on the initial historical change information, and calculate the historical surrounding change information of the surrounding pixels based on the initial surrounding change information; determine the current target switching frequency of the current pixel based on the historical current change information and the historical surrounding change information; if there is a next pixel that does not have a set target switching frequency, identify the next pixel as the new current pixel; the switching frequency refers to the number of times the pixel turns on and off in one second;

[0111] After the target switching frequencies are set for all the pixels to be processed on the target screen, the switching frequencies of the corresponding pixels are updated in real time based on all the target switching frequencies.

[0112] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties.

[0113] Those skilled in the art will appreciate that all or part of the processes in the above-mentioned embodiment methods can be implemented by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, database or other media used in the embodiments provided in this application may include at least one of non-volatile and volatile memory. Non-volatile memory may include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory may include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in the various embodiments provided herein may include at least one of a relational database and a non-relational database. Non-relational databases may include, but are not limited to, distributed databases based on blockchains. The processor involved in the various embodiments provided herein may be, but are not limited to, a general-purpose processor, a central processing unit, a graphics processing unit, a digital signal processor, a programmable logic unit, a data processing logic unit based on quantum computing, and the like.

[0114] The technical features of the above embodiments can be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0115] The above-described embodiments merely represent several implementation methods of the present application. While the descriptions are relatively specific and detailed, they should not be construed as limiting the scope of the present application. It should be noted that a person of ordinary skill in the art may make various modifications and improvements without departing from the spirit of the present application, and these modifications and improvements fall within the scope of protection of the present application. Therefore, the scope of protection of the present application shall be determined by the appended claims.

Claims

1. A method for preventing screen sticking, characterized in that: The method comprises: Obtaining an initial historical change of a current pixel of a target screen and an initial peripheral change of surrounding pixels, wherein the initial historical change of the current pixel reflects a change in the color information of the current pixel over time; the initial peripheral change reflects a difference in color information between the surrounding pixels and the current pixel, wherein the surrounding pixels are pixels within a preset neighborhood of the current pixel; Calculating the historical current change information of the current pixel point based on the initial historical change situation, and calculating the historical surrounding change information of the surrounding pixel points based on the initial surrounding change situation; Determining a current target switching frequency of the current pixel point according to the historical current change information and the historical surrounding change information; When there is a next pixel point for which the target switching frequency is not set, the next pixel point is identified as the new current pixel point; wherein the switching frequency refers to the number of times the pixel point turns on and off alternately in one second; After the target switching frequencies are set for all the pixels to be processed on the target screen, the switching frequencies of the corresponding pixels are updated in real time based on all the target switching frequencies.

2. The method according to claim 1, characterized in that Obtaining the initial historical change and the initial surrounding change includes: Obtaining first color information of the current pixel at a current moment and second color information of the current pixel at a previous moment, respectively, and obtaining an initial historical change of the current pixel based on the first color information and the second color information; Obtain the difference between the first color information of the current pixel at the current moment and the first surrounding color information of the surrounding pixels at the current moment to obtain the initial surrounding change condition.

3. The method according to claim 1, characterized in that The method further comprises: Collecting the color information of the current pixel in a preset monitoring time period and saving it in a historical database; After the frequency calculation instruction is obtained, the color information of the current pixel at the corresponding moment is retrieved from the historical database, and the initial historical change situation and the initial peripheral change situation are calculated based on the color information at the corresponding moment.

4. The method according to claim 1, wherein The determining, based on the historical current change information and the historical surrounding change information, the current target switching frequency of the current pixel point includes: Obtaining a first weight corresponding to the historical current change information and a second weight corresponding to the historical surrounding change information; wherein the first weight has a higher priority than the second weight; The historical current change information and the historical surrounding change information are weightedly calculated according to the first weight and the second weight to obtain the current target switching frequency.

5. The method according to claim 4, characterized in that The method further comprises: When it is detected that the historical current change information is greater than or equal to a preset first change threshold, reducing the first weight; And / or, when it is detected that the historical surrounding change information is greater than or equal to a preset second change threshold, the second weight is reduced.

6. The method according to any one of claims 1 to 5, characterized in that The method further comprises: Dividing the target screen into at least two adjustment areas based on a preset division rule, and determining a target adjustment area among all the adjustment areas according to the acquired adjustment target instruction; All pixels within the target adjustment area are sequentially used as the current pixel points.

7. The method according to claim 1, characterized in that The updating of the switching frequencies of corresponding pixels in real time based on all the target switching frequencies includes: The target switching frequency of all the pixel points is obtained, and corresponding pixel points are lighted and turned off according to the target switching frequency when the entire interface is refreshed.

8. A device for preventing screen sticking, characterized in that: The device comprises: an acquisition module, configured to acquire an initial historical change of a current pixel of a target screen and an initial peripheral change of surrounding pixels, wherein the initial historical change of the current pixel reflects a change in the color information of the current pixel over time; and the initial peripheral change reflects a difference in color information between the surrounding pixels and the current pixel, wherein the surrounding pixels are pixels within a preset neighborhood of the current pixel; a calculation module, configured to calculate historical current change information of the current pixel based on the initial historical change situation, and calculate historical surrounding change information of the surrounding pixels based on the initial surrounding change situation; determine a current target switching frequency of the current pixel based on the historical current change information and the historical surrounding change information; and when there is a next pixel for which no target switching frequency is set, identify the next pixel as a new current pixel; wherein the switching frequency refers to the number of times a pixel alternates between on and off in one second; The generating module is configured to update the switching frequencies of the corresponding pixels in real time based on all the target switching frequencies after setting the target switching frequencies for all the pixels to be processed on the target screen.

9. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 7 are implemented.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.

Citation Information

Patent Citations

  • OLED screen ghosting reduction method, system and device and storage medium

    CN113053313A

  • Backlight brightness determination method, apparatus and device, and computer readable storage medium

    CN115798417A