Display control method and electronic equipment

By dynamically adjusting the rendering frame rate of unattended window pages and the display refresh rate, the problem of increased power consumption of electronic devices under high frame rate display is solved, extending battery life and maintaining user experience.

CN121635652APending Publication Date: 2026-03-10HUAWEI TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-28
Publication Date
2026-03-10

AI Technical Summary

Technical Problem

Electronic devices consume more power when displaying high frame rate images, resulting in shorter battery life and affecting user experience.

Method used

By responding to user gaze actions, the rendering frame rate and screen refresh rate of unviewed windows are reduced, while the frame rate and refresh rate of viewed windows remain unchanged, thus dynamically adjusting the screen display effect.

Benefits of technology

While ensuring a good viewing experience for users, reduce the power consumption of electronic devices and extend battery life.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121635652A_ABST
    Figure CN121635652A_ABST
Patent Text Reader

Abstract

The invention provides a display control method and electronic equipment, and relates to the technical field of terminals. And the electronic equipment maintains a first drawing frame rate corresponding to the first window page watched by the user, and reduces a second drawing frequency corresponding to the second window page not watched by the user. According to the electronic equipment, on the basis that the user experience of watching the first window page is maintained, the power consumption of the electronic equipment during picture drawing of the second window page is reduced, and the endurance time of the electronic equipment is prolonged. In the method, the electronic equipment displays the first window page and the second window page, and then, in response to the operation that a user watches the first window page, the electronic equipment controls the second drawing frame rate corresponding to the second window page to be reduced and maintains the first drawing frame rate corresponding to the first window page. Wherein the first window page corresponds to a first drawing frame rate, and the second window page corresponds to a second drawing frame rate.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of terminals, and in particular to a display control method and an electronic device. BACKGROUND

[0002] When an electronic device displays a picture through a display screen, a display effect of a picture with a high frame rate is more realistic and smooth than a picture with a low frame rate. In order to achieve a good display effect and improve the viewing experience of a user, the display screen of the electronic device will preferentially display a picture with a high frame rate. However, this display manner will increase the power consumption of the electronic device and shorten the endurance time of the electronic device. SUMMARY

[0003] The present application provides a display control method and an electronic device, which can reduce the drawing frame rate of a window page that is not gazed at by a user on a display screen, reduce the power consumption of the electronic device, and prolong the endurance time of the electronic device.

[0004] To achieve the above object, the present application adopts the following technical solution:

[0005] In a first aspect, a display control method is provided, which can be applied to an electronic device. In the method, the electronic device displays a first window page and a second window page, wherein the first window page corresponds to a first drawing frame rate, and the second window page corresponds to a second drawing frame rate. The electronic device, in response to an operation of a user gazing at the first window page, controls the second drawing frame rate corresponding to the second window page to be reduced, and maintains the first drawing frame rate corresponding to the first window page.

[0006] In the implementation mode, when the electronic device determines that the user gazes at the first window page, the first drawing frame rate corresponding to the first window page is maintained unchanged, and the display effect of a picture in the first window page is unchanged. The electronic device reduces the second drawing frame rate corresponding to the second window page that is not gazed at by the user, and changes the display effect of the second window page, so that the viewing experience of the user is not affected, and the power consumption of the electronic device is reduced and the endurance time of the electronic device is prolonged.

[0007] In an implementation mode of the first aspect, the electronic device displays a third window page, wherein the third window page corresponds to a third drawing frame rate. The electronic device, in response to a first gazing operation of the user, controls the second drawing frame rate corresponding to the second window page to be reduced, and maintains the first drawing frame rate corresponding to the first window page and the third drawing frame rate corresponding to the third window page. In this case, the first gazing operation indicates that the user's gazing range on the display screen includes a part of the first window page and a part of the third window page.

[0008] In the present implementation, the electronic device can display the first window page, the second window page and the third window page. When the part of the first window page and the part of the third window page are included in the gaze range of the user, the electronic device determines that the user gazes at the first window page and the third window page simultaneously, the electronic device maintains the first drawing frame rate corresponding to the first window page unchanged and maintains the third drawing frame rate corresponding to the third window page unchanged, so that the display effects of the first window page and the third window page remain unchanged. The second window page is not gazed at, the electronic device reduces the drawing frame rate corresponding to the second window page, which does not affect the viewing experience of the user and can reduce power consumption and prolong the battery life.

[0009] In an implementation form of the first aspect, the first window page, the second window page, the third window page and the fourth window page are displayed on the display screen. The electronic device displays the first window page and the third window page in the first display area of the display screen in response to the first gaze operation of the user, and the electronic device displays the second window page and the fourth window page in the second display area of the display screen without response to the first gaze operation of the user.

[0010] In the present implementation, the electronic device can divide the window pages on the display screen according to whether a part of the window pages is in the gaze range of the user, so that the window pages gazed at by the user are in the first display area and the window pages not gazed at by the user are in the second display area. The electronic device can uniformly adjust the display screen refresh rate corresponding to the first display area to achieve the adjustment of the display screen refresh rate corresponding to the window pages.

[0011] In an implementation form of the first aspect, the first window page and the third window page are displayed in the first display area of the display screen, and the second window page is displayed in the second display area of the display screen, wherein the first display area corresponds to the first display screen refresh rate, and the second display area corresponds to the second display screen refresh rate. The electronic device reduces the second display screen refresh rate of the second display area and maintains the first display screen refresh rate of the first display area in response to the first gaze operation of the user.

[0012] In the present implementation, the electronic device can adjust the display screen refresh rate of the display screen. When the user performs the gaze operation on the first window page and the third window page, the electronic device divides the first window page and the third window page to the first display area, and when the user performs the gaze operation on the second window page, the electronic device divides the second window page to the second display area. At least one window page can be contained in one display area on the display screen. For the display area receiving the gaze operation of the user, the electronic device maintains the display screen refresh rate corresponding to the display area unchanged, and for the display area not receiving the gaze operation of the user, the electronic device reduces the display screen refresh rate corresponding to the display area. The electronic device reduces the display screen refresh rate of the second display area, which does not affect the viewing experience of the user, and can reduce power consumption and prolong the battery life.

[0013] In an implementation form of the first aspect, the first window page and the third window page are displayed in the first display area of the display screen, and the second window page is displayed in the second display area of the display screen. The first display area corresponds to the first display screen refresh rate, and the second display area corresponds to the second display screen refresh rate. The electronic device, in response to the first gaze operation of the user, controls the second drawing frame rate corresponding to the second window page to be reduced, and controls the second display screen refresh rate of the second display area to be reduced, and maintains the first drawing frame rate corresponding to the first window page and the third drawing frame rate corresponding to the third window page, and maintains the first display screen refresh rate of the first display area.

[0014] In the present implementation, for the window page on which the user performs the gaze operation, the electronic device maintains the drawing frame rate of the window page and the display screen refresh rate of the display area where the window page is located. For the window page on which the user does not perform the gaze operation, the electronic device can simultaneously adjust the drawing frame rate corresponding to the window page and the display screen refresh rate of the display area where the window page is located. The electronic device adjusts both the drawing frame rate and the display screen refresh rate, which reduces power consumption and prolongs the battery life.

[0015] In an implementation form of the first aspect, the first window page and the third window page are displayed in the first display area of the display screen, and the second window page is displayed in the second display area of the display screen. The first display area corresponds to the first display screen refresh rate, and the second display area corresponds to the second display screen refresh rate. The electronic device, in response to the first gaze operation of the user, controls the second drawing frame rate corresponding to the second window page to be reduced, and maintains the second display screen refresh rate of the second display area, maintains the first drawing frame rate corresponding to the first window page and the third drawing frame rate corresponding to the third window page, and maintains the first display screen refresh rate of the first display area.

[0016] In the implementation mode, the electronic device maintains the drawing frame rate of the window page on which the user performs the gaze operation and the display screen refresh rate of the display area where the window page is located unchanged. For the window page on which the user does not perform the gaze operation, the electronic device can adjust the drawing frame rate of the window page and maintain the display screen refresh rate of the display area where the window page is located. Through the adjustment of the drawing frame rate of the electronic device, the power consumption of the electronic device is reduced, and the endurance time of the electronic device is prolonged.

[0017] In an implementation mode of the first aspect, the first window page and the third window page are displayed in the first display area of the display screen, and the second window page is displayed in the second display area of the display screen. The first display area corresponds to the first display screen refresh rate, and the second display area corresponds to the second display screen refresh rate. The electronic device, in response to the first gaze operation of the user, controls the second display screen refresh rate of the second display area to be reduced, maintains the first drawing frame rate corresponding to the first window page, the second drawing frame rate corresponding to the second window page, and the third drawing frame rate corresponding to the third window page, and maintains the first display screen refresh rate of the first display area.

[0018] In the implementation mode, for the window page on which the user does not perform the gaze operation, the electronic device can adjust the display screen refresh rate of the display area where the window page is located and maintain the display screen refresh rate of the display area where the window page is located. Through the adjustment of the display screen refresh rate, the power consumption of the electronic device is reduced, and the endurance time of the electronic device is prolonged.

[0019] In an implementation mode of the first aspect, the first window page and the third window page are displayed in the first display area of the display screen, and the second window page is displayed in the second display area of the display screen. The first display area corresponds to the first display screen refresh rate, and the second display area corresponds to the second display screen refresh rate. The electronic device, in response to the first gaze operation of the user, controls the second display screen refresh rate of the second display area to be reduced, controls the second drawing frame rate corresponding to the second window page to be reduced, controls the first drawing frame rate corresponding to the first window page and the third drawing frame rate corresponding to the third window page to be increased, and controls the first display screen refresh rate of the first display area to be increased.

[0020] In the implementation mode, the electronic device can reduce the drawing frame rate of the window page not watched by the user, reduce the display screen refresh rate of the display area to which the window page not watched by the user belongs, increase the drawing frame rate of the window page watched by the user, and increase the display screen refresh rate of the display area to which the window page watched by the user belongs. The display effect of the window page being viewed by the user is enhanced, the use experience of the user is improved, and the power consumption of the mobile phone is unchanged.

[0021] In an implementation form of the first aspect, the electronic device, in response to the user gazing at the first window page, maintains the second drawing frame rate corresponding to the second window page if a white list page is displayed in the second window page.

[0022] In the implementation form, the white list page refers to an application page authorized by the user to maintain the drawing frame rate, and the application page refers to a screen corresponding to an application that can be displayed in the window page. Before the electronic device reduces the drawing frame rate corresponding to the window page, the electronic device determines whether the screen displayed in the window page corresponds to the white list page. If the screen corresponds to the white list page, it is determined that the white list page is displayed in the window page, and the reduction of the drawing frame rate corresponding to the window page is cancelled. The electronic device can determine whether to adjust the drawing frame rate according to the white list page configured by the user, so as to maintain the user experience.

[0023] In an implementation form of the first aspect, the electronic device displays a fourth window page, and the fourth window page corresponds to a fourth drawing frame rate. In response to the user gazing at the first window page, if a white list page is displayed in the fourth window page, the electronic device controls the second drawing frame rate corresponding to the second window page to be reduced, and maintains the fourth drawing frame rate corresponding to the fourth window page.

[0024] In the implementation form, the fourth window page is displayed in the electronic device. If the white list page is displayed in the fourth window page, the drawing frame rate corresponding to the fourth window page is not adjusted regardless of whether the user performs the gazing operation on the fourth window page, so as to maintain the user experience when the electronic device displays the fourth window page.

[0025] In an implementation form of the first aspect, the first window page and the second window page belong to the same application, or belong to different applications.

[0026] In a second aspect, an electronic device is provided, including a memory and one or more processors; the memory is coupled to the processors; and the memory stores computer program codes including computer instructions, which, when executed by the processors, cause the electronic device to perform the display control method according to the first aspect and any implementation form thereof.

[0027] In a third aspect, a computer readable storage medium is provided, including computer instructions, which, when executed on an electronic device, cause the electronic device to perform the display control method according to the first aspect and any implementation form thereof.

[0028] In a fourth aspect, a computer program product is provided, which, when executed on a computer, causes the computer to perform the display control method according to the first aspect and any implementation form thereof.

[0029] The electronic device provided by the second aspect, the computer readable storage medium provided by the third aspect and the computer program product provided by the fourth aspect can achieve the beneficial effects as described with reference to the first aspect and any of the implementation manners, which will not be described herein. BRIEF DESCRIPTION OF DRAWINGS

[0030] Figure 1 A window page display provided by an embodiment of the present application is shown Figure 1 ;

[0031] Figure 2 A structure diagram of an electronic device provided by an embodiment of the present application is shown Figure 1 ;

[0032] Figure 3 A software structure block diagram of an electronic device provided by an embodiment of the present application is shown

[0033] Figure 4 A service function structure block provided by an embodiment of the present application is shown Figure 1 ;

[0034] Figure 5 A service function structure block provided by an embodiment of the present application is shown Figure 2 ;

[0035] Figure 6 A service function structure block provided by an embodiment of the present application is shown Figure 3 ;

[0036] Figure 7 A service function structure block provided by an embodiment of the present application is shown Figure 4 ;

[0037] Figure 8 A flow chart of a display control method provided by an embodiment of the present application is shown

[0038] Figure 9 A window page display provided by an embodiment of the present application is shown Figure 2 ;

[0039] Figure 10 A window page display provided by an embodiment of the present application is shown Figure 3 ;

[0040] Figure 11 A window page display provided by an embodiment of the present application is shown Figure 4 ;

[0041] Figure 12 A window page display provided by an embodiment of the present application is shown Figure 5 ;

[0042] Figure 13The window page display provided in the embodiment of this application is shown. Figure 6 ;

[0043] Figure 14 The window page display provided in the embodiment of this application is shown. Figure 7 ;

[0044] Figure 15 The window page display provided in the embodiment of this application is shown. Figure 8 ;

[0045] Figure 16 The window page display provided in the embodiment of this application is shown. Figure 9 ;

[0046] Figure 17 This application shows a whitelist configuration page as provided in an embodiment. Figure 1 ;

[0047] Figure 18 This application shows a whitelist configuration page as provided in an embodiment. Figure 2 ;

[0048] Figure 19 A schematic diagram of the structure of the electronic device provided in the embodiments of this application is shown. Figure 2 . Detailed Implementation

[0049] The technical solutions in the embodiments of the present application will be described below with reference to the drawings in the embodiments of the present application. In the description of the present application, unless otherwise specified, " / " represents a "or" relationship between the objects before and after the " / ", for example, A / B can represent A or B; in the present application, "and / or" is only a description of the relationship between the associated objects, which means that there can be three relationships, for example, A and / or B, which can represent: A exists alone, A and B exist together, and B exists alone, where A and B can be singular or plural. In addition, in the description of the present application, unless otherwise specified, "multiple" means two or more than two. "At least one of the following" or similar expressions means any combination of the items, including any combination of single or multiple items. For example, at least one of a, b, or c, can represent: a, b, c, a-b, a-c, b-c, or a-b-c, where a, b, and c can be single or multiple. In addition, in order to clearly describe the technical solutions of the embodiments of the present application, in the embodiments of the present application, "first", "second", and the like are used to distinguish the same or similar items with the same function and effect. Those skilled in the art can understand that "first", "second", and the like do not limit the quantity and execution order, and "first", "second", and the like do not necessarily mean different. At the same time, in the embodiments of the present application, "exemplary" or "for example" means to serve as an example, illustration or description. Any embodiment or design scheme described as "exemplary" or "for example" in the embodiments of the present application should not be interpreted as more preferred or more advantageous than other embodiments or design schemes. Rather, "exemplary" or "for example" is intended to present the relevant concept in a specific manner, and to facilitate understanding.

[0050] In addition, the business scenarios described in the embodiments of the present application are used to more clearly illustrate the technical solutions of the embodiments of the present application, and do not constitute a limitation on the technical solutions provided by the embodiments of the present application. Those skilled in the art can know that as new business scenarios appear, the technical solutions provided by the embodiments of the present application are also applicable to similar technical problems.

[0051] A frame is the smallest unit in an image or animation, equivalent to each frame on a film reel. Each frame is a still image, and playing consecutive frames creates a dynamic visual effect, which can be used to display images or animations. The number of frames refers to the number of frames generated or played within a certain time period (e.g., 1 second). For example, if a video plays 60 different frames in 2 seconds, then the number of frames in those 2 seconds is 60. The frame rate is a measure of the number of frames changing over time, expressed as the number of frames generated per second. Its unit can be "frames per second (FPS)" or "hertz (Hz)". For example, if a video displays 60 different frames in 2 seconds, then the frame rate in those 2 seconds is 30 frames per second. A higher frame rate means more frames are generated or played per unit of time, resulting in smoother animation of moving objects.

[0052] When an electronic device displays the corresponding screen for an application, the application can output rendering information. The electronic device can then render the screen into frames based on this information and display these frames on the screen, allowing the user to view the application's corresponding screen.

[0053] A video frame has at least one frame rate. When an electronic device displays video frames, a higher frame rate results in a high frame rate, while a lower frame rate results in a low frame rate. Users can view both high and low frame rate frames on the screen. These frames can be displayed in a window on the electronic device's screen. Compared to low frame rate frames, high frame rate frames generate and display more frames per unit of time, resulting in smoother animations. Users experience a better viewing experience with high frame rate frames compared to low frame rate frames. The generation of frames is related to the electronic device's rendering frame rate. A higher rendering frame rate results in a higher frame rate of frames generated, and the screen displays a high frame rate frame rate. Conversely, a lower rendering frame rate results in a lower frame rate frame rate frame rate, and the screen displays a low frame rate frame rate frame rate. Generating high frame rate frames consumes more power than generating low frame rate frames. When electronic devices support high frame rate display, applications generally choose to display images at a high frame rate. This reduces the battery life of electronic devices.

[0054] Electronic devices can support multi-window page display. An electronic device can display at least two windows, each showing a different screen of the application. For example, such as... Figure 1 As shown, in Figure 1In an example, the electronic device displays window page 101 and window page 102, where window page 101 and window page 102 respectively display different screens of the same application to the user, for example, window page 101 displays game page 1 of game A, and window page 102 displays game page of game A. Alternatively, window page 101 and window page 102 can respectively display different screens of different applications, for example, window page 101 displays a map page of a navigation application, and window page 102 displays a game page of a game application. Figure 1 In an example, window page 101 displays a screen of application 1, and window page 102 displays a screen of application 2. When the electronic device supports high frame rate display of information corresponding to the applications, window page 101 and window page 102 can display high frame rate screens. However, when window page 101 and window page 102 simultaneously display high frame rate screens, the power consumption of the electronic device increases, and the endurance time of the electronic device is shortened.

[0055] Therefore, the present disclosure provides a display control method applied to an electronic device, including: displaying, by the electronic device, a first window page and a second window page; and in response to an operation of the user gazing at the first window page, controlling, by the electronic device, a second drawing frame rate corresponding to the second window page to be reduced, and maintaining a first drawing frame rate corresponding to the first window page. The first window page corresponds to the first drawing frame rate, and the second window page corresponds to the second drawing frame rate.

[0056] In the display control method, the electronic device draws a first screen frame displayed in the first window page at a first drawing frame rate, and draws a second screen frame displayed in the second window page at a second drawing frame rate. The first drawing frame rate corresponds to the first window page. The second drawing frame rate corresponds to the second window page. When the user gazes at the first window page, the electronic device maintains the first drawing frame rate corresponding to the first window page unchanged, and reduces the second drawing frame rate corresponding to the second window page. Since reducing the drawing frequency can reduce the power consumption of the electronic device, the electronic device can reduce the power consumption of drawing the second screen frame on the basis of maintaining the user experience of watching the screen in the first window page, and prolong the endurance time of the electronic device.

[0057] In some embodiments, the structure of the electronic device can refer to Figure 2As shown. Among them, the electronic device 200 can include a processor 210, an external memory interface 220, an internal memory 221, a universal serial bus (USB) interface 230, a charging management module 240, a power management module 241, a battery 242, an antenna 1, an antenna 2, a mobile communication module 250, a wireless communication module 260, an audio module 270, a sensor module 280, a key 290, a motor 291, an indicator 292, a camera 293, a display screen 294, and a subscriber identification module (SIM) card interface 295, etc.

[0058] It can be understood that the structure shown in the embodiments of the present application does not constitute a specific limitation on the electronic device 200. In other embodiments of the present application, the electronic device 200 can include more or fewer components than the illustration, or combine certain components, or split certain components, or different component arrangements. The components shown can be implemented in hardware, software, or a combination of software and hardware.

[0059] The processor 210 can include one or more processing units (not shown in the figure), for example: the processor 210 can include an application processor (application processor, AP), a modem processor, a graphics processing unit (graphics processing unit, GPU), an image signal processor (image signal processor, ISP), a controller, a memory, a video codec, a digital signal processor (digital signal processor, DSP), a baseband processor, and / or a neural network processing unit (neural-network processing unit, NPU) and the like. Among them, different processing units can be independent devices, or can be integrated in one or more processors. Figure 2

[0060] Among them, the controller can be the nerve center and command center of the electronic device 200. The controller can generate operation control signals according to instruction operation codes and timing signals to complete the control of instruction fetching and instruction execution.

[0061] ​The processor 210 may also include a memory for storing instructions and data. In some embodiments, the memory in the processor 210 is a cache memory. This memory can store instructions or data that the processor 210 has just used or that are used repeatedly. If the processor 210 needs to use the instruction or data again, it can retrieve it directly from the memory. This avoids repeated accesses, reduces the waiting time of the processor 210, and thus improves the efficiency of the system.

[0062] In some embodiments, processor 210 may include one or more interfaces ( Figure 2 (Not shown in the image). The interface may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input / output (GPIO) interface, a subscriber identity module (SIM) interface, and / or a universal serial bus (USB) interface, etc. In some embodiments, the processor 210 receives drawing information from the application through the interface.

[0063] The charging management module 240 is used to receive charging input from the charger. The charger can be a wireless charger or a wired charger.

[0064] The power management module 241 is used to connect the battery 242, the charging management module 240, and the processor 210. The power management module 241 receives input from the battery 242 and / or the charging management module 240 to power the processor 210, internal memory 221, external memory, display 294, camera 293, and wireless communication module 260, etc.

[0065] The wireless communication function of electronic device 200 can be implemented through antenna 1, antenna 2, mobile communication module 250, wireless communication module 260, modem processor, and baseband processor.

[0066] Antenna 1 and antenna 2 are used to transmit and receive electromagnetic wave signals.

[0067] The mobile communication module 250 can provide a solution for wireless communication including 2G / 3G / 4G / 5G, etc. applied to the electronic device 200. The mobile communication module 250 can receive electromagnetic waves by the antenna 1, and perform filtering, amplification, etc. on the received electromagnetic waves, and transfer the processed signals to the modem processor for demodulation. The mobile communication module 250 can also amplify the signals modulated by the modem processor, and radiate the signals as electromagnetic waves through the antenna 1.

[0068] The wireless communication module 260 can provide a solution for wireless communication including wireless local area networks (WLAN) (e.g., wireless fidelity (Wi-Fi) network), Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared (IR) technology, etc. applied to the electronic device 200. The wireless communication module 260 can be one or more devices integrating at least one communication processing module. The wireless communication module 260 receives electromagnetic waves via the antenna 2, performs frequency modulation and filtering on the electromagnetic wave signals, and transmits the processed signals to the processor 210. The wireless communication module 260 can also receive signals to be transmitted from the processor 210, perform frequency modulation and amplification, and radiate the signals as electromagnetic waves through the antenna 2.

[0069] The electronic device 200 implements a display function through a GPU, a display screen 294, an application processor, etc. The GPU is a microprocessor for image processing, and is connected to the display screen 294 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering.

[0070] In some embodiments, the GPU generates a picture frame corresponding to an application according to rendering information of the application. When the electronic device displays a first window page and a second window page, the GPU can render a first picture frame displayed in the first window page, and the GPU can render a second picture frame displayed in the second window page.

[0071] The display screen 294 is used to display images, videos, etc. The display screen 294 includes a display panel. In some embodiments, the display screen 294 can be used to display window pages. When there are multiple window pages, the display screen 294 can be used to display a first window page and a second window page, for example.

[0072] The electronic device 200 can implement a photographing function through an ISP, a camera 293, a video codec, a GPU, a display 294, and an application processor, etc.

[0073] The ISP is used to process data fed back by the camera 293.

[0074] The camera 293 is used to capture a still image or a dynamic video.

[0075] The digital signal processor is used to process a digital signal, which can process not only a digital image signal but also other digital signals.

[0076] The video codec is used to compress or decompress a digital video.

[0077] The NPU is a neural-network (NN) calculation processor, which can quickly process input information by referring to a biological neural network structure, for example, by referring to a transmission mode between human brain neurons, and can also constantly self-learn. Through the NPU, the electronic device 200 can implement intelligent cognition applications such as image recognition, face recognition, voice recognition, and text understanding.

[0078] In some embodiments, the electronic device 200 can confirm a gaze target of a user. The electronic device 200 can capture an electronic image at one end of the electronic device through the camera 293. The ISP receives the electronic image captured by the camera and selects an image containing a human image from the electronic image, and extracts the human image in the image, which can be represented in the form of a digital signal. The digital signal processor can determine the gaze direction of the user from the digital signal. The electronic device 200 can obtain the display position of the window page on the display 294, and determine the window page in the gaze direction of the user as the window page gazed at by the user in combination with the gaze direction of the user.

[0079] The external memory interface 220 can be used to connect an external memory card, such as a Micro SD card, to implement the expansion of the storage capacity of the electronic device 200. The external memory card communicates with the processor 210 through the external memory interface 220 to implement a data storage function. For example, files such as music and videos are saved in the external memory card.

[0080] The internal memory 221 can be used to store computer executable program codes, which include instructions. The processor 210 executes various function applications and data processing of the electronic device 200 by running the instructions stored in the internal memory 221.

[0081] The electronic device 200 can implement an audio function through an audio module 270 and an application processor, etc. For example, music playing, recording, etc.

[0082] The audio module 270 is configured to convert digital audio information into analog audio signals and output the analog audio signals, and to convert analog audio input into digital audio signals. The audio module 270 can also be configured to encode and decode audio signals.

[0083] The keys 290 include a power key, a volume key, and the like. The keys 290 can be mechanical keys. Alternatively, the keys 290 can be touch keys.

[0084] The motor 291 can generate a vibration prompt. The motor 291 can be configured to provide a call vibration prompt, and can also be configured to provide a touch vibration feedback.

[0085] The indicator 292 can be an indicator light, and can be configured to indicate a charging state, a power change, a message, a missed call, a notification, and the like.

[0086] The SIM card interface 295 is configured to connect a SIM card.

[0087] When the display control method in the embodiments of the present application is implemented based on the electronic device 200 described above, the first window page and the second window page are displayed on the display screen of the electronic device 200, and the electronic device 200 can be configured to determine the gaze operation of the user. When it is determined that the user performs the operation of gazing at the first window page, the electronic device 200 reduces the second drawing frame rate corresponding to the second window page, and maintains the first drawing frame rate corresponding to the first window page unchanged. In this case, the electronic device 200 can reduce the second drawing frame rate corresponding to the second window page on the basis of guaranteeing the viewing experience of the user for the first window page, and the electronic device can reduce power consumption and increase the battery life.

[0088] In some embodiments, the software system of the electronic device 200 described above can adopt a layered architecture, an event-driven architecture, a microkernel architecture, a microservice architecture, or a cloud architecture. The embodiments of the present application take the Android system with a layered architecture as an example to exemplarily illustrate the software structure of the electronic device 200.

[0089] Referring to Figure 3 As shown, the layered architecture divides software into several layers, and each layer has a clear role and division of labor. The layers communicate with each other through software interfaces. In some embodiments, the Android system is divided into four layers, from top to bottom, an application layer, an application framework layer, a system service layer, and a kernel layer.

[0090] The application layer can include a series of application packages.

[0091] As Figure 3As shown, the application package can include camera, gallery, calendar, call, map, navigation, WLAN, Bluetooth, video, game, etc. In some embodiments, the electronic device can determine a rendering frame rate corresponding to the application, the application can output rendering information according to the rendering frame rate, the electronic device renders to generate a picture frame according to the rendering information, and the electronic device displays the picture frame in the window page, and the user can watch the picture in the window page.

[0092] The application framework layer provides application programming interface (application programming interface, API) and programming framework for the applications of the application layer. The application framework layer includes some pre-defined functions.

[0093] As shown, the application framework layer can include window manager, content provider, view system, phone manager, resource manager, notification manager, etc. Figure 3

[0094] The window manager is used to manage window programs. The window manager can obtain the size of the display screen, determine whether there is a status bar, lock the display screen, intercept the display screen, etc.

[0095] In some embodiments, the window manager can be used to manage the first window page and the second window page, record the corresponding relationship between the first application and the first window page, and the corresponding relationship between the second application and the second window page. For example, when the first application is enabled and the first application needs to show a picture to the user through the first window page, the electronic device can determine the page information of the first window page corresponding to the first application through the window manager, and display the first window page according to the page information. For example, the page information can include the display position of the window page on the display screen, the size information of the window page, etc.

[0096] The content provider is used to store and obtain data, and make the data accessible to the application. The data can include video, image, audio, dialed and received call, browsing history and bookmark, phonebook, etc.

[0097] The view system includes visual controls, such as controls for displaying text, controls for displaying images, etc.

[0098] In some embodiments, the view system can also include window page controls displayed in the electronic device 200, and the window page controls can correspond to the applications.

[0099] The phone manager is used to provide the communication function of the electronic device 200. For example, the management of call state (including call connection, call hang-up, etc.).

[0100] ​The resource manager provides applications access to various resources, such as localized strings, icons, images, layout files, video files, and so on.

[0101] The notification manager enables applications to display notifications in the status bar, which can be used to convey informational type messages that can disappear automatically after a brief stay without user interaction.

[0102] The system services layer can include a number of functionality modules. For example: a surface manager, media libraries, a three-dimensional graphics processing library (e.g., OpenGL ES), a two-dimensional graphics engine (e.g., SGL), and so on.

[0103] The surface manager is used to manage the display subsystem and provides a fusion of 2D and 3D layers for multiple applications.

[0104] The media libraries support playback and recording of a variety of commonly used audio, video formats, and still image files. The media libraries can support a variety of audio and video encoding formats, such as MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, and so on.

[0105] The three-dimensional graphics processing library is used to implement three-dimensional graphics drawing, image rendering, composition, and layer processing, and so on.

[0106] The two-dimensional graphics engine is a drawing engine for 2D drawing.

[0107] The kernel layer is a layer between hardware and software. The kernel layer at least includes a display driver, a camera driver, an audio driver, and a sensor driver.

[0108] In some embodiments, the camera driver can be used to control the camera to take an image of the environment on the side of the electronic device.

[0109] In some embodiments, as Figure 4As shown, the electronic device can further include an application module, a user detection module, a frame rate adjustment module, a picture drawing module, and a display module. The application module includes at least one application, and at least one application in the application module initiates a frame rate request to the frame rate adjustment module. The frame rate acquisition module in the frame rate adjustment module acquires the frame rate request of the at least one application, determines the drawing frame rate allocated to each application through the frame rate decision module. The frame rate adjustment module can distribute the allocated drawing frame rate to at least one application in the application module through the frame rate distribution module. The application module generates drawing information according to the distributed drawing frame rate, and sends the drawing information to the picture drawing module. The picture drawing module draws and generates picture frames corresponding to the application according to the received drawing information. The display module displays the picture frames in the window page corresponding to the application, and displays the picture corresponding to the application. Illustratively, the display module can display the picture frames in an active-matrix organic light-emitting diode (AMOLED). When the user detection module identifies the gaze operation of the user on the first window page, and the first window page corresponds to the first application, the user detection module sends a trigger signal indicating that the user performs the gaze operation on the first application to the frame rate adjustment module, and the frame rate decision module in the frame rate adjustment module maintains the drawing frame rate corresponding to the first application, reduces the drawing frame rate corresponding to the second application, and redistributes the adjusted drawing frame rate through the frame rate distribution module. The second drawing frame rate corresponding to the second window page is reduced, and the first drawing frame rate corresponding to the first window page is maintained. The electronic device can reduce the power consumption of the electronic device and increase the endurance time of the electronic device by reducing the second drawing frame rate corresponding to the second window page on the basis of guaranteeing the viewing experience of the user on the first window page.

[0110] In the process of determining the drawing frame rate by the application, Figure 4 On the basis of the above, the connection relationship of the application module, the user detection module, the frame rate acquisition module, the frame rate decision module, and the frame rate distribution module of the electronic device can also be as follows Figure 5As shown. For example, the application module includes application 1, application 2, and application 3. Application 1, application 2, and application 3 each initiate a frame rate request containing a desired frame rate. For example, the desired frame rate for application 1, application 2, and application 3 can all be 120Hz. The frame rate acquisition module receives the frame rate requests from application 1, application 2, and application 3 and sends them to the frame rate decision module. The user detection module detects whether the corresponding window page of the application is being watched by the user. For example, the window pages corresponding to application 1 and application 3 are being watched by the user, while the window page corresponding to application 2 is not being watched. The frame rate decision module determines the frame rate allocated to each application based on the detection results of the user detection module. For example, the frame rate allocated to application 1 and application 3 is 120Hz, and the frame rate allocated to application 2 is 30Hz. The frame rate distribution module uses the allocated frame rate as the rendering frame rate and periodically distributes it to application 1, application 2, and application 3. Application 1, application 2, and application 3 can output rendering information according to the rendering frame rate.

[0111] When the electronic device 200 displays a screen in a window, the final display effect depends not only on the frame rate of the screen but also on the refresh rate of the electronic device's display. In some embodiments, in Figure 4 In addition, electronic devices may also include: a refresh rate adjustment module, such as... Figure 6 As shown, the refresh rate adjustment module includes a refresh rate decision module and a refresh rate distribution module. After the image rendering module generates an image frame, it transmits the image frame to the refresh rate adjustment module. The refresh rate decision module assigns a display refresh rate to the image frame corresponding to each application, and the refresh rate distribution module distributes the display refresh rates. The display module can receive the image frame and the display refresh rate assigned to the image frame from the refresh rate adjustment module. The display module adjusts the display logic based on the frame rate and display refresh rate of the image frame to display the image frame on the display screen. When the frame rate adjustment module adjusts the rendering frame rate corresponding to an application, the refresh rate adjustment module can readjust the display refresh rate. For example, when the rendering frame rate of the second application decreases, the refresh rate adjustment module can decrease the display refresh rate of the second window page, where the second window page displays the image corresponding to the second application. Electronic devices can reduce power consumption and increase battery life by reducing the display refresh rate.

[0112] exist Figure 6 Based on this, in some embodiments, such as Figure 7As shown, the electronic device can further include a surface flinger (SF), an eye detect module, an eye detect driver, an awareness manager, a hardware composer (HWC), and an LCD driver. The surface flinger can perform the functions of the frame rate adjustment module and the refresh rate adjustment module. The user detection module includes the eye detect module, the eye detect driver, and the awareness manager. The display module includes the hardware composer and the LCD driver. The awareness manager enables the eye detect module and the eye detect driver, and the eye detect driver controls the eye detect module to further identify the eyes in the human image after identifying the human image from the environment image captured by the camera. The awareness manager determines whether the identified eyes perform the gaze operation on the window page, and outputs the detection result when determining that the user performs the gaze operation on the window page. The surface flinger determines the drawing frame rate allocated to each application according to the trigger signal, and distributes the allocated drawing frame rate to each application, and the application generates drawing information according to the drawing frame rate. The screen drawing module draws the screen frame corresponding to the application according to the received drawing information. The screen drawing module can be a GPU, for example. The surface flinger synthesizes the screen frame according to the display screen refresh rate corresponding to each application, and displays the synthesized screen frame in the window page through the hardware composer and the display area driver.

[0113] When the display control method in the embodiments of the present application is implemented based on the above electronic device, the first window page and the second window page are displayed in the electronic device. If it is determined that the user gazes at the first window page, the electronic device can maintain the first drawing frame rate corresponding to the first window page unchanged, and reduce the second drawing frame rate corresponding to the second window page. The electronic device can reduce the energy consumption of the electronic device and increase the endurance time of the electronic device by reducing the second drawing frame rate corresponding to the second window page on the basis of ensuring the user experience of watching the first window page.

[0114] The above electronic device can be a mobile phone, a tablet computer, a personal computer (PC), a smart screen device, a vehicle-mounted terminal, a smart watch, or other terminal devices with a display screen. For example, the first window page and the second window page are displayed in the electronic device. When the user gazes at the first window page, the electronic device maintains the first drawing frame rate corresponding to the first window page, and reduces the second drawing frame rate corresponding to the second window page. In the case of ensuring the drawing frame rate corresponding to the window page gazed at by the user and maintaining the user experience, the power consumption of the electronic device when displaying the second window page is reduced, and the endurance time of the electronic device is improved.

[0115] The following further describes the display control method in the embodiments of the present application, taking the electronic device as a mobile phone as an example. For example, referring to FIG. 8A, Figure 8 The method can include the following steps S801-S802.

[0116] S801, the mobile phone displays a first window page and a second window page.

[0117] The first window page corresponds to a first drawing frame rate, and the second window page corresponds to a second drawing frame rate.

[0118] The mobile phone can be installed with at least one application. During the enabling process, the application can show information corresponding to the application to the user. For example, when the application is a navigation application, the information shown by the navigation application to the user can be a real-time map; when the application is a game application, the information shown by the game application to the user can be a game picture. The mobile phone can display the information shown by the application to the user in the form of a picture through a window page.

[0119] The mobile phone can support simultaneous display of multiple window pages. When the mobile phone displays two window pages, the displayed window pages can be a first window page and a second window page. When the window pages are displayed on the display screen of the mobile phone, the pictures displayed in the window pages can be directly viewed by the user, and the distribution positions of the window pages on the display screen can be various. For example, as shown in FIG. 8B, Figure 9 , Figure 10 and FIG. 8C. Figure 9 In FIG. 8B, the window page 901 shows a picture of application 2, the window page 902 shows a picture of application 1, and the window page 901 and the window page 902 are arranged side by side when the mobile phone is displayed in a vertical screen. Figure 10 In FIG. 8C, the window page 1001 shows a picture of application 1, the window page 1002 shows a picture of application 2, the window page 1001 and the window page 1002 partially overlap, and the window page 1002 covers part of the window page 1001.

[0120] The mobile phone can generate a first picture frame of a first drawing frame rate and display the first picture frame in the first window page, and can generate a second picture frame of a second drawing frame rate and display the second picture frame in the second window page.

[0121] The application outputs drawing information according to the drawing frame rate, the mobile phone generates picture frames according to the drawing information, the drawing frame rate can also be equal to the frame rate of the picture frames, and the electronic device plays the picture frames in the window pages. The higher the drawing frame rate, the more picture frames the mobile phone draws in a unit of time. The first drawing frame rate and the second drawing frame rate can be the same frame rate or different frame rates.

[0122] S802, in response to the user gazing at the first window page, the mobile phone controls the second window page corresponding second drawing frame rate to reduce, and maintains the first window page corresponding first drawing frame rate.

[0123] In the process of playing the picture frame, in the case of the same content, the picture with higher frame rate has higher fluency and better display effect than the picture with lower frame rate. Therefore, in order to improve the user experience, the application will try to select a higher drawing frame rate in the process of generating a picture frame, thereby improving the display effect of the picture.

[0124] However, when the mobile phone displays multiple window pages, at least one application displays a picture to the user through multiple window pages. For example, application 1 can display information corresponding to application 1 in window page A and window page B, respectively. For example, window page A can display game interface 1 of game application 1, and window page B can display game interface 2 of game application 1. Application 1 can display information corresponding to application 1 in window page A, and application 2 can display information corresponding to application 2 in window page B. For example, window page A can display a real-time map of a navigation application, and window page B can display a video being played by a video application. When the drawing frame rate of multiple window pages is high, the more window pages displayed on the mobile phone, the higher the power consumption of the mobile phone when generating a picture frame, and the shorter the battery life of the mobile phone.

[0125] The application can display a picture corresponding to the application to the user through a window page. When the mobile phone determines that the user performs a gazing operation on the window page, the mobile phone can determine that the user gazes at or views the window page. When the user does not view the picture in the window page, the mobile phone generates a high-frame-rate picture frame at a high drawing frame rate, and displays the picture frame in the window page, which causes waste of power consumption. Therefore, in the technical solution of the embodiment of the present application, the drawing frame rate corresponding to the window page not gazed at by the user is reduced to reduce the power consumption of the mobile phone.

[0126] Because the user's field of view is limited, when the user gazes at the display screen, the user will focus on the content of a part of the display screen and ignore the content of other parts. Therefore, in the embodiment of the present application, the mobile phone displays a first window page and a second window page. When the mobile phone determines that the user performs a gazing operation on the first window page, the first drawing frame rate corresponding to the first window page is maintained to ensure the user experience when the user views the picture in the first window page. In addition, the second drawing frame rate corresponding to the second window page not gazed at by the user is reduced to reduce the power consumption of the mobile phone in drawing a picture frame and prolong the battery life of the mobile phone.

[0127] In some embodiments, the mobile phone can determine the gaze operation of the user to determine the gaze target of the user on the display screen, wherein the gaze target can be a window page or a display area.

[0128] The mobile phone can capture an environmental image of the side of the mobile phone through the camera, and the image of the user will be in the environmental image captured by the camera when the user uses the mobile phone. The mobile phone can determine the image of the user from the environmental image and determine the eyes of the user in the image. The mobile phone can further identify the line of sight direction of the eyes of the user, and when the line of sight direction of the user coincides with the location of the mobile phone, the mobile phone can determine that the user is performing the gaze operation of the mobile phone. In other embodiments, when the line of sight direction of the user coincides with the location of the mobile phone for more than a first predetermined time value, the mobile phone can consider that the user is performing the gaze operation of the mobile phone.

[0129] On the basis of determining that the user is performing the gaze operation of the mobile phone, the mobile phone can further determine the gaze target of the user. The display screen of the mobile phone displays at least one window page, and the mobile phone can record the display position of the window page on the display screen during the display of the window page. When the mobile phone identifies the gaze operation of the user on the mobile phone, the gaze range of the user on the display screen is determined, and the first window page coinciding with the gaze range is determined as the gaze target of the user. The second window page not coinciding with the gaze range is not the gaze target of the user. For example, during the determination of the gaze range of the user, the mobile phone can determine the gaze range through a measuring tool or measuring software. The gaze range can be circular, elliptical or square, etc. In the embodiments of the present application, only the shape of the gaze range is exemplified, and the shape of the gaze range is not limited. For example, as shown in FIG. 11, the display screen displays a window page 1101 and a window page 1102. The window page 1101 displays the corresponding screen of application 1, and the window page 1102 displays the corresponding screen of application 2. The mobile phone identifies the gaze range of the user as a circular part 1103. The window page 1101 and the circular part 1103 coincide, and therefore, the window page 1101 is the window page gazed at by the user, and the window page 1102 is the window page not gazed at by the user. The mobile phone can maintain a first drawing frame rate corresponding to the window page 1101 in the gaze range of the user, and reduce a second drawing frame rate corresponding to the window page 1102 not in the gaze range of the user. Figure 11

[0130] ​In other embodiments, when determining the user's gaze range, the mobile phone can calculate the area of ​​the gaze range. After determining the area of ​​the gaze range, the mobile phone, in conjunction with the position of the window page on the display screen, can determine at least one overlapping area between the window page and the gaze range, and calculate the overlapping area of ​​the overlapping area. The mobile phone compares the overlapping area with a preset area; if the overlapping area is greater than the preset area, then the mobile phone can use the window page corresponding to the overlapping area as the window page that the user is looking at. For example, as shown... Figure 12 As shown, the mobile phone displays window page 1201 and window page 1202. Window page 1201 displays the screen corresponding to application 1, and window page 1202 displays the screen corresponding to application 2. The mobile phone confirms that the user has performed a gaze operation on the mobile phone screen, and determines that the user's gaze range on the screen is a circular gaze range 1203. The gaze range 1203 overlaps with both window page 1201 and window page 1202. The overlapping part of the gaze range 1203 and window page 1201 is the overlapping area 12011, and the overlapping part of the gaze range 1203 and window page 1202 is the overlapping area 12021. The mobile phone calculates the overlapping area of ​​overlapping area 12011 and overlapping area 12021 respectively. The mobile phone compares the preset area with the overlapping areas of overlapping areas 12011 and 12021 respectively. If the overlapping area of ​​overlapping area 12011 is larger than the preset area, window page 1201 is used as the window page where the user performs the gaze operation. If the overlapping area of ​​overlapping area 12021 is smaller than the preset area, window page 1202 is used as the window page where the user does not perform the gaze operation.

[0131] In some embodiments, after determining that the user is looking at the first window page, and before controlling the reduction of the second rendering frame rate corresponding to the second window page, the mobile phone can also determine whether the second rendering frame rate is too high. Since the user is not looking at the second window page, when the mobile phone reads that the second rendering frame rate is high, the mobile phone consumes more power when displaying a high frame rate image in the second window page. Therefore, the second rendering frame rate corresponding to the second window page can be reduced to reduce the power consumption of the mobile phone. For example, when the second rendering frame rate is greater than a first preset frame rate, the mobile phone determines that the second rendering frame rate is too high and can reduce the second rendering frame rate.

[0132] In some embodiments, if the mobile phone detects a low second rendering frame rate, and further reducing the second rendering frame rate might affect the normal display of the image in the second window page, then, although the second window page is not the window page where the user performs a gaze operation, the mobile phone will not reduce the second rendering frame rate to ensure the display effect of the image in the second window page. For example, when the second rendering frame rate is less than a second preset frame rate, the mobile phone will not reduce the second rendering frame rate, wherein the second preset frame rate is less than a first preset frame rate.

[0133] In some embodiments, when displaying window pages on the mobile phone screen, the number of window pages displayed can be greater than two. The distribution of window pages on the screen can also be varied; the window pages displayed in positions visible to the user on the screen are the distribution positions of the window pages described in the embodiments of this application.

[0134] With at least two windows displayed, the number of windows on which the user performs a gaze operation can be multiple, and the number of windows on which the user does not perform a gaze operation can also be multiple. For example, when there are four windows, the distribution of windows 1301, 1302, 1303, and 1304 on the display screen can be as follows: Figure 13 As shown, window page 1301 displays the screen corresponding to application 1, window page 1302 displays the screen corresponding to application 2, window page 1303 displays the screen corresponding to application 3, and window page 1304 displays the screen corresponding to application 4. Window pages 1301 and 1302 are the windows where the user performs a gaze operation, while window pages 1303 and 1304 are the windows where the user does not perform a gaze operation. The mobile phone can reduce the rendering frame rate corresponding to window pages 1301 and 1303, while keeping the rendering frame rate of window pages 1302 and 1304 unchanged.

[0135] In some embodiments, when there are multiple windows where the user performs a gaze operation, a third window can be displayed on the mobile phone. When the mobile phone displays the image in the third window, the third window corresponds to a third rendering frame rate. In response to the user's first gaze operation, the mobile phone controls the second rendering frame rate corresponding to the second window to decrease, and maintains the first rendering frame rate corresponding to the first window and the third rendering frame rate corresponding to the third window. Here, the user's first gaze operation indicates that the user's gaze range includes a portion of the first window and a portion of the third window.

[0136] In this situation, the phone determines that the user is simultaneously viewing the first and third window pages, but not the second window page. To maintain the user experience, the phone keeps the rendering frame rates for the first and third window pages unchanged, while reducing the rendering frame rate for the second window page to lower power consumption and extend battery life.

[0137] For example, if the mobile phone determines that there are multiple windows where the user is performing a gaze operation, it can be as follows: Figure 14 As shown, Figure 14The middle window page is divided into three: window page 1401, window page 1402 and window page 1403. Among them, window page 1401 shows the corresponding picture of application 1, window page 1402 shows the corresponding picture of application 2, and window page 1403 shows the corresponding picture of application 3. The gaze range of the user recognized by the mobile phone is a circular part 1404, and part of the window page 1401 and part of the window page 1403 coincide with the circular part 1404, so the window page 1401 and the window page 1403 are the window pages gazed by the user, and the window page 1402 is the window page not gazed by the user. The mobile phone can maintain the drawing frame rate corresponding to the window page 1401 and the drawing frame rate corresponding to the window page 1403 in the user's gaze range, and reduce the drawing frame rate corresponding to the window page 1402 which is not in the user's gaze range. Another example, the mobile phone can determine the overlapping area between the gaze range 1404 and the window page 1401 and the window page 1403 respectively, and calculate the overlapping area of the overlapping area, when the overlapping area is greater than the preset area, the window page corresponding to the overlapping area of the overlapping area is the window page for the user to perform the gaze operation. In order to maintain the user's experience, the mobile phone maintains the drawing frame rate corresponding to the window page 1401 and the window page 1403 respectively unchanged, and reduces the drawing frame rate corresponding to the window page 1402, so as to reduce the power consumption and prolong the battery life.

[0138] In some embodiments, when the user performs the gaze operation on the first window page and the third window page, the mobile phone divides the first window page and the third window page into the first display area, and when the user performs the gaze operation on the second window page, the mobile phone divides the second window page into the second display area. In other embodiments, because the display screen displays window pages, it can also display other pages or controls in addition to window pages. For example, the other pages can be the desktop of the mobile phone, and the controls can be application icons. Therefore, when dividing the display area, the mobile phone can also divide the other pages or controls into the corresponding display area according to whether they are gazed by the user. Among them, the drawing frame rate of the window page, the other page or the control in the same display area can be the same or different. When the drawing frame rate of the window page in the same display area is the same, for example, the first display area includes the first window page and the third window page, and the first drawing frame rate corresponding to the first window page is the same as the third drawing frame rate corresponding to the third window page. When the drawing frame rate in the same display area is different, for example, the first display area includes the first window page and the third window page, and the first drawing frame rate corresponding to the first window page is different from the third drawing frame rate corresponding to the third window page.

[0139] For example, as shown in Figure 15 Figure 15 ​The display area 1501 and the display area 1502 are divided by a dashed line, the window page 1503 and the window page 1504 in the display area 1501 are user gazed, and the window page 1505 in the display area 1502 is not gazed by the user. The window page 1503 shows a picture corresponding to an application 1, the window page 1505 shows a picture corresponding to an application 2, and the window page 1504 shows a picture corresponding to an application 3. The drawing frame rates of the window page 1503 and the window page 1504 in the display area 1501 can be the same or different. The display area can further include a mobile phone desktop and application icons, as shown in Figure 16 The display area 1601 and the display area 1602 are divided by a dashed line, the window page 1603 and the desktop 1604 in the display area 1601 are user gazed, the desktop 1604 displays a control 1 and a control 2 corresponding to application icons, and the window page 1605 in the display area 1602 is not gazed by the user. The window page 1603 shows a picture corresponding to an application 1, and the window page 1605 shows a picture corresponding to an application 2. The drawing frame rates of the window page 1603 and the desktop page 1604 can be the same or different.

[0140] In some embodiments, in order to improve the user experience, the mobile phone can increase the drawing frame rate of the user gazed window page and reduce the drawing frame rate of the user un-gazed window page. The mobile phone can give the user a better viewing experience without increasing power consumption.

[0141] In some embodiments, the mobile phone, in response to the user gazing the first window page, if a white list page is displayed in the second window page, maintains the second drawing frame rate corresponding to the second window page.

[0142] The mobile phone determines the un-gazed window page, queries a white list in the mobile phone, the white list includes a white list page, the white list page is an application page authorized by the user and the drawing frame rate of which is not reduced, and the application page represents a picture corresponding to an application displayable in the window page. When the picture displayed in the window page is the white list page, the mobile phone does not reduce the drawing frame rate corresponding to the window page.

[0143] For example, as shown in Figure 17As shown, the mobile phone displays a whitelist configuration page, and the whitelist configuration page includes frame rate adjustment permission switches of various applications. A user can select one or more applications to turn on or turn off the frame rate adjustment permission of the applications. When the frame rate adjustment permission is turned on, the mobile phone can be regarded as the application being authorized by the user. All the pictures corresponding to the application that can be displayed in a window page are whitelist pages. When a picture corresponding to the application is displayed in the window page, the drawing frame rate corresponding to the window page is not reduced. The frame rate adjustment permission switches of the application 1 and the application 2 are in the on state, and the frame rate adjustment permission switch of the application 3 is in the off state. The mobile phone displays the picture corresponding to the application 1 in the window page. The mobile phone can determine that there is a page consistent with the displayed picture in the whitelist page. When the mobile phone needs to reduce the drawing frame rate corresponding to the window page, the mobile phone can cancel or stop reducing the drawing frame rate. The mobile phone displays the picture corresponding to the application 3 in the window page. The mobile phone can determine that there is no page consistent with the displayed picture in the whitelist page. When the mobile phone needs to reduce the drawing frame rate corresponding to the window page, the mobile phone can directly perform the reduction of the drawing frame rate.

[0144] Since the application page displayed by the application in the window page can be various, the mobile phone can also support the user to set the frame rate adjustment permission of different application pages. For example, Figure 18 As shown, the mobile phone displays a whitelist configuration page, and the whitelist configuration page includes frame rate adjustment permission switches of different application pages corresponding to the same application. A user can turn on or turn off the frame rate adjustment permission switch of one or more application pages. When the user views the whitelist configuration page, the mobile phone can directly display Figure 18 , or can be Figure 17 jumped to Figure 18 . Figure 18 In the example, the application page 1, the application page 2, and the application page 3 are different application pages of the application 1. The frame rate adjustment permission switches of the application page 1 and the application page 2 are in the on state, and the frame rate adjustment permission switch of the application page 3 is in the off state. The mobile phone displays the application page 1 in the window page and needs to reduce the drawing frame rate corresponding to the window page. The mobile phone determines that there is a page consistent with the application page 1 in the whitelist page. The mobile phone can cancel or stop reducing the drawing frame rate. The mobile phone displays the application page 3 in the window page and needs to reduce the drawing frame rate corresponding to the window page. The mobile phone determines that there is no page consistent with the application page 3 in the whitelist page. The mobile phone can directly perform the reduction of the drawing frame rate.

[0145] In some other embodiments, the mobile phone also displays a fourth window page corresponding to a fourth drawing frame rate. In response to the user gazing at the first window page, if the fourth window page displays a whitelist page, the mobile phone controls the second drawing frame rate corresponding to the second window page to be reduced and maintains the fourth drawing frame rate corresponding to the fourth window page.

[0146] When the phone determines that the unattended windows are the second and fourth windows, it needs to reduce the rendering frame rate for each window. However, if the phone determines that the screen displayed in the fourth window is a whitelisted page, it cancels or stops reducing the rendering frame rate for the fourth window and only reduces the rendering frame rate for the second window. The phone can determine whether to adjust the rendering frame rate based on the frame rate adjustment permission switch set by the user in the whitelisted pages, in order to maintain the user experience.

[0147] In some other embodiments, when dividing the window page, if the screen displayed in the window page is consistent with the whitelist page, the window page can be divided into the display area where the user performs the gazing operation, regardless of whether the window page is being watched by the user, so as to ensure effective execution without reducing the rendering frame rate.

[0148] When a mobile phone displays a screen in a window, the display quality depends not only on the frame rate but also on the screen refresh rate. The window displays images by showing frames. The frame rate is related to the generation of frames, while the screen refresh rate is related to the display of those frames. The screen refresh rate refers to the number of times the screen refreshes per second, measured in Hertz (Hz). With a constant frame rate, a higher screen refresh rate within a certain range results in smoother visuals. Furthermore, there is a compatibility relationship between the screen refresh rate and the frame rate. For example, when the frame rate is 120Hz, a screen refresh rate of 120Hz will achieve the best display effect. However, if the frame rate is 120Hz but the screen refresh rate is 30Hz, only a portion of the frames will be displayed in the window, resulting in a less desirable display compared to a 120Hz refresh rate. Conversely, when the frame rate is 60Hz and the screen refresh rate is 120Hz, there is no improvement in display quality compared to a 60Hz refresh rate. In addition, mobile phones with higher screen refresh rates consume more power compared to those with lower refresh rates.

[0149] In some embodiments, the mobile phone can display a first window page at a first display refresh rate and a second window page at a second refresh rate. The first and second display refresh rates can be the same or different.

[0150] In addition to adjusting the rendering frame rate, mobile phones can also adjust the display refresh rate. For example, a phone can reduce only the rendering frame rate, reduce only the display refresh rate, or reduce both the rendering frame rate and the display refresh rate simultaneously. When adjusting the display refresh rate, a phone can adjust the refresh rate corresponding to the displayed window page or the refresh rate corresponding to the display area.

[0151] In some embodiments, the mobile phone displays a first window page, a second window page, and a third window page on its display screen. The first window page and the third window page are displayed in a first display area of ​​the display screen, and the second window page is displayed in a second display area of ​​the display screen. The first display area corresponds to a first display screen refresh rate, and the second display area corresponds to a second display screen refresh rate. In response to a user's first gaze operation, the mobile phone controls the second rendering frame rate corresponding to the second window page to decrease, maintains the second display screen refresh rate of the second display area, maintains the first rendering frame rate corresponding to the first window page and the third rendering frame rate corresponding to the third window page, and maintains the first display screen refresh rate of the first display area.

[0152] When a user performs a gaze operation on the first and third window pages, the phone allocates the first and third window pages to the first display area. When the user performs a gaze operation on the second window page, the phone allocates the second window page to the second display area. Each display area can correspond to a uniform screen refresh rate. In this embodiment, the phone can respond to the user's gaze operation by maintaining the first screen refresh rate of the first display area and the second screen refresh rate of the second display area, maintaining the rendering frame rate corresponding to the first and third window pages where the user performs a gaze operation, and reducing the rendering frame rate corresponding to the second window page where the user does not perform a gaze operation. By unilaterally reducing the rendering frame rate corresponding to the phone's window pages, the phone's power consumption is reduced, extending the phone's battery life.

[0153] In other embodiments, the mobile phone displays a first window page, a second window page, and a third window page on its display screen. The first and third window pages are displayed in a first display area of ​​the display screen, and the second window page is displayed in a second display area of ​​the display screen. The first display area corresponds to a first display screen refresh rate, and the second display area corresponds to a second display screen refresh rate. In response to a user's first gaze operation, the mobile phone maintains a second rendering frame rate corresponding to the second window page, reduces the second display screen refresh rate of the second display area, maintains the first rendering frame rate corresponding to the first window page and the third rendering frame rate corresponding to the third window page, and maintains the first display screen refresh rate of the first display area.

[0154] When a user gazes at the first and third window pages, the phone allocates those pages to the first display area. Similarly, when the user gazes at the second window page, the phone allocates it to the second display area. Each display area can have a consistent screen refresh rate. The phone responds to user gaze by maintaining the rendering frame rate of the first, second, and third window pages, maintaining the refresh rate of the first display area where the user is gazing, and reducing the refresh rate of the second display area where the user is not gazing. By unilaterally reducing the phone's screen refresh rate, power consumption is reduced, extending battery life.

[0155] In some other embodiments, the mobile phone displays a first window page, a second window page, and a third window page on the display screen. The first window page and the third window page are displayed in a first display area of ​​the display screen, and the second window page is displayed in a second display area of ​​the display screen. In response to a user's first gaze operation, the mobile phone controls a decrease in the second rendering frame rate corresponding to the second window page and a decrease in the second display screen refresh rate of the second display area, while maintaining the first rendering frame rate corresponding to the first window page and the third rendering frame rate corresponding to the third window page, and maintaining the first display screen refresh rate of the first display area.

[0156] When a user gazes at the first and third window pages, the phone allocates these two windows to the first display area. Similarly, when the user gazes at the second window page, the phone allocates it to the second display area. Each display area can have a consistent screen refresh rate. The phone responds to user gaze by maintaining the rendering frame rate for the first and third window pages where the user is gazing, and maintaining the screen refresh rate for the first display area. For the second window page where the user is not gazing, the phone reduces the rendering frame rate and the screen refresh rate for the second display area where the user is not gazing. By simultaneously reducing the rendering frame rate for the window pages and the screen refresh rate, the phone's power consumption is reduced, extending battery life.

[0157] In some embodiments, the mobile phone displays a first window page, a second window page, and a third window page on its display screen. The first window page and the third window page are displayed in a first display area of ​​the display screen, and the second window page is displayed in a second display area of ​​the display screen. In response to a user's first gaze action, the mobile phone controls the second rendering frame rate corresponding to the second window page to decrease, controls the second display screen refresh rate of the second display area to decrease, controls the first rendering frame rate corresponding to the first window page and the third rendering frame rate corresponding to the third window page to increase, and controls the first display screen refresh rate of the first display area to increase.

[0158] When a user gazes at the first and third window pages, the phone allocates these two windows to the first display area. Similarly, when a user gazes at the second window page, the phone allocates it to the second display area. Each display area can have a uniform screen refresh rate. The phone responds to user gaze by maintaining the rendering frame rate for the first and third window pages where the user is gazing, and maintaining the screen refresh rate for the first display area. For the second window page where the user is not gazing, the phone reduces the rendering frame rate and the screen refresh rate for the second display area where the user is not gazing. Furthermore, to improve the user's viewing experience, the phone can increase the rendering frame rate for the window the user is currently gazing at, as well as the screen refresh rate of the display area containing that window. This enhances the display effect of the currently viewed window, reducing the power consumption of the reduced second rendering frame rate for the second window page. This compensates for the increased power consumption when increasing the first and third rendering frame rates for the first and third window pages, thus enhancing the user experience.

[0159] In the above embodiments, a mobile phone is used as an example to illustrate the display control method. In other embodiments, the above method can also be performed on a terminal device with a display screen, such as a tablet computer, PC, smart screen device, vehicle terminal, or smartwatch. The specific implementation method can be referred to the content of the foregoing embodiments, and will not be repeated here.

[0160] The technical solutions disclosed in this application involve the collection, storage, use, processing, transmission, provision, and comparison of user personal information, all of which comply with relevant laws and regulations and do not violate public order and good morals. Alternatively, the collection, storage, use, processing, transmission, provision, and comparison of user personal information are all conducted with the user's authorization. User personal information includes, but is not limited to, the user's facial image.

[0161] In some solutions, multiple embodiments of this application can be combined, and the combined solution can be implemented. Optionally, some operations in the processes of each method embodiment may be combined, and / or the order of some operations may be changed. Furthermore, the execution order between the steps of each process is merely exemplary and does not constitute a limitation on the execution order between steps; other execution orders are also possible. It is not intended to indicate that the execution order is the only possible order in which these operations can be performed. Those skilled in the art will conceive of various ways to reorder the operations described in this embodiment. In addition, it should be noted that the process details involved in one embodiment of this application are also applicable to other embodiments in a similar manner, or different embodiments may be combined.

[0162] Furthermore, some steps in the method embodiments can be equivalently replaced with other possible steps. Alternatively, some steps in the method embodiments may be optional and can be deleted in certain use cases. Or, other possible steps may be added to the method embodiments.

[0163] Furthermore, the various method embodiments can be implemented individually or in combination.

[0164] It is understood that, in order to achieve the above functions, the aforementioned electronic device includes hardware and / or software modules corresponding to perform each function. Based on the algorithmic steps of the various examples described in conjunction with the embodiments disclosed herein, this application can be implemented in hardware or a combination of hardware and computer software. Whether a function is executed in hardware or by computer software driving hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application in conjunction with the embodiments, but such implementation should not be considered beyond the scope of this application.

[0165] This embodiment can divide the electronic device into functional modules according to the above method example. For example, each function can be divided into its own functional modules, or two or more functions can be integrated into one processing module. The integrated modules can be implemented in hardware. It should be noted that the module division in this embodiment is illustrative and only represents one logical functional division. In actual implementation, there may be other division methods.

[0166] This embodiment also provides an electronic device, such as... Figure 19 As shown, the electronic device may include one or more processors 1901, memory 1902, and communication interfaces 1903.

[0167] The memory 1902, communication interface 1903, and processor 1901 are coupled together. For example, the memory 1902, communication interface 1903, and processor 1901 can be coupled together via bus 1904.

[0168] The communication interface 1903 is used for data transmission with other devices. The memory 1902 stores computer program code. The computer program code includes computer instructions, which, when executed by the processor 1901, cause the electronic device to perform the display control method of this embodiment.

[0169] The processor 1901 may be a processor or controller, such as a central processing unit (CPU), a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or other programmable logic devices, transistor logic devices, hardware components, or any combination thereof. It can implement or execute the various exemplary logic blocks, modules, and circuits described in conjunction with this disclosure. The processor may also be a combination that implements computational functions, such as a combination of one or more microprocessors, a combination of a DSP and a microprocessor, etc.

[0170] The bus 1904 can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. The aforementioned bus 1904 can be divided into address bus, data bus, control bus, etc. For ease of representation, Figure 19 The bus is represented by a single thick line, but this does not mean that there is only one bus or one type of bus.

[0171] This embodiment also provides a computer-readable storage medium, which includes computer instructions. When the computer instructions are executed on an electronic device, the electronic device performs the relevant method steps in the above method embodiments.

[0172] This embodiment also provides a computer program product that, when run on a computer, causes the computer to execute the relevant method steps in the above method embodiments.

[0173] The electronic devices, computer-readable storage media, or computer program products provided in this application are all used to perform the corresponding methods provided above. Therefore, the beneficial effects they can achieve can be referred to the beneficial effects in the corresponding methods provided above, and will not be repeated here.

[0174] Through the above description of the embodiments, those skilled in the art can clearly understand that, for the sake of convenience and brevity, only the division of the above functional modules is used as an example. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.

[0175] In the several embodiments provided in this application, it should be understood that the disclosed apparatus and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of modules or units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another device, or some features may be ignored or not executed. Furthermore, the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between devices or units may be electrical, mechanical, or other forms.

[0176] The units described as separate components may or may not be physically separate. A component shown as a unit can be one or more physical units; that is, it can be located in one place or distributed in multiple different locations. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.

[0177] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.

[0178] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a readable storage medium. Based on this understanding, the technical solution of the embodiments of this application, in essence, or the part that contributes, or all or part of the technical solution, can be embodied in the form of a software product. This software product is stored in a storage medium and includes several instructions to cause a device (which may be a microcontroller, chip, etc.) or processor to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

[0179] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions within the technical scope disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.

Claims

1. A display control method characterized by comprising: The method comprises: displaying a first window page and a second window page; the first window page corresponds to a first drawing frame rate, and the second window page corresponds to a second drawing frame rate; in response to a user's gaze operation on the first window page, controlling the second window page to reduce the second drawing frame rate corresponding to the second window page, and maintaining the first drawing frame rate corresponding to the first window page.

2. The method of claim 1, wherein, The method further comprises: displaying a third window page; the third window page corresponds to a third drawing frame rate; The method further comprises: in response to a user's first gaze operation, controlling the second window page to reduce the second drawing frame rate corresponding to the second window page, and maintaining the first drawing frame rate corresponding to the first window page and the third drawing frame rate corresponding to the third window page; the first gaze operation indicates that the user's gaze range on the display screen includes a part of the first window page and a part of the third window page.

3. The method of claim 1, wherein, The first window page and the third window page are displayed in a first display area of the display screen; the second window page is displayed in a second display area of the display screen; the first display area corresponds to a first display screen refresh rate, and the second display area corresponds to a second display screen refresh rate; The method further comprises: in response to the user's first gaze operation, controlling the second display area to reduce the second display screen refresh rate, and maintaining the first display screen refresh rate of the first display area.

4. The method of claim 1, wherein, The first window page and the third window page are displayed in a first display area of the display screen; the second window page is displayed in a second display area of the display screen; The first display area corresponds to a first display screen refresh rate, and the second display area corresponds to a second display screen refresh rate; The method further comprises: in response to the user's first gaze operation, controlling the second window page to reduce the second drawing frame rate corresponding to the second window page, and controlling the second display area to reduce the second display screen refresh rate, maintaining the first drawing frame rate corresponding to the first window page and the third drawing frame rate corresponding to the third window page, and maintaining the first display screen refresh rate of the first display area.

5. The method according to any one of claims 1 to 4, characterized in that, The method further comprises: in response to a user's gaze operation on the first window page, if a whitelist page is displayed in the second window page, maintaining the second drawing frame rate corresponding to the second window page.

6. The method according to any one of claims 1 to 5, characterized in that, The method further comprises: displaying a fourth window page; the fourth window page corresponds to a fourth drawing frame rate; The method further comprises: in response to a user's gaze operation on the first window page, if a whitelist page is displayed in the fourth window page, controlling the second window page to reduce the second drawing frame rate corresponding to the second window page, and maintaining the fourth drawing frame rate corresponding to the fourth window page.

7. The method according to any one of claims 1 to 6, characterized in that, The first window page and the second window page belong to the same application, or belong to different applications.

8. An electronic device, comprising: An electronic device comprising a memory, one or more processors; the memory coupled with the processors; wherein the memory has computer program codes stored therein, the computer program codes comprising computer instructions that, when executed by the processors, cause the electronic device to perform the display control method according to any one of claims 1-7.

9. A computer-readable storage medium, characterized in that, A computer program product comprising computer instructions that, when run on an electronic device, cause the electronic device to perform the display control method according to any one of claims 1-7.

10. A computer program product, characterised in that, A computer program product comprising computer instructions that, when run on an electronic device, cause the electronic device to perform the display control method according to any one of claims 1-7.