Method and system for adaptively adjusting resolution of display screen
By dividing the display screen area and filtering the target area, combining Fourier transform and deep learning models, adaptive adjustment of the display resolution is achieved, solving the problems of poor display effect and high power consumption, and improving the user experience.
Patent Information
- Application Number
- CN202510969844.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-07-15
- Publication Date
- 2025-08-22
AI Technical Summary
In the prior art, the display screen cannot adaptively adjust the resolution for different display areas, resulting in problems such as poor display effect and high power consumption.
By dividing the display screen area, filtering out the target area, and adjusting the resolution of the target area according to the display screen type and stability, using preset grids, Fourier transforms, clustering analysis and deep learning models for precise adjustments.
It realizes adaptive adjustment of the display resolution, improves the user's visual experience, and reduces the power consumption of the display.
Smart Images

Figure CN120526698A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of display technology, and more specifically, to a method and system for adaptively adjusting display screen resolution. Background Art
[0002] Display resolution is the resolution of a monitor's displayed images. It refers to the number of pixels in both the vertical and horizontal directions, measured in pixels (px). Screen resolution determines how much information can be displayed on a monitor screen, measured in horizontal and vertical pixels. For screens of the same size, lower resolutions, such as 640 x 480, display fewer pixels, and each pixel is larger. Higher resolutions, such as 1600 x 1200, display more pixels, and each pixel is smaller. For the same screen size, higher resolutions produce a more detailed and refined display, but also require more power.
[0003] Since the information complexity contained in the display screen of the display screen is different in each area, the resolution requirements of each display area are also different. The higher the information complexity of the display area, the greater the required resolution. However, the existing technology displays all content at a fixed resolution, making it difficult to achieve adaptive adjustment of the resolution. Summary of the Invention
[0004] The present invention provides a method and system for adaptively adjusting the resolution of a display screen, which is used to solve the problem in the prior art that the display screen cannot adaptively adjust the resolution for different display areas, including: Obtain a display screen of the display screen, divide the display screen into regions according to the display screen, and obtain a plurality of display areas; obtain the area value and duration of the display area, and filter out a target area for resolution adjustment according to the area value and duration of the display area; obtain the display screen of the target area, determine the display screen type according to the display screen of the target area, and adjust the resolution of the target area according to the display screen type.
[0005] Furthermore, the display screen is divided into regions according to the display screen of the display screen, including: obtaining a preset grid, dividing the display screen of the display screen according to the preset grid to obtain a plurality of display screen grids; counting the gradient directions of all pixel points in the display screen grid, and determining the texture intensity of the display screen grid according to the frequency of occurrence of each gradient direction and the number of occurrences of different gradient directions; performing Fourier transform on the display screen grid, calculating the proportion of the energy of the high-frequency sub-band to the total energy, and obtaining the energy intensity; clustering each display screen grid according to the texture intensity and the energy intensity to obtain a cluster partition corresponding to each display screen grid; calculating the distance value between the cluster centers of any two cluster partitions, dividing the two cluster partitions whose distance values are less than a first preset threshold into the same area, and obtaining the divided areas of all cluster partitions.
[0006] Furthermore, clustering each display screen grid according to texture intensity and energy intensity includes: establishing a sample data set according to the texture intensity and energy intensity of each display screen grid, and randomly selecting k initial cluster centers of the sample data set; Calculate the Euclidean distance from the sample data in the sample data set to the initial cluster center, and divide the display screen grid corresponding to each sample data into the corresponding cluster cluster according to the Euclidean distance from the sample data in the sample data set to the initial cluster center; calculate the mean of the sample data in each cluster cluster, and re-determine the cluster center according to the mean of the sample data in each cluster cluster; repeat the above steps until the cluster center no longer changes or the number of iterations reaches the preset iteration threshold, and obtain the clustering results of each display screen grid.
[0007] Furthermore, the method of screening out target areas for resolution adjustment based on the area value and duration of the display area includes: obtaining the area value of each display area, calculating the ratio of the area value of each display area to the total area of the display screen, and obtaining the area ratio of the display area; obtaining the duration of each display area, calculating the ratio of the duration of each display area to a preset standard duration, and obtaining the time ratio of the display area; obtaining a preset area ratio weight and a preset time ratio weight, performing weighted summation on the area ratio and the time ratio of the display area according to the preset area ratio weight and the preset time ratio weight to obtain the display area stability, and screening the target area according to the display area stability.
[0008] Furthermore, the screening of the target area according to the display area stability includes: obtaining a preset standard display area stability, calculating the difference between the display area stability and the preset standard display area stability, and determining whether the difference between the display area stability and the preset standard display area stability is greater than a second preset threshold; if the difference between the display area stability and the preset standard display area stability is greater than the second preset threshold, setting the corresponding display area as the target area; if the difference between the display area stability and the preset standard display area stability is less than or equal to the second preset threshold, setting the corresponding display area as the remaining area.
[0009] Furthermore, the method of determining the display screen type based on the display screen of the target area includes: obtaining historical display screen data of the display screen, obtaining preset classification labels, and marking the historical screen data according to the preset classification labels; establishing a training sample set based on the marked historical screen data and the corresponding type labels, and establishing an initial display screen type evaluation model based on the training sample set; training the initial display screen type evaluation model based on the training sample set to obtain a trained display screen type evaluation model; inputting the display screen of the target area into the display screen type evaluation model, and outputting the display screen type of the target area.
[0010] Furthermore, the adjustment of the resolution of the target area according to the display screen type includes: determining a resolution requirement value according to the display screen type of the target area, and determining a stability weight according to the stability of the display area; obtaining the cluster centers of each cluster partition corresponding to the target area, and calculating the texture intensity average and energy intensity average of all cluster centers; determining the resolution target value of the target area according to the texture intensity average, the energy intensity average, the resolution requirement value and the stability weight, and adjusting the resolution of the target area according to the deviation value between the resolution target value of the target area and the current resolution.
[0011] Furthermore, determining the target resolution value of the target area according to the texture intensity average value, the energy intensity average value, the resolution requirement value and the stability weight includes: calculating the target resolution value of the target area according to a resolution target value calculation formula, wherein the resolution target value calculation formula is specifically: ; in, is the resolution target value, is the required resolution value, To stabilize the weight, is the average texture intensity, is the average energy intensity, is the preset range coefficient, , The first weight and the second weight are preset respectively. is the natural exponential function.
[0012] Furthermore, the adjusting the resolution of the target area according to the display screen type also includes: obtaining a preset minimum resolution threshold, and determining whether the resolution of the target area after adjustment is less than the preset minimum resolution threshold; when the resolution of the target area after adjustment is less than the preset minimum resolution threshold, setting the preset minimum resolution threshold as the resolution of the target area and stopping adjusting the resolution of the target area.
[0013] In order to achieve the above object, the present invention further provides a display screen resolution adaptive adjustment system, comprising: The division module is used to obtain the display screen of the display screen, divide the display screen into regions according to the display screen, and obtain a plurality of display areas; the screening module is used to obtain the area value and duration of the display area, and filter out the target area for resolution adjustment according to the area value and duration of the display area; the adjustment module is used to obtain the display screen of the target area, determine the display screen type according to the display screen of the target area, and adjust the resolution of the target area according to the display screen type.
[0014] The beneficial effects of the present invention are: By applying the above technical solutions, the present invention divides the display screen of the display screen into areas, accurately screens out the target area for resolution adjustment, and adaptively adjusts the resolution of the target area according to the display screen type, so that the target area can better adapt to the information complexity of the screen, while ensuring the user's viewing experience, reducing the power consumption of the display screen, and improving the user's viewing experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present application. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.
[0016] Figure 1 The following is a general flow chart of a method for adaptively adjusting display screen resolution according to an embodiment of the present invention; Figure 2 A schematic structural diagram of a display screen resolution adaptive adjustment system proposed in an embodiment of the present invention is shown. DETAILED DESCRIPTION
[0017] The following will be combined with the drawings in the embodiments of this application to clearly and completely describe the technical solutions in the embodiments of this application. Obviously, the embodiments described are only part of the embodiments of this application, not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of this application.
[0018] The embodiment of the present application provides a method for adaptively adjusting the resolution of a display screen. Figure 1 As shown, including: S101, obtaining a display screen of a display screen, and dividing the display screen into regions according to the display screen to obtain a plurality of display regions; In some embodiments of the present application, the area division of the display screen according to the display screen includes: obtaining a preset grid, dividing the display screen according to the preset grid to obtain a plurality of display screen grids; counting the gradient directions of all pixel points in the display screen grid, and determining the texture intensity of the display screen grid according to the frequency of occurrence of each gradient direction and the number of occurrences of different gradient directions; performing Fourier transform on the display screen grid, calculating the proportion of the energy of the high-frequency sub-band to the total energy, and obtaining the energy intensity; clustering each display screen grid according to the texture intensity and the energy intensity to obtain a cluster partition corresponding to each display screen grid; calculating the distance value between the cluster centers of any two cluster partitions, dividing the two cluster partitions whose distance values are less than a first preset threshold into the same area, and obtaining the divided areas of all cluster partitions.
[0019] In this embodiment, the display screen is divided into 50 display screen grids by a preset grid, and the texture intensity is calculated based on the frequency of occurrence of each gradient direction in the display screen grid and the number of occurrences of different gradient directions based on the information entropy calculation formula. The information entropy calculation formula is: ; in, is the information entropy of the i-th display screen grid, i.e., texture intensity, is the number of occurrences of different gradient directions, is the frequency of occurrence of the j-th gradient direction.
[0020] In this embodiment, the energy intensity is obtained by calculating the ratio of the energy of the high-frequency sub-band to the total energy after Fourier transform of the display screen grid, and the information complexity of the display screen grid is determined by combining the texture intensity and the energy intensity. The display screen grids are clustered according to the information complexity, and the cluster partitions with cluster centers that are close to each other are merged by setting a first preset threshold to realize the regional division of the display screen.
[0021] In some embodiments of the present application, the clustering of each display screen grid according to texture intensity and energy intensity includes: establishing a sample data set according to the texture intensity and energy intensity of each display screen grid, and randomly selecting k initial cluster centers of the sample data set; calculating the Euclidean distance from the sample data in the sample data set to the initial cluster center, and dividing the display screen grid corresponding to each sample data into corresponding cluster clusters according to the Euclidean distance from the sample data in the sample data set to the initial cluster center; calculating the mean of the sample data in each cluster cluster, and re-determining the cluster center according to the mean of the sample data in each cluster cluster; repeatedly iterating the above steps until the cluster center no longer changes or the number of iterations reaches a preset iteration threshold, thereby obtaining the clustering results of each display screen grid.
[0022] In this embodiment, the k value is set to 10, and the display screen grids are clustered based on the k-means clustering algorithm to obtain the clustering results of each display screen grid. S102, obtaining the area value and duration of the display area, and screening the target area for resolution adjustment according to the area value and duration of the display area; In some embodiments of the present application, the method of screening out target areas for resolution adjustment based on the area value and duration of the display area includes: obtaining the area value of each display area, calculating the ratio of the area value of each display area to the total area of the display screen, and obtaining the area ratio of the display area; obtaining the duration of each display area, calculating the ratio of the duration of each display area to a preset standard duration, and obtaining the time ratio of the display area; obtaining a preset area ratio weight and a preset time ratio weight, performing weighted summation on the area ratio and the time ratio of the display area according to the preset area ratio weight and the preset time ratio weight to obtain the display area stability, and screening the target area according to the display area stability.
[0023] In this embodiment, since the display screen of the display area is not stable, it is necessary to screen out the display area with a relatively long occupied area and duration as the target area, set the preset area ratio weight and the preset time ratio weight as the conversion coefficient, and unify the dimensions of the area ratio and the time ratio, so as to calculate the stability of the display area to screen the target area.
[0024] In some embodiments of the present application, the target area is screened according to the display area stability, including: obtaining a preset standard display area stability, calculating the difference between the display area stability and the preset standard display area stability, and determining whether the difference between the display area stability and the preset standard display area stability is greater than a second preset threshold; if the difference between the display area stability and the preset standard display area stability is greater than the second preset threshold, setting the corresponding display area as the target area; if the difference between the display area stability and the preset standard display area stability is less than or equal to the second preset threshold, setting the corresponding display area as the remaining area.
[0025] In this embodiment, a second preset threshold is set to retain a display area with higher stability as a target area, and the resolution of the display image in the target area is adjusted.
[0026] S103 , acquiring a display screen of the target area, determining a display screen type according to the display screen of the target area, and adjusting a resolution of the target area according to the display screen type.
[0027] In some embodiments of the present application, determining the display screen type based on the display screen of the target area includes: obtaining historical display screen data of the display screen, obtaining preset classification labels, and marking the historical screen data according to the preset classification labels; establishing a training sample set based on the marked historical screen data and the corresponding type labels, and establishing an initial display screen type evaluation model based on the training sample set; training the initial display screen type evaluation model based on the training sample set to obtain a trained display screen type evaluation model; inputting the display screen of the target area into the display screen type evaluation model, and outputting the display screen type of the target area.
[0028] In this embodiment, a deep learning neural network model is established to evaluate the display type of the target area. The neural network selects a DNN network, and the display image of the target area is classified and labeled using preset classification labels. The task of the network is classification, so the loss function used is the cross-entropy loss function. The display image of the target area is input into the trained display image type evaluation model to obtain the display image type of the target area.
[0029] In some embodiments of the present application, the adjustment of the resolution of the target area according to the display screen type includes: determining a resolution requirement value according to the display screen type of the target area, and determining a stability weight according to the stability of the display area; obtaining the cluster centers of each cluster partition corresponding to the target area, and calculating the texture intensity average and energy intensity average of all cluster centers; determining the resolution target value of the target area according to the texture intensity average, the energy intensity average, the resolution requirement value and the stability weight, and adjusting the resolution of the target area according to the deviation value between the resolution target value of the target area and the current resolution.
[0030] In some embodiments of the present application, determining the target resolution value of the target area based on the texture intensity average, the energy intensity average, the resolution requirement value, and the stability weight includes: calculating the target resolution value of the target area according to a resolution target value calculation formula, wherein the resolution target value calculation formula is specifically: ; in, is the resolution target value, is the required resolution value, To stabilize the weight, is the average texture intensity, is the average energy intensity, is the preset range coefficient, , The first weight and the second weight are preset respectively. is the natural exponential function.
[0031] In this embodiment, the resolution requirement value of the target area is determined by establishing a display screen type-resolution requirement value mapping table, and the display area stability is normalized and its range is limited to [0, 2] to obtain a stability weight. The resolution target value of the target area is determined by combining the texture intensity average, the energy intensity average, the resolution requirement value and the stability weight, and the resolution of the target area is adjusted according to the deviation value between the resolution target value of the target area and the current resolution.
[0032] In some embodiments of the present application, the adjusting the resolution of the target area according to the display screen type further includes: obtaining a preset minimum resolution threshold, and determining whether the resolution of the target area after adjustment is less than the preset minimum resolution threshold; when the resolution of the target area after adjustment is less than the preset minimum resolution threshold, setting the preset minimum resolution threshold as the resolution of the target area and stopping adjusting the resolution of the target area.
[0033] In this embodiment, a preset minimum resolution threshold is set to prevent the target area from being adjusted too much, which would result in a low resolution.
[0034] Based on the same technical concept, such as Figure 2 As shown, the present invention also provides a display screen resolution adaptive adjustment system, comprising: The division module is used to obtain the display screen of the display screen, divide the display screen into regions according to the display screen, and obtain a plurality of display areas; the screening module is used to obtain the area value and duration of the display area, and filter out the target area for resolution adjustment according to the area value and duration of the display area; the adjustment module is used to obtain the display screen of the target area, determine the display screen type according to the display screen of the target area, and adjust the resolution of the target area according to the display screen type.
[0035] By applying the above technical solution, the present invention obtains a display screen of a display screen, divides the display screen into regions based on the display screen, and obtains a plurality of display regions; obtains the area value and duration of the display region, and selects a target region for resolution adjustment based on the area value and duration of the display region; obtains the display screen of the target region, determines the display screen type based on the display screen of the target region, and adjusts the resolution of the target region based on the display screen type. The present invention can adaptively adjust the resolution of different display screens, reducing the power consumption of the display screen while ensuring the user's viewing experience, thereby improving the user's viewing experience.
[0036] Through the above description of the embodiments, those skilled in the art will clearly understand that the present invention can be implemented via hardware or via software combined with a necessary general-purpose hardware platform. Based on this understanding, the technical solution of the present invention can be embodied in the form of a software product. This software product can be stored on a non-volatile storage medium (such as a CD-ROM, USB flash drive, or external hard drive) and includes instructions for enabling a computer device (such as a personal computer, server, or network device) to execute the methods described in various implementation scenarios of the present invention.
[0037] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present application.
Claims
1. A method for adaptively adjusting display screen resolution, characterized in that: The method comprises: Obtaining a display screen of the display screen, and dividing the display screen into regions according to the display screen of the display screen to obtain a plurality of display regions; Obtain the area value and duration of the display area, and filter out the target area for resolution adjustment based on the area value and duration of the display area; Acquire a display image of the target area, determine a display image type according to the display image of the target area, and adjust the resolution of the target area according to the display image type.
2. The method for adaptively adjusting display screen resolution according to claim 1, wherein: The dividing the display screen into regions according to the display screen includes: Obtaining a preset grid, and dividing the display screen of the display screen according to the preset grid to obtain a plurality of display screen grids; Counting the gradient directions of all pixels in the display screen grid, and determining the texture intensity of the display screen grid according to the frequency of occurrence of each gradient direction and the number of occurrences of different gradient directions; Perform Fourier transform on the display screen grid, calculate the ratio of high frequency sub-band energy to total energy, and obtain energy intensity; Clustering each display screen grid according to texture intensity and energy intensity to obtain cluster partitions corresponding to each display screen grid; The distance between the cluster centers of any two cluster partitions is calculated, and the two cluster partitions whose distance values are less than a first preset threshold are divided into the same area, and the divided areas of all cluster partitions are obtained.
3. The method for adaptively adjusting display screen resolution according to claim 2, wherein: Clustering each display screen grid according to texture intensity and energy intensity includes: A sample data set is established based on the texture intensity and energy intensity of each display screen grid, and k initial cluster centers of the sample data set are randomly selected; Calculating the Euclidean distance between the sample data in the sample data set and the initial cluster center, and dividing the display screen grid corresponding to each sample data into corresponding cluster clusters according to the Euclidean distance between the sample data in the sample data set and the initial cluster center; Calculate the mean of the sample data in each cluster, and re-determine the cluster center based on the mean of the sample data in each cluster; The above steps are repeated until the cluster center no longer changes or the number of iterations reaches a preset iteration threshold, and the clustering results of each display screen grid are obtained.
4. The method for adaptively adjusting display screen resolution according to claim 2, wherein: The method of screening the target area for resolution adjustment based on the area value and duration of the display area includes: Obtaining the area value of each display area, calculating the ratio of the area value of each display area to the total area of the display screen, and obtaining the display area ratio; Obtaining the duration of each display area, calculating the ratio of the duration of each display area to a preset standard duration, and obtaining a time ratio of the display area; Obtain a preset area ratio weight and a preset time ratio weight, perform weighted summation on the area ratio and the time ratio of the display area according to the preset area ratio weight and the preset time ratio weight, obtain the display area stability, and filter the target area according to the display area stability.
5. The method for adaptively adjusting display screen resolution according to claim 4, wherein: The screening of the target area according to the display area stability includes: Obtaining a preset standard display area stability, calculating a difference between the display area stability and the preset standard display area stability, and determining whether the difference between the display area stability and the preset standard display area stability is greater than a second preset threshold; If the difference between the display area stability and the preset standard display area stability is greater than a second preset threshold, setting the corresponding display area as the target area; If the difference between the display area stability and the preset standard display area stability is less than or equal to the second preset threshold, the corresponding display area is set as the remaining area.
6. The method for adaptively adjusting display screen resolution according to claim 4, wherein: The determining of the display screen type according to the display screen of the target area includes: Obtain historical display screen data of the display screen, obtain preset classification labels, and mark the historical screen data according to the preset classification labels; Establish a training sample set based on the marked historical image data and the corresponding type labels, and establish an initial display image type evaluation model based on the training sample set; Training the initial display screen type evaluation model according to the training sample set to obtain a trained display screen type evaluation model; The display screen of the target area is input into the display screen type evaluation model, and the display screen type of the target area is output.
7. The method for adaptively adjusting display screen resolution according to claim 6, wherein: The adjusting the resolution of the target area according to the display screen type includes: Determine the required resolution value based on the display screen type of the target area, and determine the stability weight based on the stability of the display area; Obtain the cluster centers of each cluster partition corresponding to the target area, and calculate the average texture intensity and energy intensity of all cluster centers; The target resolution value of the target area is determined according to the average texture intensity, the average energy intensity, the resolution requirement value and the stability weight, and the resolution of the target area is adjusted according to the deviation between the target resolution value and the current resolution of the target area.
8. The method for adaptively adjusting display screen resolution according to claim 7, wherein: The step of determining the target resolution value of the target area according to the average texture intensity, the average energy intensity, the resolution requirement value, and the stability weight includes: The target resolution value of the target area is calculated according to the target resolution value calculation formula. The target resolution value calculation formula is specifically: ; in, is the resolution target value, is the required resolution value, To stabilize the weight, is the average texture intensity, is the average energy intensity, is the preset range coefficient, , The first weight and the second weight are preset respectively. is the natural exponential function.
9. The method for adaptively adjusting display screen resolution according to claim 7, wherein: The adjusting the resolution of the target area according to the display screen type further includes: Obtain a preset minimum resolution threshold, and determine whether the resolution of the adjusted target area is less than the preset minimum resolution threshold; When the adjusted resolution of the target area is less than the preset minimum resolution threshold, the preset minimum resolution threshold is set as the resolution of the target area and the adjustment of the resolution of the target area is stopped.
10. A display screen resolution adaptive adjustment system, characterized in that: include: A division module is used to obtain a display screen of the display screen, and divide the display screen into regions according to the display screen to obtain a plurality of display regions; A screening module is used to obtain the area value and duration of the display area, and screen out the target area for resolution adjustment based on the area value and duration of the display area; The adjustment module is used to obtain the display screen of the target area, determine the display screen type according to the display screen of the target area, and adjust the resolution of the target area according to the display screen type.