Screen ghosting prevention method and device, equipment and storage medium

By monitoring and calculating the color changes of pixel points in the display screen in real time, and dynamically adjusting the switching frequency of pixel points, the problem of difficulty in taking into account both cost and user experience in the prior art is solved, and efficient screen afterimage prevention is achieved.

CN119446018AActive Publication Date: 2025-02-14NINGBO FOTILE KITCHEN WARE CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

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

AI Technical Summary

Technical Problem

The prior art is difficult to take into account both cost and user experience when preventing display screen afterimage. Traditional methods such as increasing the refresh frequency or using advanced driving technology have problems such as high power consumption, high cost and affecting visual perception.

Method used

By obtaining the initial historical changes of the current pixel point of the target screen and the initial peripheral changes of the surrounding pixel points, calculate the historical current change information and historical peripheral changes information, determine the current target switching frequency of the current pixel point, and update all pixel points in real time to reduce the appearance of afterimage.

Benefits of technology

Effectively prevent and reduce the appearance of screen afterimage, improve the clarity and response speed of display devices, and reduce cost and complexity, making it easy to promote and apply.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119446018A_ABST
    Figure CN119446018A_ABST
Patent Text Reader

Abstract

The invention relates to a screen ghosting prevention method and device, equipment and a storage medium. Comprising the following steps: acquiring an initial historical change condition of a current pixel point of a target screen and an initial peripheral change condition of peripheral pixel points; calculating the historical current change information of the current pixel point according to the initial historical change condition, and calculating the historical peripheral change information of the peripheral pixel points according to the initial peripheral change condition; determining the current target switching frequency of the current pixel point according to the historical current change information and the historical peripheral change information; when the next pixel point without the target switching frequency exists, identifying the next pixel point as a new current pixel point; and after the target switching frequencies are set for all the to-be-processed pixel points of the target screen, updating the switching frequencies of the corresponding pixel points in real time based on all the target switching frequencies. The method does not need extra hardware support, and is only realized on the software level, so that the hardware cost is reduced, and the use experience of a user is effectively improved.
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, device, equipment and storage medium for preventing screen afterimages. Background Art

[0002] In traditional display systems, liquid crystal displays, LED display screens and other technologies are usually used. These display technologies are prone to screen afterimage problems when displaying the same content for a long time. Screen afterimage refers to the residual image of the previously displayed image or text left on the screen when the displayed content changes or the user performs an operation. This afterimage phenomenon is usually caused by the liquid crystal molecules or LED light-emitting elements being unable to fully return to the off state in time after being powered on for a long time, resulting in residual light and shadow effects.

[0003] At present, the traditional solution is to reduce the afterimage problem as much as possible by increasing the screen refresh frequency or using technical means such as screen driver chips, but these traditional methods have some shortcomings in practical applications: 1. Increasing the screen refresh frequency can reduce the duration of afterimage, but it will increase the power consumption and cost of the display device, and will affect the user's visual experience to a certain extent; 2. Using more advanced screen driver technology can increase the response speed of the display device, thereby reducing the impact of the afterimage problem, but this technology is costly 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 afterimage 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] Obtaining the initial historical change of the current pixel of the target screen and the initial surrounding 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 surrounding change reflects the difference in color information between the surrounding pixels and the current pixel, and the surrounding pixels are the pixels of the current pixel within a preset neighborhood range;

[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 the historical current change information and the 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 a 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 peripheral change situation includes:

[0013] Respectively obtain the first color information of the current pixel at the current moment and the second color information of the current pixel at the previous moment, and obtain the 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 comprises:

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

[0017] 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.

[0018] In one embodiment, determining the current target switching frequency of the current pixel point according to the historical current change information and the 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 comprises:

[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 comprises:

[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 in the target adjustment area are taken as current pixels in turn.

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

[0028] The target switching frequency of all pixels is obtained, and the corresponding pixels are turned on and off according to the target switching frequency when the overall interface is refreshed.

[0029] In a second aspect, the present application also provides a device for preventing screen image sticking. The device comprises:

[0030] An acquisition module is used to acquire 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 of the current pixel within a preset neighborhood range;

[0031] A calculation module is used to calculate the historical current change information of the current pixel point according to the initial historical change situation, and calculate the historical surrounding change information of the surrounding pixels according to the initial surrounding change situation; determine the 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, identify the next pixel point as a 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;

[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 the target switching frequencies are set 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, the memory stores a computer program, and the processor implements the following steps when executing the computer program:

[0034] Obtaining the initial historical change of the current pixel of the target screen and the initial surrounding 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 surrounding change reflects the difference in color information between the surrounding pixels and the current pixel, and the surrounding pixels are the pixels of the current pixel within a preset neighborhood range;

[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 the historical current change information and the 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 a 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. The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the following steps are implemented:

[0040] Obtaining the initial historical change of the current pixel of the target screen and the initial surrounding 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 surrounding change reflects the difference in color information between the surrounding pixels and the current pixel, and the surrounding pixels are the pixels of the current pixel within a preset neighborhood range;

[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 the historical current change information and the 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 a 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 afterimages first obtain the initial historical changes of the current pixel point and the initial peripheral changes of the surrounding pixels; then calculate the historical current change information of the current pixel point based on the initial historical changes, and calculate the historical peripheral change information of the surrounding pixels based on the initial peripheral changes; finally determine the current target switching frequency of the current pixel point based on the historical current change information and the historical peripheral change information, repeat the above steps to set the target switching frequency for all pixels to be processed, and then update 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, screen content changes and user operations are dynamically monitored, and parameters are adjusted and adapted in real time through intelligent algorithm design, which effectively prevents and reduces the occurrence of afterimages, improves the clarity and response speed of the display device, and the solution in this application does not require additional hardware support, but 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 of an application environment of a method for preventing screen sticking in an embodiment;

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

[0048] Figure 3 A schematic 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 image sticking in one embodiment;

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

[0051] In order to make the purpose, technical solution and advantages of 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] The method for preventing screen image sticking provided in the embodiment of the present application can be applied to Figure 1In the application environment shown. Among them, the terminal 102 communicates with the server 104 through the network. The data storage system can store the data that the server 104 needs to process. The data storage system can be integrated on the server 104, or it can be placed on the cloud or other network servers. First, the initial historical change of the current pixel point and the initial surrounding change of the surrounding pixels are obtained; then the historical current change information of the current pixel point is calculated according to the initial historical change, and the historical surrounding change information of the surrounding pixels is calculated according to the initial surrounding change; finally, the current target switching frequency of the current pixel point is determined according to 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 pixel point is updated in real time based on all target switching frequencies. Among them, the terminal 102 can be, but is not limited to, various personal computers, laptops, smart phones, tablet computers, Internet of Things devices and portable wearable devices. The Internet of Things devices can be smart speakers, smart TVs, smart air conditioners, smart car-mounted devices, etc. Portable wearable devices can be smart watches, smart bracelets, head-mounted devices, etc. The server 104 can be implemented with an independent server or a server cluster consisting of multiple servers.

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

[0054] Step S202, obtain the initial historical changes of the current pixel of the target screen and the initial surrounding changes of the surrounding pixels, wherein the initial historical changes of the current pixel reflect the changes of the color information of the current pixel in the time dimension; the initial surrounding changes reflect the difference in color information between the surrounding pixels and the current pixel, and the surrounding pixels are the pixels of the current pixel 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, wherein 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, such as being set to the eight surrounding pixels adjacent to the current pixel point, or being set to the 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 according to the initial historical change situation, and calculating the historical surrounding change information of the surrounding pixels points according to the initial surrounding change situation.

[0057] Among them, the degree of change of the color information of the current pixel point within a unit time is calculated according to the initial historical change situation, so as to obtain 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, wherein 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. At this time, 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 point in the time dimension. Similarly, according to the initial surrounding change situation, the degree of change of the color information of the surrounding pixels within a period of time can be calculated, thereby obtaining the historical surrounding change information. For example, the calculation method of the historical surrounding change information F2{x, y, t} in this embodiment can be, F2{x, y, t} = R_C{x, y, t} / D_t, where R_C{x, y, t} is the initial surrounding change situation, and D_t is the above-mentioned unit time. The above-mentioned historical surrounding change information reflects the change of the gradient value between the current pixel and the surrounding pixels in the time dimension. In this embodiment, the specific calculation method of the degree of change of color information is not limited. All methods that can quantify and calculate the degree of change of pixel color information should fall within the scope of protection of this application, such as calculating the change amplitude of color information in each time unit, calculating the change rate of pixel color information, etc. It can also be understood that the historical current change information is proportional to the degree of change of the color information of the current pixel. Similarly, the historical surrounding change information is proportional to the degree of change of the color information of the surrounding pixels.

[0058] Step S206, determining the current target switching frequency of the current pixel point based on 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, identifying the next pixel point as the new current pixel point; wherein the switching frequency refers to the number of times the pixel point alternates between on and off within one second.

[0059] Among them, in this embodiment, the current target switching frequency of the current pixel is calculated by combining the historical current change information and the historical surrounding change information. Specifically, in order to avoid the screen afterimage caused by the pixel displaying the same content for a long time, the historical current change information and the 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 can be understood that in this embodiment, there are no excessive restrictions on the specific calculation method of the current target switching frequency. When it is judged 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 increased accordingly. All schemes that can achieve the above effects should fall within the protection scope of this application.

[0060] Repeat the above method of calculating the switching frequency of the current pixel by combining the historical current change information and the historical surrounding change information, and traverse all pixels that have not set the target switching frequency until the target switching frequency of all pixels is calculated. The above switching frequency mostly refers to the number of times the pixel turns on and off in one second. For example, if the switching frequency is calculated to be 30Hz, the pixel is switched 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, and can also be applied when the target screen interface is refreshed as a whole, so as to achieve the effect of reducing the afterimage.

[0063] Through steps S202 to S208, the initial historical changes and initial peripheral changes 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, the changes of screen content can be monitored in real time, the switching frequency of pixels can be quickly responded and adjusted, and the residual image phenomenon can be effectively reduced. Furthermore, this application does not require additional hardware support, but only needs to be implemented at the software level, which reduces the cost and complexity and is easy to promote and apply.

[0064] In one embodiment, the method comprises:

[0065] Respectively obtain the first color information of the current pixel at the current moment and the second color information of the current pixel at the previous moment, and obtain the 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, obtaining 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, and based on the difference between the first color information and the second color information, calculating the initial historical changes D_C{x,y,t}=C{x,y,t}-C{x,y,t-1}, 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 situation 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. Thus, the initial historical changes of the current pixel and the initial surrounding changes are calculated by the above method. 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 the subsequent judgment of the pixel trend.

[0068] In some embodiments, the method comprises:

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

[0070] 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.

[0071] Specifically, the present embodiment further includes a historical 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 value when needed.

[0072] The above frequency calculation instruction is used to instruct the calculation of the target switching frequency corresponding to the pixel points in the overall interface or a part of the area, and the switching frequency of the pixel points is updated according to the calculated new switching frequency. It can be understood that the frequency calculation instruction can be manually issued by the user, or it can be a timing or automatically generated instruction 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 change and initial peripheral change of the corresponding pixel point are calculated according to the color information, and subsequent calculation steps are performed. Through this embodiment, the color information of the pixel point is monitored and recorded in real time, so that it can be directly retrieved from the database after the frequency calculation instruction is obtained, and there is no need to collect the color information of the pixel point in real time, thereby effectively improving the calculation efficiency and reducing the occupation 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 point to the database first and retrieve it as needed, but the real-time color information of the pixel point can be obtained, which is convenient for 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, the first weight is assigned to the historical current change information, and the second weight is assigned to the historical surrounding change information, and the priority of the first weight is higher 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 to be adjusted. If multiple pixels in the area where the current pixel is located are changed from black to white in batches, that is, the number of pixel changes and the degree of change of the pixel value are large, then a higher first weight value needs to be set. On the contrary, if the pixel value in the area has not changed or has changed slightly, and the number of pixel changes outside the area and the degree of change of the pixel value are large, then a higher second weight value needs to be set, so as to realize the setting and real-time update of the first weight and the second weight. Furthermore, both the first weight and the second weight need to be adjusted in real time according to the degree of change of the pixel value, and when both the first weight and the second weight need to be adjusted, the degree of change of the first weight is generally higher than the second weight. This is because the screen afterimage is often caused by the lack of time to refresh in advance when the pixel changes, so more attention needs to be paid to the degree of change of 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 first weight and the second weight respectively, such as the first weight n1 = 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 values ​​of Gn1=1 and Gn2=0.5 can be used to 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 weight and the second weight, the historical current change information and the historical surrounding change information are weighted and calculated respectively to obtain the target switching frequency, that is, the target switching frequency can be: O(x, y, t) = f(x) = F1×n1+F2×n2. Through this embodiment, corresponding weights can be set for the historical current change information and the historical surrounding change information, and in order to better prevent the occurrence of screen afterimages, this embodiment also sets the degree of change of the first weight to be higher than the second weight. Finally, the target switching frequency is obtained based on the weighted calculation of the first weight, the second weight, and the historical current change information and the historical surrounding change information. In actual applications, it can be realized to dynamically adjust the parameters according to the display content and user operation conditions, so as to adapt to different scenarios and usage environments, thereby improving the stability and applicability of the system.

[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 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 a switching frequency. Therefore, considering the user experience and device performance, when the historical current change information is detected to be too large, the first weight can be reduced accordingly, thereby avoiding the target switching frequency calculated at the end being too large, wasting the device computing power, and avoiding rapid aging of the device.

[0082] Similarly, when it is detected that the historical peripheral change information is too large, that is, greater than or equal to the second change threshold, the second weight is correspondingly reduced, wherein the second change threshold is usually set to 33 frames. Since the target switching frequency is obtained by combining the historical current change information and the historical peripheral change information, in order to avoid the calculated target switching frequency being too large, the second weight may be correspondingly reduced. This embodiment comprehensively considers the problems that the device may face in actual application, so that it can better adapt to different display content and user operations, and adjusts the response speed and stability of the algorithm accordingly, 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 in 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 a preset division rule, wherein the target screen can be evenly divided, such as dividing the target screen into x×y rectangles, or the target screen can be non-uniformly divided into multiple adjustment areas according to the division rule. It can be understood that this embodiment does not impose too many restrictions on the method of dividing the target screen. The method of dividing 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 according to 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 taken 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] The target switching frequency of all pixels is obtained, and the corresponding pixels are turned on and off according to the target switching frequency when the overall interface is refreshed.

[0090] Specifically, different target switching frequencies after pixel updates are applied when the overall interface is refreshed to reduce the afterimage. In this embodiment, the interval between pixel off and on cycles is the target switching frequency. For example, the calculated target switching frequency is 30 Hz, which means the pixel is switched on and off every 33 ms.

[0091] Those skilled in the art will understand that the fundamental reason for the appearance of screen afterimages is that it takes a certain amount of time for the liquid crystal molecules of an LCD (Liquid Crystal Display) to change their arrangement state. When a liquid crystal display 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 changes suddenly, this arrangement state will not change immediately, resulting in a slower change speed for these pixels and a afterimage effect.

[0092] The present application also provides a preferred embodiment of a method for preventing screen sticking. Figure 3 The figure is a flowchart of a method for preventing screen sticking 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 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 value between the current moment and the previous moment, that is, the initial historical change of the pixel. The above 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. Further, in this embodiment, the historical database is used to store the values ​​of pixels over a period of time, and is used to calculate the rate of change of pixel values ​​and other subsequent calculations when necessary.

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

[0096] S340, determine the current target switching frequency of the current pixel point according to the historical current change information and the historical surrounding change information. In this embodiment, the calculation of the pixel point switching frequency is O(x, y, t) = f(x) = F1*n1 + F2*n2, where n1 is the first weight, n2 is the second weight, and n1 and n2 are related to factors such as the number of divided areas and the size of the pixels in the area, 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 point is prioritized, because the appearance of afterimages 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), 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 the switching frequency that is too fast. 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 too large, that is, greater than or equal to the second change threshold, the second weight is correspondingly reduced, wherein the second change threshold is usually set to 33 frames. The parameters in this application can be adjusted according to real-time feedback, and the user can also customize and optimize the algorithm according to actual needs to meet personalized needs.

[0097] This application uses the information about the color change rate of each pixel on the screen and the area where the content changes, combined with the user's operation behavior, to intelligently adjust the color change of the pixel through an algorithm, effectively reducing the probability of residual images, improving the display effect and user experience. And further, according to this solution, this application does not require additional hardware support, and only needs to be implemented at the software level, which reduces costs and complexity and is easy to promote and apply.

[0098] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed 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 part of the steps or stages in other steps.

[0099] Based on the same inventive concept, the embodiment of the present application also provides a device for preventing screen image sticking for implementing the above-mentioned method for preventing screen image sticking. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above-mentioned method, so the specific limitations in the embodiments of one or more devices for preventing screen image sticking provided below can refer to the limitations of the method for preventing screen image sticking above, and will not be repeated here.

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

[0101] The acquisition module 41 is used to acquire 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 change of the difference of the color information between the surrounding pixels and the current pixel in the time dimension, and the surrounding pixels are the pixels of the current pixel within the preset neighborhood range;

[0102] The calculation module 42 is used to calculate the historical current change information of the current pixel point according to the initial historical change situation, and calculate the historical surrounding change information of the surrounding pixels according to the initial surrounding change situation; determine the 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, identify the next pixel point as a 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;

[0103] The generating module 43 is used for updating 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 acquires the initial historical change of the current pixel of the target screen and the initial peripheral change of the surrounding pixels, and then sends the initial historical change and the initial peripheral change to the calculation module 42. The calculation module 42 calculates the historical current change information of the current pixel according to the initial historical change, and calculates the historical peripheral change information of the surrounding pixels according to the initial peripheral change, and then determines the current target switching frequency of the current pixel according to the historical current change information and the historical peripheral change information. After the generation module 43 sets the target switching frequency for all the pixels to be processed in the target screen according to the above method, the switching frequency of the corresponding pixel is updated in real time based on the target switching frequency.

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

[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 through a system bus. Among them, 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 calculation data related to the prevention of screen afterimages. The network interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a method for preventing screen afterimages 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 those shown in the figure, or combine certain components, or have a different arrangement of components.

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

[0109] Obtaining 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 change of the difference of the color information between the surrounding pixels and the current pixel in the time dimension, and the surrounding pixels are the pixels of the current pixel within the preset neighborhood range;

[0110] Calculate the historical current change information of the current pixel point according to the initial historical change situation, and calculate the historical surrounding change information of the surrounding pixels according to the initial surrounding change situation; determine the 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, identify the next pixel point 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;

[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 can understand that all or part of the processes in the above-mentioned embodiment methods can be completed 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 the memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an 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 each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., but are not limited to this.

[0114] The technical features of the above embodiments may 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 only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.

Claims

1. A method for preventing screen sticking, characterized in that: The method comprises: Obtaining 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 of the current pixel within a preset neighborhood range; Calculating the historical current change information of the current pixel point according to the initial historical change situation, and calculating the historical surrounding change information of the surrounding pixel points according to 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 a 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 situation and the initial surrounding change situation includes: Respectively obtaining first color information of the current pixel at the current moment and second color information of the current pixel at the previous moment, and obtaining initial historical change information of the current pixel based on the first color information and the second color information; 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 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, characterized in that The determining the current target switching frequency of the current pixel point according to the historical current change information and the historical surrounding change information 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, respectively, 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 pixel points in the target adjustment area are taken as the current pixel points in sequence.

7. The method according to claim 1, characterized in that The real-time updating of the switching frequencies of corresponding pixels 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 overall interface is refreshed.

8. A device for preventing screen image sticking, characterized in that: The device comprises: An acquisition module, used to acquire the initial historical change of the current pixel point of the target screen and the initial peripheral change of the surrounding pixels, wherein the initial historical change of the current pixel point reflects the change of the color information of the current pixel point in the time dimension; the initial peripheral change reflects 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; A calculation module, used to calculate the historical current change information of the current pixel point according to the initial historical change situation, and calculate the historical surrounding change information of the surrounding pixel points according to the initial surrounding change situation; determine the 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, identify the next pixel point as a 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; The generating module is used for updating 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

  • Screen brightness adjusting method and device and computer equipment

    CN118135935A

  • Frame data shrinking method used in over-driving technology

    US20140063032A1