Screen display method and device, storage medium and display device
By dividing the screen into regions and dynamically adjusting the refresh rate according to image changes, the problems of increased power consumption and shortened lifespan caused by high refresh rates are solved, achieving the best balance between screen energy consumption and display effect, and extending screen lifespan and battery life.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- HEFEI VISIONOX TECH CO LTD
- Filing Date
- 2025-01-23
- Publication Date
- 2026-04-24
AI Technical Summary
High refresh rate screens lead to increased power consumption and shorter lifespan, and also pose challenges to battery life.
By dividing the screen into regions, the refresh rate is dynamically adjusted according to the changes in the image in each display area. The refresh rate is reduced in unchanged areas and maintained in changed areas, thus achieving the best balance between display effect and power consumption.
While maintaining a smooth visual experience, it reduces energy consumption, extends screen battery life, and slows down the screen aging process.
Smart Images

Figure CN120048206B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of display technology, specifically to a screen display method and apparatus, a storage medium and a display device. Background Technology
[0002] With technological advancements, screens are increasingly moving towards higher refresh rates. Higher refresh rates offer a smoother user experience and better visual effects, helping to reduce eye strain. However, they also accelerate screen aging, shortening its lifespan. Furthermore, high refresh rate screens require more energy to maintain frequent image updates, leading to increased device power consumption and posing a challenge to battery life. Summary of the Invention
[0003] This application provides a screen display method and apparatus, a storage medium and a display device, for reducing screen power consumption and extending screen lifespan.
[0004] In a first aspect, one embodiment of this application provides a screen display method, including: dividing a target display screen to obtain multiple display areas in the target display screen; determining whether the current image of each of the multiple display areas has changed; and determining the refresh rate of the display area based on the change of the current image of each display area.
[0005] In conjunction with the first aspect, in some implementations of the first aspect, the refresh rate of the display area is determined based on the changes in the current image of each display area, including: recording the number of times the current image of the display area remains unchanged when the current image of the display area does not change; and determining the refresh rate of each of the multiple display areas based on the number of times the current image of the display area remains unchanged.
[0006] In conjunction with the first aspect, in certain implementations of the first aspect, determining the refresh rate of multiple display areas based on the number of times the current image of the display area remains unchanged includes: determining a refresh rate adjustment factor; if the remainder when the number of times the current image of the display area remains unchanged is divided by the refresh rate adjustment factor is zero, then the current image of the display area is refreshed; if the remainder when the number of times the current image of the display area remains unchanged is divided by the refresh rate adjustment factor is not zero, then the current image of the display area is not refreshed; determining the refresh rate of the display area based on the number of refreshes and non-refreshes within a target time period; preferably, determining the refresh rate adjustment factor includes: determining the counting interval corresponding to the number of times the current image of the display area remains unchanged; determining the refresh rate adjustment factor based on the counting interval corresponding to the number of times the current image of the display area remains unchanged; wherein, the refresh rate adjustment factor increases as the upper limit of the counting interval increases.
[0007] In conjunction with the first aspect, in some implementations of the first aspect, determining whether the current image of each of the multiple display areas has changed includes: acquiring image data of the current image of each display area; acquiring image data of the historical image corresponding to the current image of each display area, preferably, the historical image is the previous frame image corresponding to the current image; if the image data of the current image and the image data of the historical image are different, then determining that the current image of each display area has changed; preferably, before determining that the current image of each display area has changed if the image data of the current image and the image data of the historical image are different, the method further includes: determining whether the image data of the current image and the image data of the historical image are the same based on a secure hash algorithm and / or cyclic redundancy check.
[0008] In conjunction with the first aspect, in some implementations of the first aspect, the refresh rate of the display area is determined according to the changes in the current image of each display area, including: when the current image of the display area changes, setting the refresh indicator corresponding to the current image of the display area to zero; and refreshing the current image of the display area where the refresh indicator is zero at the base refresh rate.
[0009] In conjunction with the first aspect, in some implementations of the first aspect, the refresh indicator R corresponding to the current image frame of the display area is R = N%K; where N represents the number of times the current image frame of the display area remains unchanged, and K represents the refresh rate adjustment factor. If the value of the refresh indicator R is zero, the current image frame of the display area is refreshed; if the value of the refresh indicator R is not zero, the current image frame of the display area is not refreshed. Preferably, Among them, K1 <K2<…<K i Preferably, R = 0 when the current image in the display area changes.
[0010] In conjunction with the first aspect, in some implementations of the first aspect, the target display screen is divided to obtain multiple display areas in the target display screen, including: dividing the target display screen based on a pixel size of w*h to obtain multiple display areas of a pixel size of w*h, wherein each display area does not overlap; wherein 1≤w≤W, 1≤h≤H, and W and H are the width and length of the target display screen, respectively.
[0011] Secondly, one embodiment of this application provides a screen display device, including: a division module for dividing a target display screen to obtain multiple display areas in the target display screen; a determination module for determining whether the current image of each of the multiple display areas has changed; and a refresh module for determining the refresh rate of the display area when the current image of the display area has not changed.
[0012] Thirdly, one embodiment of this application provides a computer-readable storage medium storing a computer program for performing the screen display method described in the first aspect.
[0013] Fourthly, one embodiment of this application provides a display device, the display device comprising: a processor; a memory for storing processor-executable instructions; the processor being configured to execute the screen display method described in the first aspect.
[0014] This application allows for dynamic adjustment of the refresh rate for different areas of the screen based on content changes. This means that while maintaining a smooth visual experience, a lower refresh rate can be used for static content, while dynamic content is refreshed at the original refresh rate, achieving an optimal balance between display quality and power consumption. Specifically, it detects whether the image in each display area has changed. If a change has occurred, the refresh rate remains unchanged, while for areas where the image has not changed, the refresh rate is reduced, thereby reducing power consumption, extending the screen's battery life, and slowing down the screen aging process. Attached Figure Description
[0015] The above and other objects, features, and advantages of this application will become more apparent from the more detailed description of the embodiments of this application in conjunction with the accompanying drawings. The drawings are provided to further illustrate the embodiments of this application and form part of the specification. They are used together with the embodiments of this application to explain this application and do not constitute a limitation thereof. In the drawings, the same reference numerals generally represent the same components or steps.
[0016] Figure 1 The diagram shown is a flowchart of a screen display method provided in an embodiment of this application.
[0017] Figure 2 The diagram shown is a flowchart illustrating the process of determining the refresh rate of a display area according to an embodiment of this application.
[0018] Figure 3 The diagram shown is a schematic diagram of dividing a target display screen according to an embodiment of this application.
[0019] Figure 4 The diagram shown is a flowchart illustrating the process of determining the refresh rate of a display area according to an embodiment of this application.
[0020] Figure 5 The diagram shown is a flowchart illustrating the process of determining the refresh rate of multiple display areas according to an embodiment of this application.
[0021] Figure 6 The diagram shown is a flowchart illustrating the process of determining the refresh rate adjustment factor according to an embodiment of this application.
[0022] Figure 7 The diagram shown is a flowchart illustrating the process of determining whether the current image of the display area has changed, according to an embodiment of this application.
[0023] Figure 8 The diagram shown is a structural schematic of a screen display device provided in an embodiment of this application.
[0024] Figure 9 The diagram shown is a schematic diagram of the structure of a 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, and 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] Figure 1 The diagram shown is a flowchart illustrating a screen display method provided in an embodiment of this application. Figure 1 As shown, the method includes the following steps.
[0027] Step S110: Divide the target display screen to obtain multiple display areas in the target display screen.
[0028] Specifically, the target display screen is divided into multiple smaller display areas. This division allows for independent processing of each display area, rather than applying a uniform processing rule to the entire target display screen's current image. For example, the target display screen can be divided into reasonable areas based on screen hardware characteristics, such as screen resolution, screen size, and the refresh rate range supported by the hardware. Alternatively, the target display screen can be divided based on the type of content displayed on the screen, such as text, images, or videos.
[0029] Step S120: Determine whether the current image of each of the multiple display areas has changed.
[0030] Specifically, two consecutive images of the same display area are compared to determine whether the current image of that display area has changed.
[0031] In one example, image data is extracted from two consecutive images of the same display area. This image data refers to pixel information extracted at a specific moment, specifically including pixel values, color space, texture information, brightness and contrast, spatial location, timestamp, feature descriptions, etc. Pixel values are the most basic form of image data, representing the color and brightness information of each point in the image; color spaces include RGB (red, green, blue) and HSV (hue, saturation, brightness); texture information describes the repeating patterns or structures of regions in the image; spatial location is the position of each pixel in the image (represented by rows and columns); the timestamp indicates the specific time the image was captured; feature descriptions include edges, corners, scale-invariant feature transform (SIFT) or directional fast feature detection, and rotationally robust unique descriptors (ORB).
[0032] Furthermore, change detection algorithms can be used to compare image data of two consecutive images within the same display area. For example, change detection algorithms include pixel-level comparison, threshold comparison, and feature matching. Pixel-level comparison directly compares the pixel value differences between two consecutive images; threshold comparison sets a threshold, and only when the pixel value difference exceeds this threshold is a change considered to have occurred; feature matching extracts key points and descriptors, and identifies changes between two consecutive images by matching these features. For instance, after obtaining the difference between two consecutive images, if the difference exceeds the threshold, the current image in the display area is considered to have changed. Then, the change detection result is output, which includes information such as the position and size of the corresponding display area and the degree of change in the current display image.
[0033] Step S130: Determine the refresh rate of the display area based on the changes in the current image of each display area.
[0034] Refresh rate refers to the number of times a display screen updates its image per unit of time, usually expressed in Hertz (Hz). Changes in the current image can be categorized into two scenarios: the current image changes, and the current image remains unchanged.
[0035] For example, in a real-world scenario, if it is determined that the current image in the display area has not changed, the refresh rate of that display area can be reduced. For instance, if the base refresh rate of the display area is 120Hz, the refresh rate can be reduced to 60Hz or lower for display areas where the image has not changed. If it is determined that the current image has changed, the original refresh rate of the display area can be maintained.
[0036] Furthermore, it should be noted that the refresh rate adjustment is dynamic. That is, between consecutive image frames, whenever a change in the image frame of the displayed area is detected, the refresh rate of that area may be readjusted. When adjusting the refresh rate, a smooth transition technique can be used to avoid display flickering or other visual artifacts caused by sudden refresh rate changes.
[0037] This embodiment allows for dynamic adjustment of the refresh rate for different areas of the screen based on content changes. This means that while maintaining a smooth visual experience, a lower refresh rate can be used for static content, while dynamic content is refreshed at the original refresh rate, achieving an optimal balance between display quality and power consumption. Specifically, it detects whether the image in each display area has changed. If a change has occurred, the refresh rate remains unchanged, while for areas where the image has not changed, the refresh rate is reduced, thereby reducing power consumption, extending the screen's battery life, and slowing down the screen aging process.
[0038] Figure 2 The diagram shown is a flowchart illustrating the process of determining the refresh rate of a display area according to an embodiment of this application. Figure 1 Extending from the illustrated embodiment Figure 2 The illustrated embodiment will be described in detail below. Figure 2 The illustrated embodiments and Figure 1 The differences between the embodiments shown are not repeated here, and the similarities are not repeated here.
[0039] like Figure 2 As shown, the refresh rate of the display area is determined based on the changes in the current image frame of each display area, including:
[0040] Step S210: If the current image of the display area changes, the refresh indicator corresponding to the current image of the display area is set to zero.
[0041] A refresh indicator of zero means that there is an internal counter or indicator that tracks the refresh status of the display area. If the current image in the display area changes, the value of the counter for that area is set to zero, indicating that the display area needs to be refreshed at the base refresh rate.
[0042] Step S220: Refresh the current image in the display area where the refresh indicator is zero at the base refresh rate.
[0043] The base refresh rate refers to the number of times per second that the target display screen refreshes its displayed content under normal operating conditions. The unit of refresh rate is Hertz (Hz), for example, a 120Hz refresh rate means that the screen refreshes 120 times per second.
[0044] In this embodiment, when the refresh indicator value is zero, it means that the display area needs to refresh the current image once according to the base refresh rate to ensure that the displayed content is up-to-date, or to maintain the continuity and stability of the displayed content.
[0045] In this embodiment, for display areas where the image changes, refreshing at the base refresh rate ensures that the image within the display area is always up-to-date, thus providing a clearer and smoother display effect. Secondly, the method of refreshing when the refresh indicator is zero, along with refreshing the current image of the display area when there is no change, and refreshing the current image of the display area when the remainder of the number of times the current image of the display area remains unchanged divided by the refresh rate adjustment factor is zero, thus adjusting the refresh rate of the display area, logically forms a closed loop. That is, by using the zero marker, both refreshing the display area at the base refresh rate when changes occur, and adjusting the refresh rate of the display area when there are no changes, are achieved.
[0046] Combination Figure 1 In the embodiments shown, in other embodiments of this application, the target display screen is divided to obtain multiple display areas in the target display screen, including: dividing the target display screen based on a pixel size of w*h to obtain multiple display areas with a pixel size of w*h.
[0047] Specifically, 1 ≤ w ≤ W, 1 ≤ h ≤ H, where W and H are the width and length of the target display screen, respectively. Using this partitioning method, the screen is divided into several small regions with the same pixel size, and the set of these small regions covers the entire screen. Furthermore, there is no overlap between the resulting small regions; that is, their pixels are not shared, and each pixel belongs to only one specific small region.
[0048] Figure 3 The diagram shown is a schematic representation of dividing a target display screen according to an embodiment of this application. Figure 3 As shown, the pixel size of each display area is the same, and there is no overlap between the display areas.
[0049] In this embodiment, display areas of the same size facilitate unified management and scheduling, simplifying the design and implementation of screen display control algorithms, allocating screen resources more fairly, and avoiding uneven display caused by differences in the size of certain areas. Simultaneously, it ensures uniform refresh rate and improves refresh performance when the current image in a display area changes. Furthermore, non-overlapping display areas allow for precise control of each area, including brightness adjustment, color management, and refresh rate settings, without affecting other areas. This ensures that the displayed content is visually clear and distinct, avoiding visual confusion or interference that may be caused by overlapping areas.
[0050] Figure 4 The diagram shown is a flowchart illustrating the process of determining the refresh rate of a display area according to an embodiment of this application. Figure 1 Extending from the illustrated embodiment Figure 4 The illustrated embodiment will be described in detail below. Figure 4 The illustrated embodiments and Figure 1 The differences between the embodiments shown are not repeated here, and the similarities are not repeated here.
[0051] like Figure 4 As shown, in this embodiment, the refresh rate of the display area is determined based on the changes in the current image of each display area, including the following steps.
[0052] Step S410: Record the number of times the current image in the display area remains unchanged when the current image in the display area does not change.
[0053] Specifically, a counter is set up for the number of times the image in each display area remains unchanged, with an initial value of 0. During image display, the image in each display area is continuously monitored. Whenever it is detected that the current image in the display area is the same as a historical image, i.e., no change has occurred, the counter is incremented by 1. If a change occurs, the counter value is set to 0, and the counting restarts.
[0054] For example, suppose there is a display area with a base refresh rate of 120Hz. At time t1, the current image of the display area is the same as the historical image, and the counter increments by 1, so the counter value is 1. At time t2, the current image of the display area is also the same as the historical image, and the counter increments by 1, so the counter value is 2. At time t3, the current image of the display area is also the same as the historical image, and the counter increments by 1, so the counter value is 3. At time t4, the current image of the display area is different from the historical image, and the counter resets to 0. At time t5, the current image of the display area is the same as the historical image, and the counter increments by 1, so the counter value is 1. At time t6, the current image of the display area is the same as the historical image, and the counter increments by 1, so the counter value is 2.
[0055] Step S420: Determine the refresh rate of each of the multiple display areas based on the number of times the current image in the display area remains unchanged.
[0056] In this step, the refresh rate is adjusted based on the number of times no change is recorded in step S410.
[0057] For example, a threshold can be set, and when the number of times the image remains unchanged reaches this threshold, the refresh rate of the display area can be automatically reduced. Conversely, if the image in the display area changes frequently, the refresh rate can be increased to maintain image smoothness and responsiveness. For example, a threshold of 3 means that when the image remains unchanged for at least 3 consecutive times, the refresh rate of the display area can be reduced, for example, from 120Hz to 60Hz.
[0058] In this embodiment, the refresh rate is optimized based on the actual changes in the displayed content to improve overall display efficiency. Specifically, by reducing the refresh rate of display areas that have not changed for a long time, unnecessary power consumption and visual interference can be reduced. This method can adapt to different display content and usage scenarios, providing more flexible display management.
[0059] Figure 5 The diagram shown is a flowchart illustrating the process of determining the refresh rate of multiple display areas according to an embodiment of this application. Figure 4 Extending from the illustrated embodiment Figure 5 The illustrated embodiment will be described in detail below. Figure 5 The illustrated embodiments and Figure 4 The differences between the embodiments shown are not repeated here, and the similarities are not repeated here.
[0060] like Figure 5 As shown, in this embodiment, the refresh rate of each of the multiple display areas is determined based on the number of times the current image of the display area remains unchanged, including the following steps.
[0061] Step S510: Determine the refresh rate adjustment factor.
[0062] The refresh rate adjustment factor is used to calculate when to refresh the image in the display area. This adjustment factor can be a fixed value or a value dynamically calculated based on certain conditions (such as the type of content displayed, user interaction, energy efficiency optimization goals, etc.).
[0063] Step S520: If the remainder of the number of times the current image of the display area remains unchanged divided by the refresh rate adjustment factor is zero, then the current image of the display area is refreshed.
[0064] In other words, the decision to refresh the image is based on the number of times the image remains unchanged and the calculation result of the refresh rate adjustment factor.
[0065] Step S530: If the remainder of the number of times the current image of the display area remains unchanged divided by the refresh rate adjustment factor is not zero, then the current image of the display area will not be refreshed.
[0066] In other words, if the remainder when the number of unchanged events is divided by the refresh rate adjustment factor is not zero, then the refresh will be skipped, thereby reducing unnecessary refreshes and lowering energy consumption.
[0067] In some embodiments, the refresh indicator is R, where R = N%K. Here, % represents the remainder when N is divided by K, N represents the number of times the current image in the display area remains unchanged, and K represents the refresh rate adjustment factor. If the value of the refresh indicator R is zero, the current image in the display area is refreshed; if the value of the refresh indicator R is not zero, the current image in the display area is not refreshed.
[0068] Step S540: Determine the refresh rate of the display area based on the number of refreshes and non-refreshes within the target time period.
[0069] Specifically, the number of times the screen refreshed and did not refresh within the target time period is counted. Based on this statistical data, the average refresh rate can be calculated, and the refresh rate of the display area can be adjusted accordingly.
[0070] For example, assume the refresh rate adjustment factor is 5 and the base refresh rate is 120 times / second. If at a certain time point, the cumulative number of times the current image in a certain display area remains unchanged is 20 (20 is a multiple of 5, i.e., the remainder when 20 is divided by 5 is 0), then according to step S520, the display area can be refreshed. If at the next time point, the cumulative number of times the current image in that display area remains unchanged is 21 (the remainder when 21 is divided by 5 is not 0), then according to step S530, we do not refresh the display area.
[0071] Assuming the target time is 1 second, the number of times the image remains unchanged within this second is recorded 120 times. Since the refresh rate adjustment factor is 5, 24 of these 120 times (120 divided by 5) have a remainder of 0, meaning there will be 24 refreshes within this second. The remaining 96 times do not meet the refresh condition and therefore do not refresh. In this example, the refresh rate is 24 times / 1 second.
[0072] In this embodiment, by intelligently determining when to refresh the display area, unnecessary screen refresh operations can be significantly reduced, thereby lowering energy consumption. This method allows the display system to dynamically adjust the refresh rate based on changes in the current image, rather than operating at a fixed maximum refresh rate, thus adapting to different display content and usage scenarios.
[0073] Figure 6 The diagram shown is a flowchart illustrating the process of determining the refresh rate adjustment factor according to an embodiment of this application. Figure 5 Extending from the illustrated embodiment Figure 6 The illustrated embodiment will be described in detail below. Figure 6 The illustrated embodiments and Figure 5 The differences between the embodiments shown are not repeated here, and the similarities are not repeated here.
[0074] like Figure 6 As shown, in this embodiment, determining the refresh rate adjustment factor includes the following steps.
[0075] Step S610: Determine the counting interval corresponding to the number of times the current image in the display area remains unchanged.
[0076] For example, multiple counting intervals are defined as (0, N1], (N1, N2], ..., (N... i-1 N i ]wait.
[0077] Step S620: Determine the refresh rate adjustment factor based on the count interval corresponding to the number of times the current image in the display area remains unchanged.
[0078] In some embodiments, Among them, K1 <K2<…<K i That is, as the counting interval (N) increases... i-1 N i As K increases i It is also increasing.
[0079] In other words, the larger the maximum value of the counting interval, the larger the refresh rate adjustment factor; the smaller the maximum value of the counting interval, the smaller the refresh rate adjustment factor. It's understandable that a larger counting interval means the image hasn't changed for a long time, so frequent refreshes aren't needed, resulting in a larger refresh rate adjustment factor; conversely, a smaller counting interval requires more frequent refreshes, leading to a smaller refresh rate adjustment factor.
[0080] Based on the description in the foregoing embodiments, the refresh indicator
[0081] Assume K1 = 2 and K2 = 3. From this formula, we know that when R equals 0, the current display area is refreshed. 2 represents the refresh rate adjustment factor within the interval (0, N1], and 3 represents the refresh rate adjustment factor within the interval (N1, N2]. If the value of N%2 is zero, then the current image in the display area corresponding to N is refreshed.
[0082] In this embodiment, the refresh rate adjustment factor increases with the upper limit of the counting interval. This method can adaptively adjust the refresh rate to respond to changes in the displayed content. When the image remains unchanged for a long time, the counting interval is large, and the corresponding refresh rate adjustment factor is also large, thereby reducing the refresh frequency, reducing unnecessary power consumption and unnecessary screen refreshes, thus alleviating the burden on the display hardware and improving the overall system performance. In addition, by avoiding unnecessary refreshes, screen flicker and image tearing can be reduced, providing a smoother and more comfortable visual experience. Furthermore, reducing the screen refresh rate can reduce physical wear and tear on the display device and extend its lifespan.
[0083] Figure 7 The diagram shown is a flowchart illustrating a process for determining whether the current image in a display area has changed, according to an embodiment of this application. Figure 1 Extending from the illustrated embodiment Figure 7 The illustrated embodiment will be described in detail below. Figure 7 The illustrated embodiments and Figure 1 The differences between the embodiments shown are not repeated here, and the similarities are not repeated here.
[0084] like Figure 7 As shown, in this embodiment, determining whether the current image of each of the multiple display areas has changed includes the following steps.
[0085] Step S710: Obtain the image data of the current image frame for each display area.
[0086] Step S720: Obtain the image data of the historical image corresponding to the current image of each display area.
[0087] Specifically, the historical image is the previous frame of the image corresponding to the current image.
[0088] In one example, the image data of the current image in the same display area can be directly compared with the image data of its corresponding historical image.
[0089] In another example, based on a Secure Hash Algorithm (SHA) and / or Cyclic Redundancy Check (CRC), a checksum corresponding to the image data of the current image frame in the display area is calculated, and the checksums corresponding to the image data of historical image frames in the same display area are obtained. The checksums of the current image frame and the historical image frames are then compared. This method ensures the accuracy of image data comparison, quickly determines whether the image has changed, and improves processing efficiency.
[0090] For example, checksums also include check codes. A checksum is a simple error detection code generated by adding (and sometimes inverting) certain bits of data, and can be used to detect errors in data transmission. CRC is a division-based checksum algorithm that uses polynomial division to generate a fixed-length binary sequence. CRC is more powerful than a simple checksum, capable of detecting more error types, and has a lower probability of collisions. SHA is a cryptographically secure hash function that can convert input of arbitrary length (such as text or image data) into a fixed-length output (hash value).
[0091] Step S730: If the image data of the current image frame is different from the image data of the historical image frames, then it is determined that the current image frame of each display area has changed.
[0092] Alternatively, if the checksum of the current image data is different from the checksum of the historical image data, then it is determined that the current image of the display area has changed.
[0093] The solution presented in this embodiment can monitor image changes in the display area in real time, reducing the need for manual monitoring, improving efficiency, and lowering labor costs. Compared to complex image processing algorithms, simple image data comparison reduces the consumption of computing resources, making the solution more efficient. Furthermore, this technology is easy to integrate into existing systems.
[0094] Furthermore, in this embodiment, a checksum is calculated using a secure hash algorithm and / or cyclic redundancy check (CRC), and the checksum is used to verify whether the image data in the displayed area has changed. Since the checksum is typically much shorter than the original image data, using a checksum can significantly reduce storage requirements. Secondly, in continuous video streams or image sequences, the image data of the current image frame and historical image frames may have a high degree of similarity; using a checksum can avoid storing a large amount of redundant image data. Additionally, calculating the checksum is faster than loading and processing the entire image file, which can improve the efficiency of detecting changes in image data.
[0095] The above text combined Figures 1 to 7 The present application describes in detail the screen display method embodiments, which are described below in conjunction with... Figure 8 This application provides a detailed description of embodiments of the screen display device. It should be understood that the descriptions of the screen display method embodiments correspond to the descriptions of the screen display device embodiments; therefore, any parts not described in detail can be found in the preceding method embodiments.
[0096] Figure 8 The diagram shown is a structural schematic of a screen display device provided in an embodiment of this application. Figure 8 As shown, the screen display device 80 provided in this application embodiment includes:
[0097] The partitioning module 810 is used to partition the target display screen to obtain multiple display areas in the target display screen;
[0098] The determination module 820 is used to determine whether the current image of each of the multiple display areas has changed;
[0099] The refresh module 830 is used to determine the refresh rate of the display area based on the changes in the current image of each display area.
[0100] In one embodiment of this application, the refresh module 830 is further configured to: record the number of times the current image of the display area remains unchanged when the current image of the display area remains unchanged; and determine the refresh rate of each of the multiple display areas based on the number of times the current image of the display area remains unchanged.
[0101] In one embodiment of this application, the refresh module 830 is further configured to: determine a refresh rate adjustment factor; if the remainder of the number of times the current image of the display area remains unchanged divided by the refresh rate adjustment factor is zero, then the current image of the display area is refreshed; if the remainder of the number of times the current image of the display area remains unchanged divided by the refresh rate adjustment factor is not zero, then the current image of the display area is not refreshed; determine the refresh rate of the display area based on the number of refreshes and non-refreshes within a target time; the refresh module 830 is further configured to: determine the counting interval corresponding to the number of times the current image of the display area remains unchanged; determine the refresh rate adjustment factor based on the counting interval corresponding to the number of times the current image of the display area remains unchanged; wherein, the refresh rate adjustment factor increases as the upper limit of the counting interval increases.
[0102] In one embodiment of this application, the determining module 820 is further configured to: acquire image data of the current image frame of each display area; acquire image data of the historical image frame corresponding to the current image frame of each display area, preferably, the historical image frame is the previous frame image frame corresponding to the current image frame; if the image data of the current image frame and the image data of the historical image frame are different, then it is determined that the current image frame of each display area has changed; preferably, the determining module 820 is further configured to: determine whether the image data of the current image frame and the image data of the historical image frame are the same based on a secure hash algorithm and / or cyclic redundancy check.
[0103] In one embodiment of this application, the refresh module 830 is further configured to, when the current image of the display area changes, set the refresh indicator corresponding to the current image of the display area to zero; and refresh the current image of the display area where the refresh indicator is zero at the base refresh rate.
[0104] In one embodiment of this application, the refresh indicator R corresponding to the current image frame of the display area is R = N%K; where N represents the number of times the current image frame of the display area remains unchanged, and K represents the refresh rate adjustment factor. If the value of the refresh indicator R is zero, the current image frame of the display area is refreshed; if the value of the refresh indicator R is not zero, the current image frame of the display area is not refreshed. Preferably, Among them, K1 <K2<…<K i Preferably, R = 0 when the current image in the display area changes.
[0105] In one embodiment of this application, the partitioning module 810 is further configured to partition the target display screen based on a pixel size of w*h to obtain multiple display areas of pixel size w*h, wherein each display area does not overlap with the others; wherein 1≤w≤W, 1≤h≤H, and W and H are the width and length of the target display screen, respectively.
[0106] Below, for reference Figure 9 This application describes a display device according to embodiments thereof. Figure 9 The diagram shown is a schematic diagram of the structure of a display device provided in an exemplary embodiment of this application.
[0107] like Figure 9 As shown, the display device 90 includes one or more processors 901 and memory 902.
[0108] The processor 901 may be a central processing unit (CPU) or other form of processing unit with data processing capabilities and / or instruction execution capabilities, and may control other components in the display device 90 to perform desired functions.
[0109] The memory 902 may include one or more computer program products, which may include various forms of computer-readable storage media, such as volatile memory and / or non-volatile memory. The volatile memory may include, for example, random access memory (RAM) and / or cache memory. The non-volatile memory may include, for example, read-only memory (ROM), hard disk, flash memory, etc. One or more computer program instructions may be stored on the computer-readable storage medium, and the processor 901 may execute the program instructions to implement the screen display methods of the various embodiments of this application described above and / or other desired functions. The computer-readable storage medium may also store various information such as multiple display areas, refresh rates of the display areas, the number of times the current screen of the display area remains unchanged, and refresh rate adjustment factors.
[0110] In one example, the display device 90 may also include an input device 903 and an output device 904, which are interconnected via a bus system and / or other forms of connection mechanism (not shown).
[0111] The input device 903 may include, for example, a keyboard, a mouse, etc.
[0112] The output device 904 can output various information to the outside, including multiple display areas, the refresh rate of the display areas, the number of times the current screen of the display area has not changed, the refresh rate adjustment factor, etc. The output device 904 may include, for example, a monitor, a speaker, a printer, and a communication network and its connected remote output devices, etc.
[0113] Of course, for the sake of simplicity, Figure 9 Only some of the components of the display device 90 relevant to this application are shown in this illustration; components such as buses, input / output interfaces, etc., are omitted. In addition, the display device 90 may include any other suitable components depending on the specific application.
[0114] In addition to the methods and devices described above, embodiments of this application may also be computer program products, which include computer program instructions that, when executed by a processor, cause the processor to perform the steps in the screen display methods according to various embodiments of this application described above.
[0115] The computer program product can be written in any combination of one or more programming languages to perform the operations of the embodiments of this application. The programming languages include object-oriented programming languages such as Java and C++, as well as conventional procedural programming languages such as C or similar languages. The program code can be executed entirely on the user's computing device, partially on the user's computing device, as a standalone software package, partially on the user's computing device and partially on a remote computing device, or entirely on a remote computing device or server.
[0116] Furthermore, embodiments of this application may also be computer-readable storage media storing computer program instructions thereon, which, when executed by a processor, cause the processor to perform the steps in the screen display methods according to various embodiments of this application described above.
[0117] The computer-readable storage medium may be any combination of one or more readable media. A readable medium may be a readable signal medium or a readable storage medium. A readable storage medium may, for example, include, but is not limited to, electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatuses, or devices, or any combination thereof. More specific examples of readable storage media (a non-exhaustive list) include: electrical connections having one or more wires, portable disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fibers, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination thereof.
[0118] The basic principles of this application have been described above with reference to specific embodiments. However, it should be noted that the advantages, benefits, and effects mentioned in this application are merely examples and not limitations, and should not be considered as essential features of each embodiment of this application. Furthermore, the specific details disclosed above are for illustrative and facilitative purposes only, and are not limitations. These details do not limit the application to the necessity of employing the aforementioned specific details for implementation.
[0119] The block diagrams of devices, apparatuses, devices, and systems involved in this application are merely illustrative examples and are not intended to require or imply that they must be connected, arranged, or configured in the manner shown in the block diagrams. As those skilled in the art will recognize, these devices, apparatuses, devices, and systems can be connected, arranged, and configured in any manner. Words such as “comprising,” “including,” “having,” etc., are open-ended terms meaning “including but not limited to,” and are used interchangeably with them. The terms “or” and “and” as used herein refer to the terms “and / or,” and are used interchangeably with them unless the context clearly indicates otherwise. The term “such as” as used herein refers to the phrase “such as but not limited to,” and is used interchangeably with it.
[0120] It should also be noted that in the apparatus, equipment, and methods of this application, the components or steps can be disassembled and / or recombined. These disassemblies and / or recombinations should be considered as equivalent solutions of this application.
[0121] The above description of the disclosed aspects is provided to enable any person skilled in the art to make or use this application. Various modifications to these aspects will be readily apparent to those skilled in the art, and the general principles defined herein can be applied to other aspects without departing from the scope of this application. Therefore, this application is not intended to be limited to the aspects shown herein, but rather to be accorded the widest scope consistent with the principles and novel features disclosed herein.
[0122] The above description has been given for purposes of illustration and description. Furthermore, this description is not intended to limit the embodiments of this application to the forms disclosed herein. Although numerous exemplary aspects and embodiments have been discussed above, those skilled in the art will recognize certain variations, modifications, alterations, additions, and sub-combinations thereof.
Claims
1. A screen display method, characterized in that, include: The target display screen is divided to obtain multiple display areas within the target display screen; Determine whether the current image of each of the multiple display areas has changed; The refresh rate of each display area is determined based on the changes in the current image in each of the display areas. Determining the refresh rate of the display area based on the changes in the current image of each display area includes: If the current image in the display area remains unchanged, record the number of times the current image in the display area remains unchanged. The refresh rate of each of the multiple display areas is determined based on the number of times the current image in the display area remains unchanged. Determining the refresh rate of each of the plurality of display areas based on the number of times the current image in the display area remains unchanged includes: Determine the refresh rate adjustment factor; If the remainder when the number of times the current image in the display area remains unchanged is divided by the refresh rate adjustment factor is zero, then the current image in the display area is refreshed. If the remainder when the number of times the current image of the display area remains unchanged is divided by the refresh rate adjustment factor is not zero, then the current image of the display area will not be refreshed. The refresh rate of the display area is determined based on the number of refreshes and non-refreshes within the target time period; The determination of the refresh rate adjustment factor includes: Determine the counting interval corresponding to the number of times the current image in the display area remains unchanged; The refresh rate adjustment factor is determined based on the count interval corresponding to the number of times the current image in the display area remains unchanged. The refresh rate adjustment factor increases as the upper limit of the counting interval increases.
2. The screen display method according to claim 1, characterized in that, Determining whether the current image of each of the plurality of display areas has changed includes: Obtain the image data of the current image frame for each of the display areas; Obtain the image data of the historical image corresponding to the current image of each of the display areas.
3. The screen display method according to claim 2, characterized in that, The historical image is the previous frame of the image corresponding to the current image. If the image data of the current image frame is different from the image data of the historical image frame, then it is determined that the current image frame of each display area has changed.
4. The screen display method according to claim 3, characterized in that, Before determining that the current image data of each display area has changed if the image data of the current image frame is different from the image data of the historical image frames, the method further includes: Based on a secure hash algorithm and / or cyclic redundancy check, determine whether the image data of the current image frame and the image data of the historical image frame are the same.
5. The screen display method according to claim 1, characterized in that, Determining the refresh rate of the display area based on the changes in the current image of each display area includes: When the current image in the display area changes, the refresh indicator corresponding to the current image in the display area is set to zero; The current image in the display area where the refresh indicator is zero is refreshed at the base refresh rate.
6. The screen display method according to claim 1, characterized in that, The refresh indicator corresponding to the current image in the display area = ; Where N represents the number of times the current image in the display area remains unchanged. This indicates the refresh rate adjustment factor, if the refresh indicator... If the value is zero, the current image in the display area is refreshed; if the refresh indicator... If the value is not zero, the current image in the display area will not be refreshed.
7. The screen display method according to claim 6, characterized in that, ;in, … , (0, N1], (N1, N2], ..., (N i-1 N i [ ] represents multiple counting intervals.
8. The screen display method according to claim 6, characterized in that, When the current image in the display area changes. =0.
9. The screen display method according to claim 1, characterized in that, The process of dividing the target display screen to obtain multiple display areas within the target display screen includes: Based on w The target display screen is divided into sections based on the pixel size h, resulting in w. Multiple display areas of pixel size h, wherein each display area does not overlap with the others; Wherein, 1≤w≤W, 1≤h≤H, and W and H are the width and length of the target display screen, respectively.
10. A screen display device, characterized in that, include: The segmentation module is used to segment the target display screen to obtain multiple display areas in the target display screen; The determining module is used to determine whether the current image of each of the plurality of display areas has changed; The refresh module is used to determine the refresh rate of the display area based on the changes in the current image of each display area. Determining the refresh rate of the display area based on the changes in the current image of each display area includes: If the current image in the display area remains unchanged, record the number of times the current image in the display area remains unchanged. The refresh rate of each of the multiple display areas is determined based on the number of times the current image in the display area remains unchanged. Determining the refresh rate of each of the plurality of display areas based on the number of times the current image in the display area remains unchanged includes: Determine the refresh rate adjustment factor; If the remainder when the number of times the current image in the display area remains unchanged is divided by the refresh rate adjustment factor is zero, then the current image in the display area is refreshed. If the remainder when the number of times the current image of the display area remains unchanged is divided by the refresh rate adjustment factor is not zero, then the current image of the display area will not be refreshed. The refresh rate of the display area is determined based on the number of refreshes and non-refreshes within the target time period; The determination of the refresh rate adjustment factor includes: Determine the counting interval corresponding to the number of times the current image in the display area remains unchanged; The refresh rate adjustment factor is determined based on the count interval corresponding to the number of times the current image in the display area remains unchanged. The refresh rate adjustment factor increases as the upper limit of the counting interval increases.
11. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed, it implements the screen display method as described in any one of claims 1 to 9.
12. A display device, characterized in that, include: processor; as well as Memory for storing the executable instructions of the processor; The processor is configured to execute the screen display method according to any one of claims 1 to 9 by executing the executable instructions.
Citation Information
Patent Citations
Display control method, display control device, display control equipment and display equipment
CN116564214A
Method and system for dynamically controlling a display refresh rate
US8334857B1