Screen control method, device, electronic device and storage medium
By judging the unused state of the device in the electronic device of the OLED screen and controlling the movement of pixel points in the high-contrast area, the problems of pixel aging and burning of the OLED screen are solved, delaying the pixel aging process and improving the display effect.
Patent Information
- Application Number
- CN202111212054.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-10-18
- Publication Date
- 2025-03-14
- Estimated Expiration
- 2041-10-18
AI Technical Summary
During the use of OLED screens, pixels will age and affect the display effect, especially when displaying high-contrast areas for a long time, it is easy to have afterimage and burn-in problems.
When the screen of the electronic device is in the screen-lit state, it is determined whether the device is in the unused state by obtaining the device status data. If it is in the unused state and the unused period is less than a certain time, the pixel points in the target area with a contrast ratio greater than the preset contrast ratio are controlled to move to allocate pixel aging.
By sharing pixel aging, the aging process of screen pixels is delayed, the afterimage problem is improved, the display effect is improved, and the possibility of burning the screen is reduced.
Smart Images

Figure CN113885824B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of electronic devices, and more specifically, to a screen control method, device, electronic device and storage medium. Background Art
[0002] Electronic devices, such as mobile phones and tablet computers, have become one of the most commonly used consumer electronic products in people's daily lives. The display screen is the part of the electronic device used to display the user interface. With the rapid advancement of display technology, the semiconductor component technology as the core of the display device has also made leaps and bounds, resulting in the emergence of organic light emitting diode (OLED) screens with better display effects. However, during the use of OLED screens, the pixels will age, resulting in the display effect of the screen being affected. Summary of the invention
[0003] In view of the above problems, the present application proposes a screen control method, device, electronic device and storage medium.
[0004] In a first aspect, an embodiment of the present application provides a screen control method, which is applied to an electronic device, wherein the electronic device includes a screen, and the method includes: when the screen is in a bright state, obtaining device status data of the electronic device; if it is determined based on the device status data that the electronic device is in an unused state, obtaining the duration that the electronic device is in the unused state as a target duration; if the target duration is less than the first duration, controlling the pixel points of a target area in a display image of the screen to move, and the contrast of the target area is greater than a preset contrast.
[0005] In a second aspect, an embodiment of the present application provides a screen control device, which is applied to an electronic device, wherein the electronic device includes a screen, and the device includes: a state acquisition module, a duration acquisition module and a pixel movement module, wherein the state acquisition module is used to obtain device state data of the electronic device when the screen is in a bright screen state; the duration acquisition module is used to obtain the duration of the electronic device in the unused state as a target duration if it is determined based on the device state data that the electronic device is in an unused state; and the pixel movement module is used to control the movement of pixel points in a target area in a display image of the screen if the target duration is less than a first duration, and the contrast of the target area is greater than a preset contrast.
[0006] In a third aspect, an embodiment of the present application provides an electronic device, comprising: one or more processors; a memory; one or more applications, wherein the one or more applications are stored in the memory and configured to be executed by the one or more processors, and the one or more programs are configured to execute the screen control method provided in the first aspect above.
[0007] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, in which a program code is stored. The program code can be called by a processor to execute the screen control method provided in the first aspect above.
[0008] The solution provided by the present application is to obtain the device status data of the electronic device when the screen is in the bright screen state, and if it is determined based on the device status data that the electronic device is in an unused state, obtain the duration of the electronic device in the unused state as the target duration, and if the target duration is less than the first duration, control the movement of the pixels of the target area with a contrast greater than the preset contrast in the display image of the screen. Thus, when the duration of the electronic device in the unused state is less than the first duration, the area with a higher contrast is controlled to move, and the pixel aging of the area with a higher contrast can be distributed to other areas, delaying the aging of the pixels of the screen, and improving the residual image to a certain extent, thereby improving the display effect. BRIEF DESCRIPTION OF THE DRAWINGS
[0009] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.
[0010] Figure 1 A flow chart of a screen control method according to an embodiment of the present application is shown.
[0011] Figure 2 A schematic diagram showing the phase relationship between MIPI and TE provided in an embodiment of the present application.
[0012] Figure 3 A schematic diagram of pixel movement provided by an embodiment of the present application is shown.
[0013] Figure 4 Another schematic diagram of pixel movement provided in an embodiment of the present application is shown.
[0014] Figure 5 Another schematic diagram of pixel movement provided by an embodiment of the present application is shown.
[0015] Figure 6Another schematic diagram of pixel movement provided in an embodiment of the present application is shown.
[0016] Figure 7 Another schematic diagram of pixel movement provided by an embodiment of the present application is shown.
[0017] Figure 8 A schematic diagram of an interface provided in an embodiment of the present application is shown.
[0018] Fig. 9 A flow chart of a screen control method according to another embodiment of the present application is shown.
[0019] Fig.10 A flow chart of a screen control method according to yet another embodiment of the present application is shown.
[0020] Fig.11 A block diagram of a screen control device according to an embodiment of the present application is shown.
[0021] Fig.12 Detailed description is a block diagram of an electronic device for executing a screen control method according to an embodiment of the present application.
[0022] Fig.13 It is a storage unit of an embodiment of the present application for storing or carrying a program code for implementing a screen control method according to an embodiment of the present application. DETAILED DESCRIPTION
[0023] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application.
[0024] As for existing display devices, organic light emitting diodes (OLEDs), as a current-type light-emitting device, are increasingly being used in the field of high-performance displays due to their self-luminescence, fast response, wide viewing angle, and ability to be manufactured on flexible substrates. However, during the use of OLED displays, the display effect of the screen will be affected due to attenuation. In particular, some areas that display high contrast for a long time will experience afterimages and even burn-in, resulting in yellowing of the screen, as the pixels age.
[0025] At present, in order to prevent the display from burning out or affecting the battery life of the phone when no one uses it for a long time, most mobile phone manufacturers often add an option to automatically turn off the screen on the system side. The time interval options for automatic screen turning off vary from manufacturer to manufacturer, and there is no unified standard. For example, some manufacturers will keep the screen permanently on, or set the maximum screen off time to 5 minutes. In this case, due to the different logical strategies of each mobile phone manufacturer for automatic screen turning off, some manufacturers will retain the option of permanently turning off the screen. If the user selects this option, there is basically no improvement on screen burn-in. It can be seen that the improvement effects of related technologies on screen pixel aging, screen burn-in, etc. are not good.
[0026] In response to the above problems, the inventors have proposed a screen control method, device, electronic device, and storage medium provided in the embodiments of the present application, which can control the movement of the area with higher contrast when the electronic device is not in use for a period of time less than a first period of time, and can distribute the pixel aging of the area with higher contrast to other areas, delaying the aging of the pixels of the screen, and improving the residual image to a certain extent, thereby improving the display effect. The specific screen control method is described in detail in the subsequent embodiments.
[0027] See also Figure 1 , Figure 1 FIG. 1 is a flow chart of a screen control method provided by an embodiment of the present application. In a specific embodiment, the screen control method is applied to Fig.11 The screen control device 400 and the electronic device 100 ( Fig.12 ). The following will take an electronic device as an example to illustrate the specific process of this embodiment. Of course, it can be understood that the electronic device used in this embodiment can be a smart phone, a tablet computer, a smart watch, a laptop computer, etc., which is not limited here. Figure 1 The process shown is described in detail, and the screen control method may specifically include the following steps:
[0028] Step S110: when the screen is in a bright state, obtaining device status data of the electronic device.
[0029] In an embodiment of the present application, an electronic device can monitor its screen status to control the display of the screen accordingly when the screen is in a bright screen state, thereby improving the aging and burn-in problems of the pixels of the screen. The screen status refers to the working status of the screen of the electronic device; the screen status may include a bright screen state and an off screen state, the bright screen state refers to the working status when the screen of the electronic device is lit, and the off screen state refers to the working status when the screen of the electronic device is off. Optionally, the screen can be an OLED screen, such as an active-matrix organic light-emitting diode (AMOLED) screen, a traditional OLED screen, etc., which are not limited here.
[0030] In some embodiments, the electronic device can obtain the screen state in a variety of ways. Optionally, the operating system reads the corresponding parameter value to determine the screen state of the electronic device according to the parameter value read. As an embodiment, when the system installed in the electronic device is an Android system, the screen state can be obtained through the isScreenOn method of PowerManager, that is, by obtaining the value of isScreenOn, if the value of isScreenOn is true, the screen of the electronic device is in a bright screen state, and if the value of isScreenOn is false, the screen of the electronic device is in an off-screen state. As another embodiment, the electronic device can also obtain the brightness value of the screen and determine the screen state of the electronic device according to the brightness value of the screen. For example, if the brightness value of the screen is 0, it means that the screen is in an off-screen state, and if the brightness value of the screen is greater than 0, the screen is in a bright screen state. Of course, the specific method of detecting the screen state of the electronic device may not be limited.
[0031] In the embodiment of the present application, when the screen of the electronic device is in the bright screen state, the user may not be using it. If the screen continues to work according to the previous display state, the aging speed of the screen pixels will be accelerated, thereby causing screen burn-in. Therefore, the electronic device can obtain the device status data of the electronic device when its screen is in the bright screen state, and determine whether the electronic device is in the unused state according to the device status data, so that the display of the screen can be controlled when the electronic device is in the unused state.
[0032] The device status data may be status data used to determine the usage status of the electronic device. The device status data may include: screen touch data, application processor (AP) data, image data captured by a camera, etc. The specific device status data may not be limited.
[0033] Step S120: If it is determined based on the device status data that the electronic device is in an unused state, the duration of time that the electronic device is in an unused state is obtained as a target duration.
[0034] In an embodiment of the present application, after acquiring the device status data, the electronic device can determine whether the electronic device is in an unused state based on the device status data, so as to control the display of the screen according to the determination result. The electronic device can determine whether the electronic device is in an unused state based on at least one of the data of the application processor, the image data captured by the camera, and the touch data of the screen.
[0035] In some embodiments, the device status data may include touch data, and the electronic device may determine the usage status of the electronic device based on the touch data. It can be understood that when the electronic device is in the screen-on state, if the user's finger touches the touch screen, the logic of the touch screen is to report the coordinates and the raw data value in real time, and the click operation / slide operation (different positions, different lengths, different arcs, etc.) can be presented through the raw data. When a click operation or a slide operation is detected, it can be determined that the user is using the electronic device at this time; when no click operation or slide operation is detected, the electronic device is in an unused state. Among them, the raw data will change during sliding or clicking operations. Of course, the positions and shapes of actual clicks and slides are somewhat different, but the AP can determine the touch feature value corresponding to the touch data and judge whether the touch feature value meets the feature value corresponding to the click operation or the sliding operation; among them, the feature value corresponding to the click operation is mainly manifested as a sudden value mutation in a concentrated area, and the feature value corresponding to the sliding operation is mainly manifested as a data mutation in a horizontal or vertical shape (if there is a break in the middle, it can also be determined as this feature value). Of course, the feature value corresponding to the click operation and the feature value corresponding to the sliding operation can also be determined based on the historical touch data of the user when using the electronic device.
[0036] In other embodiments, the device status data may include AP data. When the electronic device is displaying content, all the data on the display screen is output by the AP through data formats such as MIPI (Mobile Industry Processor Interface) / RGB, and is sent to the display driver integrated circuit chip (DDIC) of the display screen through hardware communication. In the random access memory (RAM) (if there is no RAM, there will generally be a buffer), all data transmissions can be recognized by the AP. If the display screen is constantly changing data, the AP side is always in a working state, and the data is continuously updated iteratively. If the display screen remains unchanged or is changing periodically at this time, the RGB data or MIPI data of the AP side and the data side are in an idle state. Taking MIPI data as an example, if Figure 2 As shown, Figure 2 The phase relationship between MIPI and TE is shown. If TE is at a low level and MIPI is also at a low level, it means that the data is constantly iterating and updating. If TE is at a low level and MIPI is at a high level, it means that the data is not updated, and the display end is calling the data source stored in the RAM or Flash of the DDIC end. Based on this, the AP end can determine whether the screen image is in a static image or a fixed video or a small animation (i.e., a repeated display image) by monitoring data changes, and then determine whether the screen is in an unupdated state at this time. If it is determined based on the AP data that the screen image is a static image or a repeated display image, it means that the screen is in an unupdated state at this time, so it can be determined that the user is not using the electronic device; conversely, if the AP data determines that the screen image is not a static image and is not a repeated display image, it means that the screen is in an updated state at this time, so it can be determined that the user is using the electronic device.
[0037] In some other embodiments, the device status data may include image data captured by a camera. Optionally, the electronic device may include a front camera, and the electronic device may capture images through the front camera; the electronic device may determine whether there is a face in the image based on the image data captured by the front camera, and if it is determined that there is a face, it indicates that the electronic device is in use, otherwise, it indicates that the electronic device is not in use. It is understandable that if a user is using an electronic device, generally the face is facing the screen, and if the electronic device supports face recognition, it may be detected whether there is facial feature data at this time; if facial feature data is detected, it indicates that the electronic device is in use, otherwise, it indicates that the electronic device is not in use.
[0038] As a possible implementation, when the electronic device detects the presence of a face in the captured image, it can also determine whether the human eyes are in a closed state based on the face area in the multiple frames of images captured continuously; if the human eyes are in a closed state in the multiple frames of images in a row, it can be determined that the user is in a sleeping state, and it can also be determined that the electronic device is not in use; if the human eyes are not closed in every frame of the multiple frames of images in a row, it can be determined that the electronic device is in use.
[0039] In some further embodiments, when the device status data includes touch data, if there is point reporting data of the edge of the screen in the data reported by the touch screen to the AP, it means that there is a holding action at this time, that is, the electronic device is in a holding state. In this case, it can be determined that the electronic device is in use; if there is no point reporting data of the edge of the screen, it means that the electronic device is not in a holding state at this time, and it can be judged that the electronic device is in an unused state.
[0040] It should be noted that the above embodiments can also be combined to determine the use status of the electronic device. It is understandable that when the front camera is used to collect images to determine whether the electronic device is in use, it is possible that the user does not look directly at the plane, resulting in the inability to collect facial images. When the point data at the edge of the screen is used to determine whether the electronic device is in use, it is possible that the electronic device is fixed by an insulating bracket, resulting in no point data at the edge of the screen. Therefore, the above multiple methods can be combined to determine whether the electronic device is in use.
[0041] Optionally, when no click or slide is detected based on the touch data, it can be determined based on the AP data whether the display screen is a repeating display screen or a still screen; if it is a repeating display screen or a still screen, it can be further determined based on the image captured by the front camera whether the image contains a face, and based on the touch data, whether there is data reported from the edge of the screen; if the image does not contain a face, and there is no data reported from the edge of the screen, it can be determined that the electronic device is in an unused state. In other words, it is necessary to determine that the electronic device is in an unused state only when no click or slide is detected, the display screen is a repeating display screen or a still screen, the image captured by the front camera does not contain a face, and there is no data reported from the edge of the screen, so as to accurately determine the usage status of the electronic device.
[0042] Optionally, short video applications are currently more popular, and the impact on screen burn-in also mainly comes from short video applications, because if the short video application plays the same video in a self-loop, and the user leaves the electronic device, according to the existing electronic device's screen-off strategy, the screen cannot be turned off according to normal logic, that is, the video may be played all the time, which increases the possibility of screen burn-in. Therefore, the above four implementations can be combined, through the first implementation, based on the touch data of the screen, determine whether the characteristic value corresponding to the touch data meets the characteristic value corresponding to the click operation or the sliding operation; then, if the characteristic value corresponding to the touch data does not meet the characteristic value corresponding to the click operation or the sliding operation, through the second implementation, based on the data of the application processor, determine that the display screen is a fixed loop screen, and when the number of loops exceeds ≥N, N is a positive integer, and N can be freely defined according to the user's usage habits, such as first set to 3 or other values, etc., which is not limited here. Among them, since some users may prefer to play repeatedly in a loop, but usually there will be a touch screen, such as a sliding progress bar, therefore, through these two implementations, it can basically be determined whether the user is using it at this time. On this basis, the third embodiment and the fourth embodiment can also be combined. When the touch data corresponds to a characteristic value that does not satisfy the characteristic value corresponding to the click operation or the sliding operation, and based on the data of the application processor, it is determined that the screen display is a repeated cycle to the display screen, and when it is determined that the image captured by the front camera does not contain a face, and based on the touch data, it is determined that the electronic device is not in a held state, it is determined that the electronic device is in an unused state, thereby accurately determining that the user is not using the electronic device, that is, the electronic device is in an unused state.
[0043] In this embodiment, the electronic device determines whether it is in an unused state through the above-mentioned combined embodiment. Since it is for short video applications, before the electronic device uses the above-mentioned combined embodiment to determine whether it is in an unused state, it can also determine whether the application currently running in the foreground is a short video application through AP data. Among them, a large amount of application information of short video applications can be pre-stored in the electronic device. If the application information of the application running in the foreground matches the application information of a large number of short video applications pre-stored, the above-mentioned combined embodiment can be used to determine whether it is in an unused state; if the application information of the application running in the foreground does not match the application information of a large number of short video applications pre-stored, at least one of the above-mentioned embodiments can be used to determine whether the electronic device is in an unused state, for example, to determine whether the touch feature value corresponding to the touch data of the screen satisfies the feature value corresponding to the click operation or the sliding operation. If the touch feature value corresponding to the touch data of the screen does not meet the feature value corresponding to the click operation or the sliding operation, it is determined that the electronic device is in an unused state. Of course, the specific implementation method of determining whether the electronic device is in an unused state according to the device status data of the electronic device in the embodiment of the present application may not be limited.
[0044] In the embodiment of the present application, when the electronic device determines that the electronic device is in an unused state based on the device state data, it can start timing, so as to obtain the length of time the electronic device is in an unused state. Thus, when the electronic device is in an unused state, the length of time it is in an unused state can be obtained at any time, and the length of time can be used as the target length of time, so as to control the screen differently according to the length of time the electronic device is in an unused state.
[0045] Step S130: If the target duration is less than the first duration, the pixel points of the target area in the display image of the screen are controlled to move, and the contrast of the target area is greater than the preset contrast.
[0046] In the embodiment of the present application, after obtaining the target duration of the electronic device being in an unused state, it can be determined whether the target duration is less than the first duration; when the target duration of the electronic device being in an unused state is less than the first duration, it means that the user has not used the electronic device for a short time, and the user may be away for a short time at this time, and may use the electronic device again at any time. Therefore, in this case, the pixel points of the target area with a contrast greater than the preset contrast in the display image of the screen can be controlled to move, so that the pixel aging of the target area can be distributed to its neighboring areas, thereby delaying the aging of screen pixels and screen burn-in, and improving the display afterimage to a certain extent.
[0047] Among them, contrast refers to the measurement of different brightness levels between the brightest white and the darkest black in the light and dark areas of the image. The larger the difference range, the greater the contrast, and the smaller the difference range, the smaller the contrast. In a possible implementation, when obtaining an area with a contrast greater than a preset contrast, the electronic device can divide the display screen into multiple areas, determine the contrast for each area, and then determine the area with a contrast greater than the preset contrast from the multiple areas. Among them, the size of the area and the size of the preset contrast may not be limited.
[0048] In some embodiments, the electronic device controls the movement of the pixels of the target area in the display screen of the screen, which can be to control the pixels of the target area to move in the row direction or the column direction. When the pixels of the target area are controlled to move in the row direction, the pixels of the target area can be controlled to move j columns of pixels to the left or right; when the pixels of the target area are controlled to move in the column direction, the pixels of the target area can be controlled to move k rows of pixels up or down. Wherein, j and k are both positive integers, and their specific values may not be limited, for example, they may be 1, 3, 5, 8, etc. Optionally, j and k may not exceed a set threshold value to ensure that the offset of the target area is not too large, thereby avoiding being noticed by the user in some cases, such as when the user happens to use the electronic device again, it can avoid the user from noticing the offset of the target area.
[0049] For example, please also refer to Figure 3 and Figure 4 , Figure 3 This is a schematic diagram when the target area B does not move. Figure 4 The target area B can be moved rightward by 1 pixel along the row direction; please also refer to Figure 3 and Figure 5 , Figure 5 The target area B can be moved 1 pixel to the left along the row direction; please also refer to Figure 3 and Figure 6 , Figure 6 The target area B can be moved down by 1 pixel along the column direction; please also refer to Figure 3 and Figure 7 , Figure 7 The target area B can be moved upward by 1 pixel along the column direction.
[0050] In a possible implementation, the electronic device can control the pixels of the target area to move back and forth along the row direction or column direction relative to the original position of the target area, thereby effectively delaying the aging of screen pixels and screen burn-in. For example, the pixels of the target area can be controlled to move j columns of pixels to the left, then to the right, and then to return to the original position, then to the right, then to the left, and then to return to the original position, and then to the left, and so on, to achieve the reciprocating movement of the pixels of the target area along the row direction.
[0051] For example, see Figure 8 When the electronic device is a smart phone, the upper edge of the interface A1 displayed on its screen displays icons with high contrast and displayed for a long time, such as the wifi icon A1, the signal strength icon A2, and the battery power icon A3. The pixels in the areas of these icons are usually more aged. Therefore, when the target time when the electronic device is in an unused state is less than the first time, the pixels in the areas where these icons are located can be moved to delay the aging of screen pixels and screen burn-in, and to improve the display afterimage to a certain extent. In addition, since the user is not using the electronic device, moving these areas will not affect the user's viewing of the displayed content on the screen.
[0052] The screen control method provided in the embodiment of the present application controls the movement of the area with higher contrast when the electronic device is in an unused state for a period of time that is less than a first period of time. This can distribute the pixel aging of the area with higher contrast to other areas, delay the aging of the pixels of the screen, and improve the afterimage to a certain extent, thereby enhancing the display effect.
[0053] See also Fig. 9 , Fig. 9 A schematic diagram of a screen control method provided by another embodiment of the present application is shown. The screen control method is applied to the above electronic device. Fig. 9 The process shown is described in detail, and the screen control method may specifically include the following steps:
[0054] Step S210: when the screen is in a bright state, obtaining device status data of the electronic device.
[0055] Step S220: If it is determined based on the device status data that the electronic device is in an unused state, the duration of time that the electronic device is in an unused state is obtained as a target duration.
[0056] In the embodiment of the present application, steps S210 to S220 can refer to the contents of the aforementioned embodiment and will not be described in detail here.
[0057] Step S230: If the target duration is less than the first duration, an area with a contrast ratio greater than a preset contrast ratio is obtained from the display image of the screen as a target area.
[0058] In the embodiment of the present application, when the target duration of the electronic device being in the unused state is less than the first duration, it means that the user has not used the electronic device for a short time, and the user may be away for a short time, and may use the electronic device again at any time. In this case, an area with a contrast greater than a preset contrast can be obtained from the display screen of the screen, and the determined area is used as the target area.
[0059] Step S240: Based on the resolution of the screen and the direction in which the target area is to be moved, determining the movement amount of the target area as the target movement amount.
[0060] In an embodiment of the present application, when the electronic device controls the pixel points of the target area to move, it can determine the amount of movement of the target area to be moved. Among them, the electronic device can determine the amount of movement of the target area to be moved based on the resolution of the screen and the direction in which the target area is to be moved, and use the determined amount of movement as the target movement amount. It can be understood that the resolution of the screen is related to the pixel points contained in the screen, and the number of pixel points in the row direction is different from that in the column direction, that is, the number of rows and columns is different. Therefore, in order to avoid the user from noticing after moving the target area, the amount of movement of the target area can be determined based on the resolution of the screen and the direction in which the target area is to be moved.
[0061] In some embodiments, the electronic device determines the movement amount of the target area to be moved as the target movement amount based on the resolution of the screen and the direction in which the target area is to be moved, which may include: determining the number of column pixels of the screen as the first number and the number of row pixels of the screen as the second number based on the resolution of the screen; if the direction in which the target area is to be moved is the row direction, determining the movement amount of the target area to be moved as the target movement amount based on the preset offset ratio and the first number; if the direction in which the target area is to be moved is the column direction, determining the movement amount of the target area to be moved as the target movement amount based on the preset offset ratio and the second number. It can be understood that in this embodiment, the number of column pixels of the screen determines the movement range in the row direction, and the number of row pixels of the screen determines the movement range in the column direction. Therefore, when the direction in which the target area is to be moved is the row direction, the movement amount of the target area to be moved can be determined based on the first number and the preset offset ratio, and when the direction in which the target area is to be moved is the column direction, the movement amount of the target area to be moved can be determined based on the second number and the preset offset ratio. The preset offset ratio can be set based on the resolution of the screen, wherein the preset offset ratio can be positively correlated with the resolution of the screen, that is, the larger the resolution of the screen, the larger the preset offset ratio. In this way, the problems of screen aging and burn-in can be improved, and visible picture movement can be avoided.
[0062] In a possible implementation, when the direction in which the target area is to be moved is the row direction, the product of the first number and the preset offset ratio can be obtained to obtain the amount of movement of the target area to be moved; when the direction in which the target area is to be moved is the column direction, the product of the second number and the preset offset ratio can be obtained to obtain the amount of movement of the target area to be moved. Optionally, there may be a situation where the obtained product is a decimal, in which case the decimal part can be ignored to avoid exceeding the offset range corresponding to the preset offset ratio. For example, for a screen with a resolution of 1080*1920, the preset offset ratio can be 1%, the above-mentioned first number is 1080, and the second number is 1920. Therefore, the amount of movement in the row direction can be 1080*1%=10.8, in which case the decimal part can be ignored, that is, the amount of movement in the row direction is 10; the amount of movement in the column direction can be 1920*1%=19.2, in which case the decimal part can be ignored, that is, the amount of movement in the column direction is 19.
[0063] Step S250: moving the pixel points of the target area in the direction by the target movement amount.
[0064] In the embodiment of the present application, the direction in which the target area is to be moved can be preset, which can be the row direction or the column direction. When the electronic device moves the pixel points of the target area by the target movement amount in the above direction, the pixel points of the target area can be controlled to move back and forth along the row direction or the column direction relative to the original position of the target area by the target movement amount, thereby effectively delaying the aging of screen pixels and screen burn-in.
[0065] In some embodiments, the direction in which the pixels of the target area move may include both the row direction and the column direction. In this case, step S240 may be used to determine the movement amount corresponding to the row direction as the first movement amount, and the movement amount corresponding to the column direction as the second movement amount, respectively, according to the row direction and the column direction. When controlling the movement of the pixels of the target area, the pixels of the target area may be controlled to move back and forth along the row direction relative to the original position of the target area, and then move back and forth along the column direction once to move the second movement amount, and then move back and forth along the row direction once to move the first movement amount, and repeat. Of course, the pixels of the target area may also be controlled to move back and forth along the column direction relative to the original position of the target area, and then move back and forth along the column direction once to move the second movement amount, and then move back and forth along the column direction once to move the second movement amount, and repeat.
[0066] The screen control method provided in the embodiment of the present application, when the electronic device is in an unused state for a period of time that is less than a first period of time, after determining the movement amount based on the resolution of the screen and the movement direction, controls the pixel points of the target area to move according to the determined movement amount, thereby making the movement amount of the target area correspond to the resolution, which can improve the problems of screen aging and screen burn-in and avoid visible image movement to the naked eye.
[0067] See also Fig.10 , Fig.10 A schematic diagram of a screen control method according to another embodiment of the present application is shown. The screen control method is applied to the above electronic device. Fig.10 The process shown is described in detail, and the screen control method may specifically include the following steps:
[0068] Step S310: when the screen is in a bright state, obtaining device status data of the electronic device.
[0069] Step S320: If it is determined based on the device status data that the electronic device is in an unused state, the duration of time that the electronic device is in an unused state is obtained as a target duration.
[0070] Step S330: If the target duration is less than the first duration, the pixel points of the target area in the display image of the screen are controlled to move, and the contrast of the target area is greater than the preset contrast.
[0071] In the embodiment of the present application, steps S310 to S320 can refer to the contents of the aforementioned embodiment and will not be described again here.
[0072] Step S340: If the target duration is greater than or equal to the first duration, and the target duration is less than a second duration, reducing the display brightness of the screen, and the second duration is greater than the first duration.
[0073] In the embodiment of the present application, after obtaining the target duration of the electronic device being in an unused state, it can be determined whether the target duration is less than the first duration; when the target duration of the electronic device being in an unused state is greater than or equal to the first duration, it can be further determined whether the target duration is less than the second duration; if the target duration is less than the second duration, it means that the user has not used the electronic device for a relatively long time, but it may also be that the user has left for a short time at this time, and he may use the electronic device again at any time. In this case, the display brightness of the screen can be reduced, thereby further improving the aging of screen pixels and screen burn-in. Among them, the second duration is greater than the first duration, and the specific value of the second duration may not be limited. It can be understood that after the electronic device is in an unused state, when the duration of its unused state does not reach the first duration, the pixel points of the target area can be moved to improve the problem of pixel aging and screen burn-in, and when the duration of the unused state reaches the first duration but does not reach the second duration, the brightness of the display screen can be reduced to further improve the aging of screen pixels and screen burn-in.
[0074] In some embodiments, when the duration of the electronic device being in an unused state is greater than or equal to the first duration, and the target duration is less than the second duration, reducing the display brightness of the screen may include: if the target duration is greater than or equal to the first duration, and the target duration is less than the second duration, controlling the display brightness of the screen to gradually decrease as the target duration increases. In this embodiment, when the above target duration reaches the first duration but does not reach the second duration, the display brightness may be controlled to gradually decrease. Optionally, the display brightness may be reduced once every set duration (for example, every 2 seconds), and the amount of brightness reduction may be preset.
[0075] In some embodiments, when the duration of the electronic device being in an unused state is greater than or equal to the first duration, and the target duration is less than the second duration, it can also be determined whether the target duration is greater than a third duration, and the third duration is less than the second duration and greater than the first duration, that is, the third duration is between the first duration and the second duration; if the target duration is less than the third duration, the brightness of the target area can be reduced; and if the target duration is greater than or equal to the third duration, and the target duration is less than the second duration, the overall brightness of the display screen can be reduced. It can be understood that when the target duration reaches the first duration but does not reach the second duration, when reducing the display brightness of the screen, the brightness of the above-mentioned target area can be reduced first, that is, when the target duration reaches the first duration but does not reach the third duration, the brightness of the target area is reduced; and when the target duration reaches the third duration but does not reach the second duration, the overall brightness of the display screen can be reduced, thereby reducing the display brightness of the screen in stages, which can better improve the aging of screen pixels and screen burn-in.
[0076] As a possible implementation, when the electronic device reduces the brightness of the target area, it can also control the brightness of the target area to gradually decrease as the target duration increases; when the electronic device reduces the overall brightness of the display image of the screen, it can also control the overall brightness of the display image to gradually decrease as the target duration increases. Thus, when the brightness of the target area is reduced and the overall brightness of the display image is reduced, the brightness can be reduced in a gradual process, which can better improve the aging of screen pixels and screen burn-in.
[0077] Step S350: If the target duration is greater than or equal to the second duration, control the screen to be in an off state.
[0078] In the embodiment of the present application, after obtaining the target duration of the electronic device being in an unused state, it can be determined whether the target duration is less than the first duration; when the target duration of the electronic device being in an unused state is greater than or equal to the first duration, it can be further determined whether the target duration is less than the second duration; if the target duration is greater than or equal to the second duration, it means that the user has not used the electronic device for a very long time, and the possibility of the user leaving for a short time is not great. At this time, the screen is in a bright state for a long time, which increases the possibility of screen pixel aging and screen burn-in. Therefore, in this case, the screen can be controlled to be in an off state, which can better protect the screen while reducing the power consumption of the electronic device.
[0079] It can be understood that when the electronic device is in the screen-on state and not in use, it can keep timing the above-mentioned target duration and continuously repeat the above-mentioned steps to determine the relationship between the target duration and the above-mentioned first duration and second duration, and perform different processing according to the determination result.
[0080] The screen control method provided in the embodiment of the present application controls the movement of an area with higher contrast when the electronic device is not in use for a period of time that is less than a first period of time, so that the pixel aging of the area with higher contrast can be distributed to other areas, delaying the aging of the pixels of the screen, and improving the afterimage to a certain extent, thereby enhancing the display effect; when the target time reaches the first time of time but does not reach the second time of time, the brightness of the screen is reduced, and when the target time reaches the second time of time, the screen is controlled to turn off, thereby better controlling the display of the screen and improving the aging and burn-in problems of the pixels of the screen.
[0081] See also Fig.11 , which shows a structural block diagram of a screen control device 400 provided in an embodiment of the present application. The screen control device 400 applies the above-mentioned electronic device, and the electronic device includes a screen. The screen control device 400 includes: a state acquisition module 410, a duration acquisition module 420 and a pixel movement module 430. Among them, the state acquisition module 410 is used to obtain the device state data of the electronic device when the screen is in a bright screen state; the duration acquisition module 420 is used to obtain the duration of the electronic device in the unused state as the target duration if it is determined based on the device state data that the electronic device is in an unused state; the pixel movement module 430 is used to control the pixel points of the target area in the display picture of the screen to move if the target duration is less than the first duration, and the contrast of the target area is greater than the preset contrast.
[0082] In some embodiments, the pixel movement module 430 can be specifically used to: obtain an area with a contrast greater than a preset contrast from the display image of the screen as a target area; determine the movement amount of the target area to be moved as a target movement amount based on the resolution of the screen and the direction in which the target area is to be moved; and move the pixel points of the target area by the target movement amount in the direction.
[0083] As a possible implementation, the pixel movement module 430 determines the movement amount of the target area to be moved as the target movement amount based on the resolution of the screen and the direction in which the target area is to be moved, which may include: determining the number of column pixels of the screen as the first number and the number of row pixels of the screen as the second number based on the resolution of the screen; if the direction in which the target area is to be moved is the row direction, determining the movement amount of the target area to be moved as the target movement amount based on a preset offset ratio and the first number; if the direction in which the target area is to be moved is the column direction, determining the movement amount of the target area to be moved as the target movement amount based on the preset offset ratio and the second number.
[0084] In some embodiments, the screen control device 400 includes: a brightness adjustment module. The brightness adjustment module is used to reduce the display brightness of the screen after determining that the electronic device is in an unused state based on the device state data and obtaining the duration of the electronic device being in an unused state as a target duration, if the target duration is greater than or equal to the first duration and the target duration is less than a second duration, and the second duration is greater than the first duration.
[0085] As a possible implementation, the brightness adjustment module may be specifically used to: if the target duration is greater than or equal to the first duration, and the target duration is less than the second duration, control the display brightness of the screen to gradually decrease as the target duration increases.
[0086] As a possible implementation, the brightness adjustment module can be specifically used to: if the target duration is greater than or equal to the first duration, and the target duration is less than a third duration, reduce the brightness of the target area, and the third duration is less than the second duration and greater than the first duration; if the target duration is greater than or equal to the third duration, and the target duration is less than the second duration, reduce the overall brightness of the display screen.
[0087] As a possible implementation, the screen control device 400 may further include: a screen-off module. The screen-off module is used to control the screen to be in an off state if the target duration is greater than or equal to the second duration after the electronic device is determined to be in an unused state based on the device state data and the duration of the unused state of the electronic device is obtained as the target duration.
[0088] In some embodiments, the screen control device 400 may further include a state determination module. The state determination module is used to determine whether the electronic device is in an unused state based on at least one of the data of the application processor, the image data captured by the camera, and the touch data of the screen before obtaining the duration of the unused state of the electronic device as the target duration if the electronic device is determined to be in an unused state based on the device state data.
[0089] As a possible implementation, the state determination module can be used to: determine the touch feature value of the touch data based on the touch data of the screen; if the touch feature value does not meet the feature value corresponding to the click operation or the sliding operation, determine that the electronic device is in an unused state.
[0090] As a possible implementation, the status determination module can be used to: determine whether the picture displayed on the screen is a static picture or a repeatedly displayed picture based on the data of the application processor; if the picture displayed on the screen is a static picture or a repeatedly displayed picture, determine that the electronic device is in an unused state.
[0091] As a possible implementation, the state determination module can be used to: determine, based on the touch data of the screen, whether the characteristic value corresponding to the touch data satisfies the characteristic value corresponding to a click operation or a sliding operation; if the characteristic value corresponding to the touch data does not satisfy the characteristic value corresponding to the click operation or the sliding operation, determine, based on the data of the application processor, whether the picture displayed on the screen is a repeatedly looped display picture; if the picture displayed on the screen is a repeatedly looped display picture, determine, based on the image data taken by the camera, whether the image captured by the camera contains a face, and determine, based on the touch data, that the electronic device is in a held state; if the image captured by the camera does not contain a face and the electronic device is not in a held state, determine that the electronic device is in an unused state.
[0092] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the above-described devices and modules can refer to the corresponding processes in the aforementioned method embodiments, and will not be repeated here.
[0093] In several embodiments provided in the present application, the coupling between modules may be electrical, mechanical or other forms of coupling.
[0094] In addition, each functional module in each embodiment of the present application can be integrated into a processing module, or each module can exist physically separately, or two or more modules can be integrated into one module. The above integrated modules can be implemented in the form of hardware or software functional modules.
[0095] In summary, the solution provided by the present application is to obtain the device status data of the electronic device when the screen is in the bright screen state, and if it is determined based on the device status data that the electronic device is in an unused state, obtain the duration of the electronic device in the unused state as the target duration, and if the target duration is less than the first duration, control the movement of the pixels of the target area with a contrast greater than the preset contrast in the display image of the screen. Thus, when the duration of the electronic device in the unused state is less than the first duration, the area with a higher contrast is controlled to move, and the pixel aging of the area with a higher contrast can be distributed to other areas, delaying the aging of the pixels of the screen, and improving the residual image to a certain extent, thereby improving the display effect.
[0096] Please refer to Fig.12, which shows a structural block diagram of an electronic device provided in an embodiment of the present application. The electronic device 100 may be an electronic device capable of running applications, such as a smart phone, a tablet computer, a smart watch, a laptop computer, etc. The electronic device 100 in the present application may include one or more of the following components: a processor 110, a memory 120, and one or more applications, wherein the one or more applications may be stored in the memory 120 and configured to be executed by one or more processors 110, and the one or more programs are configured to execute the method described in the aforementioned method embodiment.
[0097] The processor 110 may include one or more processing cores. The processor 110 uses various interfaces and lines to connect various parts of the entire electronic device 100, and executes various functions and processes data of the electronic device 100 by running or executing instructions, programs, code sets or instruction sets stored in the memory 120, and calling data stored in the memory 120. Optionally, the processor 110 can be implemented in at least one hardware form of digital signal processing (DSP), field-programmable gate array (FPGA), and programmable logic array (PLA). The processor 110 can integrate one or a combination of a central processing unit (CPU), a graphics processing unit (GPU), and a modem. Among them, the CPU mainly processes the operating system, user interface, and application programs; the GPU is responsible for rendering and drawing display content; and the modem is used to process wireless communications. It can be understood that the above-mentioned modem may not be integrated into the processor 110, but may be implemented separately through a communication chip.
[0098] The memory 120 may include a random access memory (RAM) or a read-only memory (ROM). The memory 120 may be used to store instructions, programs, codes, code sets or instruction sets. The memory 120 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for implementing at least one function (such as a touch function, a sound playback function, an image playback function, etc.), instructions for implementing the following various method embodiments, etc. The data storage area may also store data (such as a phone book, audio and video data, chat record data) created by the electronic device 100 during use.
[0099] Please refer to Fig.13 , which shows a structural block diagram of a computer-readable storage medium provided in an embodiment of the present application. The computer-readable medium 800 stores program codes, which can be called by a processor to execute the method described in the above method embodiment.
[0100] The computer readable storage medium 800 may be an electronic memory such as a flash memory, an EEPROM (electrically erasable programmable read-only memory), an EPROM, a hard disk, or a ROM. Optionally, the computer readable storage medium 800 includes a non-transitory computer-readable storage medium. The computer readable storage medium 800 has storage space for program code 810 that performs any method step in the above method. These program codes can be read from or written to one or more computer program products. The program code 810 can be compressed, for example, in an appropriate form.
[0101] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit it. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present application.
Claims
1. A screen control method, characterized in that: Applied to an electronic device, the electronic device includes a screen, and the method includes: When the screen is in a light-on state, acquiring device status data of the electronic device, the device status data including touch data of the screen, data of the application processor, and images captured by a camera; Based on the touch data of the screen, determining whether a characteristic value corresponding to the touch data satisfies a characteristic value corresponding to a click operation or a slide operation; if the characteristic value corresponding to the touch data does not satisfy the characteristic value corresponding to the click operation or the slide operation, determining whether a picture displayed on the screen is a repeated cycle display picture based on the data of the application processor; If the screen displays a picture that is repeatedly cycled, and the number of cycles exceeds ≥ N, determining whether the image captured by the camera includes a face based on the image data captured by the camera, and determining that the electronic device is in a holding state based on the touch data; If the image captured by the camera does not contain a human face and the electronic device is not in a held state, determining that the electronic device is in an unused state; If it is determined based on the device status data that the electronic device is in an unused state, obtaining a time duration that the electronic device is in an unused state as a target time duration; If the target duration is less than the first duration, the pixel points of the target area in the display image of the screen are controlled to move, and the contrast of the target area is greater than the preset contrast.
2. The method according to claim 1, characterized in that The controlling the pixel points of the target area in the display image of the screen to move includes: From the display image of the screen, an area with a contrast greater than a preset contrast is obtained as a target area; Based on the resolution of the screen and the direction in which the target area is to be moved, determining a movement amount of the target area to be moved as a target movement amount; Move the pixels of the target area in the direction by the target movement amount.
3. The method according to claim 2, characterized in that The step of determining, based on the resolution of the screen and the direction in which the target area is to be moved, a movement amount of the target area to be moved as a target movement amount comprises: Based on the resolution of the screen, determining the number of column pixels of the screen as a first number and the number of row pixels of the screen as a second number; If the direction in which the target area is to be moved is a row direction, determining a movement amount of the target area to be moved as a target movement amount based on a preset offset ratio and the first amount; If the direction in which the target area is to be moved is a column direction, a movement amount of the target area is determined as a target movement amount based on the preset offset ratio and the second amount.
4. The method according to claim 1, characterized in that: After determining that the electronic device is in an unused state based on the device state data and obtaining the duration of the electronic device being in an unused state as the target duration, the method further includes: If the target duration is greater than or equal to the first duration and the target duration is less than a second duration, the display brightness of the screen is reduced, and the second duration is greater than the first duration.
5. The method according to claim 4, characterized in that If the target duration is greater than or equal to the first duration, and the target duration is less than the second duration, reducing the display brightness of the screen includes: If the target duration is greater than or equal to the first duration, and the target duration is less than the second duration, the display brightness of the screen is controlled to gradually decrease as the target duration increases.
6. The method according to claim 4, characterized in that If the target duration is greater than or equal to the first duration, and the target duration is less than the second duration, reducing the display brightness of the screen includes: If the target duration is greater than or equal to the first duration, and the target duration is less than a third duration, reducing the brightness of the target area, and the third duration is less than the second duration and greater than the first duration; If the target duration is greater than or equal to the third duration, and the target duration is less than the second duration, the overall brightness of the display image is reduced.
7. The method according to claim 4, characterized in that After determining that the electronic device is in an unused state based on the device state data and obtaining the duration of the electronic device being in an unused state as the target duration, the method further includes: If the target duration is greater than or equal to the second duration, the screen is controlled to be in an off state.
8. A screen control device, characterized in that: Applied to an electronic device, the electronic device includes a screen, the device includes: a state acquisition module, a state determination module, a duration acquisition module and a pixel movement module, wherein: The state acquisition module is used to acquire device state data of the electronic device when the screen is in a bright screen state, wherein the device state data includes touch data of the screen, data of the application processor, and images captured by the camera; The state determination module is used to determine, based on the touch data of the screen, whether the characteristic value corresponding to the touch data satisfies the characteristic value corresponding to the click operation or the sliding operation; if the characteristic value corresponding to the touch data does not satisfy the characteristic value corresponding to the click operation or the sliding operation, determine, based on the data of the application processor, whether the picture displayed on the screen is a repeatedly cycled display picture; if the picture displayed on the screen is a repeatedly cycled display picture, and the number of cycles exceeds ≥N, determine, based on the image data captured by the camera, whether the image collected by the camera contains a human face, and determine, based on the touch data, that the electronic device is in a held state; if the image collected by the camera does not contain a human face and the electronic device is not in a held state, determine that the electronic device is in an unused state; The duration acquisition module is used for acquiring the duration of the electronic device being in the unused state as the target duration if it is determined based on the device state data that the electronic device is in the unused state; The pixel movement module is used to control the movement of pixel points of a target area in the display image of the screen if the target duration is less than the first duration, and the contrast of the target area is greater than a preset contrast.
9. An electronic device, characterized in that: include: one or more processors; Memory; One or more application programs, wherein the one or more application programs are stored in the memory and configured to be executed by the one or more processors, and the one or more programs are configured to execute the method according to any one of claims 1-7.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores program codes, which can be called by a processor to execute the method according to any one of claims 1 to 7.
Citation Information
Patent Citations
Screen locking method and terminal
CN106020428A
Display method and terminal
CN106601189A
Intelligent tablet computer control method and device, intelligent tablet computer and storage medium
CN107844248A
Terminal screen energy-saving display method, terminal and computer-readable storage medium
CN108958454A
Display driving method and system for relieving display ghosting
CN111105764A