Screen display method and device, storage medium and display device
By dividing the display screen area and adjusting the dynamic refresh rate, the problems of high refresh rate screen aging and high power consumption are solved, achieving longer service life and better battery life.
Patent Information
- Application Number
- CN202510121105.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-23
- Publication Date
- 2025-05-27
- Estimated Expiration
- 2045-01-23
AI Technical Summary
During use, a high refresh rate screen will accelerate screen aging, shorten service life, increase device power consumption, and affect battery life.
By dividing the target display screen, the refresh rate of each display area is determined, and the refresh rate is dynamically adjusted according to the current image screen changes in the display area. Areas that have not changed reduce refresh rate and reduce energy use.
While maintaining a smooth visual experience, it reduces screen power consumption, extends the screen's service life and battery life, and slows down the screen aging process.
Smart Images

Figure CN120048206A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of display technologies, and particularly to a screen display method and device, a storage medium, and a display device. Background Art
[0002] With the progress of technology, screens are gradually developing towards high refresh rates. High refresh rates can provide a smoother operation experience and better visual effects, helping to reduce users' visual fatigue. However, high refresh rates will accelerate the aging of the screen, thus shortening the service life of the screen; in addition, high-refresh-rate screens require more energy to maintain high-frequency image updates, resulting in increased power consumption of the device, which poses a challenge to the battery life. Summary of the Invention
[0003] Embodiments of this application provide a screen display method and device, a storage medium, and a display device, which are used to reduce the power consumption of the screen and extend the service life of the screen.
[0004] In a first aspect, an 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 frames of the multiple display areas change respectively; and determining the refresh rate of each display area according to the change situation of the current image frames of each display area.
[0005] In combination with the first aspect, in some implementation manners of the first aspect, determining the refresh rate of each display area according to the change situation of the current image frames of each display area includes: when the current image frame of a display area does not change, recording the number of times that the current image frame of the display area does not change; and determining the refresh rates of the multiple display areas respectively based on the number of times that the current image frames of the display areas do not change.
[0006] In combination with the first aspect, in some implementation manners of the first aspect, determining the refresh rates of the multiple display areas respectively based on the number of times that the current image frames of the display areas do not change includes: determining a refresh rate adjustment factor; if the remainder of the number of times that the current image frame of a display area does not change divided by the refresh rate adjustment factor is zero, then refreshing the current image frame of the display area; if the remainder of the number of times that the current image frame of a display area does not change divided by the refresh rate adjustment factor is not zero, then not refreshing the current image frame of the display area; and determining the refresh rate of the display area based on the number of times of refreshing and not refreshing within a target time; preferably, determining the refresh rate adjustment factor includes: determining a counting interval corresponding to the number of times that the current image frame of a display area does not change; and determining the refresh rate adjustment factor based on the counting interval corresponding to the number of times that the current image frame of a display area does not change; wherein, the refresh rate adjustment factor increases as the upper limit value of the counting interval increases.
[0007] In combination with the first aspect, in certain implementations of the first aspect, determining whether the current image frames of multiple display areas have changed includes: obtaining the image data of the current image frame of each display area; obtaining the 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 corresponding to the current image frame. If the image data of the current image frame is different from the image data of the historical image frame, it is determined that the current image frame of the display area has changed. Preferably, before determining that the current image frame has changed if the image data of the current image frame is different from the image data of the historical image frame, it further includes: determining 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.
[0008] In combination with the first aspect, in certain implementations of the first aspect, determining the refresh rate of a display area according to the change situation of the current image frame of the display area includes: when the current image frame of the display area changes, setting the refresh indicator corresponding to the current image frame of the display area to zero; refreshing the current image frame in the display area with a zero refresh indicator at the base refresh rate.
[0009] In combination with the first aspect, in certain 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 has not changed, 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, where K 1 < K 2 <… < K i ; preferably, when the current image frame of the display area changes, R = 0.
[0010] In combination with the first aspect, in certain implementations of the first aspect, dividing a target display screen to obtain multiple display areas in the target display screen includes: 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, and each display area does not overlap; where 1 ≤ w ≤ W, 1 ≤ h ≤ H, and W and H are the width and length of the target display screen respectively.
[0011] Second aspect, an embodiment of the present application provides a screen display device, including: a dividing module, configured to divide a target display screen to obtain multiple display areas in the target display screen; a determining module, configured to determine whether the current image frames of the multiple display areas change respectively; a refreshing module, configured to determine the refresh rate of a display area when the current image frame of the display area does not change.
[0012] Third aspect, an embodiment of the present application provides a computer-readable storage medium storing a computer program for executing the screen display method described in the first aspect.
[0013] Fourth aspect, an embodiment of the present application provides a display device, including: a processor; a memory for storing instructions executable by the processor; the processor is configured to execute the screen display method described in the first aspect.
[0014] The present application allows dynamically adjusting the refresh rate of different areas of the screen according to content changes, which means that while maintaining a smooth visual experience, a lower refresh rate can be adopted for static content, and the original refresh rate can be used to refresh dynamic content, achieving the best balance between display effects and energy consumption. Specifically, it detects whether the image frames of each display area change. When a change occurs, the refresh rate is not changed, while for areas where no change occurs, the refresh rate is reduced, thereby reducing energy usage, extending the battery life of the screen, and delaying the screen aging process. Description of the Drawings
[0015] By describing the embodiments of the present application in more detail in conjunction with the drawings, the above and other objects, features, and advantages of the present application will become more obvious. The drawings are used to provide a further understanding of the embodiments of the present application, and constitute a part of the specification. Together with the embodiments of the present application, they are used to explain the present application and do not constitute a limitation to the present application. In the drawings, the same reference numerals generally represent the same components or steps.
[0016] Figure 1 Shown is a schematic flowchart of the screen display method provided by an embodiment of the present application.
[0017] Figure 2 Shown is a schematic flowchart of determining the refresh rate of a display area provided by an embodiment of the present application.
[0018] Figure 3 Shown is a schematic diagram of dividing a target display screen provided by an embodiment of the present application.
[0019] Figure 4 Shown is a schematic flowchart of determining the refresh rate of a display area provided by an embodiment of the present application.
[0020] Figure 5 The following is a schematic flowchart of determining the refresh rate of each of multiple display areas provided by an embodiment of the present application.
[0021] Figure 6 The following is a schematic flowchart of determining a refresh rate adjustment factor provided by an embodiment of the present application.
[0022] Figure 7 The following is a schematic flowchart of determining whether the current image frame of a display area has changed provided by an embodiment of the present application.
[0023] Figure 8 The following is a schematic structural diagram of a screen display device provided by an embodiment of the present application.
[0024] Figure 9 The following is a schematic structural diagram of a display device provided by an embodiment of the present application. Detailed implementation manners
[0025] Next, the technical solutions in the embodiments of the present application will be clearly and completely described in conjunction with the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. All other embodiments obtained by those of ordinary skill in the art based on the embodiments of the present application without creative efforts shall fall within the protection scope of the present application.
[0026] Figure 1 The following is a schematic flowchart of a screen display method provided by an embodiment of the present application. As Figure 1 shown, the method includes the following steps.
[0027] Step S110: Divide a 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 independent processing of each display area instead of applying a unified processing rule to the current image frame of the entire target display screen. Exemplarily, the target display screen can be reasonably divided according to the characteristics of the screen hardware, such as the resolution of the screen, the screen size, and the refresh rate range supported by the hardware. Or, the target display screen can be divided according to the type of content displayed on the screen, such as text, pictures, videos, etc.
[0029] Step S120: Determine whether the current image frame of each of the multiple display areas has changed.
[0030] Specifically, the front and rear two image frames of the same display area are compared to determine whether the current image frame of the display area has changed.
[0031] In one example, image data is extracted from two consecutive image frames of the same display area. Here, the image data refers to the pixel information extracted at a certain moment. Specifically, it includes pixel values, color spaces, texture information, brightness and contrast, spatial positions, timestamps, feature descriptions, and so on. Among them, pixel values are the most basic form of image data, representing the color and brightness information of each point in the image; color spaces such as RGB (Red, Green, Blue), HSV (Hue, Saturation, Value), etc.; texture information is a feature that describes the repeating patterns or structures in regions of the image; spatial position is the position of each pixel in the image (represented by rows and columns); the timestamp indicates the specific time when the image frame was captured; feature descriptions such as edges, corners, Scale-Invariant Feature Transform (SIFT), or Oriented FAST and Rotated BRIEF (ORB), etc.
[0032] Furthermore, a change detection algorithm can be used to compare the image data of two consecutive image frames of the same display area. For example, change detection algorithms include pixel-level comparison, threshold comparison, and feature matching, etc. Among them, pixel-level comparison means directly comparing the pixel value differences between two consecutive image frames; threshold comparison means that by setting a threshold, a change is considered to have occurred only when the pixel value difference exceeds this threshold; feature matching means extracting key points and descriptors, and identifying the changes between two consecutive image frames by matching these features. Exemplarily, after obtaining the difference between two consecutive image frames, if the difference exceeds the threshold, it is considered that the current image frame of the display area has changed. Then, the result of the change detection is output, and this result includes information such as the position and size of the corresponding display area, and the degree of change of the current display frame, etc.
[0033] Step S130: Determine the refresh rate of the display area according to the change situation of the current image frame of each display area.
[0034] The refresh rate refers to the number of times the display screen updates the image frame per unit time, usually expressed in Hertz (Hz). The change situation of the current image frame includes two cases: the current image frame has changed and the current image frame has not changed.
[0035] Exemplarily, in an actual scenario, if it is determined that the current image screen of the display area has not changed, the refresh rate of the display area can be reduced. For example, if the base refresh rate of the display area is 120 Hz, for the display area where the image screen has not changed, the refresh rate can be reduced to 60 Hz or lower. If it is determined that the current image screen has changed, the original refresh rate of the display area can be maintained unchanged.
[0036] In addition, it should be noted that the adjustment of the refresh rate is dynamic, that is, between consecutive image screens, each time it is detected that the image screen of the display area has not changed, the refresh rate of the display area may be readjusted. When adjusting the refresh rate, a smooth transition technology can be adopted to avoid display flicker or other visual artifacts caused by sudden changes in the refresh rate.
[0037] This embodiment allows the dynamic adjustment of the refresh rate for different areas of the screen according to content changes, which means that while maintaining a smooth visual experience, a lower refresh rate can be adopted for static content, and the original refresh rate can be used to refresh dynamic content, achieving the best balance between display effects and energy consumption. Specifically, it is detected whether the image screen of each display area has changed. When it has changed, the refresh rate is not changed, while for the areas where it has not changed, the refresh rate is reduced, thereby reducing energy usage, extending the battery life of the screen, and delaying the screen aging process.
[0038] Figure 2 The following shows a schematic flow chart for determining the refresh rate of a display area provided by an embodiment of the present application. Figure 1 Based on the embodiment shown Figure 2 an extended embodiment is derived Figure 2 The following focuses on describing Figure 1 the differences between the embodiment shown
[0039] As Figure 2 shown, according to the change situation of the current image screen of each display area, determining the refresh rate of the display area includes:
[0040] Step S210, in the case where the current image screen of the display area has changed, set the refresh indicator corresponding to the current image screen of the display area to zero.
[0041] The refresh indicator being zero means that there is an internal counter or indicator for tracking the refresh status of the display area. If the current image screen of the display area has changed, the value of the counter of the display area is set to zero, which is used to indicate that the display area needs to be refreshed at the base refresh rate.
[0042] Step S220, refresh the current image screen 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 the target display screen refreshes the displayed content per second under normal working conditions. The unit of the refresh rate is Hertz (Hz). For example, a refresh rate of 120 Hz means the screen refreshes 120 times per second.
[0044] In this embodiment, when the value of the refresh indicator is zero, it indicates that the display area needs to be refreshed once for the current image frame at 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 the display area where the image frame changes, refreshing at the base refresh rate can ensure that the image frame within the display area always remains up-to-date, thereby providing a clearer and smoother display effect. Secondly, the method of refreshing when the refresh indicator is zero forms a logical closed loop with the method of refreshing the current image frame of the display area when there is no change in the current image frame of the display area and the remainder of dividing the number of times there is no change in the current image frame of the display area by the refresh rate adjustment factor is zero to adjust the refresh rate of the display area. That is, through the mark of zero, both the refreshing of the display area at the base refresh rate when there is a change and the adjustment of the refresh rate of the display area when there is no change are achieved.
[0046] Combined with Figure 1 In some other embodiments of the present 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 the pixel size of w*h to obtain multiple display areas with the 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. Through the above division method, the screen is divided into several small areas with the same pixel size, and the set of these small areas covers the entire screen. Moreover, there is no overlap between each of the divided small areas, that is, their pixels do not share, and each pixel belongs to a specific small area.
[0048] Figure 3 Shown is a schematic diagram of dividing the target display screen provided by an embodiment of the present application. As Figure 3 shown, the pixel size of each display area is the same, and there is no overlap between the respective display areas.
[0049] In this embodiment, display areas of the same size facilitate unified management and scheduling, which can simplify the design and implementation of the screen display control algorithm, allocate screen resources more fairly, avoid uneven display caused by different sizes of certain areas, and at the same time, ensure the uniformity of refreshing and improve the refreshing effect when the current image of the display area changes. In addition, non-overlapping display areas allow precise control of each area, including brightness adjustment, color management, refresh rate setting, etc., without affecting other areas, ensuring that the displayed content is visually clear and distinct, and avoiding visual confusion or interference that may be caused by overlapping areas.
[0050] Figure 4 The following is a schematic flowchart of determining the refresh rate of a display area provided by an embodiment of the present application. Figure 1 Based on the embodiment shown, Figure 4 the embodiment shown is extended, Figure 4 and the differences between the embodiment shown Figure 1 and the embodiment shown are described in detail below. The same parts will not be repeated.
[0051] As Figure 4 shown, in this embodiment, according to the change situation of the current image of each display area, the refresh rate of the display area is determined, including the following steps.
[0052] Step S410, when the current image of the display area does not change, record the number of times that the current image of the display area does not change.
[0053] Specifically, a counter is set for the number of times that the image of each display area does not change, and the initial value is 0. During the image display process, continuously monitor the images of each display area. Whenever it is detected that the current image of the display area is the same as the historical image, that is, when there is no change, the counter is incremented by 1. If there is a change, the value of the counter is set to 0 and re-counted.
[0054] Exemplarily, assume there is a display area with a base refresh rate of 120Hz. At time point t1, the current image frame of the display area is the same as the historical image frame, and the counter is incremented by 1. At this time, the counter value is 1. At time point t2, the current image frame of the display area is also the same as the historical image frame, and the counter is incremented by 1. At this time, the counter value is 2. At time point t3, the current image frame of the display area is also the same as the historical image frame, and the counter is incremented by 1. At this time, the counter value is 3. At time point t4, the current image frame of the display area is different from the historical image frame, and the counter is reset to 0. At time point t5, the current image frame of the display area is the same as the historical image frame, and the counter is incremented by 1. At this time, the counter value is 1. At time point t6, the current image frame of the display area is the same as the historical image frame, and the counter is incremented by 1. At this time, the counter value is 2.
[0055] Step S420: Determine the respective refresh rates of multiple display areas based on the number of times the current image frame of the display area remains unchanged.
[0056] In this step, the refresh rate is adjusted according to the number of times of no change recorded in step S410.
[0057] Exemplarily, a threshold can be set. When the number of times of no change reaches this threshold, the refresh rate of the display area is automatically reduced. On the contrary, if the image frame of the display area changes frequently, the refresh rate can also be increased to maintain the smoothness and response speed of the image frame. For example, the set threshold is 3, indicating that when the image frame has not changed for at least 3 consecutive times, it can be decided to reduce the refresh rate of the display area, for example, from 120Hz to 60Hz.
[0058] In this embodiment, the refresh rate is optimized according to the actual change of the display content, improving the overall display efficiency. Specifically, by reducing the refresh rate of the display area that has not changed for a long time, unnecessary energy consumption can be reduced and visual interference can be reduced. This method can adapt to different display contents and usage scenarios, providing more flexible display management.
[0059] Figure 5 The following shows a schematic flowchart of determining the respective refresh rates of multiple display areas provided by an embodiment of the present application. In Figure 4 Based on the embodiment shown, Figure 5 the embodiment shown is extended to Figure 5 the embodiment shown, and the differences between the embodiment shown and Figure 4 the embodiment shown will be mainly described below. The same parts will not be repeated.
[0060] As Figure 5 shown, in this embodiment, based on the number of times the current image frame of the display area remains unchanged, determining the respective refresh rates of multiple display areas includes 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 screen of 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 display content, user interaction, power consumption optimization goal, etc.).
[0063] Step S520, if the remainder of the number of times the current image screen in the display area has not changed divided by the refresh rate adjustment factor is zero, then refresh the current image screen in the display area.
[0064] That is to say, according to the calculation result of the number of times without change and the refresh rate adjustment factor, it is determined whether to refresh the image.
[0065] Step S530, if the remainder of the number of times the current image screen in the display area has not changed divided by the refresh rate adjustment factor is not zero, then do not refresh the current image screen in the display area.
[0066] That is to say, if the remainder of the number of times without change divided by the refresh rate adjustment factor is not zero, then this refresh will be skipped, thereby reducing unnecessary refresh times and lowering power consumption.
[0067] In some embodiments, record the refresh indicator as R, R = N % K. Wherein, % represents the remainder of N divided by K, N represents the number of times the current image screen in the display area has not changed, K represents the refresh rate adjustment factor. If the value of the refresh indicator R is zero, then refresh the current image screen in the display area; if the value of the refresh indicator R is not zero, then do not refresh the current image screen in the display area.
[0068] Step S540, based on the number of refreshes and non - refreshes within the target time, determine the refresh rate of the display area.
[0069] Specifically, count the number of refreshes and non - refreshes within the target time period. According to these statistical data, the average refresh rate can be calculated and the refresh rate of the display area can be adjusted accordingly.
[0070] Exemplarily, assume that the refresh rate adjustment factor is 5 and the base refresh rate is 120 times per second. If at a certain time point, the cumulative number of times the current image screen of a certain display area has not changed is recorded as 20 times (20 is a multiple of 5, that is, the remainder of 20 divided by 5 is 0), according to Step S520, the display area can be refreshed. If at the next time point, the cumulative number of times the current image screen of this display area has not changed is recorded as 21 times (the remainder of 21 divided by 5 is not 0), according to Step S530, we do not refresh the display area.
[0071] Assume the target time is 1 second. Within this 1 second, the number of times the image frame remains unchanged is recorded as 120 times. Since the refresh rate adjustment factor is 5, among these 120 times, the remainder of 24 times (120 divided by 5) is 0, which means there will be 24 refreshes within this 1 second. The remaining 96 times do not meet the refresh conditions, so no refresh is performed. In this example, the refresh rate is 24 times per 1 second.
[0072] In this embodiment, by intelligently determining when to refresh the display area, unnecessary screen refresh operations can be significantly reduced, thereby reducing power consumption. This method allows the display system to dynamically adjust the refresh rate according to the changes in the current image frame, rather than running at the highest refresh rate fixedly, so as to adapt to different display contents and usage scenarios.
[0073] Figure 6 The following shows a schematic flowchart of determining the refresh rate adjustment factor provided by an embodiment of the present application. Figure 5 Based on the embodiment shown Figure 6 extends an embodiment shown Figure 6 The following focuses on describing the differences between the embodiment shown Figure 5 and the embodiment shown
[0074] As Figure 6 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 frame of the display area remains unchanged.
[0076] For example, set multiple counting intervals (0, N 1 , (N 1 , N 2 , ……, (N i-1 , N i ), etc.
[0077] Step S620, based on the counting interval corresponding to the number of times the current image frame of the display area remains unchanged, determine the refresh rate adjustment factor.
[0078] In some embodiments, wherein, K 1 <K 2 <…<K i . That is, as the (N i-1 , N i ) within the counting interval increases, K i also increases.
[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 can be understood that if the counting interval is large, it means that the image screen has not changed for a long time, so there is no need to refresh frequently, so the refresh rate adjustment factor will be large; on the contrary, if the counting interval is small, more frequent refreshing is required, so the refresh rate adjustment factor will be small.
[0080] Combining the descriptions in the foregoing embodiments, the refresh indicator
[0081] Assume K 1 = 2, K 2 = 3. It can be seen from this formula that when R is equal to 0, the current display screen of the display area is refreshed. 2 represents the refresh rate adjustment factor in the interval (0, N1], and 3 represents the refresh rate adjustment factor in the interval (N1, N2]. Suppose the value of N % 2 is zero, then the current image screen of the display area corresponding to N is refreshed.
[0082] In this embodiment, the refresh rate adjustment factor increases as the upper limit value of the counting interval increases. This method can adaptively adjust the refresh rate in response to changes in the display content. When the image screen does not change 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, and further reducing the burden on the display hardware and improving the overall performance of the system. In addition, by avoiding unnecessary refreshes, screen flicker and image tearing can also be reduced, providing a smoother and more comfortable visual experience. Moreover, reducing the screen refresh frequency can reduce the physical wear of the display device and extend its service life.
[0083] Figure 7 The following is a schematic flowchart of determining whether the current image screen of a display area has changed provided by an embodiment of the present application. On the basis of the embodiment shown in Figure 1 An embodiment shown is extended to Figure 7 The embodiment shown, and the differences between the embodiment shown in Figure 7 And the embodiment shown in Figure 1 Are described below, and the same parts will not be elaborated.
[0084] As Figure 7 Shown, in this embodiment, determining whether the current image screen of each of multiple display areas has changed includes the following steps.
[0085] Step S710, obtain the image data of the current image screen of each display area.
[0086] Step S720, obtain the image data of the historical image screen corresponding to the current image screen of each display area.
[0087] Specifically, the historical image frame is the previous frame image corresponding to the current image frame.
[0088] In one example, the image data of the current image frame in the same display area can be directly compared with the image data of its corresponding historical image frame.
[0089] In another example, based on the Secure Hash Algorithm (SHA) and / or Cyclic Redundancy Check (CRC), calculate the checksum corresponding to the image data of the current image frame in the display area, and obtain the checksum corresponding to the image data of the historical image frame in the display area, and compare the checksum of the image data of the current image frame with the checksum of the image data of the historical image frame. This method can ensure the accuracy of image data comparison, quickly determine whether the image has changed, and improve the processing efficiency.
[0090] Exemplarily, the checksum also includes a checksum. A checksum is a simple error detection code generated by performing an addition operation (sometimes including an inversion operation) on certain bits of the data, and can be used to detect errors in the data during transmission. CRC is a checksum algorithm based on division, which uses polynomial division to generate a fixed-length binary sequence. CRC is more powerful than a simple checksum, can detect more error types, and has a lower probability of collision. SHA is a cryptographically secure hash function that can convert an input of any length (such as text or image data) into an output of a fixed length (hash value).
[0091] Step S730, if the image data of the current image frame is different from the image data of the historical image frame, it is determined that the current image frames of the respective display areas have changed.
[0092] Alternatively, if the checksum of the image data of the current image frame is different from the checksum of the image data of the historical image frame, it is determined that the current image frame of the display area has changed.
[0093] The solution in this embodiment can monitor the image changes in the display area in real time, reduce the need for manual monitoring, improve efficiency, and reduce labor costs. Compared with complex image processing algorithms, simple image data comparison can reduce the consumption of computing resources, making this solution more efficient. Moreover, this technology is easy to integrate into existing systems.
[0094] In addition, in this embodiment, a check code is calculated through a secure hash algorithm and / or cyclic redundancy check, and the image data in the display area is verified through the check code to determine whether it has changed. Since the check code is usually much shorter than the original image data, using the check code can greatly reduce the storage requirement. Secondly, in a continuous video stream or image sequence, there may be a high degree of similarity between the image data of the current image frame and the historical image frames. Using the check code can avoid storing a large amount of redundant image data. Additionally, calculating the check code is faster than loading and processing the entire image file, which can improve the efficiency of detecting changes in the image data.
[0095] As described above in connection with Figures 1 to 7 , embodiments of the screen display method of the present application have been described in detail. Next, in connection with Figure 8 , embodiments of the screen display device of the present application will be described in detail. It should be understood that the descriptions of the embodiments of the screen display method and the embodiments of the screen display device correspond to each other. Therefore, for parts not described in detail, reference may be made to the foregoing method embodiments.
[0096] Figure 8 The following shows a schematic structural diagram of a screen display device provided by an embodiment of the present application. As shown in Figure 8 , the screen display device 80 provided by the embodiment of the present application includes:
[0097] A division module 810, configured to divide a target display screen to obtain multiple display areas in the target display screen;
[0098] A determination module 820, configured to determine whether the current image frame of each of the multiple display areas has changed;
[0099] A refresh module 830, configured to determine the refresh rate of the display area according to the change situation of the current image frame of each display area.
[0100] In an embodiment of the present application, the refresh module 830 is further configured to record the number of times that the current image frame of the display area has not changed when the current image frame of the display area has not changed; and determine the refresh rate of each of the multiple display areas based on the number of times that the current image frame of the display area has not changed.
[0101] In an embodiment of the present 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 frame in the display area has not changed divided by the refresh rate adjustment factor is zero, then refresh the current image frame in the display area; if the remainder of the number of times the current image frame in the display area has not changed divided by the refresh rate adjustment factor is not zero, then do not refresh the current image frame in the display area; based on the number of times of refreshing and not refreshing within the target time, determine the refresh rate of the display area; the refresh module 830 is further configured to determine a counting interval corresponding to the number of times the current image frame in the display area has not changed; based on the counting interval corresponding to the number of times the current image frame in the display area has not changed, determine the refresh rate adjustment factor; wherein, the refresh rate adjustment factor increases as the upper limit value of the counting interval increases.
[0102] In an embodiment of the present application, the determination module 820 is further configured to obtain the image data of the current image frame of each display area; obtain the 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 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 determine that the current image frame of each display area has changed; preferably, the determination 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 a cyclic redundancy check.
[0103] In an embodiment of the present application, the refresh module 830 is further configured to, when the current image frame in the display area changes, set the refresh indicator corresponding to the current image frame in the display area to zero; refresh the current image frame in the display area where the refresh indicator is zero at the base refresh rate.
[0104] In an embodiment of the present application, the refresh indicator R corresponding to the current image frame in the display area is R = N % K; where N represents the number of times the current image frame in the display area has not changed, K represents the refresh rate adjustment factor, if the value of the refresh indicator R is zero, then refresh the current image frame in the display area; if the value of the refresh indicator R is not zero, then do not refresh the current image frame in the display area; preferably, where K 1 <K 2 <…<K i ; preferably, when the current image frame in the display area changes, R = 0.
[0105] In an embodiment of the present application, the partitioning module 810 is further configured to partition the target display screen based on a pixel size of w*h, so as to obtain a plurality of display regions with a pixel size of w*h, and the display regions do not overlap with each other; wherein, 1≤w≤W, 1≤h≤H, and W and H are the width and length of the target display screen respectively.
[0106] Next, refer to Figure 9 to describe the display device according to the embodiment of the present application. Figure 9 The following shows a schematic structural diagram of a display device provided by an exemplary embodiment of the present application.
[0107] As Figure 9 shown, the display device 90 includes one or more processors 901 and a memory 902.
[0108] The processor 901 may be a central processing unit (CPU) or other forms of processing units having 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, and the computer program products 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, etc. 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 media, and the processor 901 may run the program instructions to implement the screen display methods of the various embodiments of the present application described above and / or other desired functions. Various contents such as a plurality of display regions, the refresh rate of the display region, the number of times the current screen of the display region has not changed, and the refresh rate adjustment factor may also be stored in the computer-readable storage media.
[0110] In one example, the display device 90 may further include: an input device 903 and an output device 904, and these components are interconnected through a bus system and / or other forms of connection mechanisms (not shown).
[0111] The input device 903 may include, for example, a keyboard, a mouse, and the like.
[0112] The output device 904 may output various information to the outside, including a plurality of display regions, the refresh rate of the display region, the number of times the current screen of the display region has not changed, the refresh rate adjustment factor, etc. The output device 904 may include, for example, a display, a speaker, a printer, and a communication network and its connected remote output devices, etc.
[0113] Of course, for simplicity, Figure 9 only some of the components in the display device 90 related to this application are shown in the figure, and components such as buses, input / output interfaces, etc. are omitted. In addition, according to specific application scenarios, the display device 90 may further include any other appropriate components.
[0114] In addition to the above methods and devices, an embodiment of the present application may also be a computer program product, which includes computer program instructions that, when run by a processor, cause the processor to execute the steps in the screen display method according to various embodiments of the present application described above in this specification.
[0115] The computer program product may be written in any combination of one or more programming languages for programming code to perform the operations of the embodiments of the present application. The programming languages include object-oriented programming languages such as Java, C++, etc., and also include conventional procedural programming languages such as the "C" language or similar programming languages. The program code may be executed entirely on the user's computing device, partially on the user's device, executed as a stand-alone 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] In addition, an embodiment of the present application may also be a computer-readable storage medium, on which computer program instructions are stored, and the computer program instructions, when run by a processor, cause the processor to execute the steps in the screen display method according to various embodiments of the present application described above in this specification.
[0117] The computer-readable storage medium may adopt any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. The readable storage medium may, for example, include but is not limited to electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices, or components, or any combination of the above. More specific examples of the readable storage medium (non-exhaustive list) include: an electrical connection having one or more wires, a portable disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.
[0118] The basic principles of the present application have been described in conjunction with specific embodiments. However, it should be noted that the advantages, benefits, effects, etc. mentioned in the present application are only examples and not limitations. It cannot be considered that these advantages, benefits, effects, etc. are essential for each embodiment of the present application. Additionally, the specific details disclosed above are only for illustrative and facilitating understanding purposes and not limitations. These details do not limit the present application to necessarily implementing with the above specific details.
[0119] The block diagrams of the devices, apparatuses, equipment, and systems involved in the present application are only illustrative examples and do not intend to require or imply that they must be connected, arranged, and configured in the manner shown in the block diagrams. As those skilled in the art will recognize, these devices, apparatuses, equipment, and systems can be connected, arranged, and configured in any manner. Words such as "including", "comprising", "having", etc. are open-ended terms meaning "including but not limited to" and can be used interchangeably with each other. The word "or" and "and" used herein refer to the phrase "and / or" and can be used interchangeably with it, unless the context clearly indicates otherwise. The word "such as" used herein refers to the phrase "such as but not limited to" and can be used interchangeably with it.
[0120] It should also be noted that in the devices, equipment, and methods of the present application, each component or each step can be decomposed and / or recombined. These decompositions and / or recombinations should be regarded as equivalent solutions of the present application.
[0121] The above description of the disclosed aspects is provided to enable any person skilled in the art to make or use the present application. Various modifications to these aspects are very obvious to those skilled in the art, and the general principles defined herein can be applied to other aspects without departing from the scope of the present application. Therefore, the present application is not intended to be limited to the aspects shown herein, but rather to the broadest scope consistent with the principles and novel features disclosed herein.
[0122] The above description has been given for purposes of illustration and description. In addition, this description does not intend to limit the embodiments of the present application to the forms disclosed herein. Although multiple example aspects and embodiments have been discussed above, those skilled in the art will recognize certain variations, modifications, changes, additions, and sub-combinations thereof.
Claims
1. A screen display method, characterized in that: include: Dividing the target display screen to obtain a plurality of display areas in the target display screen; Determining whether a current image screen of each of the plurality of display areas changes; The refresh rate of the display area is determined according to the change of the current image pictures of each display area.
2. The screen display method according to claim 1, characterized in that: Determining the refresh rate of the display area according to the change of the current image pictures of the display area includes: When the current image screen of the display area does not change, recording the number of times the current image screen of the display area does not change; The refresh rates of the plurality of display areas are determined based on the number of times that the current image of the display area does not change.
3. The screen display method according to claim 2, characterized in that: The determining of the refresh rates of the plurality of display areas based on the number of times that the current image of the display area does not change comprises: Determine the refresh rate adjustment factor; If the remainder of the number of times that the current image of the display area does not change divided by the refresh rate adjustment factor is zero, refreshing the current image of the display area; If the remainder of the number of times that the current image of the display area does not change divided by the refresh rate adjustment factor is not zero, the current image of the display area is not refreshed; Determining a refresh rate of the display area based on the number of refreshes and non-refreshes within a target time; Preferably, determining the refresh rate adjustment factor includes: Determine a counting interval corresponding to the number of times that the current image of the display area does not change; Determining the refresh rate adjustment factor based on a counting interval corresponding to the number of times that the current image screen of the display area does not change; The refresh rate adjustment factor increases as the upper limit value of the counting interval increases.
4. The screen display method according to any one of claims 1 to 3, characterized in that: The determining whether the current image screens of the plurality of display areas have changed includes: Acquire image data of the current image frame of each of the display areas; Acquire image data of a historical image frame corresponding to the current image frame of each of the display areas, preferably, the historical image frame is an image frame of a previous frame corresponding to the current image frame; If the image data of the current image frame is different from the image data of the historical image frame, determining that the current image frames of the respective display areas have changed; Preferably, before determining that the current image pictures of the respective display areas have changed if the image data of the current image picture is different from the image data of the historical image picture, the method further includes: Based on a secure hash algorithm and / or a cyclic redundancy check, it is determined whether the image data of the current image frame is the same as the image data of the historical image frame.
5. The screen display method according to any one of claims 1 to 3, characterized in that: Determining the refresh rate of the display area according to the change of the current image pictures of the display area includes: When the current image picture of the display area changes, setting the refresh indicator corresponding to the current image picture of the display area to zero; The current image in the display area where the refresh indicator is zero is refreshed at a basic refresh rate.
6. The screen display method according to claim 3 or 5, characterized in that: A refresh indicator R=N%K corresponding to the current image frame of the display area; Wherein, N represents the number of times that the current image of the display area does not change, K represents the refresh rate adjustment factor, if the value of the refresh indicator R is zero, the current image of the display area is refreshed; if the value of the refresh indicator R is not zero, the current image of the display area is not refreshed; Preferably, Among them, K1 <K2<…<K i ; Preferably, when the current image picture of the display area changes, R=0.
7. The screen display method according to any one of claims 1 to 4, characterized in that: The step of dividing the target display screen to obtain a plurality of display areas in the target display screen includes: Dividing the target display screen based on a pixel size of w*h to obtain a plurality of display areas of a pixel size of w*h, wherein the display areas do not overlap with each other; Wherein, 1≤w≤W, 1≤h≤H, W and H are respectively the width and length of the target display screen.
8. A screen display device, characterized in that: include: A division module, used for dividing the target display screen to obtain multiple display areas in the target display screen; A determination module, used to determine whether the current image screen of each of the multiple display areas changes; The refresh module is used to determine the refresh rate of the display area when the current image screen of the display area does not change.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed, the screen display method according to any one of claims 1 to 7 is implemented.
10. A display device, characterized in that: include: processor; as well as A memory, configured to store executable instructions of the processor; Wherein, the processor is configured to execute the screen display method described in any one of claims 1 to 7 by executing the executable instructions.
Citation Information
Patent Citations
Concurrently refreshing multiple areas of a display device using multiple different refresh rates
CN106663402A
Display method and device
CN108320723A
Screen display control method and device, storage medium and terminal
CN111341286A
Display control method, display control device, display control equipment and display equipment
CN116564214A
Display control method and device, display driving chip and equipment, and storage medium
CN119007650A
Cited By
Display method and display device
CN120580962A