Display screen control method and electronic device

By dynamically adjusting the display refresh rate and intelligently controlling the PSR function, the problem of screen flickering and blackout when electronic devices enable PSR has been solved, achieving energy consumption optimization and user experience improvement in different scenarios.

CN118675428BActive Publication Date: 2026-03-17HONOR DEVICE CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-03-16
Publication Date
2026-03-17

AI Technical Summary

Technical Problem

Electronic devices are prone to screen flickering and blackouts when operating with Panel Self-Refresh (PSR) enabled, which affects the user experience.

Method used

By dynamically adjusting the display refresh rate and considering electromagnetic interference signals and CRC anomalies, the system intelligently controls the activation and deactivation of the PSR function. This ensures that the refresh rate is reduced to save energy in static interfaces and maintained at a high refresh rate in dynamic interfaces. It also prevents the screen from flickering black when PSR is turned off due to abnormal data transmission.

Benefits of technology

It effectively reduces the occurrence of screen flickering and blackouts, improves the user experience, and optimizes the energy consumption management of electronic devices in different scenarios.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118675428B_ABST
    Figure CN118675428B_ABST
Patent Text Reader

Abstract

This application provides a display screen control method and electronic device, relating to the field of computer technology. This solution reduces energy consumption while minimizing the occurrence of screen flickering / blackout issues. Specifically, before entering a space with first electromagnetic interference, for displays that support PSR (Power Surge Reduction), the electronic device can enable the PSR function. This dynamically adjusts the refresh rate between dynamic and static screen states, thereby reducing energy consumption. After entering a space with first electromagnetic interference, the electronic device can disable the PSR function, thus using a fixed refresh rate between dynamic and static screen states. By promptly disabling the PSR function, the occurrence of screen flickering / blackout issues is resolved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of computer technology, and in particular to a display screen control method and electronic device. Background Technology

[0002] Panel self-refresh (PSR) is a technology that reduces the power consumption of electronic devices by dynamically adjusting the refresh rate of their displays. However, when PSR is enabled, electronic devices often experience screen flickering and blackouts, which significantly impacts the user experience. Summary of the Invention

[0003] In view of this, this application provides a display control method and electronic device for reducing screen flickering while improving device power consumption.

[0004] To achieve the above objectives, the embodiments of this application adopt the following technical solutions:

[0005] In a first aspect, this application provides a display screen control method applied to an electronic device. The electronic device includes a first display screen that supports panel self-refresh. The method includes: responding to a user's operation by displaying a first interface; during a first time period, the electronic device displays a first group of image frames on the first interface, where each image frame in the first group has the same content, and the refresh rate of the first display screen during the first time period is a first refresh rate; after the first time period, responding to a user's operation by displaying a second interface; during a second time period, the electronic device displays a second group of image frames on the second interface, where multiple image frames in the second group have different content, and the refresh rate of the first display screen during the second time period is a second refresh rate, which is greater than the first refresh rate.

[0006] The first set of image frames includes image frames displayed on the first display screen at various points in time during the first time period. In some scenarios, the first set of image frames may be a portion of the image displayed on the first display screen that does not include the toolbar. In other words, the first set of image frames is display data drawn on the panel of the first display screen.

[0007] For example, each image frame in the first group of image frames has the same content, that is, the first display screen displays a static first interface during the first time period. Also for example, most image frames in the first group of image frames have the same content, that is, the first display screen displays a static first interface for most of the first time period.

[0008] The aforementioned second set of image frames includes image frames displayed on the first display screen at various points in time during the second time period. The content of multiple image frames in the second set of image frames differs; in some scenarios, the aforementioned second set of image frames may be a portion of the image displayed on the first display screen that does not include the toolbar.

[0009] For example, in the second set of image frames, the content of multiple sets of image frames that are adjacent to each other at corresponding time points is different. That is, during the second time period, the second display screen shows a dynamic second interface.

[0010] In the above embodiments, when the hardware of the first display screen supports the PSR function, even if the user does not manually adjust the refresh rate, the electronic device can maintain a high refresh rate during the display of dynamic interfaces, ensuring that the electronic device can display content normally without lag. During the display of static interfaces, a lower refresh rate is used to ensure that the electronic device can display content normally while reducing power consumption.

[0011] Additionally, after the second time period, in response to user operation, a first interface is displayed; in the third time period, the electronic device displays the first set of image frames on the first interface, and the refresh rate of the first display screen during the third time period is a third refresh rate; wherein, during the third time period, the electronic device is located in a space where a first electromagnetic interference signal exists; after the third time period, in response to user operation, a second interface is displayed; in the fourth time period, the electronic device displays the second set of image frames on the second interface, and the refresh rate of the first display screen during the fourth time period is a third refresh rate; wherein, during the fourth time period, the electronic device is located in a space where a first electromagnetic interference signal exists, and the user does not modify the refresh rate of the first display screen between the start time of the first time period and the end time of the fourth time period.

[0012] In the above embodiments, when the electronic device does not meet the first condition, it can enable the PSR function to balance display requirements and power consumption. When the electronic device meets the first condition, it can automatically disable the PSR function. After disabling the PSR function, the refresh rate of the first display screen remains unchanged regardless of whether a dynamic or static interface is displayed. This avoids the PSR function triggering a self-test on the first display screen, thereby preventing screen flickering.

[0013] Additionally, the aforementioned first condition can refer to environmental conditions that could cause abnormal data transmission between the display screen and the GPU of an electronic device. For example, the aforementioned first condition may include any of the following:

[0014] (1) The electronic device enters a spatial environment containing a first electromagnetic interference signal. The first electromagnetic interference signal may have a signal frequency close to a first clock frequency, which may be the data transmission frequency between the first display screen and the GPU. Furthermore, the signal strength of the first electromagnetic interference signal is greater than a preset strength threshold, which may be an empirical value determined through testing; this embodiment of the application does not limit this.

[0015] (2) Third-party devices use the external interface provided by this electronic device to charge.

[0016] (3) The bus between the first display screen and the GPU in the electronic device is aging or loose.

[0017] In some embodiments, the electronic device may be affected by a first condition, controlling the refresh rate of the first display screen to be the third refresh rate in both the third and fourth time periods.

[0018] For example, based on the influence of the first electromagnetic interference signal, the refresh rate of the first display screen is the third refresh rate in both the third and fourth time periods.

[0019] For example, if an electronic device is affected by the first electromagnetic interference signal and a CRC error occurs, it can trigger the electronic device to turn off the PSR function. In this way, the refresh rate of the first display screen is the third refresh rate in both the third and fourth time periods.

[0020] In some embodiments, the method further includes: after a fourth time period, displaying a first interface in response to a user's operation; during a fifth time period, the electronic device displays a first set of image frames on the first interface, wherein the refresh rate of the first display screen is a third refresh rate during the fifth time period; wherein, during the fifth time period, the electronic device is not located in a space where a first electromagnetic interference signal exists; after the fifth time period, displaying a second interface in response to a user's operation; during a sixth time period, the electronic device displays a second set of image frames on the second interface, wherein the refresh rate of the first display screen is a third refresh rate during the sixth time period, wherein, during the sixth time period, the electronic device is not located in a space where a first electromagnetic interference signal exists.

[0021] Once the electronic device determines that the first condition is met, it will disable the PSR function. In the above embodiment, after the PSR function is disabled, even if the current scene no longer meets the first condition, the PSR function will remain disabled. This avoids accidentally enabling the PSR function before data transmission between the GPU and the display has returned to normal.

[0022] In some embodiments, the method further includes: after a fourth time period, displaying a first interface in response to a user's operation; during a seventh time period, the electronic device displays a first set of image frames on the first interface, wherein the refresh rate of the first display screen is a first refresh rate during the seventh time period; wherein, during the seventh time period, the electronic device is not located in a space where a first electromagnetic interference signal exists; after the seventh time period, displaying a second interface in response to a user's operation; during an eighth time period, the electronic device displays a second set of image frames on the second interface, wherein the refresh rate of the first display screen is a second refresh rate during the eighth time period, wherein, during the eighth time period, the electronic device is not located in a space where a first electromagnetic interference signal exists.

[0023] In the above embodiments, after the electronic device recognizes that the current scene no longer meets the first condition, it can promptly activate the PSR function, effectively reducing the energy consumption of the electronic device without causing a black screen.

[0024] In some embodiments, after the electronic device is located in a space where a first electromagnetic interference signal exists, the method further includes: data loss occurs in the data transmitted between the GPU of the electronic device and the first display screen, and the electronic device generates a CRC integrity check exception; after the electronic device generates the CRC exception, the electronic device disables the PSR function.

[0025] For example, the electronic device may disable the PSR function based on the CRC exception generated by the electronic device.

[0026] In the above embodiments, the electronic device can promptly disable the PSR function, which can prevent the PSR function's self-test process from being triggered by CRC abnormalities, thus avoiding the problem of the electronic device experiencing a black screen.

[0027] In some embodiments, after the electronic device generates the CRC exception, the method further includes: in response to a first user operation, displaying a third interface, the third interface including a target option indicating that the PSR function is enabled, the target option being unselectable.

[0028] Understandably, most users have little understanding of the PSR function and find it difficult to determine when to turn it on and off, thus leading to the possibility of accidentally activating the PSR function. The above embodiment increases the priority of the electronic device's autonomous PSR function activation, thereby mitigating the problem of users accidentally activating the PSR function.

[0029] In other embodiments, a third interface may be displayed in response to the user's first operation, in which the target option is hidden, thereby preventing the user from accidentally activating the PSR function.

[0030] In other embodiments, a third interface containing the target option may be displayed in response to the user's first action; however, the electronic device does not respond to the user's action on the target option. This also prevents the user from accidentally activating the PSR function.

[0031] In some embodiments, after the electronic device generates the CRC exception and disables the PSR function, the method further includes:

[0032] After N consecutive first image frames pass the CRC check, the electronic device enables the PSR function; the first image frame is display data sent by the GPU in the electronic device to the first display screen, and N is a positive integer greater than 0.

[0033] For example, an electronic device may enable the PSR function based on the aforementioned event (e.g., the first image frame of N consecutive frames passes CRC).

[0034] In the above embodiments, the problem of triggering a black screen again after enabling the PSR function can be avoided.

[0035] In some embodiments, the electronic device further includes an embedded controller (EC) and a basic input / output system (BIOS). The electronic device is configured with a first list, which includes first model information and a first identifier. The first model information is the model information of a display screen adapted to the electronic device, and the first identifier indicates that the display screen corresponding to the first model information has the PSR function enabled. Before displaying the first interface in response to a user operation, the method further includes: after the electronic device is powered on, the EC obtains first information from the first display screen, which is model information pre-stored in the first display screen; if the first information matches the first model information in the first list, the EC sets the value of a first flag bit to a first value; if the first flag bit is the first value, the BIOS creates a first display screen driver according to a first parameter, the first display screen driver being used to control the first display screen to use a variable refresh rate.

[0036] In the above embodiments, the electronic device can automatically enable the PSR function based on the fact that the first display screen supports the PSR function. This reduces energy consumption while meeting display requirements.

[0037] In some embodiments, after the electronic device generates the CRC exception, the electronic device disables the PSR function, including: the EC changing the first identifier in the first list to a second identifier, the second identifier indicating that the display screen corresponding to the first model information disables the PSR function; the EC setting the first marker to a second value; and when the first marker is set to the second value, the BIOS creating a second display driver according to a second parameter, the second display driver being used to instruct the first display screen to use a fixed refresh rate. In the above embodiments, the electronic device can promptly disable the PSR function based on the generation of the CRC exception, avoiding the problem of screen flickering and blackouts.

[0038] In some embodiments, after the electronic device generates the CRC exception and disables the PSR function, the method further includes: after N consecutive first image frames pass the CRC, restoring the second identifier in the first list to the first identifier; the EC setting the first marker position to a first value; and when the first marker position is the first value, the BIOS creating a first display driver according to a first parameter, the first display driver being used to control the first display to adopt a variable refresh rate.

[0039] In the above embodiments, the electronic device can promptly activate the PSR function based on the disappearance of the CRC anomaly, thereby reducing device power consumption.

[0040] In some embodiments, after obtaining the first information from the first display screen, the method further includes: storing the first information in a first storage area; after the electronic device restarts, the method further includes: if obtaining the first information from the first display screen fails, the EC retrieves the first information from the first storage area; if the first information matches the first model information in the first list, the EC sets the value of the first flag bit to a first value; if the first flag bit is the first value, the BIOS creates a first display driver according to a first parameter, the first display driver being used to control the first display screen to use a variable refresh rate.

[0041] In the above embodiments, the problem of occasionally being unable to read the first information from the first display screen is solved, and the fault tolerance of the above method is improved.

[0042] In some embodiments, the electronic device communicates with a cloud server, and the method further includes: when a second list is obtained from the cloud server, the EC determines, in the second list, a first model information, a second model information, a first identifier, and a third identifier that match the electronic device, wherein the second model information is model information of another display screen adapted to the electronic device, and the third identifier indicates whether the display screen corresponding to the second model information has the PSR function enabled; the EC generates a new first list based on the first model information, the second model information, the first identifier, and the third identifier in the second list.

[0043] In some embodiments, before generating the new first list, the method further includes: after the first display screen of the electronic device is replaced with a second display screen, the EC determines that the second information obtained from the second display screen is different from the first information stored in the first storage area, wherein the second information is model information pre-stored in the second display screen.

[0044] In the above embodiments, frequent updates to the first list can be avoided, thus preventing unnecessary energy consumption.

[0045] In some embodiments, after the first display screen of the electronic device is replaced with a second display screen, the method further includes: displaying a first interface in response to a user's operation; during a ninth time period, the electronic device displays a first set of image frames on the first interface, wherein the refresh rate of the second display screen during the ninth time period is a fourth refresh rate; after the ninth time period, displaying a second interface in response to a user's operation; and during a tenth time period, the electronic device displays a second set of image frames on the second interface, wherein the refresh rate of the second display screen during the tenth time period is a fourth refresh rate, and the second display screen does not support the PSR function.

[0046] In the above embodiments, when the electronic device updates its display screen to a different model, such as replacing it with a display screen that does not support PSR functionality, the electronic device can promptly disable the PSR function to avoid additional energy consumption. In other words, the electronic device can automatically enable or disable the PSR function based on the display screen model, achieving compatibility of the above method with multiple types of display screens.

[0047] In a second aspect, an electronic device is provided in the embodiments of this application. The electronic device includes one or more processors and a memory. The memory is coupled to the processor and is used to store computer program code, which includes computer instructions. When one or more processors execute the computer instructions, the one or more processors are used to perform the methods described in the first aspect and its possible embodiments.

[0048] Thirdly, embodiments of this application provide a computer storage medium including computer instructions that, when executed on an electronic device, cause the electronic device to perform the methods described in the first aspect and its possible embodiments.

[0049] Fourthly, this application provides a computer program product that, when run on the aforementioned electronic device, causes the electronic device to perform the methods described in the first aspect and its possible embodiments.

[0050] Understandably, the electronic devices, computer storage media, and computer program products provided in the above aspects are all applied to 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. Attached Figure Description

[0051] Figure 1 A schematic diagram of the hardware structure of the electronic device provided in the embodiments of this application.

[0052] Figure 2 This is a schematic diagram illustrating the principle of automatic panel refresh technology.

[0053] Figure 3 Example diagram of the display interface of the electronic device provided in the embodiments of this application;

[0054] Figure 4 Example diagrams of the hardware and software structure of the electronic device provided in the embodiments of this application;

[0055] Figure 5 This is one of the signaling interaction diagrams for the display control method provided in the embodiments of this application;

[0056] Figure 6 The second signaling interaction diagram of the display screen control method provided in the embodiments of this application;

[0057] Figure 7 The third signaling interaction diagram of the display screen control method provided in the embodiments of this application;

[0058] Figure 8 One of the scenario example diagrams for the display screen control method provided in the embodiments of this application;

[0059] Figure 9 A second example of a scenario illustrating the display screen control method provided in this application embodiment;

[0060] Figure 10 The third example diagram illustrates a scenario for the display screen control method provided in this application embodiment;

[0061] Figure 11 Fourth scenario example diagram of the display screen control method provided in the embodiments of this application;

[0062] Figure 12 Fifth example diagram illustrating a scenario for the display screen control method provided in this application embodiment;

[0063] Figure 13 Sixth example diagram of a scenario for the display screen control method provided in the embodiments of this application;

[0064] Figure 14 The fourth signaling interaction diagram of the display screen control method provided in the embodiments of this application;

[0065] Figure 15 An example diagram of a chip system provided in an embodiment of this application. Detailed Implementation

[0066] The technical solutions of the embodiments of this application will now be described with reference to the accompanying drawings. In the description of this application, unless otherwise stated, "at least one" refers to one or more, and "more than one" refers to two or more. Furthermore, to facilitate a clear description of the technical solutions of the embodiments of this application, the terms "first," "second," etc., are used in the embodiments of this application to distinguish identical or similar items with substantially the same function and effect. Those skilled in the art will understand that the terms "first," "second," etc., do not limit the quantity or execution order, and that "first," "second," etc., do not necessarily imply differences.

[0067] This application provides a display screen control method that can be applied to electronic devices.

[0068] For example, the electronic device in this application embodiment can be a portable computer (such as a mobile phone), tablet computer, desktop computer, laptop computer, handheld computer, notebook computer, ultra-mobile personal computer (UMPC), netbook, as well as a cellular phone, personal digital assistant (PDA), media player, and other devices with a display screen. This application embodiment does not impose any special limitations on the specific form of the electronic device. In subsequent embodiments, a notebook computer is mainly used as an example to describe the specific implementation details.

[0069] Please refer to Figure 1 , Figure 1 A schematic diagram of a possible hardware structure for an electronic device is shown:

[0070] like Figure 1As shown, the electronic device may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a microphone 170C, a headphone jack 170D, a sensor module 180, etc.

[0071] It is understood that the structures illustrated in the embodiments of the present invention do not constitute a specific limitation on the electronic device. In other embodiments of this application, the electronic device may include more or fewer components than illustrated, or combine some components, or split some components, or have different component arrangements. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.

[0072] Processor 110 may include one or more processing units, such as a central processing unit, application processor (AP), modem processor, graphics processing unit (GPU), image signal processor (ISP), controller, memory, video codec, digital signal processor (DSP), baseband processor, and / or neural network processing unit (NPU). Different processing units may be independent devices or integrated on one or more chips, such as on a main chip.

[0073] In some embodiments, the main chip may further include an embedded controller (EC) 210. The EC 210 is an embedded main control chip mounted on the CPU bus, used to manage various hardware components of the electronic device, such as a display screen, keyboard, and touchscreen. The EC 210 can remain powered on continuously to control the clock and monitor the operating status of various hardware components. For example, in this embodiment, the EC 210 can monitor the data transmission between the display screen and the GPU; that is, the EC 210 can periodically detect whether a CRC error occurs between the display screen and the GPU. Additionally, the EC 210 can obtain the device information of the display screen. Furthermore, the EC 210 can determine whether the PSR function can be enabled based on the device information of the display screen and the data transmission status between the display screen and the GPU. Specific implementation details can be found in the following embodiments.

[0074] The processor 110 may also include a memory for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. This memory can store instructions or data that the processor 110 has just used or that are used repeatedly. If the processor 110 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 110, and thus improves the efficiency of the system.

[0075] The wireless communication function of electronic devices can be realized through antenna 1, antenna 2, mobile communication module 150, wireless communication module 160, modem processor and baseband processor, etc.

[0076] Antenna 1 and antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in the electronic device can be used to cover one or more communication frequency bands. Different antennas can also be reused to improve antenna utilization. For example, antenna 1 can be reused as a diversity antenna for a wireless local area network. In some other embodiments, the antennas can be used in conjunction with a tuning switch.

[0077] The mobile communication module 150 can provide solutions for wireless communication applications including 2G / 3G / 4G / 5G in electronic devices. The mobile communication module 150 may include at least one filter, switch, power amplifier, low noise amplifier (LNA), etc. The mobile communication module 150 can receive electromagnetic waves via antenna 1, and perform filtering, amplification, and other processing on the received electromagnetic waves before transmitting them to a modem processor for demodulation. The mobile communication module 150 can also amplify the signal modulated by the modem processor and convert it into electromagnetic waves for radiation via antenna 1. In some embodiments, at least some functional modules of the mobile communication module 150 may be housed in processor 110. In some embodiments, at least some functional modules of the mobile communication module 150 and at least some modules of the processor 110 may be housed in the same device.

[0078] The wireless communication module 160 can provide solutions for wireless communication applications in electronic devices, including wireless local area networks (WLANs) (such as wireless fidelity (Wi-Fi) networks), Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), and infrared (IR) technologies. The wireless communication module 160 can be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via antenna 2, performs frequency modulation and filtering of the electromagnetic wave signals, and sends the processed signal to processor 110. The wireless communication module 160 can also receive signals to be transmitted from processor 110, perform frequency modulation and amplification, and convert them into electromagnetic waves for radiation via antenna 2.

[0079] In some embodiments, antenna 1 of the electronic device is coupled to mobile communication module 150, and antenna 2 is coupled to wireless communication module 160, enabling the electronic device to communicate with networks and other devices via wireless communication technology. The wireless communication technology may include Global System for Mobile Communications (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Time-Division Code Division Multiple Access (TD-SCDMA), Long Term Evolution (LTE), BT, GNSS, WLAN, NFC, FM, and / or IR technologies. The GNSS may include Global Positioning System (GPS), Global Navigation Satellite System (GLONASS), BeiDou Navigation Satellite System (BDS), Quasi-Zenith Satellite System (QZSS), and / or Satellite Based Augmentation Systems (SBAS).

[0080] Electronic devices implement display functions through a GPU, a display screen 194, and an application processor. The GPU is a microprocessor for image processing, connecting the display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations and for graphics rendering. The processor 110 may include one or more GPUs, which execute program instructions to generate or modify display information.

[0081] The display screen 194 is used to display images, videos, etc. The display screen 194 can be a display screen that supports PSR technology or a display screen that does not support PSR technology; this application embodiment does not specifically limit it in this way.

[0082] Additionally, the display screen 194 includes a display panel, namely the panel mentioned in the foregoing embodiments. Furthermore, the display screen 194 may also include a TCON. When the display screen 194 supports the PSR function, a buffer storage area is provided in the corresponding TCON. When the display screen 194 does not support the PSR function, no buffer storage area is provided in the corresponding TCON. The display panel may be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), a MiniLED, a MicroLED, a Micro-OLED, a quantum dot light-emitting diode (QLED), etc.

[0083] Electronic devices can achieve shooting functions through ISP, camera 193, video codec, GPU, display 194 and application processor.

[0084] The ISP (Image Signal Processor) is used to process data fed back from the camera 193. For example, when taking a picture, the shutter is opened, and light is transmitted through the lens to the camera's photosensitive element. The light signal is converted into an electrical signal, and the camera's photosensitive element transmits the electrical signal to the ISP for processing, transforming it into an image visible to the naked eye. The ISP can also perform algorithmic optimization of image noise, brightness, and skin tone. The ISP can also optimize parameters such as exposure and color temperature of the shooting scene. In some embodiments, the ISP can be set in the camera 193.

[0085] Camera 193 is used to capture still images or videos. An object is projected onto a photosensitive element by generating an optical image through the lens. The photosensitive element can be a charge-coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The photosensitive element converts the light signal into an electrical signal, which is then passed to an ISP for conversion into a digital image signal. The ISP outputs the digital image signal to a DSP for processing. The DSP converts the digital image signal into image signals in standard RGB, YUV, or other formats. In some embodiments, the electronic device may include one or N cameras 193, where N is a positive integer greater than 1.

[0086] Digital signal processors (DSPs) are used to process digital signals. Besides digital image signals, they can also process other digital signals. For example, when an electronic device is selecting a frequency, a DSP can perform a Fourier transform on the frequency energy.

[0087] Video codecs are used to compress or decompress digital video. Electronic devices can support one or more video codecs. This allows the electronic device to play or record video in various encoded formats, such as Moving Picture Experts Group (MPEG) 1, MPEG2, MPEG3, MPEG4, etc.

[0088] An NPU (Neural Processing Unit) is a computational processor for neural networks (NNs). By borrowing the structure of biological neural networks, such as the transmission patterns between neurons in the human brain, it can rapidly process input information and continuously learn on its own. NPUs enable intelligent cognitive applications in electronic devices, such as image recognition, facial recognition, speech recognition, and text understanding.

[0089] Of course, the electronic device may also include a charging management module 140, a power management module 141, a battery 142, an indicator, a keyboard, a mouse, a control panel, a heat dissipation device, and one or more SIM card interfaces, etc., and this application embodiment does not impose any restrictions on this.

[0090] In some embodiments, the main chip of the aforementioned electronic device supports enabling the panel self refresh (PSR) function, and the display screen of the electronic device can be a display screen that supports the PSR function or a display screen that does not support the PSR function.

[0091] Understandably, panel self-refresh (PSR) is a technology that effectively reduces the power consumption of electronic devices. Electronic devices include a GPU and a display screen. The display screen relies on the GPU to continuously process display data to maintain the graphics display.

[0092] In the actual operation of electronic devices, in scenarios with high screen refresh requirements, such as running large games, the GPU needs to constantly process display data, and at the same time, the display screen also needs to quickly refresh the content displayed on the display panel to meet the display requirements of the current scenario.

[0093] In scenarios with low screen refresh requirements, such as displaying ebooks or browsing static web pages, the GPU can meet the display needs even without frequent data processing and the display screen doesn't rapidly refresh its content. In these scenarios, electronic devices can reduce power consumption through PSR (Power Surge Reduction) technology.

[0094] The principle behind PSR technology's power reduction is as follows: Figure 2 As shown, the display's timing controller (TCON) includes a buffer storage area. After the GPU processes each frame of display data (e.g., display data 1), it sends display data 1 to the display screen. The display screen can then refresh its content based on display data 1, meaning it displays display data 1. In addition to displaying display data 1, the display screen can also store it in the aforementioned buffer storage area. Later, if the content of the next frame of display data (e.g., display data 2) is the same as the content of the display data stored in the buffer storage area, the GPU can choose not to process display data 2. In this case, the display screen can continue to refresh its content based on display data 1 in the buffer storage area. In other words, during the display of a static interface, the GPU can pause processing display data, thus alleviating the GPU's computational load and reducing power consumption.

[0095] Of course, if the content of the next frame's display data (e.g., display data 3) is different from the content of the display data stored in the buffer, the GPU continues to process display data 3 and sends it to the display screen. Similarly, in addition to displaying display data 3, the display screen can also store display data 3 in the buffer, replacing display data 1.

[0096] In other words, during the display of a static interface, the GPU can stop processing display data and stop sending display data to the display screen. During the display of a dynamic interface, the GPU can continue to process display data normally. This ensures that the display screen can display normally.

[0097] Furthermore, with PSR technology enabled, electronic devices can dynamically adjust the refresh rate of the display panel while ensuring the display functions properly. For example, in scenarios displaying static images, the data transfer frequency between the GPU and the display is low, and the CPU can instruct the display to use a higher refresh rate. Conversely, in scenarios displaying dynamic images, the data transfer frequency between the GPU and the display is high, and the CPU can instruct the display to use a lower refresh rate. In other words, in display scenarios where static images are frequent, PSR technology not only reduces the GPU's computational load but also reduces the number of display refreshes, effectively reducing energy consumption.

[0098] In some embodiments, the electronic device may enable or disable the PSR function in response to a user's operation.

[0099] For example, during the configuration of the monitor on the electronic device, the PSR function can be enabled or disabled in response to user actions. The monitor configuration interface can be a tabbed interface within a display adapter window, such as... Figure 3 As shown, the monitor configuration interface 301 includes a display refresh configuration bar 302, which displays the current refresh status. For example, if the electronic device's display is fixed at a 60Hz refresh rate (i.e., the PSR function is disabled), the display refresh configuration bar 302 will display "60Hz". Alternatively, if the display is fixed at a 90Hz refresh rate (i.e., the PSR function is disabled), the display refresh configuration bar 302 will display "90Hz". Another example is if the electronic device's display is fixed at a 120Hz refresh rate (i.e., the PSR function is disabled), the display refresh configuration bar 302 will display "120Hz". Furthermore, if the electronic device's display refresh rate can be dynamically adjusted between 60Hz, 90Hz, and 120Hz (i.e., the PSR function is enabled), the display refresh configuration bar 302 will display "Auto".

[0100] As one implementation, during the configuration of the aforementioned electronic device display monitor interface, the process of enabling or disabling the PSR function in response to user operations may include:

[0101] In response to a user's instruction to switch the refresh state, the electronic device displays a refresh rate selection window on the monitor configuration interface. For example, the instruction to switch the refresh state could be a user moving the mouse cursor to the display refresh configuration bar 302 and then clicking the left mouse button. That is, as... Figure 3 As shown, after the cursor 303 corresponding to the mouse is displayed on the display refresh configuration bar 302, the electronic device detects a change in the level signal of the left mouse button and can display a refresh rate selection window 304 relative to the display refresh configuration bar 302. This refresh rate selection window 304 includes multiple options indicating different refresh rates, such as option 305 labeled "60Hz", option 306 labeled "90Hz", and option 307 labeled "120Hz". The refresh rate selection window 304 may also include options indicating the PSR function, such as option 308 labeled "Auto".

[0102] In some examples, the electronic device can enable the PSR function in response to a user selecting an option indicating the PSR function. For instance, the user selecting the option indicating the PSR function could be an action where the user moves the mouse cursor 303 to the option indicating the PSR function and then clicks the left mouse button. That is, as... Figure 3 As shown, in the refresh rate selection window 304, and with the cursor 303 displayed after the option 308 marked "Auto", the electronic device detects a change in the level signal of the left mouse button, thus confirming that the PSR function is enabled. After the PSR function is enabled, the display refresh configuration bar 302 displays "Auto".

[0103] In other instances, in response to a user selecting an option indicating the refresh rate, the electronic device can disable the PSR function and enable the frequency corresponding to that option as the fixed refresh rate for the display. For example, when the refresh rate selection window 304 is displayed and the cursor 303 is displayed on the option 306 labeled "90Hz", the electronic device can detect a change in the level signal of the left mouse button, determine that the PSR function is disabled, and set 90Hz as the fixed refresh rate for the display.

[0104] In some cases, certain batches of displays do not support creating a buffer storage area in TCON. Enabling PSR function on electronic devices with this batch of displays will not only fail to reduce power consumption, but will also increase unnecessary performance overhead.

[0105] In other cases, during data transmission between the GPU and the display, there may be probabilistic data transmission failures, such as cyclic redundancy check (CRC) errors. In subsequent embodiments, the occurrence of a CRC error will be used to refer to scenarios where data transmission fails.

[0106] When the PSR function is enabled on an electronic device, data transmission during the data transfer process will trigger the display to perform a self-test and repair. During this process, the display driver will instruct the display to power down and then power on again, resulting in a black screen issue (the black screen lasts for about 1.2 seconds, which is perceived by the user as a flickering black screen).

[0107] To address the aforementioned issues, this application provides a display screen control method applicable to electronic devices. The main chip of the electronic device supports enabling the PSR (Power Segment Reduction) function, and the display screen can be either a PSR-enabled or PSR-unenabled display screen.

[0108] For displays that do not support PSR (Power Surge), electronic devices can be configured to disable PSR to reduce power consumption. For displays that do support PSR, electronic devices can be configured to enable or disable PSR based on the data transfer status between the GPU and the display. For example, if data transfer fails between the GPU and the display, the electronic device can be configured to disable PSR to avoid black screen issues. When no data transfer fails, the electronic device can be configured to enable PSR to save power and increase battery life.

[0109] The following example uses a laptop computer as an example of an electronic device, combined with... Figure 4 The software and hardware structure of the laptop computer provided in the embodiments of this application is described.

[0110] like Figure 4 As shown, a laptop computer can include an application layer, a system layer, a driver layer, and a hardware layer.

[0111] For example, the application layer may include a series of applications, such as a PC manager. For ease of description, applications will be referred to as applications below.

[0112] The aforementioned PC Manager can instruct the updating of the first PSR configuration list on the laptop.

[0113] Understandably, the first PSR configuration list can be used to decide whether to enable the PSR function of the laptop. This first PSR configuration list can be configured in the EC210's storage space, and includes the configurable display models for this laptop, as well as the corresponding PSR configuration items for each type of display.

[0114] For example, the first PSR configuration list indicates that the laptop can be configured with display models including display A and display B, where the PSR configuration item for display A is off, and the PSR configuration item for display B is on. Thus, after configuring the laptop with the above first PSR configuration list, the target display for the laptop is display A, where the PSR function can be disabled, and the target display for the laptop is display B, where the PSR function can be enabled. Here, the target display refers to the actual integrated display in the laptop.

[0115] Of course, the first PSR configuration list can be updated. For example, a new display model can be added to the first PSR configuration list. Alternatively, a PSR configuration item in the first PSR configuration list can be updated from "On" to "Off," or vice versa.

[0116] As one implementation, the PC manager can communicate with a cloud server, which can store a second PSR configuration list. This second PSR configuration list includes multiple electronic devices (including the laptop model). Additionally, the second PSR configuration list records the configurable display models for each electronic device, as well as the corresponding PSR configuration items for each type of display. If a display supports the PSR function, the second PSR configuration list indicates that the PSR function for that type of display is enabled. If a display does not support the PSR function, the second PSR configuration list indicates that the PSR function for that type of display is disabled.

[0117] After Tencent PC Manager obtains the second PSR configuration list from the cloud server using Over-the-Air (OTA) technology, it can update the first PSR configuration list accordingly. For example, if the second PSR configuration list indicates that this version of the laptop has added a compatible display C in addition to display A and display B, and display C supports PSR functionality, then display C and its corresponding PSR configuration item will be updated to the first PSR configuration list. As another example, if the PSR configuration item for display A in the second PSR configuration list is enabled, the corresponding PSR configuration item for display A in the first PSR configuration list can be updated from disabled to enabled.

[0118] Of course, the application layer can include other applications besides the PC manager. These other applications can be applications installed on the laptop when the operating system is installed, or they can be third-party applications (such as applications downloaded and installed by the user through an app store). This application embodiment does not limit the scope of these applications.

[0119] For example, the system layer may include the operating system of a laptop computer. In this embodiment, the operating system may be Windows OS (such as a personal computer) or Android OS (such as a tablet computer), and this embodiment does not specifically limit it. In subsequent embodiments, Windows OS will be used as an example for description.

[0120] like Figure 4 As shown, the laptop's Windows OS includes WMI services and the target display driver.

[0121] The WMI service is used to receive data from the application layer. For example, after the PC Manager obtains the second PSR configuration list, the WMI service can receive WMI commands from the PC Manager. These commands instruct the PC Manager to update the first PSR configuration list on the laptop according to the second PSR configuration list. Additionally, the WMI service is also used to pass data to the corresponding hardware through the driver layer. For instance, after receiving a WMI command from the PC Manager, it is then sent to the EC (Engineer) through the driver layer, triggering the EC to update the first PSR configuration list.

[0122] The target display driver is a display driver created by the Basic Input Output System (BIOS) in the driver layer after loading the video BIOS table (VBT) parameters.

[0123] For example, after the BIOS loads the VBT parameters, it can configure various parameters of the display driver according to the VBT parameters to obtain the corresponding target display driver. After obtaining the target display driver, the target display driver configures the refresh rate of the target display based on the loaded VBT parameters. It can be understood that the VBT parameters are a binary data block that records multiple display-related parameters, such as detail timing, GPIO pins, and clock.

[0124] In some embodiments, a laptop computer can be configured with multiple sets of VBT parameters, which can indicate the refresh rate required for the target display screen. For example, the multiple sets of VBT parameters may include VBT parameter 1, VBT parameter 2, VBT parameter 3, and VBT parameter 4. These four sets of VBT parameters have the same parameter type, but their values ​​may differ. Specifically, VBT parameter 1 can instruct the target display screen to refresh at a fixed 60Hz, VBT parameter 2 can instruct the target display screen to refresh at a fixed 90Hz, VBT parameter 3 can instruct the target display screen to refresh at a fixed 120Hz, and VBT parameter 4 can instruct the display screen to dynamically adjust its refresh rate according to the rules of the PSR function.

[0125] In other words, when VBT parameter 4 is loaded and the target display supports the PSR function, the target display driver can drive the target display and dynamically adjust the refresh rate of the target display according to the rules of the PSR function. In subsequent embodiments, the target display driver that indicates the PSR function to be enabled can be referred to as the first display driver.

[0126] With other VBT parameters loaded (e.g., VBT parameter 1, VBT parameter 2, or VBT parameter 3), the target display driver can drive the target display to operate at a fixed refresh rate, i.e., disable the PSR function. In subsequent embodiments, the target display driver that indicates the PSR function to be disabled can be referred to as the second display driver.

[0127] As another example, the driver layer includes a WMI communication module and a BIOS.

[0128] The WMI communication module mentioned above is used to receive data from the WMI service and pass it to the EC. For example, it receives WMI commands from the WMI service and passes them to the EC, triggering the EC to update the first PSR configuration list.

[0129] The BIOS described above is a set of programs embedded in a ROM chip. It stores basic input / output programs, system settings information, power-on self-test programs, and system startup programs. Its main function is to provide the lowest-level and most direct hardware settings and control for laptops.

[0130] In some embodiments, the BIOS described above can load VBT parameters, which can also be referred to as enabled VBT parameters. For example, when VBT parameter 4 is loaded, a corresponding target display driver (e.g., a first display driver) is created according to VBT parameter 4. In this scenario, the first display driver can drive the target display and dynamically adjust the display's refresh rate according to the rules of the PSR function.

[0131] For example, the aforementioned hardware layer includes an EC (Executable Controller), a GPU, and a target display. The EC includes a first flag bit, which can be an enable / disable switch for the PSR (Programmable State Responsibility) function. At the hardware level, this first flag bit can be a register within the EC, also referred to as a first register. The first flag bit can be configured with different values. With different values ​​for the first flag bit, the EC can instruct the BIOS to load different VBT (Variable Bit Transformation) parameters. Thus, by loading different VBT parameters, different target display drivers can be created. When controlling the target display using different target display drivers, the PSR function can be enabled or disabled.

[0132] In some embodiments, the EC can also configure the value of the first flag bit according to the actual situation (e.g., whether a CRC error occurs, or whether the target display supports the PSR function) to automatically enable or disable the PSR function.

[0133] For example, the EC (Electronic Control Unit) of a laptop computer can identify the display model of a target display screen. In one implementation, the DDC (Display Data Center) memory of the target display screen includes Extended Display Identification Data (EDID). EDID is a type of extended display identification data that may include parameters indicating the display's manufacturer and attributes, such as the display's vendor identity document (VID) and device identity document (DID). Thus, the EC can read the EDID through the DDC channel of the target display screen to determine the VID and DID of the target display screen. The EC can then determine the model of the target display screen based on the read VID and DID.

[0134] Next, the EC determines whether the target display supports enabling the PSR function based on the first PSR configuration list and the target display model. If the target display does not support enabling the PSR function, the EC can instruct the BIOS to load VBT parameters that prevent PSR from being enabled, such as the first VBT parameter. After loading the first VBT parameter, the PSR function is disabled, and the target display uses a fixed refresh rate. If the target display supports the PSR function, the EC can instruct the BIOS to load VBT parameters that enable the PSR function, such as the second VBT parameter. After loading the second VBT parameter, the PSR function is enabled, and the target display uses a dynamically changing refresh rate.

[0135] As one implementation, the EC can query the PSR configuration item corresponding to the target display in the first PSR configuration list. When the queried PSR configuration item indicates that the PSR function is enabled, the EC can set the first flag to the first value, instructing the BIOS to load VBT parameters (e.g., the second VBT parameter) that enable the PSR function, and create a first display driver that indicates that the PSR function is enabled. When the queried PSR configuration item indicates that the PSR function is disabled, the EC can set the first flag to the second value, instructing the BIOS to load VBT parameters (e.g., the first VBT parameter) that do not enable the PSR function, and create a second display driver that indicates that the PSR function is disabled.

[0136] For example, such as Figure 4As shown, in the event of a CRC error in the data transmitted between the GPU and the target display, the EC can set the value of the first flag bit to the second value and notify the BIOS. When the BIOS determines that the first flag bit is the second value, it can uninstall the original target display driver and then load the VBT parameters that disable the PSR function, such as loading the first VBT parameters. After loading the first VBT parameters, a second display driver that indicates the PSR function to be disabled can be created. The second display driver, according to the first VBT parameters, instructs the target display to use a fixed refresh rate.

[0137] Additionally, after the laptop's EC (Electronic Control Center) triggers the PSR (Power Scheduler) function based on actual conditions, the display refresh rate configuration bar 302 in the laptop's monitor configuration interface 301 displays "Auto". After the laptop disables the PSR function based on actual conditions, the display refresh rate configuration bar 302 in the monitor configuration interface 301 displays the default refresh rate. This default refresh rate can be a preset refresh rate from multiple enabled fixed refresh rates (e.g., 60Hz, 90Hz, and 120Hz), for example, a default refresh rate configuration of 90Hz.

[0138] In some examples, different display models may have different fixed refresh rates, and the corresponding default refresh rates may also differ. For instance, some display versions may only have 60Hz and 90Hz fixed, with the default refresh rate configurable as 60Hz.

[0139] It's important to note that the laptop's automatic PSR (Personal Support Regulator) on / off function takes precedence over responding to user commands. In other words, if there's a conflict between the user's command to "turn the PSR on or off" and the laptop's automatically determined "turn the PSR on or off," the laptop's automatic determination takes precedence. For example, after the user manually turns on the PSR function, the laptop can turn it off as needed. Conversely, after the user manually turns off the PSR function, the laptop can also turn it on as needed. This prevents users from accidentally turning on or off irrelevant PSR functions due to a lack of understanding of its functions, thus avoiding negative impacts on the user experience. Furthermore, if the laptop turns off the PSR function as needed, it may not respond to user commands to turn it on.

[0140] In other embodiments, such as Figure 4 As shown, the EC's built-in storage area stores a first PSR configuration list. After the EC receives a WMI command from the WMI communication module, it can update the first PSR configuration list according to the second PSR configuration list.

[0141] The second PSR configuration list mentioned above can be a PSR configuration list obtained by the PC Manager from a cloud server. For example, the second PSR configuration list can be shown in Table 1 below:

[0142] Table 1

[0143]

[0144] As shown in Table 1, laptop model A supports configuring both display A and display B. In other words, a laptop model A may be configured with display A or display B, or the laptop can be configured with both display A and display B simultaneously via external connection or other means (i.e., it has dual screens). Additionally, as shown in Table 1, laptops configured with display A do not support enabling the PSR function for display A; that is, in Table 1, the PSR configuration item (i.e., the PSR function) for display A is disabled. Laptops configured with display B support enabling the PSR function for display B; that is, in Table 1, the PSR configuration item (i.e., the PSR function) for display B is enabled.

[0145] As shown in Table 1, Model B laptops can be configured with both Display D and Display E. In other words, a Model B laptop may be configured with Display D or Display E, or the laptop can be configured with both Display D and Display E simultaneously via external connection or other means (i.e., it has dual screens). Furthermore, as shown in Table 1, laptops configured with Display D and / or Display E all support enabling the PSR function; that is, in Table 1, the PSR configuration items for Display D and Display E are enabled.

[0146] In some embodiments, after obtaining the second PSR configuration list, the laptop can determine the first PSR configuration list based on the second PSR configuration list. Taking a laptop model A as an example, after obtaining the second PSR configuration list, the laptop model A can determine the display model associated with model A and the corresponding PSR configuration items within the second PSR configuration list. For example, if the second PSR configuration list is as shown in Table 1, the first PSR configuration list determined by the laptop model A is shown in Table 2 below:

[0147] Table 2

[0148] Configurable display screen PSR function Model information of display screen A closure Model information of display screen B Open

[0149] As shown in Table 2, the PSR configuration item corresponding to the model information of display screen A is "off", while the PSR configuration item corresponding to the model information of display screen B is "on".

[0150] In this way, after the laptop model A is powered on, the laptop can determine the actual display model it is configured with. Then, based on the display model and the first PSR configuration list, it can enable or disable the PSR function.

[0151] like Figure 5 As shown in Table 2 above, the implementation details for enabling or disabling the PSR function are as follows:

[0152] S101, EC acquires the DID and VID of the target display screen.

[0153] In some embodiments, after the laptop is powered on, the EC can read the EDID from the display screen via the DDC channel, and obtain the DID and VID corresponding to the display screen from the EDID. It is understood that the EC can manage most of the hardware in the laptop, thus enabling the EC to communicate with the actual display screen configured in the laptop and obtain the information stored on the display screen.

[0154] The data can be stored in the first storage area of ​​the EC after obtaining the DID and VID, for easy access and use later.

[0155] In other embodiments, after the laptop updates the first PSR configuration list using the second PSR configuration list, the DID and VID can also be triggered. Of course, in this scenario, the DID and VID can be obtained directly from the target display screen, or they can be obtained from the first storage area. Furthermore, the process of updating the first PSR configuration list using the second PSR configuration list can be referred to the description in subsequent embodiments, and will not be repeated here.

[0156] S102, EC determines the model information that matches the target display from the first PSR configuration list based on the obtained DID and VID.

[0157] The VID can indicate the manufacturer of the display screen, for example, it can be a character sequence. The DID is the unique device identifier for the display screen. In this way, the EC can determine the model information that matches the target display screen in the first PSR configuration list based on the VID and DID.

[0158] Understandably, the model information displayed on the screen in the first PSR configuration list may include information indicating the manufacturer and the device version.

[0159] If the information indicating the manufacturer matches the VID (e.g., the character sequence indicating the manufacturer is the same as the VID) and the device version information also matches the DID (e.g., the version sequence indicating the version is the same as some fields of the DID), then the model information is determined to match the target display. In addition, the model information that matches the target display in the first PSR configuration list can also be referred to as the matching model information.

[0160] In some embodiments, the EC determines the matching model information corresponding to the target display screen from the first PSR configuration list based on the obtained DID and VID.

[0161] S103, configure the value of the first flag bit according to the PSR configuration item corresponding to the matching model information.

[0162] The first flag bit mentioned above can be stored in the register of EC, and the first flag bit mentioned above can also be called the target flag bit.

[0163] In some embodiments, after the EC determines the matching model information, it can continue to obtain the PSR configuration item corresponding to the matching model information from the first PSR configuration list, that is, the PSR configuration item corresponding to the target display screen.

[0164] For example, if the target display screen in the laptop is display screen A, the matching model information is the model information of display screen A. According to Table 2, the corresponding PSR configuration item can be determined to be "Off".

[0165] When the PSR configuration item corresponding to the matching model information is "Off", the EC can configure the value of the first flag bit to be the second value. For example, the EC can write the second value into the first register corresponding to the first flag bit. After configuring the value of the first flag bit to the second value, it indicates that the PSR function needs to be disabled.

[0166] For example, if the target display screen in the laptop is display screen B, the matching model information is the model information of display screen B. According to Table 2, the corresponding PSR configuration item can be determined to be "Enabled".

[0167] When the PSR configuration item corresponding to the matching model information is "Enabled", the EC can configure the value of the first flag bit to be the first value. For example, the EC can write the first value into the first register corresponding to the first flag bit. After the value of the first flag bit is configured to the first value, it indicates that the PSR function needs to be enabled. The second value mentioned above is different from the first value; for example, the second value can be 0, and the first value can be 1.

[0168] Additionally, the default value for this first flag is the first value. Thus, when the laptop is first powered on, and before the PSR configuration item corresponding to the matching model information is found, the value of the first flag can be the first value.

[0169] S104, when the preset conditions are met, the BIOS obtains the value of the first flag bit in the EC.

[0170] For example, the aforementioned preset conditions may include at least one of: the laptop performing a boot process, or the value of the first flag bit changing. Optionally, in conjunction with the preset conditions, the BIOS may be triggered to obtain the value of the first flag bit in the EC in the following scenarios, such as when the laptop is booting up, when a CRC error triggers a change in the value of the first flag bit, or when the first PSR configuration list is updated according to the second PSR configuration list.

[0171] In some embodiments, a laptop computer can run a BIOS program stored in a ROM chip during the boot process. After the BIOS program runs, a new BIOS process is created in the laptop computer; this BIOS process can be simply referred to as BIOS. Additionally, during the boot process, the BIOS initializes the target display, that is, it loads the VBT parameters required for the target display to run. In this case, the BIOS can query the value of the first flag bit in the EC (Electronic Control Panel).

[0172] In other embodiments, if the EC changes the value of the first flag bit from a first value to a second value, it can report an interrupt to the BIOS. This interrupt can carry either the message "the value of the first flag bit is the second value" or "the value of the first flag bit is the first value." In this way, the BIOS can determine the value of the first flag bit from the interrupt reported by the EC.

[0173] S105, the BIOS creates a target display driver based on the target VBT parameters that match the value of the first flag bit.

[0174] In some embodiments, each configurable value of the first flag bit can correspond to a set of VBT parameters. For example, the configurable values ​​of the first flag bit include a first value and a second value, where the first value can correspond to a second VBT parameter (such as referred to as the first parameter), and the second value can correspond to the first VBT parameter (such as referred to as the second parameter).

[0175] Thus, if the BIOS determines that the value of the first flag bit is the second value, it can determine that the target VBT parameter is the first VBT parameter. In this scenario, the BIOS can load the first VBT parameter, which may include creating a target display driver configured with the first VBT parameter, i.e., a second display driver. This second display driver can disable the PSR function. After the PSR function is disabled, the target display adopts a fixed refresh rate, such as the default refresh rate or a fixed refresh rate directly specified by the user. For example, the aforementioned first VBT parameter can be a collective term for multiple sets of VBT parameters, and different sets of VBT parameters may indicate different fixed refresh rates. That is, when the PSR function is disabled, the laptop can use multiple fixed refresh rates.

[0176] If the BIOS determines that the value of the first flag bit is the first value, the target VBT parameter can be determined to be the second VBT parameter. In this scenario, the BIOS can load the second VBT parameter, which may include creating a target display driver configured with the second VBT parameter, i.e., the first display driver. The first display driver can enable the PSR function. After enabling the PSR function, the target display uses a dynamically changing refresh rate.

[0177] S106, the target display driver configures the refresh rate of the target display according to the target VBT parameters.

[0178] When the loaded target VBT parameters are the first VBT parameters, the second display driver created by the BIOS can disable the PSR function according to the first VBT parameters and instruct the target display to use a fixed refresh rate to refresh the display content of the target display.

[0179] In other words, if the target display does not support the PSR function, the laptop can disable the PSR function by loading the first VBT parameter, or keep the PSR function off to avoid generating additional power consumption.

[0180] When the target VBT parameter is the second VBT parameter, the first display driver created by the BIOS can enable the PSR function according to the second VBT parameter and instruct the target display to use a dynamically changing refresh rate to refresh the display content of the target display.

[0181] In other words, if the target display supports PSR (Power Surge) functionality, the laptop enables PSR by loading the second VBT parameter. With PSR enabled, in scenarios displaying static interfaces, the workload of the GPU is reduced, the frequency of data transfer between the GPU and the target display decreases, and the refresh rate of the target display is also reduced, thus effectively reducing the laptop's power consumption.

[0182] In other embodiments, when multiple target displays are configured on the same laptop, the first flag bit in the EC may also include multiple first flag bits, each corresponding to a target display, and each target display corresponds to a dedicated target display driver.

[0183] In the above embodiments, the value in each first flag bit determines whether the PSR function is enabled for the corresponding target display screen. That is, the BIOS loads matching VBT parameters (i.e., target VBT parameters) for different target displays based on the values ​​in different first flag bits. Of course, in actual scenarios, the target VBT parameters for different target displays may be different, or they may be the same, depending on the specific situation. In this way, the target display screen driver for each target display screen can control the refresh rate of the corresponding target display screen according to the corresponding target VBT parameters, achieving compatibility with multiple types of displays simultaneously and effectively reducing power consumption.

[0184] In other embodiments, when the laptop is running with PSR enabled, the corresponding PSR configuration item for the target display in the first PSR configuration list is enabled. In this scenario, if data transmission between the GPU and the target display fails—for example, if the target display detects a CRC error in the display data from the GPU—the laptop can also disable the PSR function.

[0185] like Figure 6 As shown, the above-mentioned display screen control method may further include the following steps:

[0186] S301, in the event of a data transmission anomaly between the target display and the GPU, the EC will change the PSR configuration item corresponding to the model information in the first PSR configuration list to "off".

[0187] Optionally, during the transfer of display data between the target display and the GPU, the target display can perform data verification on the display data received from the GPU, such as performing a CRC check. When the target display detects a CRC error, it will notify the EC (Executive Control Center). This can also be understood as the EC detecting a CRC error between the target display and the GPU, thus determining that the PSR (Pressure Sensing) function needs to be disabled.

[0188] The aforementioned matching model information refers to the model information in the first PSR configuration list that matches the target display screen. In other words, the matching model information is the model information of the display screens included in the first PSR configuration list. Furthermore, the display screen model indicated by this matching model information is the same as the model of the target display screen.

[0189] Understandably, with the PSR function enabled, a CRC error may trigger a self-test on the target display. During the self-test, the target display will automatically restart (e.g., after power-off and power-on). During the restart process, the target display will briefly go black and then light up again, which may appear to the user as a flickering black screen issue.

[0190] In this embodiment, the PSR function is disabled after the target display screen detects a CRC error. That is, the PSR configuration item corresponding to the model information in the first PSR configuration list can be changed to be disabled.

[0191] In some embodiments, in the first PSR configuration list, if the PSR configuration item corresponding to the matching model information has been indicated as off, the PSR configuration item can be kept in the off state.

[0192] In some embodiments, the target display performs CRC verification on each frame of display data received from the GPU. Simultaneously, the EC can periodically determine whether the target display detects a CRC error. In other embodiments, the target display may report a CRC error to the EC immediately upon detection. That is, this application does not limit the specific method by which the EC detects a CRC error. When a CRC error is detected, if the PSR configuration item matching the model information in the first PSR configuration list is enabled, that PSR configuration item can be changed to disabled.

[0193] S302, when the PSR configuration item corresponding to the matching model information is turned off, the value of the first flag bit of the EC configuration is the second value.

[0194] In some embodiments, where the target display is a display B that supports PSR functionality, the PSR configuration item corresponding to the target display is enabled in the first PSR configuration list. Thus, as follows: Figure 5 In S103, the EC can configure the value of the first flag bit to the first value, such as writing the first value into the first register corresponding to the first flag bit, and instructing the BIOS to load the second VBT parameter and enable the PSR function.

[0195] After an anomaly occurs in the data transmission between the GPU and the target display, the EC can change the PSR configuration item corresponding to the model information in the first PSR configuration list (also known as the PSR configuration item corresponding to the target display in the first PSR configuration list) from enabled to disabled. In this way, according to the PSR configuration item corresponding to the model information, the EC can configure the value of the first flag bit to the second value, for example, by writing the second value into the first register corresponding to the first flag bit, overwriting the original first value.

[0196] S303, when the preset conditions are met, the BIOS obtains the value of the first flag bit in the EC.

[0197] In some embodiments, the implementation details of S303 can be referred to S104 in the foregoing embodiments, and will not be repeated here.

[0198] S304, when the value of the first flag bit is the second value, the BIOS creates a second display driver based on the first VBT parameter.

[0199] In some embodiments, the PSR function of the laptop is enabled before the data transmission between the GPU and the target display becomes abnormal. That is, in this scenario, the first display driver in the laptop controls the target display. After the data transmission between the GPU and the target display becomes abnormal, the BIOS loads the first VBT parameters to disable the PSR function. During the loading of the first VBT parameters, the first display driver can be uninstalled first, and then, according to the first VBT parameters, the corresponding second display driver can be created. The implementation details of S304 above can be referred to S105 in the previous embodiment, and will not be repeated here.

[0200] S305, the second display driver refreshes the content of the target display screen according to the first VBT parameters and a fixed refresh rate.

[0201] In some embodiments, the implementation details of S305 can be referred to S106 in the foregoing embodiments, and will not be repeated here.

[0202] In other words, in this embodiment of the application, for a laptop with PSR function enabled, if an abnormal data transmission is detected between the target display and the GPU, such as the target display detecting a CRC error, the PSR function can be disabled in a timely manner.

[0203] Understandably, when the laptop's PSR function is enabled, a CRC error between the target display and the GPU will trigger a self-test on the target display. During this self-test, the target display will power down and then power on again. Conversely, when the laptop's PSR function is disabled, the target display will not trigger a self-test even if a CRC error is detected. In other words, the target display will not power down. In this embodiment, by promptly disabling the PSR function after a CRC error is detected, the self-test on the target display can be avoided, preventing the target display from powering down and preventing the occurrence of screen flickering issues.

[0204] In other embodiments, if the target display of the laptop does not support the PSR function, for example, if the target display is display A, the PSR configuration item corresponding to the target display in the first PSR configuration list is turned off. In this scenario, even if a CRC error is detected, the above S301 to S305 may not be executed.

[0205] In other embodiments, such as Figure 7 As shown, the above-mentioned display screen control method may further include the following steps:

[0206] After data transmission between the GPU and the target display is restored to normal, the EC will change the PSR configuration item corresponding to the model information in the first PSR configuration list to enabled.

[0207] For example, normal data transfer between the GPU and the target display can be achieved by ensuring that the display data transferred between the GPU and the target display does not contain CRC errors.

[0208] For example, if the EC (Executor) does not receive any CRC error reports from the target display for several consecutive cycles, the EC can determine that data transmission between the GPU and the target display has returned to normal and will enable the PSR configuration item corresponding to the model information in the first PSR configuration list. As another example, if the target display verifies that there are no CRC error issues in the transmitted data (multiple consecutive frames of display data from the GPU), it will report to the EC that there are currently no CRC errors between the GPU and the target display. In this way, the EC can also determine that data transmission between the GPU and the target display has returned to normal and will enable the PSR configuration item corresponding to the model information in the first PSR configuration list.

[0209] Additionally, in the first PSR configuration list, each display model corresponds to a PSR configuration item. Once data transfer between the GPU and the target display returns to normal, enabling the PSR function can effectively save energy. At this point, the EC can change the PSR configuration item corresponding to the model information in the first PSR configuration list to "enabled".

[0210] S402, EC configures the first flag bit to have the first value.

[0211] In some embodiments, EC can write a first value into the first register corresponding to the first flag bit, overwriting the second value in the original first register.

[0212] S403, when the preset conditions are met, the BIOS obtains the value of the first flag bit.

[0213] In some embodiments, S403 is the same as S104 in the foregoing embodiments, and will not be described again here.

[0214] S404, when the value of the first flag bit is the first value, the BIOS creates the first display driver based on the second VBT parameter.

[0215] In some embodiments, in the event of abnormal data transmission between the GPU and the target display, the laptop uses a second display driver to control the target display. After the data transmission between the GPU and the target display returns to normal, the BIOS loads the second VBT parameters to enable the PSR function. During the loading of the second VBT parameters, the second display driver can be uninstalled first, and then, based on the second VBT parameters, a corresponding first display driver can be created. The implementation details of S404 above can be found in S105 of the aforementioned embodiments, and will not be repeated here.

[0216] S405, the first display driver dynamically adjusts the refresh rate of the target display screen according to the second VBT parameters.

[0217] In some embodiments, the implementation details of S405 described above are the same as those of S106 in the foregoing embodiments, and will not be repeated here.

[0218] In this way, once data transfer between the target display and the GPU returns to normal, the PSR function can be restarted promptly, reducing the laptop's power consumption.

[0219] The following examples illustrate the implementation details of how laptops can enable or disable the PSR function based on actual needs:

[0220] Exemplary Scenario 1: The scenario of powering on a first laptop. The target display of the first laptop is display A, which does not support PSR functionality. Display A has refresh rates of 60Hz and 90Hz, with 90Hz being the default refresh rate.

[0221] During the boot process of the first laptop, the first laptop can execute S101 to S106 as described above. Thus, after the first laptop is booted up, the PSR function is disabled.

[0222] For example, after the first laptop is powered on or restarted, it can query the PSR configuration item corresponding to the target display from the first PSR configuration list. For specific implementation details, please refer to [link / reference]. Figure 5 S101 to S103. Then, according to the PSR configuration item corresponding to the target display screen, the PSR function is turned off. For specific implementation details, please refer to [link / reference]. Figure 5 S104 to S106 in the example.

[0223] After the first laptop is powered on and the PSR function is turned off, the refresh rate used by the target display remains unchanged during the display of the static and dynamic interfaces on the first laptop.

[0224] Taking the first laptop running a browser application as an example, such as Figure 8 As shown, during the period when the first laptop responds to user input and scrolls to display the browser interface 701, that is, within the first time interval, the refresh rate of the target display screen of the first laptop is 90Hz. During the period when the first laptop statically displays the browser interface 702, that is, within the second time interval, the refresh rate of the target display screen of the first laptop remains at 90Hz. Similarly, when running other applications (such as game applications), the refresh rate of the target display screen of the first laptop remains at 90Hz during both the display of the static game interface and the display of the dynamic game interface provided by the game application.

[0225] In other words, when the target display of the laptop does not support PSR, the refresh rate remains fixed when running any application, meaning the PSR function is turned off. Thus, even if the laptop's main chip supports PSR, but the target display does not, the PSR function will not be activated, avoiding unnecessary power consumption.

[0226] Of course, if the laptop's main chip supports PSR and the target display also supports PSR, the PSR function can be enabled after powering on or restarting to reduce the laptop's power consumption.

[0227] Example Scenario 2: The scenario of powering on a second laptop. In this scenario, the target display of the second laptop is a display B that supports PSR functionality. The refresh rates of display B include 60Hz, 90Hz, and 120Hz, with 90Hz being the default refresh rate.

[0228] When the second laptop is powered on, it can execute S101 to S106 as described above. Thus, the PSR function is enabled after the second laptop is powered on.

[0229] For example, after the second laptop is powered on or restarted, it can query the PSR configuration item corresponding to the target display from the first PSR configuration list. For specific implementation details, please refer to [link / reference needed]. Figure 5 S101 to S103. Then, based on the PSR configuration item corresponding to the target display screen, enable the PSR function. For specific implementation details, please refer to [link / reference]. Figure 5 S104 to S106 in the example.

[0230] After the second laptop is powered on and the PSR function is enabled, the refresh rate of the target display can vary between 60Hz, 90Hz, and 120Hz while the second laptop is displaying a static or dynamic interface.

[0231] Taking running a browser application on a second laptop as an example, such as Figure 9 As shown, during the period when the second laptop responds to user operation and scrolls to display the browser interface 801, that is, during the first time interval, the refresh rate of the target display screen is 90Hz. During the period when the second laptop statically displays the browser interface 802, that is, during the second time interval, the refresh rate of the target display screen of the second laptop is 60Hz.

[0232] Of course, different applications have different refresh requirements for the target display. Therefore, the actual refresh rate of the second laptop may differ when displaying dynamic interfaces provided by different applications.

[0233] like Figure 10 As shown, during the period when the second laptop displays the game login interface 901 (static display interface), that is, during the third time interval, the refresh rate of the target display is 60Hz. During the period when the second laptop displays the real-time game interface 902 (dynamic display interface), that is, during the fourth time interval, the refresh rate of the target display of the second laptop is 120Hz.

[0234] In other words, when the target display of the second laptop supports the PSR function, the refresh rate of the target display can dynamically change when running different applications or displaying different interfaces.

[0235] In summary, laptops using the above-described display control method can decide whether to enable or disable the PSR function based on whether the target display supports it. This allows the laptop to be compatible with various display types without generating unnecessary power consumption.

[0236] In some embodiments, before the laptop enables or disables the PSR function based on the target display model, the laptop can enable or disable the PSR function according to its default on / off state (e.g., pre-configured PSR function enabled or disabled by default). For example, if the first flag is set to the first value by default, the laptop can load the second VBT parameter to enable the PSR function by default without deciding whether to enable or disable the PSR function.

[0237] Additionally, after the laptop disables the PSR function based on the target display model, for example, after the first laptop is powered on, it can respond to user input and enable the PSR function until the first laptop disables the PSR function again based on the target display model, or until the first laptop detects a CRC error and disables the PSR function. Alternatively, it can respond to user input and disable the PSR function again. For example, if the first laptop (a laptop whose target display does not support the PSR function) enables the PSR function in response to user input, in certain scenarios, such as when the remaining battery power is lower than a preset level, the first laptop can display a PSR function recommendation to disable interface. While displaying the PSR function recommendation to disable interface, the first laptop can respond to user input to disable the PSR function and disable it.

[0238] After the second laptop enables the PSR function based on the target display model (e.g., after the second laptop is powered on), it can respond to user input and disable the PSR function until the second laptop re-enables the PSR function based on the target display model. Alternatively, it can remain disabled until the second laptop responds to user input and enables the PSR function. For example, after the second laptop disables the PSR function in response to user input, it can display a PSR function activation recommendation screen in certain scenarios, such as when the remaining battery level is lower than a preset level. While displaying the PSR function activation recommendation screen, the second laptop can respond to user input and enable the PSR function.

[0239] In some embodiments, the laptop (e.g., a first laptop and a second laptop) can power on multiple times. In the case of the i-th power-on, the laptop can also perform the above-described operation for the i-th time. Figure 5The display control method is shown above. Here, i is a positive integer greater than 1. Furthermore, after the i-th power-on, during the execution of S101 by the laptop (e.g., the first laptop and the second laptop), if the VID and DID are not successfully obtained from the target display, the EC can read the previously stored VID and DID from the first storage area. If the VID and DID are successfully obtained from the target display, the newly obtained VID and DID are written to the first storage area, overwriting the previously stored VID and DID.

[0240] Example Scenario 3: After the second laptop is powered on, it is subjected to external interference, resulting in abnormal data transmission between the GPU and the target display.

[0241] For example, the exemplary scenario 3 described above could be that the second laptop is placed in a specific interference environment, causing the second laptop to generate a CRC error. It is understood that the interference environment could be an environment capable of causing the second laptop to generate Cable CRC interference. Exemplarily, the interference environment could be a spatial environment with a first type of electromagnetic interference signal. Wherein, the signal frequency of the first type of electromagnetic interference signal is close to the first clock frequency of the second laptop, for example, the difference between the two is less than a preset threshold. The first clock frequency is the clock frequency at which display data is transmitted between the GPU and the target display screen. Furthermore, the signal strength of the first type of electromagnetic signal is not lower than a preset strength value; for example, this preset strength value could be an empirical value.

[0242] In the above exemplary scenario 3, if a CRC error occurs, the second laptop can disable the PSR function. The specific process is shown in S301 to S305, and will not be repeated here.

[0243] like Figure 11 As shown, the PSR function was enabled before the second laptop entered the interference environment. In this scenario, the second laptop could run a browser application. During the period when the second laptop responded to user input and scrolled the browser interface (1001), i.e., within the fifth time interval, the refresh rate of the target display of the second laptop was 90Hz. During the period when the second laptop statically displayed the browser interface (1002), i.e., within the sixth time interval, the refresh rate of the target display of the second laptop was 60Hz.

[0244] Subsequently, when the second laptop entered an interference environment, during the period when the second laptop responded to user input and scrolled the browser interface (1001), i.e., within the seventh time interval, the refresh rate of the target display of the second laptop was 90Hz. During the period when the second laptop statically displayed the browser interface (1002), i.e., within the eighth time interval, the refresh rate of the target display of the second laptop remained at 90Hz.

[0245] Of course, even when the second laptop is placed in an environment with interference, the refresh rate of the target display remains unchanged at 90Hz while running other applications that require a display interface, such as during the running of a game application.

[0246] In the above embodiments, the target display of the second laptop is a display that supports the PSR function, such as display B. When a CRC error occurs between the GPU and the target display, the second laptop will disable the PSR function. Understandably, in scenarios where the PSR function is enabled, a CRC error will trigger a self-test on the target display, which can cause a black screen. In this embodiment, the PSR function can be disabled before a CRC error triggers the target display's self-test, thus preventing the black screen from occurring. In other example scenarios, after the bus between the GPU and the target display becomes loose or aging, the second laptop can also automatically enable or disable the PSR function. Understandably, after the bus between the GPU and the target display becomes loose or aging, data transmission between the GPU and the target display may also be abnormal. According to S301-S305, the second laptop can also actively disable the PSR function. Specific details are similar to the scenario where the second laptop is subjected to external interference, and will not be repeated here.

[0247] Exemplary Scenario 4: After the second laptop is no longer in the interfering environment, for example, the user eliminates the interference in the space where the second laptop is located, or the user moves the second laptop out of the space where there is interference, the data transmission between the GPU and the display returns to normal. For example, the display data transmitted between the GPU and the target display has no CRC error, and the second laptop does not modify the PSR configuration item of the target display in the first PSR configuration list. That is, the second laptop keeps the PSR function in the off state.

[0248] like Figure 12As shown, when the second laptop is placed in an interfering environment, during the period when the second laptop responds to user input and scrolls to display the browser interface 1001, that is, during the seventh time interval, the refresh rate of the target display of the second laptop is 90Hz. During the period when the second laptop statically displays the browser interface 1002, that is, during the eighth time interval, the refresh rate of the target display of the second laptop remains 90Hz.

[0249] Once the second laptop is no longer in the interference environment, the PSR function remains off. In this scenario, the second laptop can run browser applications. During the period when the second laptop responds to user input and scrolls the browser interface (1001), i.e., within the ninth time interval, the refresh rate of the target display of the second laptop is 90Hz. During the period when the second laptop statically displays the browser interface (1002), i.e., within the tenth time interval, the refresh rate of the target display of the second laptop is 90Hz.

[0250] In other example scenarios, if the bus between the GPU and the target display of the second laptop is loose or worn out, and the bus between the GPU and the target display of the second laptop is replaced, the data transmission between the GPU and the display will return to normal. For example, the display data transmitted between the GPU and the target display will have no CRC error, and the second laptop will not modify the PSR configuration item of the target display in the first PSR configuration list. That is, the second laptop will keep the PSR function in the off state.

[0251] In exemplary scenario 5, where a second laptop is used, the target display of the second laptop is display B, and the refresh rate of display B includes 60Hz, 90Hz and 120Hz, with 90Hz being the default refresh rate.

[0252] After the second laptop is placed in the interference environment, the target display's refresh rate is fixed at 90Hz during both static and dynamic interface displays. After the laptop is removed from the interference environment, the target display's refresh rate can vary between 60Hz, 90Hz, and 120Hz during both static and dynamic interface displays.

[0253] Taking running a browser application as an example, such as Figure 13As shown, with the second laptop in an interference-free environment and the bus between the GPU and the target display not loose or worn out, during the period when the second laptop responds to user input and scrolls the browser interface 1001 (i.e., within the fifth time interval), the refresh rate of the target display of the second laptop is 90Hz. During the period when the second laptop statically displays the browser interface 1002 (i.e., within the sixth time interval), the refresh rate of the target display of the second laptop is 60Hz.

[0254] Subsequently, when the second laptop enters an interference environment, or when the bus between the GPU and the target display experiences a loosening or aging issue, during the period when the second laptop responds to user input and scrolls the browser interface (1001), i.e., within the seventh time interval, the refresh rate of the target display on the second laptop is 90Hz. During the period when the second laptop statically displays the browser interface (1002), i.e., within the eighth time interval, the refresh rate of the target display on the second laptop remains 90Hz.

[0255] Of course, if the second laptop is placed in an interfering environment, or if there are problems such as a loose or aging bus between the GPU and the target display, the refresh rate of the target display will remain unchanged at 90Hz when running other applications that require a display interface, such as during the running of a game application.

[0256] If a CRC error occurs in the second laptop due to interference, and the second laptop is no longer in the interference environment, during the period when the second laptop responds to user input and scrolls the browser interface (1001), i.e., within the ninth time interval, the target display refresh rate of the second laptop is 90Hz. During the period when the second laptop statically displays the browser interface (1002), i.e., within the tenth time interval, the target display refresh rate of the second laptop remains 60Hz.

[0257] Additionally, once the second laptop is no longer in an interfering environment, the target display's refresh rate is 90Hz while the second laptop is displaying the game login screen (static interface). While the second laptop is displaying the real-time game screen (dynamic interface), the target display's refresh rate can be increased to 120Hz.

[0258] In the event of a CRC error caused by a bus issue between the GPU and the target display, after the bus between the GPU and the target display is swapped, the second laptop responds to user input and scrolls the browser interface 1001, i.e., during the ninth time interval, the target display refresh rate of the second laptop is 90Hz. During the second laptop statically displays the browser interface 1002, i.e., during the tenth time interval, the target display refresh rate of the second laptop remains 60Hz.

[0259] In some embodiments, each time a laptop computer (e.g., a second laptop computer) whose target display supports PSR functionality, after executing S101 and S102, will execute S301-S305 or S401-S405 depending on whether a CRC error occurs between the GPU and the target display, if it is determined that the target display supports PSR functionality. However, for a laptop computer (e.g., a first laptop computer) whose target display does not support PSR functionality, after executing S101 and S102, if it is determined that the target display does not support PSR functionality, the first laptop computer will not execute the aforementioned S301-S305 or S401-S405, regardless of whether a CRC error occurs between the GPU and the target display.

[0260] In other embodiments, the first PSR configuration list in the laptop (e.g., a first laptop and a second laptop) may include a first sub-table and a second sub-table. After each determination of the first PSR configuration list based on the second PSR configuration list, or after updating the first PSR configuration list, the contents of the first and second sub-tables are identical. During laptop operation, the content of the first sub-table remains unchanged, facilitating the laptop's ability to query whether various displays support the PSR function. Furthermore, the content of the second sub-table can be updated based on the laptop's operating status (e.g., whether a CRC error occurs, or whether the CRC error has disappeared). Thus, during laptop operation, the PSR function can be dynamically enabled or disabled based on the second sub-table. That is, during the execution of S301-S305, after determining that the PSR function needs to be disabled, the laptop can first check whether the PSR configuration item corresponding to the target display in the first sub-table is disabled. If the PSR configuration item corresponding to the target display in the first sub-table is disabled, no further steps are required. During the execution of S401 to S405 on the laptop, after determining that the PSR function needs to be enabled, you can first check whether the PSR configuration item corresponding to the target display screen in the first sub-table is turned off. If the PSR configuration item corresponding to the target display screen in the first sub-table is turned off, there is no need to perform subsequent steps.

[0261] In other embodiments, the first PSR configuration list in the laptop (e.g., the first laptop and the second laptop) may also be a single table, and the first PSR configuration list may also include a first entry corresponding to the type information of various displays, the first entry indicating whether the corresponding display supports the PSR function.

[0262] Initially, the first entry in the same configuration list for the same display is identical to the content of the PSR configuration item. During laptop operation, the content of the first entry remains unchanged, allowing the laptop to easily check whether various displays support the PSR function. Furthermore, the content of the PSR configuration item can be updated based on the laptop's operating status (e.g., whether a CRC error occurs, or whether the CRC error has disappeared). Thus, during the execution of S301-S305, after determining that the PSR function needs to be disabled, the laptop can check whether the first entry corresponding to the target display in the first PSR configuration list is disabled. If the first entry is disabled, no further steps are required. Similarly, during the execution of S401-S405, after determining that the PSR function needs to be enabled, the laptop can check whether the first entry corresponding to the target display in the first PSR configuration list is disabled. If the first entry is disabled, no further steps are required.

[0263] In other embodiments, if the PSR configuration item corresponding to the model information in the first PSR configuration list is changed from "off" to "on", and after the PSR function is actually enabled, the refresh rate does not change in various operating scenarios, and the power consumption increases, the PSR configuration item can be restored to "off", and the PSR function can be actually disabled.

[0264] In some embodiments, after the laptop has been enabled or disabled based on whether a CRC error has occurred, the laptop can still respond to user actions and enable or disable the PSR function. See details in [link to relevant documentation]. Figure 3 Afterwards, the laptop can still enable or disable the PSR function based on whether a CRC error occurs.

[0265] Additionally, in some embodiments, as the display material of the laptop changes, the laptop can add a new configurable display type. For example, model A laptop can add a configurable display C, which also supports PSR functionality. This will update the second PSR configuration list in the cloud server; for example, the updated second PSR configuration list is shown in Table 3.

[0266] Table 3

[0267]

[0268] After the second PSR configuration list is updated on the cloud server, it can be sent to the laptop. Once the laptop receives the updated second PSR configuration list, it updates the first PSR configuration list accordingly.

[0269] As one implementation method, such as Figure 14 As shown, the display screen control method may also include:

[0270] After receiving the second PSR configuration list, S501, PC Manager sends the first update command to the WMI service.

[0271] The first update instruction can be a WMI instruction, used to instruct the first PSR configuration list to be updated according to the second PSR configuration list.

[0272] In some embodiments, after downloading the latest second PSR configuration list from the cloud server, the PC Manager generates a first update instruction and sends it to the WMI service.

[0273] S502, the WMI service sends the first update command to the WMI communication module.

[0274] S503, the WMI communication module sends the first update command to the EC.

[0275] S504, EC responds to the first update command by using the second PSR configuration list to update the first PSR configuration list.

[0276] In some embodiments, an updated first PSR configuration list can be generated based on the model information and PSR configuration items corresponding to model A in the second PSR configuration list. For example, if the updated second PSR configuration list is Table 3, the updated first PSR configuration list is shown in Table 4:

[0277] Table 4

[0278]

[0279] In other embodiments, the target display screen of the laptop can be replaced. The target display screen can also be replaced during a factory repair. Additionally, after downloading the latest second PSR configuration list, the laptop can simply store the second PSR configuration list without immediately updating the first PSR configuration list. This way, when the laptop determines a change in the target display screen model during startup, it can update the first PSR configuration list using the stored latest second PSR configuration list.

[0280] As one implementation, after each time the EC reads the VID and DID of the display screen, i.e., after S101 or S102, it can store the read VID and DID in the first storage area. Furthermore, before storing the read VID and DID, the EC can also determine whether the read VID and DID are the same as those in the first storage area. If they are different, the first PSR configuration list is updated using the second PSR configuration list. If they are the same, the first PSR configuration list is not updated using the second PSR configuration list.

[0281] In some embodiments, after updating the first PSR configuration list using the second PSR configuration list, the laptop can determine the model of the target display screen and whether it supports enabling the PSR function based on the updated first PSR configuration list. If the PSR function is supported, it can be enabled; the specific implementation process can be found in S101 to S106. Alternatively, after updating the first PSR configuration list using the second PSR configuration list, the laptop can also disable or enable the PSR function according to the actual working conditions; the specific process can be found in S301 to S305 and S401 to S405.

[0282] In addition, it is understood that the application scenarios described in the foregoing embodiments (such as exemplary scenarios 1 to 5 and the scenario of updating the first PSR configuration list using the second PSR configuration list) are not only applicable to the product testing stage, but also to the stage after the product is commercialized, and also to the stage of product return to the factory for repair. This application embodiment does not specifically limit these aspects.

[0283] This application also provides an electronic device that may include a memory and one or more processors. The memory and processors are coupled. The memory stores computer program code, which includes computer instructions. When the processor executes the computer instructions, it causes the electronic device to perform the steps performed by the mobile phone in the above embodiments. Of course, the electronic device includes, but is not limited to, the memory and one or more processors described above.

[0284] In summary, this application provides a display screen control method that can be applied to electronic devices, such as electronic devices configured with a first display screen. The first display screen supports panel self-refresh (PSR) functionality, for example, display screen B. The electronic device can enable or disable the PSR function for the first display screen. When panel self-refresh is enabled, the refresh rate of the first display screen can change dynamically.

[0285] In some embodiments, the electronic device may display a first interface in response to a user's operation. The electronic device may also display a second interface in response to a user's operation. The first and second interfaces may be application interfaces provided by the same application, or they may be application interfaces provided by different applications.

[0286] For example, the user's actions may include: instructing the running of a specific application and instructing the switching of the interface. Here, the specific application refers to an application that requires an interface display.

[0287] For example, user actions include instructing the user to run a browser and instructing the user to scroll through the browser interface. An electronic device can respond to the instruction to run a browser by displaying the browser interface of the browser application.

[0288] During certain time periods (e.g., the first time period), the content displayed on the browser interface remains unchanged. At this time, the browser interface is a static first interface, and the image frames displayed on this first interface at various points in time during the first time period are the same. This can be referred to as the first interface displaying the first set of image frames. For example, the image frames in the aforementioned first set of image frames may be the portion of the screen displayed on the first display screen that does not include the toolbar.

[0289] During another time period (e.g., a second time period), in response to the user's swiping and browsing operations, the content displayed on the browser interface changes in real time. At this time, the browser interface is a dynamic second interface. The image frames displayed on this second interface at multiple points in time during the second time period differ; for example, the content of image frames corresponding to multiple adjacent time points may be different. Furthermore, the image frames displayed in the second time period can be referred to as the second set of image frames displayed on the second interface. For example, the image frames in the aforementioned second set of image frames may also be the portion of the screen displayed on the first display screen that does not include the toolbar.

[0290] For example, user actions may include instructing the user to run a video application, instructing the user to play a video, and instructing the user to pause video playback. After the video application is running, the electronic device can respond to the instruction to play the video by displaying the video playback interface.

[0291] During certain time periods (e.g., the first time period), such as after the electronic device detects a user instruction to pause video playback, the content displayed on the video playback interface remains unchanged. At this time, the video playback interface is a static first interface, and the image frames displayed on this first interface at various points in the first time period are the same; this can be referred to as the first interface displaying the first set of image frames. For example, the image frames in the aforementioned first set of image frames may be the content displayed within the video playback window of the video playback interface.

[0292] During another time period (e.g., a second time period), the electronic device detects a user instruction to play a video, and the content displayed on the video playback interface changes in real time. This video playback interface is a dynamic second interface, and the image frames displayed on this second interface at multiple points in the second time period differ; this can be referred to as the second interface displaying a second set of image frames. For example, the image frames in this second set of image frames can also be the content displayed within the video playback window of the video playback interface.

[0293] In some embodiments, the hardware of the first display screen supports the PSR (Print on Set, Read, Save) function, and the electronic device can automatically enable the PSR function. After enabling the PSR function, during the display of the first interface, for example, in a first time period, the electronic device displays a first set of image frames on the first interface, where each image frame in the first set of image frames has the same content, and the refresh rate of the first display screen during the first time period is a first refresh rate. After the first time period, in response to user operation, a second interface is displayed; in a second time period, the electronic device displays a second set of image frames on the second interface, where multiple image frames in the second set of image frames have different content, and the refresh rate of the first display screen during the second time period is a second refresh rate.

[0294] When the PSR function is enabled, the refresh rate of the first display screen will change dynamically during the period when the electronic device displays a static first interface and during the period when it displays a dynamic second interface. At the same time, the second refresh rate during the period when the dynamic second interface is displayed is greater than the first refresh rate during the period when the static second interface is displayed.

[0295] In some embodiments, the electronic device may disable the PSR function if it determines that the current scenario meets a first condition. The first condition refers to environmental conditions that would cause abnormal data transmission between the display and the GPU in the electronic device. For example, the first condition could be that the electronic device is located in a space where a first electromagnetic interference signal (i.e., a first type of electromagnetic interference signal) exists. Another example is that a third-party device is using an external interface provided by the electronic device for charging. Yet another example is that the first condition could be a loose or aging bus between the GPU and the target display (e.g., a first display).

[0296] In an exemplary embodiment, after the second time period, the electronic device determines that the current scenario meets the first condition. In this scenario, the electronic device can actively disable the PSR function.

[0297] Thus, after the second time period, in response to the user's operation, the first interface is displayed; in the third time period, the electronic device displays a first set of image frames on the first interface, and the refresh rate of the first display screen during the third time period is a third refresh rate; wherein, during the third time period, the electronic device is located in a space where a first electromagnetic interference signal exists; after the third time period, in response to the user's operation, the second interface is displayed; in the fourth time period, the electronic device displays a second set of image frames on the second interface, and the refresh rate of the first display screen during the fourth time period is a third refresh rate, wherein, during the fourth time period, the electronic device is located in a space where a first electromagnetic interference signal exists.

[0298] Understandably, due to the influence of the first electromagnetic interference signal, the refresh rate of the first display screen is the same in the third and fourth time periods.

[0299] In some embodiments, the electronic device determines that the current scenario no longer meets the first condition, such as when the electronic device is not located in a space where the first electromagnetic interference signal exists, when a third-party device is disconnected from the electronic device, or when the bus between the target display and the GPU in the electronic device is replaced, and the electronic device still keeps the PSR function in the off state.

[0300] That is, after the fourth time period, in response to the user's operation, the first interface is displayed; in the fifth time period, the electronic device displays the fifth set of image frames on the fifth interface, and the refresh rate of the first display screen during the fifth time period is the third refresh rate; after the fifth time period, in response to the user's operation, the second interface is displayed; in the sixth time period, the electronic device displays the second set of image frames on the second interface, and the refresh rate of the first display screen during the sixth time period is the third refresh rate, wherein, between the start time of the fifth time period and the end time of the sixth time period, the electronic device is not located in a space where the first electromagnetic interference signal exists, that is, the current scenario does not meet the first condition.

[0301] In other embodiments, the electronic device determines that the current scenario no longer meets the first condition, such as when the electronic device is not located in a space where the first electromagnetic interference signal exists, when a third-party device is disconnected from the electronic device, or when the bus between the target display and the GPU in the electronic device is replaced, and the electronic device can enable the PSR function.

[0302] Thus, after the fourth time period, in response to the user's operation, the first interface is displayed; in the seventh time period, the electronic device displays a seventh set of image frames on the seventh interface, and the refresh rate of the first display screen during the seventh time period is a first refresh rate; wherein, during the seventh time period, the electronic device is not located in a space where the first electromagnetic interference signal exists; after the seventh time period, in response to the user's operation, the second interface is displayed; in the eighth time period, the electronic device displays a second set of image frames on the second interface, and the refresh rate of the first display screen during the eighth time period is a second refresh rate, wherein, during the eighth time period, the electronic device is not located in a space where the first electromagnetic interference signal exists, and the second refresh rate is greater than the first refresh rate.

[0303] In some embodiments, after the electronic device is located in a space where a first electromagnetic interference signal exists, the method further includes: data loss occurs in the data transmitted between the GPU of the electronic device and the first display screen, and the electronic device generates a CRC integrity check exception; after the electronic device generates the CRC exception, the electronic device disables the PSR function.

[0304] In some embodiments, the electronic device may display a third interface in response to a first user action. For example, the third interface may be a monitor configuration interface 301 containing a refresh rate selection window 304.

[0305] The third interface includes target options, such as... Figure 3 Option 308, labeled "Automatic," indicates that the PSR function is enabled.

[0306] After an electronic device generates a CRC (Corrective Cycle) error, the target option is either disabled, hidden, or does not respond to any user actions on the target option. In some embodiments, after the electronic device generates the CRC error and disables the PSR (Programmable Sequence) function, the electronic device enables the PSR function if N consecutive first image frames pass the CRC check; the first image frame is display data sent by the GPU of the electronic device to the first display screen, and N is a positive integer greater than 0.

[0307] Since the first image frame has passed the integrity check, the first display screen can draw the first image frame on the panel.

[0308] In some embodiments, the electronic device further includes an embedded controller (EC) and a basic input / output system (BIOS). The electronic device is configured with a first list, which includes first model information and a first identifier. The first model information is the model information of a display screen adapted to the electronic device, and the first identifier indicates that the display screen corresponding to the first model information has the PSR function enabled. Before displaying the first interface in response to a user operation, the method further includes: after the electronic device is powered on, the EC obtains first information (DID and VID of display screen B) from the first display screen (e.g., display screen B). The first information is model information pre-stored in the first display screen. If the first information matches the first model information (matching model information) in the first list (first PSR configuration list), the EC sets the value of a first flag bit to a first value. If the first flag bit is the first value, the BIOS loads a first parameter (a second VBT parameter). The first parameter is used to configure a first display screen driver, which controls the first display screen to use a variable refresh rate.

[0309] In some embodiments, after the electronic device generates the CRC exception, the electronic device disables the PSR function, including: the EC changing the first identifier (value of an enabled PSR configuration item) in the first list to a second identifier (value of a disabled PSR configuration item), the second identifier indicating that the display screen corresponding to the first model information disables the PSR function. The EC sets the first marker to the second value; when the first marker is set to the second value, the BIOS loads a second parameter (a first VBT parameter), the second parameter being used to configure a second display driver, the second display driver being used to instruct the first display screen to use a fixed refresh rate.

[0310] In some embodiments, after the electronic device generates the CRC exception and disables the PSR function, the method further includes: after N consecutive first image frames pass the CRC, restoring the second identifier in the first list to the first identifier; the EC setting the first marker position to a first value; and when the first marker position is the first value, the BIOS loading a first parameter, the first parameter being used to configure a first display driver, the first display driver being used to control the first display to adopt a variable refresh rate.

[0311] In some embodiments, after obtaining the first information from the first display screen, the method further includes: storing the first information in a first storage area; after the electronic device restarts, the method further includes: if obtaining the first information from the first display screen fails, the EC retrieves the first information from the first storage area; if the first information matches the first model information in the first list, the EC sets the value of the first flag bit to a first value; if the first flag bit is the first value, the BIOS loads a first parameter, the first parameter being used to configure the first display screen driver, the first display screen driver being used to control the first display screen to use a variable refresh rate.

[0312] In some embodiments, the electronic device communicates with a cloud server. The method further includes: when a second list (second PSR configuration list) is obtained from the cloud server, the EC determines, in the second list, a first model information, a second model information, a first identifier, and a third identifier that match the electronic device, wherein the second model information is model information of another display screen adapted to the electronic device, and the third identifier indicates whether the display screen corresponding to the second model information has the PSR function enabled; the EC generates a new first list based on the first model information, the second model information, the first identifier, and the third identifier in the second list.

[0313] In some embodiments, before generating the new first list, the method further includes: after the first display screen of the electronic device is replaced with a second display screen, the EC determines that the second information obtained from the second display screen is different from the first information stored in the first storage area, wherein the second information is model information pre-stored in the second display screen.

[0314] In some embodiments, the electronic device may also update the target display screen, for example, by replacing the original first display screen with a second display screen. After the first display screen of the electronic device is replaced with the second display screen, and it is determined that the current scenario no longer meets the first condition, the electronic device may automatically enable or disable the PSR function based on whether the hardware of the second display screen supports the PSR function.

[0315] For example, if the hardware of the second display screen does not support the PSR function, such as if the second display screen is display screen A, the electronic device can disable the PSR function. In this way, the electronic device responds to user input by displaying the first interface; during the ninth time period, the electronic device displays a first set of image frames on the first interface, and the refresh rate of the second display screen during the ninth time period is the fourth refresh rate; after the ninth time period, in response to user input, the second interface is displayed; during the tenth time period, the electronic device displays a second set of image frames on the second interface, and the refresh rate of the second display screen during the tenth time period is the fourth refresh rate, and the second display screen does not support the PSR function.

[0316] This application also provides a chip system that can be applied to the electronic devices described in the foregoing embodiments. For example... Figure 15 As shown, the chip system includes at least one processor 2201 and at least one interface circuit 2202. The processor 2201 may be the processor in the aforementioned electronic device. The processor 2201 and the interface circuit 2202 are interconnected via a circuit. The processor 2201 can receive and execute computer instructions from the memory of the aforementioned electronic device through the interface circuit 2202. When the computer instructions are executed by the processor 2201, the electronic device can perform the various steps performed by the mobile phone in the above embodiments. Of course, the chip system may also include other discrete components, and this application embodiment does not specifically limit this.

[0317] In some embodiments, as described above, those skilled in the art will clearly understand that, for the sake of convenience and brevity, the division of the functional modules described above is merely an example. In practical applications, the functions described above 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. The specific working process of the system, device, and unit described above can be referred to the corresponding process in the foregoing method embodiments, and will not be repeated here.

[0318] In the embodiments of this application, the functional units 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.

[0319] 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 computer-readable storage medium. Based on this understanding, the technical solutions of the embodiments of this application, essentially, or the parts that contribute to the prior art, or all or part of the technical solutions, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, 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 flash memory, portable hard disk, read-only memory, random access memory, magnetic disk, or optical disk.

[0320] The above description is merely a specific implementation of the embodiments of this application, but the protection scope of the embodiments of this application is not limited thereto. Any changes or substitutions within the technical scope disclosed in the embodiments of this application should be covered within the protection scope of the embodiments of this application. Therefore, the protection scope of the embodiments of this application should be determined by the protection scope of the claims.

Claims

1. A display screen control method, characterized by, The method is applied to an electronic device including a first display screen supporting a panel self-refresh (PSR) function, and the method comprises: in response to a user operation, displaying a first interface; in a first time period, the electronic device displays a first set of image frames in the first interface, the content of each image frame in the first set of image frames being the same, and a refresh rate of the first display screen in the first time period being a first refresh rate; after the first time period, in response to a user operation, displaying a second interface; in a second time period, the electronic device displays a second set of image frames in the second interface, the content of multiple image frames in the second set of image frames being different, and a refresh rate of the first display screen in the second time period being a second refresh rate, the second refresh rate being greater than the first refresh rate; after the second time period, in response to a user operation, displaying the first interface; in a third time period, the electronic device displays the first set of image frames in the first interface, and a refresh rate of the first display screen in the third time period being a third refresh rate; wherein, during the third time period, the electronic device is located in a space in which a first electromagnetic interference signal exists; after the third time period, in response to a user operation, displaying the second interface; in a fourth time period, the electronic device displays the second set of image frames in the second interface, and a refresh rate of the first display screen in the fourth time period being the third refresh rate, wherein, during the fourth time period, the electronic device is located in the space in which the first electromagnetic interference signal exists, and from a start time of the first time period to an end time of the fourth time period, the user does not modify the refresh rate of the first display screen.

2. The method of claim 1, wherein, The method further comprises: after the fourth time period, in response to a user operation, displaying the first interface; in a fifth time period, the electronic device displays the first set of image frames in the first interface, and a refresh rate of the first display screen in the fifth time period being the third refresh rate; wherein, during the fifth time period, the electronic device is not located in the space in which the first electromagnetic interference signal exists; after the fifth time period, in response to a user operation, displaying the second interface; in a sixth time period, the electronic device displays the second set of image frames in the second interface, and a refresh rate of the first display screen in the sixth time period being the third refresh rate, wherein, during the sixth time period, the electronic device is not located in the space in which the first electromagnetic interference signal exists.

3. The method of claim 1, wherein, The method further comprises: after the fourth time period, in response to a user operation, displaying the first interface; in a seventh time period, the electronic device displays the first set of image frames in the first interface, and a refresh rate of the first display screen in the seventh time period being the first refresh rate; wherein, during the seventh time period, the electronic device is not located in the space in which the first electromagnetic interference signal exists; after the seventh time period, in response to a user operation, displaying the second interface; In an eighth time period, the electronic device displays a second set of image frames in the second interface, and a refresh rate of the first display screen in the eighth time period is a second refresh rate. During the eighth time period, the electronic device is not located in the space in which the first electromagnetic interference signal exists.

4. The method according to any one of claims 1 to 3, characterized in that, After the electronic device is located in the space in which the first electromagnetic interference signal exists, the method further includes: Data transmitted between the GPU of the electronic device and the first display screen has data loss, and the electronic device generates a CRC exception; After the electronic device generates the CRC exception, the electronic device closes the PSR function.

5. The method of claim 4, wherein, After the electronic device generates the CRC exception, the method further includes: In response to a first operation of a user, a third interface is displayed, the third interface includes a target option, the target option indicates that the PSR function is started, and the target option cannot be selected.

6. The method of claim 4, wherein, After the electronic device generates the CRC exception and closes the PSR function, the method further includes: After N consecutive first image frames pass the CRC, the electronic device starts the PSR function; the first image frames are display data sent by the GPU in the electronic device to the first display screen, and N is a positive integer greater than 0.

7. The method of claim 4, wherein, The electronic device further includes an embedded controller EC and a basic input and output system BIOS, and the electronic device is configured with a first list, the first list includes first model information and a first identifier, the first model information is model information of a display screen adapted to the electronic device, and the first identifier indicates that the display screen corresponding to the first model information starts the PSR function; Before the first interface is displayed in response to the operation of the user, the method further includes: After the electronic device is started, the EC obtains first information from the first display screen, and the first information is pre-stored model information in the first display screen; In a case where the first information matches the first model information in the first list, the EC sets a value of a first flag bit to a first value; In a case where the first flag bit is the first value, the BIOS creates a first display screen driver according to a first parameter, and the first display screen driver is used to control the first display screen to adopt a variable refresh rate.

8. The method of claim 7, wherein, After the electronic device generates the CRC exception, the electronic device closes the PSR function, including: The EC changes the first identifier in the first list to a second identifier, and the second identifier indicates that the display screen corresponding to the first model information closes the PSR function; The EC sets the first flag bit to a second value; In a case where the first flag bit is the second value, the BIOS creates a second display screen driver according to a second parameter, and the second display screen driver is used to instruct the first display screen to adopt a fixed refresh rate.

9. The method of claim 8, wherein, After the electronic device generates the CRC exception and closes the PSR function, the method further includes: After N consecutive first image frames pass the CRC, the second identifier in the first list is restored to the first identifier; The EC sets a first flag bit to a first value; In a case where the first flag bit is the first value, the BIOS creates a first display screen driver according to a first parameter, the first display screen driver being used to control the first display screen to adopt a variable refresh rate.

10. The method of claim 8, wherein, After obtaining the first information from the first display screen, the method further comprises: storing the first information in a first storage area; After the electronic device is restarted, the method further comprises: in a case where the first information fails to be obtained from the first display screen, the EC obtains the first information from the first storage area; In a case where the first information matches the first model information in the first list, the EC sets a value of a first flag bit to a first value; In a case where the first flag bit is the first value, the BIOS creates a first display screen driver according to a first parameter, the first display screen driver being used to control the first display screen to adopt a variable refresh rate.

11. The method of claim 8, wherein, The electronic device is in communication connection with a cloud server, and the method further comprises: In a case where a second list is obtained from the cloud server, the EC determines, in the second list, the first model information, second model information, first identifier and third identifier that match the electronic device, the second model information being model information of another display screen adapted to the electronic device, and the third identifier indicating whether the display screen corresponding to the second model information enables the PSR function; The EC generates a new first list according to the first model information, second model information, first identifier and third identifier in the second list.

12. The method of claim 11, wherein, Before the new first list is generated, the method further comprises: After the first display screen of the electronic device is replaced by a second display screen, the EC determines that second information obtained from the second display screen is different from the first information stored in the first storage area, the second information being model information pre-stored in the second display screen.

13. The method according to any one of claims 1 to 12, characterized in that, After the first display screen of the electronic device is replaced by a second display screen, the method further comprises: In response to a user's operation, a first interface is displayed; In a ninth time period, the electronic device displays a first group of image frames in the first interface, and a refresh rate of the second display screen in the ninth time period is a fourth refresh rate; After the ninth time period, a second interface is displayed in response to a user's operation; In a tenth time period, the electronic device displays a second group of image frames in the second interface, and a refresh rate of the second display screen in the tenth time period is the fourth refresh rate, and the second display screen does not support the PSR function.

14. An electronic device, comprising: An electronic device comprises one or more processors and a memory; the memory is coupled to the processor, and the memory is used to store computer program code, the computer program code comprising computer instructions, when the one or more processors execute the computer instructions, the one or more processors are used to execute the method in any one of claims 1-13.

15. A computer storage medium, comprising, comprising computer instructions that, when executed on an electronic device, cause the electronic device to perform the method of any of claims 1-13.

Citation Information

Patent Citations

  • Display device

    US20100123711A1

  • Video frame self-refresh in a sink device

    US20110292059A1