Screen image processing methods, apparatus, devices, and storage media
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-27
- Publication Date
- 2026-08-11
AI Technical Summary
然而,当显示屏长时间显示同一个屏幕图像时,容易引发像素点的破坏,影响显示屏的使用体验
[0016] This application provides a method for processing screen images. The method involves acquiring a screen image to be displayed and determining a first pixel set consisting of multiple first pixels to be displayed on the display screen; acquiring a second pixel set, which includes second pixels on the display screen, wherein the working time of the second pixels is greater than or equal to a preset working time threshold; determining the intersection of the first and second pixel sets to obtain a third pixel set; generating and responding to operation instructions based on the pixel data of the third pixel set. The operation instructions are used to indicate the risk of damage to the screen image or to indicate whether to switch the screen image. This application, by generating and responding to operation instructions, prompts the user about the risk of damage to the screen image or indicates whether to switch the screen image, avoiding the selection of screen images with a risk of damage, preventing excessive pixel working time on the display screen from causing damage, thereby extending the lifespan of the display screen and improving the user experience.
Smart Images

Figure CN117935722B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of screen display technology, and in particular to a method, apparatus, device and storage medium for processing screen images. Background Technology
[0002] With the development of electronic devices, more and more electronic devices are using LED (Light-Emitting Diode) screens as displays. LED displays are composed of dot matrix modules or pixels made of light-emitting diodes. By controlling the brightness and combination of different colored LEDs, various colored images are produced on the display. However, when the display shows the same image for a long time, it can easily cause pixel damage, affecting the user experience. Summary of the Invention
[0003] This application provides a method, apparatus, device, and storage medium for processing screen images, which avoids pixel damage by alerting the user to the risk of damage to the display screen from the screen image to be displayed, or by switching the screen image.
[0004] In a first aspect, embodiments of this application provide a method for processing screen images, including:
[0005] Obtain the screen image to be displayed, and determine the multiple first pixels to be displayed in the screen image as a first pixel set;
[0006] Obtain a second pixel set, the second pixel set including a second pixel in the display screen, the working time of the second pixel being greater than or equal to a preset working time threshold;
[0007] The intersection of the first pixel set and the second pixel set is determined to obtain the third pixel set;
[0008] An operation instruction is generated based on the pixel data of the third pixel set, and the operation instruction is responded to. The operation instruction is used to indicate the risk of damage to the screen image or to indicate whether to switch the screen image.
[0009] Secondly, this application also provides a screen image processing apparatus, the processing apparatus comprising:
[0010] The first acquisition module is used to acquire the screen image to be displayed and determine the multiple first pixels to be displayed in the screen as a first pixel set.
[0011] The second acquisition module is used to acquire a second pixel set, the second pixel set including a second pixel in the display screen, and the working time of the second pixel is greater than or equal to a preset working time threshold.
[0012] The determining module is used to determine the intersection of the first pixel set and the second pixel set to obtain the third pixel set;
[0013] The generation module is used to generate operation instructions based on the pixel data of the third pixel set, and respond to the operation instructions. The operation instructions are used to indicate the risk of damage to the screen image or to indicate whether to switch the screen image.
[0014] Thirdly, embodiments of this application also provide a screen display device, the screen display device including a display screen, a processor, a memory, a computer program stored in the memory and executable by the processor, and a data bus for realizing connection communication between the processor and the memory, wherein when the computer program is executed by the processor, it implements any of the screen image processing methods provided in embodiments of this application.
[0015] Fourthly, embodiments of this application also provide a storage medium for computer-readable storage, characterized in that the storage medium stores one or more programs, which can be executed by one or more processors to implement any of the screen image processing methods provided in embodiments of this application.
[0016] This application provides a method for processing screen images. The method involves acquiring a screen image to be displayed and determining a first pixel set consisting of multiple first pixels to be displayed on the display screen; acquiring a second pixel set, which includes second pixels on the display screen, wherein the working time of the second pixels is greater than or equal to a preset working time threshold; determining the intersection of the first and second pixel sets to obtain a third pixel set; generating and responding to operation instructions based on the pixel data of the third pixel set. The operation instructions are used to indicate the risk of damage to the screen image or to indicate whether to switch the screen image. This application, by generating and responding to operation instructions, prompts the user about the risk of damage to the screen image or indicates whether to switch the screen image, avoiding the selection of screen images with a risk of damage, preventing excessive pixel working time on the display screen from causing damage, thereby extending the lifespan of the display screen and improving the user experience. Attached Figure Description
[0017] Figure 1 A flowchart illustrating the steps of a screen image processing method provided in an embodiment of this application;
[0018] Figure 2 A schematic diagram of a display screen provided in an embodiment of this application;
[0019] Figure 3Another schematic diagram of the display screen provided in the embodiments of this application;
[0020] Figure 4 Another schematic diagram of a display screen provided in an embodiment of this application;
[0021] Figure 5 Another schematic diagram of a display screen provided in an embodiment of this application;
[0022] Figure 6 A flowchart illustrating the steps of another screen image processing method provided in this application embodiment;
[0023] Figure 7 This is a schematic block diagram of a screen image processing device provided in an embodiment of this application;
[0024] Figure 8 This is a schematic block diagram of a screen display device provided in an embodiment of this application. Detailed Implementation
[0025] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0026] The flowchart shown in the attached diagram is for illustrative purposes only and does not necessarily include all content and operations / steps, nor does it necessarily have to be performed in the order described. For example, some operations / steps can be broken down, combined, or partially merged, so the actual execution order may change depending on the actual situation.
[0027] It should be understood that the terminology used in this specification is for the purpose of describing particular embodiments only and is not intended to limit the scope of the application. As used in this specification and the appended claims, the singular forms “a,” “an,” and “the” are intended to include the plural forms unless the context clearly indicates otherwise.
[0028] This application provides a method, apparatus, device, and storage medium for processing screen images. The screen image processing method can be applied to a screen display device, which includes a display screen. The screen display device can be an electronic device such as a mobile phone, tablet computer, laptop computer, desktop computer, or personal digital assistant; it can also be an electronic device such as AR glasses, VR glasses, or other wearable devices.
[0029] The following detailed description of some embodiments of this application is provided in conjunction with the accompanying drawings. Unless otherwise specified, the following embodiments and features can be combined with each other.
[0030] Please refer to Figure 1 , Figure 1 This is a flowchart illustrating the steps of a screen image processing method provided in an embodiment of this application.
[0031] like Figure 1 As shown, the method for processing the screen image includes steps S101 to S104.
[0032] Step S101: Obtain the screen image to be displayed, and determine the multiple first pixels to be displayed on the screen as the first pixel set.
[0033] The screen image to be displayed can be one or more, and it is an image to be displayed, such as a screensaver image or a screen background image. The screen image can be presented in a static form, such as a photograph or a fixed image, or in a dynamic form, such as a video or animation. The screen image can contain information such as text, graphics, charts, and interface elements, such as icons, buttons, and menus. The screen image can also include visual effects such as gradients, shadows, and transitions.
[0034] It should be noted that the display screen includes multiple pixels, each composed of one or more LEDs (light-emitting diodes) of one color. These pixels can be arranged on the display surface, and their brightness and color are set by controlling the magnitude and direction of the current. When a user selects a screen image to display, it can be determined that the screen image requires multiple pixels from the display screen. These multiple pixels required for displaying the screen image are defined as the first set of pixels. In some embodiments, the screen image may be displayed for an extended period. After the screen image is displayed, the multiple first pixels in the first set need to remain operational.
[0035] In one embodiment, after acquiring the screen image to be displayed, the brightness levels of multiple pixels in the display screen corresponding to the screen image are determined, and the pixels with brightness levels higher than the preset brightness level are designated as the first pixels.
[0036] It should be noted that each pixel in a display screen can have different brightness levels. The brightness level represents the intensity of the light emitted by the pixel. A higher brightness level means that the pixel emits more light, while a lower brightness level means that the pixel emits less light.
[0037] In one embodiment, after acquiring the screen image to be displayed, the pixel values of multiple pixels in the display screen corresponding to the screen image are determined, and the pixels with valid pixel values are designated as the first pixel. Valid pixel values are non-zero pixel values.
[0038] It's important to note that each pixel on a display screen can have a different pixel value, which is obtained by adding the RGB (red, green, and blue) values. Each pixel can display a different color by adjusting its RGB values. For example, when the RGB values of red, green, and blue are all 0, the pixel will display as black, while when the RGB values of red, green, and blue are all 255, the pixel will display as white.
[0039] For example, such as Figure 2 As shown, the display screen 10 includes multiple pixels. Multiple pixels 11 corresponding to the screen image are determined from the multiple pixels. Pixels with non-zero pixel values are selected from the multiple pixels 11 as first pixels 12. The multiple first pixels 12 are denoted as the first pixel set.
[0040] Step S102: Obtain the second pixel set, which includes the second pixel points in the display screen, and the working time of the second pixel points is greater than or equal to the preset working time threshold.
[0041] The display screen may include, but is not limited to, devices such as light-emitting diode displays and organic light-emitting diode displays. The display screen comprises multiple pixels, which are arranged in an array on the screen. The operating time of each pixel may be the same or different, and pixels exceeding their lifespan are easily damaged.
[0042] In one embodiment, the working time of each displayed screen image can be recorded. The total working time of a pixel can be obtained by accumulating the used working times of each pixel. A preset working time threshold can be set with reference to the lifespan of the pixel. For example, the preset working time threshold is 90% of the lifespan of the pixels on the display screen.
[0043] For example, such as Figure 3 As shown, the working time of multiple pixels 11 in the display screen is obtained, and pixels with a working time greater than or equal to a preset working time threshold are selected from the multiple pixels 11 as second pixels 13, and the second pixels 13 are set as the second pixel set.
[0044] Step S103: Determine the intersection of the first pixel set and the second pixel set to obtain the third pixel set.
[0045] It should be noted that the third pixel set is obtained by taking the intersection of the first pixel set and the second pixel set. If pixels in the first and second pixel sets overlap, the third pixel set may include at least one pixel. In some embodiments, the third pixel set may also be an empty set.
[0046] For example, such as Figure 4 As shown, the first pixel set contains multiple first pixel points 12, the second pixel set contains multiple second pixel points 13, and the intersection of the first pixel set and the second pixel set contains A pixel points. The A pixel points in the intersection are taken as the third pixel set α.
[0047] For example, such as Figure 5 As shown, the first pixel set β contains multiple first pixels, the second pixel set θ contains multiple second pixels, and the intersection of the first pixel set β and the second pixel set θ contains B pixels. The B pixels in the intersection are taken as the third pixel set α.
[0048] Step S104: Generate an operation instruction based on the pixel data of the third pixel set, and respond to the operation instruction. The operation instruction is used to indicate the risk of damage to the screen image or to indicate whether to switch the screen image.
[0049] The pixel data may include the number of pixels and / or the working time of the pixels. The damage risk result may include whether the display screen image is at risk of damage or not. The damage risk result may also include a damage risk score or a damage risk level. The damage risk may include the risk of insufficient pixel brightness or the risk of pixels not being able to light up.
[0050] In one embodiment, the pixel data includes the number of pixels; generating an operation instruction based on the pixel data of the third pixel set includes: calculating the ratio of the number of pixels in the third pixel set to the number of pixels in the second pixel set to obtain the overlap rate of the second pixels; when the overlap rate is greater than or equal to a preset overlap rate threshold, generating a first operation instruction, the first operation instruction being used to indicate the risk of damage to the screen image or to indicate the switching of the screen image.
[0051] The preset overlap rate threshold can be set according to actual conditions, for example, to 0.5. The first operation instruction may include outputting character information such as text, images, and numbers. It should be noted that by comparing the overlap rate with the preset overlap rate threshold, when the overlap rate is less than the preset overlap rate threshold, the first operation instruction may not be generated, and a third operation instruction may be generated instead. The third operation instruction is used to indicate that the current screen image does not pose a risk of damage, and / or to indicate that it is not necessary to switch screen images at present. In one embodiment, the third operation instruction may be output to inform the user of the current situation, or the third operation instruction may not be output, i.e., the device where the display screen is located responds to the third operation instruction; when the overlap rate is greater than or equal to the preset overlap rate threshold, the first operation instruction is generated, which can avoid selecting a screen image with a risk of damage for display, avoid excessive working time of the display pixels and damage, thereby extending the service life of the display screen and improving the user experience.
[0052] For example, the third pixel set has 6 pixels and the second pixel set has 10 pixels. The overlap rate of the second pixel is calculated to be 6 / 10 = 0.6. The preset overlap rate threshold is 0.5. If the overlap rate is greater than the preset overlap rate threshold, the screen image is indicated as having a risk of damage. The text message "Displaying this screen image poses a risk of damage to the display screen" or "Switch to this screen image" is output.
[0053] In one embodiment, the damage risk result includes a damage risk score, which characterizes the risk of damage to the display screen from the display of the screen image, wherein the pixel data includes the number of pixels; generating operation instructions based on the pixel data of the third pixel set includes: determining the damage risk score based on the difference between the overlap rate and a preset overlap rate threshold, and generating operation instructions based on the damage risk score.
[0054] The damage risk score can range from 1 to 10, where 1 indicates that selecting the screen image poses a high risk of damage to the display screen, and 10 indicates that selecting the screen image poses no risk of damage to the display screen. The damage risk score from 1 to 10 indicates that the degree of damage to the display screen from selecting the screen image decreases sequentially. Conversely, 1 can also indicate that selecting the screen image poses no risk of damage to the display screen, and 10 can also indicate that selecting the screen image poses a high risk of damage to the display screen. The damage risk score from 1 to 10 indicates that the degree of damage to the display screen from selecting the screen image increases sequentially.
[0055] For example, the third pixel set has 4 pixels, the second pixel set has 10 pixels, the overlap rate of the second pixel is 0.4, the preset overlap rate threshold is 0.5, the difference between the overlap rate and the preset overlap rate threshold is -0.1, and the damage risk score is 6 if the difference is within the range of -0.1 to 0. The result of the damage risk of the screen image is indicated as low damage risk, and the text message "Displaying this screen image poses a low risk of damage to the display screen" or "Switch to this screen image" is output.
[0056] In one embodiment, the damage risk result includes a damage risk level, which characterizes the risk of damage to the display screen from the display of the screen image. Pixel data includes the number of pixels; generating operation instructions based on the pixel data of a third pixel set includes: determining the damage risk level based on the difference between the overlap rate and a preset overlap rate threshold, and generating operation instructions based on the damage risk level.
[0057] The damage risk level can range from A to E, where A indicates that selecting the screen image poses a high risk of damage to the display screen, and E indicates that selecting the screen image poses no risk of damage to the display screen. The damage risk level from A to E indicates that the degree of damage to the display screen from selecting the screen image decreases sequentially. Conversely, A can also indicate that selecting the screen image poses no risk of damage to the display screen, and E can also indicate that selecting the screen image poses a high risk of damage to the display screen. The damage risk level from A to E indicates that the degree of damage to the display screen from selecting the screen image increases sequentially.
[0058] For example, the third pixel set has 4 pixels, the second pixel set has 10 pixels, the overlap rate of the second pixel is 0.4, the preset overlap rate threshold is 0.5, the difference between the overlap rate and the preset overlap rate threshold is -0.1, and the damage risk level is C if the difference is within the range of -0.1 to 0.1. The result of the screen image damage risk is indicated as low risk of damage to the screen image, and the text message "Displaying this screen image poses a low risk of damage to the display screen" or "Switch to this screen image" is output.
[0059] It should be noted that by comparing the overlap rate with the preset overlap rate threshold, and using the damage risk score or damage risk level to generate operation instructions, it is possible to avoid selecting screen images with a damage risk for display, and to avoid excessive working time for pixels on the display screen, thereby extending the lifespan of the display screen and improving the user experience.
[0060] In one embodiment, the pixel data includes the working time of each pixel; generating an operation instruction based on the pixel data of the third pixel set includes: calculating the sum of the working times of the pixels in the third pixel set to obtain the total working time; and generating a first operation instruction when the total working time is greater than or equal to a preset total working time threshold.
[0061] The preset total working time threshold can be set according to actual conditions, such as 8000 hours. It should be noted that by comparing the total working time with the preset total working time threshold, if the total working time is less than the threshold, a first operation instruction may not be generated, and a third operation instruction may be generated instead. If the total working time is greater than or equal to the threshold, a first operation instruction will be generated. This avoids selecting screen images with a risk of damage for display, prevents excessively long working times for the display pixels that could lead to damage, and thus extends the lifespan of the display and improves the user experience.
[0062] For example, the number of pixels in the third pixel set is 4. The total working time of the 4 pixels in the third pixel set is calculated to be 10,000 hours, which is greater than the preset total working time threshold of 8,000 hours. Since the total working time is greater than or equal to the preset total working time threshold, the result of the screen image damage risk warning is that the screen image is at risk of damage. The text message "Displaying this screen image poses a risk of damage to the display screen" or the text message "Switch this screen image" is output.
[0063] In one embodiment, the pixel data includes the number of pixels and the working time of each pixel. Generating an operation instruction based on the pixel data of the third pixel set includes: calculating the ratio of the number of pixels in the third pixel set to the number of pixels in the second pixel set to obtain the overlap rate of the second pixels; and calculating the sum of the working times of the pixels in the third pixel set to obtain the total working time. A first operation instruction is generated when the overlap rate is greater than or equal to a preset overlap rate threshold, and / or the total working time is greater than or equal to a preset total working time threshold. A third operation instruction is generated when the overlap rate is less than the preset overlap rate threshold and the total working time is less than the preset total working time threshold.
[0064] It should be noted that both the overlap rate and the total working time can reflect the risk of damage to the display screen caused by the display of the screen image. Therefore, by generating operation instructions based on the overlap rate and the total working time, it is possible to avoid selecting screen images with a risk of damage for display, effectively preventing damage caused by excessive working time of the display pixels, thereby extending the lifespan of the display screen and improving the user experience.
[0065] For example, if the overlap rate of the second pixel is 0.6 and the preset overlap rate threshold is 0.5, and the total working time of the pixels in the third pixel set is 10,000 hours and the preset total working time threshold is 8,000 hours, and the overlap rate of the second pixel is greater than the preset overlap rate threshold, and the total working time of the pixels in the third pixel set is greater than the preset total working time threshold, the result of the warning about the risk of damage to the screen image is that there is a risk of damage to the screen image, and the text message "Displaying this screen image poses a risk of damage to the display screen" or the text message "Switch to this screen image" is output.
[0066] In one embodiment, the pixel data includes the number of pixels and the working time of each pixel. Generating an operation instruction based on the pixel data of the third pixel set includes: determining a first score value based on the overlap rate of the second pixels; determining a second score value based on the total working time of the pixels in the third pixel set; determining a total score value based on the first score value and the second score value; determining a first preset score value based on a preset overlap rate threshold; determining a second preset score value based on a preset total working time threshold; determining a preset total score value based on the first preset score value and the second preset score value; and generating an operation instruction based on the total score value and the preset total score value.
[0067] Specifically, if the total score is greater than a preset total score, a first operation instruction is generated to indicate the risk of damage to the screen image, or to instruct the user to switch screen images. If the total score is less than the preset total score, a third operation instruction is generated.
[0068] For example, the overlap rate of the second pixel is 0.4, the preset overlap rate threshold is 0.5, the total working time of the pixels in the third pixel set is 8000 hours, the preset total working time threshold is 6000 hours, the overlap rate of the second pixel 0.4 is converted to 4, the total working time of the pixels in the third pixel set 8000 hours is converted to 8, the overlap rate weight is 0.3, the total working time weight is 0.7, the values after the overlap rate and total working time are multiplied by the weights to obtain the first score value 1.2 and the second score value 5.6 respectively, the first score value and the second score value are added to obtain the total score value 6.8, and similarly, the preset total score value 6.7 is obtained. The total score value 6.8 is greater than the preset total score value 5.7, the text message "Displaying this screen image poses a risk of damage to the display screen" or the text message "Switch this screen image" is output.
[0069] In one embodiment, based on the display operation of the screen image, the working time of the pixels in the first pixel set is updated; based on the updated working time of the pixels in the first pixel set, the second pixel set is updated; based on the updated second pixel set, the step of determining the intersection of the first pixel set and the second pixel set to obtain the third pixel set is continued.
[0070] It should be noted that after no operation command is generated, the user can choose to display the screen image or not. If the user performs a display operation on the screen image, the screen image is displayed, and the working duration of the pixels is updated, thereby updating the second and third pixel sets. By updating the working duration of the pixels, it can be determined whether the working duration of the pixels in the first pixel set exceeds a preset working duration threshold after the screen image is displayed. The display of the screen image is achieved by the screen manager reading display data from memory and converting the display data into electrical signals that drive the display pixels.
[0071] For example, if the screen manager reads display data every 20ms, the duration of displaying the screen image is 20ms. The working time of the pixels in the first pixel set is accumulated by 20ms. If one pixel in the updated first pixel set has a working time longer than the preset working time threshold, the number of pixels in the second pixel set is increased by 1. The working time of the pixels in the third pixel set is then updated, and the number of pixels in the updated third pixel set is increased by 1.
[0072] The screen image processing method provided in the above embodiments generates and responds to operation instructions to prompt the user about the risk of damage to the screen image, or instructs the user to switch screen images, thereby avoiding the selection of screen images with a risk of damage and preventing the pixels of the display screen from working for too long and causing damage, thus extending the service life of the display screen and improving the user experience.
[0073] Please refer to Figure 6 , Figure 6 This is a flowchart illustrating the steps of another screen image processing method provided in an embodiment of this application.
[0074] like Figure 6 As shown, the screen image processing method includes steps S201 to S205.
[0075] Step S201: Obtain the screen image to be displayed, and determine the multiple first pixels to be displayed on the screen as the first pixel set.
[0076] The screen image to be displayed can be one or more, and the screen image is the image to be displayed, such as the screen saver image or screen background image to be displayed.
[0077] Each pixel in a display screen can have a different brightness level or a different pixel value. Based on the brightness level or pixel value of the multiple pixels to be displayed on the screen, multiple first pixels can be determined, thus obtaining a first pixel set.
[0078] Step S202: Obtain the second pixel set, which includes the second pixel points in the display screen, and the working time of the second pixel points is greater than or equal to the preset working time threshold.
[0079] The display screen includes multiple pixels, which are distributed sequentially on the display screen in an array. The working time of each pixel can be the same or different, and pixels that have exceeded their lifespan are easily damaged.
[0080] In one embodiment, the working time of each displayed screen image can be recorded. The total working time of a pixel can be obtained by accumulating the used working times of each pixel. A preset working time threshold can be set with reference to the lifespan of the pixel. For example, the preset working time threshold is 90% of the lifespan of the pixels on the display screen.
[0081] Step S203: Determine the intersection of the first pixel set and the second pixel set to obtain the third pixel set.
[0082] It should be noted that the third pixel set is obtained by taking the intersection of the first pixel set and the second pixel set. If pixels in the first and second pixel sets overlap, the third pixel set may include at least one pixel. In some embodiments, the third pixel set may also be an empty set.
[0083] Step S204: Generate an operation instruction based on the pixel data of the third pixel set, and respond to the operation instruction. The operation instruction is used to indicate the risk of damage to the screen image or to indicate whether to switch the screen image.
[0084] The pixel data may include the number of pixels and / or the working time of the pixels. The damage risk result may include whether the display screen image is at risk of damage or not. The damage risk result may also include a damage risk score or a damage risk level. The damage risk may include the risk of insufficient pixel brightness or the risk of pixels not being able to light up.
[0085] In one embodiment, the pixel data includes the working time of each pixel; generating an operation instruction based on the pixel data of the third pixel set includes: calculating the sum of the working times of the pixels in the third pixel set to obtain the total working time; and generating a first operation instruction when the total working time is greater than or equal to a preset total working time threshold.
[0086] The preset total working time threshold can be set according to actual conditions, such as 8000 hours. It should be noted that by comparing the total working time with the preset total working time threshold, if the total working time is less than the threshold, the first operation command may not be generated; if the total working time is greater than or equal to the threshold, the first operation command is generated. This avoids selecting screen images with a risk of damage for display, prevents excessive pixel working time from causing damage, and thus extends the lifespan of the display and improves the user experience.
[0087] Step S205: Determine the damage risk results of multiple screen images based on the pixel data of the third pixel set; generate a second operation instruction based on the damage risk results of multiple screen images, and respond to the second operation instruction, wherein the second operation instruction is used to prompt the selection of a target screen image from the multiple screen images for viewing.
[0088] The second operation instruction can include outputting character information such as text, images, and numbers. For example, the second operation instruction can output the text message "Confirm selection to display this screen image." The second operation instruction can also prompt the user to select a target screen image from multiple screen images. It should be noted that generating the second operation instruction based on the damage risk of multiple screen images allows the user to conveniently select a target screen image from multiple screen images, avoiding excessive pixel processing time on the display screen.
[0089] In one embodiment, a second operation instruction is generated based on the damage risk results of multiple screen images, including: determining priority information of the multiple screen images based on the damage risk results; determining at least one target screen image from the multiple screen images based on the priority information; and generating a second operation instruction for the target screen image. The damage risk results may include an overlap rate and a total working time, and the second operation instruction includes priority information, which characterizes the priority level of the selected screen image.
[0090] It should be noted that by determining the priority information of multiple screen images, a screen image with no risk of damage or a low risk of damage can be selected as the target screen image. By generating a second operation instruction for the target screen image, the working time of the pixels on the display screen is avoided to the extent that the lifespan of the display screen is extended.
[0091] For example, when the risk of damage to screen images includes overlap rate, priority information of multiple screen images can be determined based on their overlap rates. At least one target screen image can then be identified from the multiple screen images, and a second operation instruction for the target screen image can be generated. For instance, multiple screen images can be sorted in ascending order of overlap rate, and the screen image with the lowest overlap rate can be selected as the target screen image, outputting the text message "It is recommended to select this target screen image for display."
[0092] In one embodiment, there are multiple screen images; based on the damage risk results of the multiple screen images, a second operation instruction is generated, including: if the damage risk result indicates that the display of the screen image poses a damage risk, the display of the screen image will cause damage to the pixels in the display screen, and a second operation instruction is generated.
[0093] Situations where the display screen image is at risk of damage can include pixels on the screen failing to light up. It should be noted that when the damage risk result indicates that the display screen image is at risk of damage, generating a second operation command can prevent the user from selecting that screen image for display.
[0094] For example, when the display of a screen image results in some pixels of the display screen not being able to light up, the second operation instruction outputs the text "Displaying this screen image poses a risk of damaging the display screen" to prompt the user that selecting the screen image poses a risk of damaging the display screen, thus preventing the user from selecting a screen image that poses a risk of damage.
[0095] In one embodiment, there are multiple screen images; based on the damage risk results of the multiple screen images, a second operation instruction is generated, including: if the damage risk result indicates that there is a risk of damage to the displayed screen image, determining the next screen image to be viewed from the multiple screen images as the target screen image; and generating the second operation instruction.
[0096] Multiple screen images can be displayed on the screen as preview images. The next screen image can include the first screen image in the preview image sequence. It should be noted that if displaying a screen image poses a risk of damaging the display screen, determining the next screen image to be viewed from multiple screen images as the target screen image can prevent the user from selecting that screen image for display.
[0097] For example, when the display of a screen image results in some pixels not being able to light up, the next screen image is determined from the preview images of multiple screen images as the target screen image, and the text message "It is recommended to display this target screen image" is output to select the target screen image from multiple screen images for viewing.
[0098] In one embodiment, there are multiple screen images; based on the damage risk results of the multiple screen images, a second operation instruction is generated, including: if the damage risk result indicates that the displayed screen image does not pose a damage risk, determining that screen image as the target screen image; and generating the second operation instruction. The situation where the displayed screen image does not pose a damage risk may include the normal display of pixels on the screen.
[0099] For example, if the damage risk result indicates that the displayed screen image poses no risk of damage, then displaying the screen image will not damage the pixels on the display screen. This screen image is then selected as the target screen image, and a second operation instruction is generated. For instance, when this screen image is selected as the target screen image, the text message "It is recommended to display this target screen image" is output.
[0100] The screen image processing method provided in the above embodiments determines the damage risk results of multiple screen images based on the pixel data of the third pixel set; generates a second operation instruction based on the damage risk results of multiple screen images, and responds to the second operation instruction to prompt the user to select a target screen image from multiple screen images, thereby avoiding the user from selecting a screen image with a damage risk for display, thus avoiding excessive working time of pixels in the display screen, thereby extending the service life of the display screen and improving the user experience.
[0101] Please refer to Figure 7 , Figure 7 This is a schematic block diagram of a screen image processing apparatus provided in an embodiment of this application. The screen image processing apparatus can be configured in a server or electronic device to perform the aforementioned screen image processing method.
[0102] like Figure 7 As shown, the screen image processing device 300 includes: a first acquisition module 301, a second acquisition module 302, a determination module 303, and a generation module 304.
[0103] The first acquisition module 301 is used to acquire the screen image to be displayed and determine the multiple first pixels to be displayed in the screen as a first pixel set.
[0104] The second acquisition module 302 is used to acquire a second pixel set, the second pixel set including a second pixel in the display screen, and the working time of the second pixel is greater than or equal to a preset working time threshold.
[0105] The determining module 303 is used to determine the intersection of the first pixel set and the second pixel set to obtain the third pixel set;
[0106] The generation module 304 is used to generate operation instructions based on the pixel data of the third pixel set and respond to the operation instructions. The operation instructions are used to indicate the risk of damage to the screen image or to indicate whether to switch the screen image.
[0107] In one embodiment, the pixel data includes the number of pixels; the generation module 304 is further configured to:
[0108] Calculate the ratio of the number of pixels in the third pixel set to the number of pixels in the second pixel set to obtain the overlap rate of the second pixels;
[0109] When the overlap rate is greater than or equal to a preset overlap rate threshold, a first operation instruction is generated. The first operation instruction is used to indicate the risk of damage to the screen image or to instruct the switching of the screen image.
[0110] In one embodiment, the pixel data includes the working time of the pixel; the generation module 304 is further configured to:
[0111] Calculate the sum of the working times of the pixels in the third pixel set to obtain the total working time;
[0112] When the total working time is greater than or equal to a preset total working time threshold, a first operation instruction is generated.
[0113] In one embodiment, the pixel data includes the number of pixels and the working time of each pixel; the generation module 304 is further configured to:
[0114] Calculate the ratio of the number of pixels in the third pixel set to the number of pixels in the second pixel set to obtain the overlap rate of the second pixels; and
[0115] Calculate the sum of the working times of the pixels in the third pixel set to obtain the total working time;
[0116] When the overlap rate is greater than or equal to a preset overlap rate threshold, and / or the total working time is greater than or equal to a preset total working time threshold, a first operation instruction is generated.
[0117] In one embodiment, the screen image processing apparatus 300 is further configured to:
[0118] Based on the display operation of the screen image, update the working time of the pixels in the first pixel set;
[0119] Update the second pixel set based on the updated working time of the pixels in the first pixel set;
[0120] Based on the updated second pixel set, the step of determining the intersection of the first pixel set and the second pixel set to obtain the third pixel set continues.
[0121] In one embodiment, there are multiple screen images; the screen image processing device 300 is further configured to:
[0122] Based on the pixel data of the third pixel set, the damage risk results of multiple screen images are determined;
[0123] Based on the damage risk results of the multiple screen images, a second operation instruction is generated and responded to, wherein the second operation instruction is used to prompt the selection of a target screen image from the multiple screen images for viewing.
[0124] In one embodiment, the second operation instruction is generated based on the damage risk results of the plurality of screen images; the screen image processing device 300 is further configured to:
[0125] Based on the damage risk results of the multiple screen images, priority information of the multiple screen images is determined;
[0126] Based on the priority information of the multiple screen images, at least one target screen image is determined from the multiple screen images;
[0127] A second operation instruction to generate the target screen image.
[0128] It should be noted that those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working processes of the above-described device and its modules and units can be referred to the corresponding processes in the aforementioned screen image processing method embodiments, and will not be repeated here.
[0129] The apparatus provided in the above embodiments can be implemented as a computer program, which can be used in, for example... Figure 8 It runs on the screen display device shown.
[0130] Please see Figure 8 , Figure 8 This is a schematic block diagram of a screen display device provided in an embodiment of this application.
[0131] like Figure 8 As shown, the screen display device 400 includes a display screen 401, a processor 402, and a memory 403. The display screen 401, the processor 402, and the memory 403 are connected via a bus 404, such as an I2C (Inter-integrated Circuit) bus.
[0132] Specifically, processor 402 provides computing and control capabilities to support the operation of the entire screen display device. Processor 402 can be a Central Processing Unit (CPU), but it can also be other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor can be a microprocessor, or processor 402 can be any conventional processor.
[0133] Specifically, the memory 403 can be a Flash chip, a read-only memory (ROM) disk, an optical disk, a USB flash drive, or a portable hard drive, etc.
[0134] Those skilled in the art will understand that Figure 8 The structures shown are merely block diagrams of some structures related to the embodiments of this application and do not constitute a limitation on the screen display devices applied thereto in the embodiments of this application. Specific screen display devices may include more or fewer components than those shown in the figures, or combine certain components, or have different component arrangements.
[0135] The processor 402 is used to run a computer program stored in a memory, and to implement any of the screen image processing methods provided in the embodiments of this application when executing the computer program.
[0136] In one embodiment, the processor 402 is configured to run a computer program stored in a memory, and when executing the computer program, perform the following steps:
[0137] Obtain the screen image to be displayed, and determine the multiple first pixels to be displayed in the screen image as a first pixel set;
[0138] Obtain a second pixel set, the second pixel set including a second pixel in the display screen, the working time of the second pixel being greater than or equal to a preset working time threshold;
[0139] The intersection of the first pixel set and the second pixel set is determined to obtain the third pixel set;
[0140] An operation instruction is generated based on the pixel data of the third pixel set, and the operation instruction is responded to. The operation instruction is used to indicate the risk of damage to the screen image or to indicate whether to switch the screen image.
[0141] In one embodiment, when the processor 402 generates operation instructions based on the pixel data of the third pixel set, it is configured to:
[0142] Calculate the ratio of the number of pixels in the third pixel set to the number of pixels in the second pixel set to obtain the overlap rate of the second pixels;
[0143] When the overlap rate is greater than or equal to a preset overlap rate threshold, a first operation instruction is generated. The first operation instruction is used to indicate the risk of damage to the screen image or to instruct the switching of the screen image.
[0144] In one embodiment, when the processor 402 generates operation instructions based on the pixel data of the third pixel set, it is configured to:
[0145] Calculate the sum of the working times of the pixels in the third pixel set to obtain the total working time;
[0146] When the total working time is greater than or equal to a preset total working time threshold, a first operation instruction is generated.
[0147] In one embodiment, when the processor 402 generates operation instructions based on the pixel data of the third pixel set, it is configured to:
[0148] Calculate the ratio of the number of pixels in the third pixel set to the number of pixels in the second pixel set to obtain the overlap rate of the second pixels; and
[0149] Calculate the sum of the working times of the pixels in the third pixel set to obtain the total working time;
[0150] When the overlap rate is greater than or equal to a preset overlap rate threshold, and / or the total working time is greater than or equal to a preset total working time threshold, a first operation instruction is generated.
[0151] In one embodiment, the processor 402 is further configured to implement:
[0152] Based on the display operation of the screen image, update the working time of the pixels in the first pixel set;
[0153] Update the second pixel set based on the updated working time of the pixels in the first pixel set;
[0154] Based on the updated second pixel set, the step of determining the intersection of the first pixel set and the second pixel set to obtain the third pixel set continues.
[0155] In one embodiment, the processor 402 is further configured to implement:
[0156] Based on the pixel data of the third pixel set, the damage risk results of multiple screen images are determined;
[0157] Based on the damage risk results of the multiple screen images, a second operation instruction is generated and responded to, wherein the second operation instruction is used to prompt the selection of a target screen image from the multiple screen images for viewing.
[0158] In one embodiment, the processor 402 is further configured to implement:
[0159] Based on the damage risk results of the multiple screen images, priority information of the multiple screen images is determined;
[0160] Based on the priority information of the multiple screen images, at least one target screen image is determined from the multiple screen images;
[0161] A second operation instruction to generate the target screen image.
[0162] It should be noted that those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working process of the screen display device described above can be referred to the corresponding process in the aforementioned screen image processing method embodiments, and will not be repeated here.
[0163] This application also provides a storage medium for computer-readable storage, wherein the storage medium stores one or more programs, which can be executed by one or more processors 402 to implement the steps of any of the screen image processing methods provided in this application.
[0164] The storage medium can be an internal storage unit of the screen display device described in the foregoing embodiments, such as the hard drive or memory of the screen display device. Alternatively, the storage medium can be an external storage device of the screen display device, such as a plug-in hard drive, Smart Media Card (SMC), Secure Digital (SD) card, or Flash Card equipped on the screen display device.
[0165] It will be understood by those skilled in the art that all or some of the steps, systems, or devices disclosed above, and their functional modules / units, can be implemented as software, firmware, hardware, or suitable combinations thereof. In hardware implementations, the division between functional modules / units mentioned above does not necessarily correspond to the division of physical components; for example, a physical component may have multiple functions, or a function or step may be performed collaboratively by several physical components. Some or all physical components may be implemented as software executed by a processor, such as a central processing unit, digital signal processor, or microprocessor, or as hardware, or as an integrated circuit, such as an application-specific integrated circuit (ASIC). Such software may be distributed on a computer-readable medium, which may include computer storage media (or non-transitory media) and communication media (or transient media). As is known to those skilled in the art, the term computer storage media includes volatile and non-volatile, removable and non-removable media implemented in any method or technology for storing information (such as computer-readable instructions, data structures, program modules, or other data). Computer storage media include, but are not limited to, RAM, ROM, EEPROM, flash memory or other memory technologies, CD-ROM, digital versatile disc (DVD) or other optical disc storage, magnetic cartridges, magnetic tape, disk storage or other magnetic storage devices, or any other medium that can be used to store desired information and can be accessed by a computer. Furthermore, it is well known to those skilled in the art that communication media typically contain computer-readable instructions, data structures, program modules, or other data in modulated data signals such as carrier waves or other transmission mechanisms, and may include any information delivery medium.
[0166] The sequence numbers of the embodiments in this application are for descriptive purposes only and do not represent the superiority or inferiority of the embodiments. The above descriptions are merely specific implementations of this application, but the scope of protection of this application is not limited thereto. Any person skilled in the art can easily conceive of various equivalent modifications or substitutions within the technical scope disclosed in this application, and these modifications or substitutions should all be covered within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.
Claims
1. A method for processing screen images, characterized in that, include: Obtain the screen image to be displayed, and determine the multiple first pixels to be displayed in the screen image as a first pixel set; Obtain a second pixel set, the second pixel set including a second pixel in the display screen, the working time of the second pixel being greater than or equal to a preset working time threshold; The intersection of the first pixel set and the second pixel set is determined to obtain the third pixel set; An operation instruction is generated based on the pixel data of the third pixel set, and the operation instruction is responded to. The operation instruction is used to indicate the risk of damage to the screen image or to indicate whether to switch the screen image. The pixel data includes the number of pixels and / or the working time of the pixels. The step of generating operation instructions based on the pixel data of the third pixel set includes: Calculate the ratio of the number of pixels in the third pixel set to the number of pixels in the second pixel set to obtain the overlap rate of the second pixels; When the overlap rate is greater than or equal to a preset overlap rate threshold, a first operation instruction is generated. This first operation instruction is used to indicate the risk of damage to the screen image or to instruct the switching of the screen image; or Calculate the sum of the working times of the pixels in the third pixel set to obtain the total working time; When the total working time is greater than or equal to a preset total working time threshold, a first operation instruction is generated; or Calculate the ratio of the number of pixels in the third pixel set to the number of pixels in the second pixel set to obtain the overlap rate of the second pixels; and Calculate the sum of the working times of the pixels in the third pixel set to obtain the total working time; When the overlap rate is greater than or equal to a preset overlap rate threshold, and / or the total working time is greater than or equal to a preset total working time threshold, a first operation instruction is generated.
2. The screen image processing method according to claim 1, characterized in that, The method further includes: Based on the display operation of the screen image, update the working time of the pixels in the first pixel set; Update the second pixel set based on the updated working time of the pixels in the first pixel set; Based on the updated second pixel set, the step of determining the intersection of the first pixel set and the second pixel set to obtain the third pixel set continues.
3. The screen image processing method according to any one of claims 1-2, characterized in that, The screen images are multiple, and the method further includes: Based on the pixel data of the third pixel set, the damage risk results of multiple screen images are determined; Based on the damage risk results of the multiple screen images, a second operation instruction is generated and responded to, wherein the second operation instruction is used to prompt the selection of a target screen image from the multiple screen images for viewing.
4. The screen image processing method according to claim 3, characterized in that, The step of generating a second operation instruction based on the damage risk results of multiple screen images includes: Based on the damage risk results of multiple screen images, priority information of multiple screen images is determined; Based on the priority information of the multiple screen images, at least one target screen image is determined from the multiple screen images; A second operation instruction to generate the target screen image.
5. A screen image processing apparatus, characterized in that, The processing device includes: The first acquisition module is used to acquire the screen image to be displayed and determine the multiple first pixels to be displayed in the screen as a first pixel set. The second acquisition module is used to acquire a second pixel set, the second pixel set including a second pixel in the display screen, and the working time of the second pixel is greater than or equal to a preset working time threshold. The determining module is used to determine the intersection of the first pixel set and the second pixel set to obtain the third pixel set; The generation module is used to generate operation instructions based on the pixel data of the third pixel set and respond to the operation instructions. The operation instructions are used to indicate the risk of damage to the screen image or to indicate whether to switch the screen image. The pixel data includes the number of pixels and / or the working time of the pixels. The step of generating operation instructions based on the pixel data of the third pixel set includes: Calculate the ratio of the number of pixels in the third pixel set to the number of pixels in the second pixel set to obtain the overlap rate of the second pixels; When the overlap rate is greater than or equal to a preset overlap rate threshold, a first operation instruction is generated. This first operation instruction is used to indicate the risk of damage to the screen image or to instruct the switching of the screen image; or Calculate the sum of the working times of the pixels in the third pixel set to obtain the total working time; When the total working time is greater than or equal to a preset total working time threshold, a first operation instruction is generated; or Calculate the ratio of the number of pixels in the third pixel set to the number of pixels in the second pixel set to obtain the overlap rate of the second pixels; and Calculate the sum of the working times of the pixels in the third pixel set to obtain the total working time; When the overlap rate is greater than or equal to a preset overlap rate threshold, and / or the total working time is greater than or equal to a preset total working time threshold, a first operation instruction is generated.
6. A screen display device, characterized in that, The screen display device includes a display screen, a processor, a memory, a computer program stored in the memory and executable by the processor, and a data bus for enabling communication between the processor and the memory, wherein when the computer program is executed by the processor, it implements the screen image processing method as described in any one of claims 1 to 4.
7. A storage medium for computer-readable storage, characterized in that, The storage medium stores one or more programs, which can be executed by one or more processors to implement the screen image processing method according to any one of claims 1 to 4.
Citation Information
Patent Citations
Method for starting screen protection of display equipment and display equipment
CN111432257A