Display screen control method and electronic device

By dynamically adjusting the display refresh rate and automatically switching the PSR function on and off according to environmental changes, the problem of electronic devices flashing black screens when PSR is enabled is solved, reducing power consumption and improving user experience.

WO2024187846A1PCT designated stage expired Publication Date: 2024-09-19HONOR DEVICE CO LTD
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2023/136874
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-03-16
Filing Date
2023-12-06
Publication Date
2024-09-19

AI Technical Summary

Technical Problem

When electronic devices are running with Panel Automatic Refresh (PSR) enabled, the screen is prone to flash black, affecting the user experience.

Method used

By dynamically adjusting the refresh rate of the display screen, it responds to user operations and environmental changes, such as reducing the refresh rate in static interfaces, increasing the refresh rate in dynamic interfaces, and turning off the PSR function in the event of electromagnetic interference or abnormal data transmission to avoid flashing to a black screen.

Benefits of technology

It effectively reduces the power consumption of electronic devices, while avoiding the problem of black screen flashes, improving user experience and device stability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2023136874_19092024_PF_FP_ABST
    Figure CN2023136874_19092024_PF_FP_ABST
Patent Text Reader

Abstract

The present application relates to the technical field of computers. Provided are a display screen control method and an electronic device. The present solution can reduce the occurrence of flash and black screens while reducing energy consumption. The specific solution is as follows: before entering a space where a first electromagnetic interference is present, an electronic device can turn on a PSR function for a display screen of which hardware supports PSR, thus dynamically adjusting a refresh rate during a dynamic interface and a static interface of a display screen, and reducing energy consumption. After entering the space where the first electromagnetic interference is present, the electronic device can turn off the PSR function, thus using a fixed refresh rate during the dynamic interface and the static interface of the display screen. Turning off the PSR function in time solves the problem of flash and black screens.
Need to check novelty before this filing date? Find Prior Art

Description

Display screen control method and electronic device

[0001] This application claims priority to the Chinese patent application filed with the State Intellectual Property Office on March 16, 2023, with application number 202310273535.5 and invention name “A display screen control method and electronic device”, the entire contents of which are incorporated by reference into this application. Technical Field

[0002] The present application relates to the field of computer technology, and in particular to a display screen control method and electronic equipment. Background Art

[0003] Panel self-refresh (PSR) is a technology that reduces power consumption in electronic devices by dynamically adjusting the refresh rate of their displays. However, when PSR is enabled, electronic devices often experience a black screen with a flickering display, significantly impacting the user experience.

[0004] Summary of the Invention

[0005] In view of this, the present application provides a display screen control method and an electronic device, which are used to reduce black screen flickering while improving device power consumption.

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

[0007] In a first aspect, an embodiment of the present application provides a display screen control method, which is applied to an electronic device. The electronic device includes a first display screen, which supports panel self-refresh, and the method includes: displaying a first interface in response to a user's operation; within a first time period, the electronic device displays a first set of image frames in the first interface, wherein the content of each image frame in the first set of image frames is the same, and the refresh rate of the first display screen in the first time period is a first refresh rate; after the first time period, displaying a second interface in response to the user's operation; and within a second time period, the electronic device displays a second set of image frames in the second interface, wherein the content of multiple image frames in the second set of image frames is different, and the refresh rate of the first display screen in the second time period is a second refresh rate, which is greater than the first refresh rate.

[0008] The first set of image frames includes image frames displayed on the first display screen at various time points during the first period of time. In some scenarios, the first set of image frames may be a portion of the screen 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.

[0009] Exemplarily, each image frame in the first group of image frames has the same content, that is, during the first period of time, the first display screen displays the static first interface. Furthermore, exemplary, most image frames in the first group of image frames have the same content, that is, during the first period of time, the first display screen displays the static first interface for most of the time.

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

[0011] Exemplarily, in the second group of image frames, the contents of the multiple groups of adjacent image frames at corresponding time points are different, that is, in the second time period, the second display screen displays the dynamic second interface.

[0012] In the above embodiment, if 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 when displaying a dynamic interface, ensuring that the electronic device can display content normally without lag. When displaying a static interface, a lower refresh rate is used to ensure that the electronic device can display content normally while reducing energy consumption.

[0013] In addition, 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 the first group of image frames in 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 the second group of image frames in the second interface, and the refresh rate of the first display screen during the fourth time period is the 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 has not modified the refresh rate of the first display screen from the start time of the first time period to the end time of the fourth time period.

[0014] In the above embodiment, when the electronic device does not meet the first condition, the electronic device can enable the PSR function, taking into account display requirements and energy consumption. When the electronic device meets the first condition, the electronic device can automatically disable the PSR function. After the PSR function is disabled, the refresh rate of the first display screen remains unchanged regardless of whether a dynamic interface or a static interface is displayed. This prevents the PSR function from triggering a self-test on the first display screen, thereby avoiding a flashing black screen.

[0015] In addition, the first condition may refer to an environmental condition that may cause abnormal data transmission between the display screen and the GPU of the electronic device. Exemplarily, the first condition may include any one of the following:

[0016] (1) The electronic device enters a space environment in which a first electromagnetic interference signal is present. The first electromagnetic interference signal may have a signal frequency close to a first clock frequency, which may be a 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 and is not limited in this embodiment of the present application.

[0017] (2) The third-party device is charged using the external interface provided by this electronic device.

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

[0019] In some embodiments, the electronic device may be affected by the first condition and control the refresh rate of the first display screen in the third time period and the fourth time period to be the third refresh rate.

[0020] Exemplarily, based on the influence of the first electromagnetic interference signal, the refresh rate of the first display screen in the third time period and the fourth time period is the third refresh rate.

[0021] For example, when the electronic device is affected by the first electromagnetic interference signal and a CRC anomaly (ie, a CRC error) occurs, the electronic device may be triggered to turn off the PSR function, so that the refresh rate of the first display screen in the third and fourth time periods is the third refresh rate.

[0022] In some embodiments, the method further includes: after the fourth time period, in response to the user's operation, displaying the first interface; in the fifth time period, the electronic device displays a first group of image frames in the first interface, and the refresh rate of the first display screen during the fifth time period is a third refresh rate; 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, in response to the user's operation, displaying the second interface; in the sixth time period, the electronic device displays a second group of image frames in the second interface, and the refresh rate of the first display screen during the sixth time period is the third refresh rate, wherein, during the sixth time period, the electronic device is not located in a space where a first electromagnetic interference signal exists.

[0023] If the electronic device determines that the first condition is met, the electronic device will disable the PSR function. In the above embodiment, after the PSR function is disabled, even if it is detected that the current scene no longer meets the first condition, the PSR function continues to be disabled. This can prevent the PSR function from being accidentally enabled before data transmission between the GPU and the display returns to normal.

[0024] In some embodiments, the method further includes: after the fourth time period, in response to the user's operation, displaying a first interface; in the seventh time period, the electronic device displays a first group of image frames in the first 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 a first electromagnetic interference signal exists; after the seventh time period, in response to the user's operation, displaying a second interface; in the eighth time period, the electronic device displays a second group of image frames in 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 a first electromagnetic interference signal exists.

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

[0026] In some embodiments, the electronic device is located behind a space where a first electromagnetic interference signal exists, and the method further includes: data transmission between the GPU of the electronic device and the first display screen suffers from data loss, and the electronic device generates a CRC exception for integrity check; after the electronic device generates the CRC exception, the electronic device turns off the PSR function.

[0027] Exemplarily, the electronic device may disable the PSR function based on the CRC abnormality generated by the electronic device.

[0028] In the above embodiment, the electronic device can turn off the PSR function in time, which can avoid the CRC abnormality triggering the self-check process of the PSR function, thereby avoiding the problem of the electronic device having a flashing black screen.

[0029] In some embodiments, after the electronic device generates the CRC exception, the method further includes: in response to the user's first operation, displaying a third interface, the third interface including a target option, the target option indicating to turn on the PSR function, and the target option cannot be selected.

[0030] Understandably, most users have little knowledge of the PSR function and find it difficult to grasp the timing of turning the PSR function on and off, which may lead to the possibility of accidentally turning on the PSR function. In the above embodiment, the priority of the electronic device's autonomous turning on and off of the PSR function is increased to alleviate the problem of users accidentally turning on the PSR function.

[0031] In other embodiments, a third interface may be displayed in response to the user's first operation, and the target option may be hidden in the third interface. In this way, the user may be prevented from accidentally turning on the PSR function.

[0032] In other embodiments, in response to the user's first operation, a third interface may be displayed, wherein the third interface includes the target option, but the electronic device does not respond to the user's operation on the target option. In this way, the user may be prevented from accidentally enabling the PSR function.

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

[0034] After N consecutive first image frames pass the CRC, the electronic device turns on 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.

[0035] Exemplarily, the electronic device may enable the PSR function based on the above event (eg, N consecutive first image frames pass the CRC).

[0036] In the above embodiment, the problem of triggering the black screen again after the PSR function is turned on can be avoided.

[0037] In some embodiments, the electronic device also includes an embedded controller EC and a basic input / output system BIOS, and the electronic device is configured with a first list, the first list including 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 enables the PSR function; before responding to the user's operation and displaying the first interface, the method also includes: after the electronic device is turned on, the EC obtains first information from the first display screen, the first information is the model information pre-stored in the first display screen; when the first information matches the first model information in the first list, the EC sets the value of the first flag bit to the first value; when the first flag bit is the first value, the BIOS creates a first display screen driver according to the first parameter, and the first display screen driver is used to control the first display screen to adopt a variable refresh rate.

[0038] In the above embodiment, the electronic device can automatically enable the PSR function according to the first display screen supporting the PSR function, thereby meeting the display requirements while reducing energy consumption.

[0039] In some embodiments, after the electronic device generates the CRC exception, the electronic device turns off the PSR function, including: the EC changes the first identifier in the first list to a second identifier, the second identifier instructing the display corresponding to the first model information to turn off the PSR function; the EC sets the first mark position to a second value; when the first mark position is the second value, the BIOS creates a second display driver based on a second parameter, the second display driver is used to instruct the first display to use a fixed refresh rate. In the above embodiment, the electronic device can turn off the PSR function in a timely manner according to the CRC exception generated by the electronic device to avoid the problem of flashing black screen.

[0040] In some embodiments, after the electronic device generates the CRC exception and turns off the PSR function, the method further includes: after N consecutive frames of the first image frame pass the CRC, restoring the second identifier in the first list to the first identifier; the EC sets the first mark position to the first value; when the first mark position is the first value, the BIOS creates a first display driver according to the first parameter, and the first display driver is used to control the first display to adopt a variable refresh rate.

[0041] In the above embodiment, the electronic device can turn on the PSR function in time according to the disappearance of the CRC anomaly, thereby reducing the energy consumption of the device.

[0042] 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 is restarted, the method further includes: in the event that the first information fails to be obtained from the first display screen, the EC obtains the first information from the first storage area; in the event that the first information matches the first model information in the first list, the EC sets the value of the first flag bit to the first value; in the event that the first flag bit is the first value, the BIOS creates a first display screen driver based on the first parameter, and the first display screen driver is used to control the first display screen to adopt a variable refresh rate.

[0043] In the above embodiment, the problem of occasionally being unable to read the first information from the first display screen is solved, thereby improving the fault tolerance of the above method.

[0044] In some embodiments, the electronic device is communicatively connected to 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, the first model information, the second model information, the first identifier, and the third identifier that match the electronic device, wherein the second model information is the model information of another display screen compatible with 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.

[0045] In some embodiments, before generating a 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, and the second information is the model information pre-stored in the second display screen.

[0046] In the above embodiment, frequent updates of the first list, which would cause unnecessary energy loss, can be avoided.

[0047] 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 operation; displaying a first group of image frames in the first interface during a ninth time period, and 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 operation; displaying a second group of image frames in the second interface during a tenth time period, and 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.

[0048] In the above embodiment, when an electronic device upgrades to a different display screen model, such as replacing a display screen that does not support the PSR function, the electronic device can promptly disable the PSR function to avoid additional energy loss. In other words, the electronic device can automatically enable or disable the PSR function based on the display screen model, achieving compatibility with multiple types of displays.

[0049] In a second aspect, an embodiment of the present application provides an electronic device, which includes one or more processors and a memory; the memory is coupled to the processor, and the memory is used to store computer program code, and the computer program code includes computer instructions. When one or more processors execute the computer instructions, the one or more processors are used to execute the method in the above-mentioned first aspect and its possible embodiments.

[0050] In a third aspect, an embodiment of the present application provides a computer storage medium, comprising computer instructions. When the computer instructions are executed on an electronic device, the electronic device executes the method in the above-mentioned first aspect and its possible embodiments.

[0051] In a fourth aspect, the present application provides a computer program product. When the computer program product is run on the above-mentioned electronic device, the electronic device executes the method in the above-mentioned first aspect and its possible embodiments.

[0052] It can be understood that 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 that can be achieved can refer to the beneficial effects in the corresponding methods provided above and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS

[0053] FIG1 is a schematic diagram of the hardware structure of the electronic device provided in the embodiment of the present application

[0054] FIG2 is a schematic diagram showing the principle of the automatic panel refresh technology;

[0055] FIG3 is an example diagram of a display interface of an electronic device provided in an embodiment of the present application;

[0056] FIG4 is a diagram illustrating an exemplary software and hardware structure of an electronic device provided in an embodiment of the present application;

[0057] FIG5 is a signaling interaction diagram of a display screen control method according to an embodiment of the present application;

[0058] FIG6 is a second signaling interaction diagram of the display screen control method provided in an embodiment of the present application;

[0059] FIG7 is a third signaling interaction diagram of the display screen control method provided in an embodiment of the present application;

[0060] FIG8 is one of the scene example diagrams of the display screen control method provided in an embodiment of the present application;

[0061] FIG9 is a second example diagram of a scene of the display screen control method provided in an embodiment of the present application;

[0062] FIG10 is a third example diagram of a scenario of the display screen control method provided in an embodiment of the present application;

[0063] FIG11 is a fourth example diagram of a scene of the display screen control method provided in an embodiment of the present application;

[0064] FIG12 is a fifth example diagram of a scene of the display screen control method provided in an embodiment of the present application;

[0065] FIG13 is a sixth example diagram of a scenario of the display screen control method provided in an embodiment of the present application;

[0066] FIG14 is a fourth signaling interaction diagram of the display screen control method provided in an embodiment of the present application;

[0067] FIG15 is an example diagram of a chip system provided in an embodiment of the present application. DETAILED DESCRIPTION

[0068] The technical solutions in the embodiments of the present application will be described below in conjunction with the drawings in the embodiments of the present application. In the description of the present application, unless otherwise specified, "at least one" means one or more, and "a plurality of" means two or more than two. In addition, in order to facilitate the clear description of the technical solutions in the embodiments of the present application, in the embodiments of the present application, words such as "first" and "second" are used to distinguish between identical or similar items with substantially the same functions and effects. Those skilled in the art will understand that words such as "first" and "second" do not limit the quantity and execution order, and words such as "first" and "second" do not necessarily limit them to be different.

[0069] An embodiment of the present application provides a display screen control method, which can be applied to electronic devices.

[0070] For example, the electronic devices in the embodiments of the present application may be portable computers (such as mobile phones), tablet computers, desktop computers, laptop computers, handheld computers, notebook computers, ultra-mobile personal computers (UMPCs), netbook computers, as well as cellular phones, personal digital assistants (PDAs), media players, and other devices with display screens. The embodiments of the present application do not impose any particular restrictions on the specific form of the electronic devices. In the subsequent embodiments, the specific implementation details are mainly described using the electronic device being a notebook computer as an example.

[0071] Please refer to FIG1 , which shows a possible hardware structure diagram of an electronic device:

[0072] As shown in Figure 1, 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, an earphone interface 170D, a sensor module 180, etc.

[0073] It is understood that the structures illustrated in the embodiments of the present invention do not constitute specific limitations on the electronic device. In other embodiments of the present application, the electronic device may include more or fewer components than shown, or may combine or separate certain components, or arrange the components differently. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.

[0074] The processor 110 may include one or more processing units, for example, a central processing unit (CPU), an application processor (AP), a modem processor, a graphics processing unit (GPU), an image signal processor (ISP), a controller, a memory, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU). The different processing units may be independent devices or integrated into one or more chips, such as a main chip.

[0075] In some embodiments, the main chip may further include an embedded controller (EC) 210. EC210 is an embedded main control chip mounted under the CPU bus, which is used to manage various hardware of the electronic device, such as a display screen, keyboard, touch screen, etc. EC210 can always be powered on to control the clock and monitor the operating status of various hardware. For example, in an embodiment of the present application, EC210 can monitor the data transmission between the display screen and the GPU, that is, EC210 can periodically detect whether a CRC error occurs between the display screen and the GPU. In addition, EC210 can also obtain the device information of the display screen. In addition, EC210 can also 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. Of course, the specific implementation details can be referred to the introduction in the subsequent embodiments.

[0076] Processor 110 may also include a memory for storing instructions and data. In some embodiments, the memory in processor 110 is a cache memory. This memory can store instructions or data that have just been used or are being recycled by processor 110. If processor 110 needs to use the same instruction or data again, it can directly access the memory. This avoids duplicate accesses, reduces processor 110 latency, and thus improves system efficiency.

[0077] The wireless communication function of the electronic device can be implemented through antenna 1, antenna 2, mobile communication module 150, wireless communication module 160, modem processor and baseband processor.

[0078] Antenna 1 and Antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in an electronic device can be used to cover a single or multiple 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 other embodiments, the antennas can be used in conjunction with a tuning switch.

[0079] The mobile communication module 150 can provide solutions for wireless communications including 2G / 3G / 4G / 5G applied in electronic devices. The mobile communication module 150 may include at least one filter, a switch, a power amplifier, a low noise amplifier (LNA), etc. The mobile communication module 150 can receive electromagnetic waves from the antenna 1, and filter, amplify, and process the received electromagnetic waves, and transmit them to the modulation and demodulation processor for demodulation. The mobile communication module 150 can also amplify the signal modulated by the modulation and demodulation processor, and convert it into electromagnetic waves for radiation through the antenna 1. In some embodiments, at least some of the functional modules of the mobile communication module 150 can be set in the processor 110. In some embodiments, at least some of the functional modules of the mobile communication module 150 can be set in the same device as at least some of the modules of the processor 110.

[0080] The wireless communication module 160 can provide wireless communication solutions for electronic devices, including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared (IR), etc. The wireless communication module 160 can be one or more devices that integrate at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, frequency modulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 110. The wireless communication module 160 can also receive the signal to be sent from the processor 110, frequency modulate it, amplify it, and convert it into electromagnetic waves for radiation through the antenna 2.

[0081] In some embodiments, the antenna 1 of the electronic device is coupled to the mobile communication module 150, and the antenna 2 is coupled to the wireless communication module 160, so that the electronic device can communicate with the network and other devices through 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 technology. 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 system (SBAS).

[0082] The electronic device implements display functionality through a GPU, display screen 194, and an application processor. A GPU is a microprocessor for image processing that connects display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. Processor 110 may include one or more GPUs that execute program instructions to generate or modify display information.

[0083] 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, which is not specifically limited in the embodiment of the present application.

[0084] In addition, the display screen 194 includes a display panel, that is, the panel mentioned in the aforementioned embodiment. In addition, the above-mentioned 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 can adopt a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active matrix organic light-emitting diode or an active matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), Miniled, MicroLed, Micro-oLed, a quantum dot light emitting diode (QLED), etc.

[0085] The electronic device can realize the shooting function through the ISP, camera 193, video codec, GPU, display 194 and application processor.

[0086] The ISP processes data fed back by camera 193. For example, when taking a photo, 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, which is then passed to the ISP for processing and converted into a visible image. The ISP can also perform algorithmic optimization on image noise, brightness, and skin tone. It can also optimize parameters such as exposure and color temperature of the captured scene. In some embodiments, the ISP can be located within camera 193.

[0087] The camera 193 is used to capture still images or videos. The object generates an optical image through the lens and projects it onto the photosensitive element. 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, and then passes the electrical signal to the ISP for conversion into a digital image signal. The ISP outputs the digital image signal to the DSP for processing. The DSP converts the digital image signal into an image signal in a standard RGB, YUV or other format. In some embodiments, the electronic device may include 1 or N cameras 193, where N is a positive integer greater than 1.

[0088] 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 selects a frequency, the DSP performs a Fourier transform on the frequency energy.

[0089] Video codecs are used to compress or decompress digital video. Electronic devices may support one or more video codecs. This allows them to play or record videos in a variety of encoding formats, such as Moving Picture Experts Group (MPEG) 1, MPEG2, MPEG3, and MPEG4.

[0090] The NPU is a neural network (NN) computing processor. Drawing on the structure of biological neural networks, such as the transmission patterns between neurons in the human brain, it rapidly processes input information and can continuously self-learn. The NPU can enable intelligent cognitive applications in electronic device 100, such as image recognition, face recognition, speech recognition, and text comprehension.

[0091] 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 the embodiments of the present application do not impose any restrictions on this.

[0092] In some embodiments, the main chip of the 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.

[0093] As will be appreciated, the aforementioned panel self-refresh (PSR) is a technology that can effectively reduce the power consumption of electronic devices. As will be appreciated, the electronic device includes a GPU and a display. The display relies on the GPU to continuously process display data to maintain the graphical display.

[0094] During the actual operation of electronic devices, when facing scenarios with high screen refresh requirements, such as running large-scale games, the GPU needs to continuously process display data. At the same time, the display screen also needs to quickly refresh the display content of the display panel to meet the display requirements of the current scenario.

[0095] In scenarios where screen refresh requirements are low, such as displaying e-books or browsing static web pages, the GPU can meet the current display requirements even if it does not frequently process display data and the display does not refresh the panel content quickly. In this scenario, electronic devices can use PSR technology to reduce power consumption.

[0096] The principle of PSR technology to reduce power consumption is as follows: As shown in Figure 2, a buffer storage area is set in the panel timing controller (TCON) of the display screen. After the GPU processes each frame of display data (such as display data 1), it can send display data 1 to the display screen. The display screen can refresh the display content of the display panel according to display data 1, that is, the display screen displays display data 1. Of course, in addition to displaying display data 1, the display screen can also store display data 1 in the above-mentioned buffer storage area. Afterwards, if the screen content of the next frame of display data (such as display data 2) is the same as the screen content of the display data stored in the buffer storage area, the GPU can not process display data 2. At this time, the display screen can continue to refresh the display content of the panel according to display data 1 in the buffer storage area. In other words, when displaying a static interface, the GPU can suspend processing display data. This can relieve the computing pressure of the GPU and reduce power consumption.

[0097] Of course, if the image content of the next frame of display data (e.g., display data 3) is different from the image content of the display data stored in the buffer storage area, the GPU continues to process the display data 3 and sends the display data 3 to the display screen. Similarly, in addition to displaying the display data 3, the display screen can also store the display data 3 in the buffer storage area instead of the display data 1.

[0098] That is, when displaying a static interface, the GPU can stop processing display data and stop sending display data to the display. When displaying a dynamic interface, the GPU can continue to process display data normally. This ensures that the display can display normally.

[0099] In addition, after enabling PSR technology, the electronic device can dynamically adjust the refresh rate of the display panel of the display screen while ensuring that the display screen can work normally. For example, in the scenario of displaying a static image, the frequency of data transmission between the GPU and the display screen is low, and the CPU can instruct the display screen to use a higher screen refresh rate. For another example, in the scenario of displaying a dynamic image, the data transmission between the GPU and the display screen is frequent, and the CPU can instruct the display screen to use a lower screen refresh rate. In other words, in display scenarios where static images often appear, the PSR technology can not only reduce the amount of GPU computing, but also reduce the number of refreshes of the display screen, effectively reducing energy consumption.

[0100] In some embodiments, the electronic device may turn on or off the PSR function in response to a user operation.

[0101] For example, while the electronic device is displaying a monitor configuration interface, the PSR function can be enabled or disabled in response to a user's operation. The monitor configuration interface can be a tabbed interface within a display adaptation window. As shown in FIG3 , the monitor configuration interface 301 includes a display refresh configuration bar 302, which can display 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." For another example, if the display is currently fixed at a 90Hz refresh rate, i.e., the PSR function is disabled, the display refresh configuration bar 302 will display "90Hz." For another example, if the display is fixed at a 120Hz refresh rate, i.e., the PSR function is disabled, the display refresh configuration bar 302 will display "120Hz." For another example, if the refresh rate of the electronic device's display is dynamically adjustable between 60Hz, 90Hz, and 120Hz, i.e., if the PSR function is enabled, the display refresh configuration bar 302 will display "Auto."

[0102] As an implementation, during the display of the monitor configuration interface by the electronic device, the process of enabling or disabling the PSR function in response to a user operation may include:

[0103] The electronic device displays a refresh rate selection window on the monitor configuration interface in response to the user's instruction to switch the refresh state. Exemplarily, the above-mentioned instruction to switch the refresh state can be an operation in which the user moves the mouse, moves the cursor corresponding to the mouse to the display refresh configuration bar 302, and then clicks the left mouse button. That is, as shown in Figure 3, after the cursor 303 corresponding to the mouse is displayed in 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. The refresh rate selection window 304 includes multiple options indicating different refresh rates, such as option 305 marked "60Hz", option 306 marked "90Hz" and option 307 marked "120Hz". The refresh rate selection window 304 can also include options indicating the PSR function, such as option 308 marked "automatic".

[0104] In some examples, the electronic device can turn on the PSR function in response to the user selecting the option indicating the PSR function. Exemplarily, the user selecting the option indicating the PSR function can be an operation in which the user moves the mouse, moves the cursor 303 corresponding to the mouse to the option indicating the PSR function, and then clicks the left button of the mouse. That is, as shown in Figure 3, after the refresh rate selection window 304 is displayed and the cursor 303 is displayed on the option 308 marked as "automatic", the electronic device detects a change in the level signal of the left mouse button and can determine that the PSR function is turned on. After the PSR function is turned on, the display refresh configuration bar 302 displays "automatic".

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

[0106] In some cases, some batches of displays do not support the creation of a buffer storage area in the TCON. After the electronic devices configured with this batch of displays enable the PSR function, not only will energy consumption not be reduced, but unnecessary performance overhead will also be added.

[0107] In other cases, during data transmission between the GPU and the display, there is a probability of data transmission failure, such as a cyclic redundancy check (CRC) error. In the following embodiments, the occurrence of a CRC error refers to the scenario where a data transmission failure occurs during the data transmission process.

[0108] When the PSR function is enabled on an electronic device, data transmission during the data transmission process will trigger the display to perform self-test and repair. During this process, the display driver will instruct the display to power off and then power on again, resulting in a black screen problem (the black screen lasts for about 1.2 seconds, and the user visually perceives it as a flashing black screen).

[0109] To improve the above problems, an embodiment of the present application provides a display screen control method that can be applied to an electronic device, wherein the main chip of the electronic device supports enabling the PSR function, and the display screen can be a display screen that supports the PSR function or a display screen that does not support the PSR function.

[0110] For displays that do not support the PSR function, electronic devices can be configured to disable the PSR function to reduce energy consumption. For displays that support the PSR function, electronic devices can configure the PSR function to be turned on or off based on the data transmission status between the GPU and the display. For example, when data transmission fails between the GPU and the display, the electronic device can be configured to disable the PSR function to avoid the black screen problem. When data transmission does not fail, the electronic device can be configured to enable the PSR function to save energy and increase the battery life of the electronic device.

[0111] The following takes a laptop computer as an example of an electronic device and describes the software and hardware structures of the laptop computer provided in an embodiment of the present application in conjunction with FIG4 .

[0112] As shown in FIG4 , a laptop computer may include an application layer, a system layer, a driver layer, and a hardware layer.

[0113] For example, the application layer may include a series of application programs, such as a computer manager. For ease of description, the application programs are referred to as applications below.

[0114] The computer manager may instruct to update the first PSR configuration list in the laptop computer.

[0115] It is understandable that the first PSR configuration list can be used to decide whether to enable the PSR function of the notebook computer. The first PSR configuration list can be configured in the storage space of EC210, and the above-mentioned first PSR configuration list includes the display screen models that the notebook computer can be configured with, and the PSR configuration items corresponding to each type of display screen.

[0116] For example, the first PSR configuration list indicates that the configurable display screen models of a laptop include Display A and Display B, where the PSR configuration item corresponding to Display A is Off, and the PSR configuration item corresponding to Display B is On. Thus, after the laptop is configured with the above-mentioned first PSR configuration list, the laptop's target display screen is Display A, and the PSR function can be turned off. The laptop's target display screen is Display B, and the PSR function can be turned on. The target display screen refers to the display screen actually integrated into the laptop.

[0117] Of course, the first PSR configuration list can be updated. For example, a new display model is added to the first PSR configuration list. For another example, a PSR configuration item in the first PSR configuration list can be updated from "on" to "off," or a PSR configuration item in the first PSR configuration list can be updated from "off" to "on."

[0118] As an implementation method, the computer manager can communicate with the cloud server, and the cloud server can store a second PSR configuration list. The second PSR configuration list includes a variety of electronic devices (including this laptop). In addition, the second PSR configuration list also records the display model that can be configured for each electronic device, and the PSR configuration items corresponding to each type of display. If the display supports the PSR function, in the second PSR configuration list, the PSR function is turned on for this type of display. If the display does not support the PSR function, in the second PSR configuration list, the PSR function is turned off for this type of display.

[0119] After the computer manager uses Over-the-Air Technology (OTA) to obtain the second PSR configuration list from the cloud server, the computer manager can update the first PSR configuration list according to the second PSR configuration list. For example, the second PSR configuration list indicates that in addition to display screen A and display screen B, the notebook computer of this version has a newly adapted display screen C, and display screen C supports the PSR function, and the display screen C and the corresponding PSR configuration items are updated to the first PSR configuration list. For another example, if the PSR configuration item of display screen A in the second PSR configuration list is turned on, the PSR configuration item corresponding to display screen A in the first PSR configuration list can be updated from off to on.

[0120] Of course, in addition to PC Manager, the application layer may also include other applications. Other applications may be applications installed in the laptop when the operating system is installed, or third-party applications (such as applications downloaded and installed by the user through an application store), which is not limited in the present embodiment.

[0121] As another example, the system layer may include a laptop operating system. In the embodiment of the present application, the operating system may be Windows OS (e.g., a personal computer) or Android OS (e.g., a tablet computer), and the embodiment of the present application does not specifically limit this. In the subsequent embodiments, the operating system is described as Windows OS.

[0122] As shown in Figure 4, the Windows OS of the laptop includes the WMI service and the target display driver.

[0123] The WMI service is used to receive data sent by the application layer. For example, after the computer manager obtains the second PSR configuration list, the WMI service can receive a WMI instruction from the computer manager, which is used to instruct the first PSR configuration list in the laptop to be updated according to the second PSR configuration list. In addition, the WMI service is also used to pass data to the corresponding hardware through the driver layer. For example, after receiving the WMI instruction from the computer manager, it is sent to the EC through the driver layer, triggering the EC to update the first PSR configuration list.

[0124] The target display driver is a display driver created by the basic input and output system (BIOS) in the driver layer after loading the video BIOS table (VBT) parameters.

[0125] For example, after the BIOS loads the VBT parameters, it can configure the display driver's parameters 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.

[0126] In some embodiments, multiple groups of VBT parameters can be configured in a laptop computer, and the VBT parameters can indicate the refresh mode required for the target display screen. For example, the multiple groups of VBT parameters include VBT parameter 1, VBT parameter 2, VBT parameter 3, and VBT parameter 4. The parameter types of the above four groups of VBT parameters are the same, but the parameter values ​​may be different. Among them, VBT parameter 1 can indicate that the target display screen is fixedly refreshed at 60Hz, VBT parameter 2 can indicate that the target display screen is fixedly refreshed at 90Hz, VBT parameter 3 can indicate that the target display screen is fixedly refreshed at 120Hz, and VBT parameter 4 can indicate that the refresh rate of the display screen is dynamically adjusted according to the rules of the PSR function.

[0127] That is, 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 activation of the PSR function can be referred to as the first display driver.

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

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

[0130] The WMI communication module is used to receive data from the WMI service and pass it to the EC. For example, it receives a WMI instruction from the WMI service and passes it to the EC, triggering the EC to update the first PSR configuration list.

[0131] The BIOS is a set of programs stored on a ROM chip. It stores basic input and output routines, system settings, post-boot self-tests, and system startup routines. Its primary function is to provide the most basic and direct hardware configuration and control for a laptop.

[0132] In some embodiments, the BIOS can load VBT parameters, which are also 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 refresh rate of the display according to the rules of the PSR function.

[0133] As another example, the hardware layer includes an EC, a GPU, and a target display screen. A first flag bit is provided in the EC, and the first flag bit can be an enable switch for the PSR function. At the hardware level, the first flag bit can be a register in the EC, also referred to as a first register. The first flag bit can be configured with different values. When the first flag bit corresponds to different values, the EC can instruct the BIOS to load different VBT parameters. In this way, when different VBT parameters are loaded, different target display screen drivers can be created. When different target display screen drivers are used to control the target display screen, the PSR function can be turned on and off.

[0134] In some embodiments, the EC may also configure the value of the first flag bit according to actual conditions (eg, whether a CRC error occurs, or whether the target display supports the PSR function) to automatically enable or disable the PSR function.

[0135] For example, the EC of a laptop computer can identify the display model of the target display. In one implementation, the DDC memory of the target display includes Extended Display Identification Data (EDID). The EDID is an extended display identification data, which may include parameters indicating the manufacturer and attributes of the display, such as the display's vendor identity document (VID) and the display's device identity document (DID). In this way, the EC can read the EDID through the DDC channel in the target display to determine the VID and DID of the target display. Then, the EC can determine the model of the target display based on the read VID and DID.

[0136] Afterwards, the EC determines whether the target display supports the PSR function based on the first PSR configuration list and the model of the target display. If the target display does not support the PSR function, the EC can instruct the BIOS to load VBT parameters that do not enable the PSR function, such as the first VBT parameters. In this way, after loading the first VBT parameters, the PSR function is disabled, and the target display adopts a fixed refresh rate. If the target display supports the PSR function, the EC can instruct the BIOS to load VBT parameters that can enable the PSR function, such as the second VBT parameters. In this way, after loading the second VBT parameters, the PSR function is enabled, and the target display adopts a dynamically changing refresh rate.

[0137] As an implementation method, 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 turned on, the EC can set the first mark position to the first value, instructing the BIOS to load the VBT parameters (such as the second VBT parameters) that can realize the PSR function, and create a first display driver that indicates that the PSR function is turned on. When the queried PSR configuration item indicates that the PSR function is turned off, the EC can set the first mark position to the second value, instructing the BIOS to load the VBT parameters (such as the first VBT parameters) that cannot realize the PSR function, and create a second display driver that indicates that the PSR function is turned off.

[0138] As another example, as shown in FIG4 , if a CRC error occurs 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 that the PSR function is disabled can be created. The second display driver, based on the first VBT parameters, instructs the target display to use a fixed refresh rate.

[0139] In addition, after the laptop's EC triggers the PSR function based on actual conditions, "Auto" is displayed in the display refresh configuration field 302 in the monitor configuration interface 301 of the laptop. After the laptop turns off the PSR function based on actual conditions, the display refresh configuration field 302 in the monitor configuration interface 301 displays a default refresh rate. The default refresh rate can be a preset refresh rate from multiple enabled fixed refresh rates (e.g., 60 Hz, 90 Hz, and 120 Hz), for example, the default refresh rate is configured to be 90 Hz.

[0140] In some examples, different display models may have different fixed refresh rates, and the corresponding default refresh rates may also be different. For example, some versions of the display can only have fixed refresh rates of 60Hz and 90Hz, and the corresponding default refresh rate can be configured to be 60Hz.

[0141] It should be noted here that the priority of automatically turning on and off the PSR function of a laptop computer is higher than turning on and off the PSR function in response to user instructions. That is, when there is a conflict between the "turning on or off the PSR function" instructed by the user and the "turning on or off the PSR function" automatically determined by the laptop computer, the "turning on or off the PSR function" automatically determined by the laptop computer shall prevail. For example, after the user manually turns on the PSR function, the laptop computer can turn off the PSR function according to the actual situation. After the user manually turns off the PSR function, the laptop computer can also turn on the PSR function according to the actual situation. In this way, it avoids users not understanding the PSR function and mistakenly turning on or unrelated PSR functions, which affects the actual user experience. For another example, after the laptop computer turns off the PSR function according to the actual situation, the laptop computer may not respond to the user's instruction to turn on the PSR function.

[0142] In other embodiments, as shown in Figure 4, the first PSR configuration list is stored in the storage area built into the EC. After the EC receives the WMI instruction from the WMI communication module, the first PSR configuration list can be updated according to the second PSR configuration list.

[0143] The second PSR configuration list can be a PSR configuration list obtained by the computer manager from the cloud server. For example, the second PSR configuration list can be as shown in Table 1 below:

[0144] Table 1

[0145] It can be seen that, as shown in Table 1, a laptop computer of model A can support the configuration of display screen A and display screen B. In other words, a laptop computer of model A may be configured with display screen A or display screen B, or the laptop computer can be configured with display screen A and display screen B at the same time (that is, configured with dual screens) through external connection or other means. In addition, as shown in Table 1, a laptop computer configured with display screen A does not support the activation of the PSR function for display screen A, that is, in Table 1, the PSR configuration item corresponding to display screen A (that is, the PSR function) is turned off. A laptop computer configured with display screen B supports the activation of the PSR function for display screen B, that is, in Table 1, the PSR configuration item corresponding to display screen B (that is, the PSR function) is turned on.

[0146] As shown in Table 1, a model B laptop can support both display D and display E. In other words, a model B laptop may be configured with display D or display E, or, through external connections or other means, the laptop can be configured with both display D and display E simultaneously (i.e., configured with dual screens). Furthermore, as shown in Table 1, laptops configured with display D and / or display E all support the PSR function. That is, in Table 1, the PSR configuration items corresponding to display D and display E are set to Enabled.

[0147] In some embodiments, after obtaining the second PSR configuration list, the laptop computer can determine the first PSR configuration list based on the second PSR configuration list. Taking the laptop computer of model A as an example, after the laptop computer of model A obtains the second PSR configuration list, the display screen model related to model A and the PSR configuration items corresponding to the related display screen model can be determined in the second PSR configuration list. For example, when the second PSR configuration list is as shown in Table 1, the first PSR configuration list determined by the laptop computer of model A is shown in Table 2 below:

[0148] Table 2

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

[0150] In this way, after the notebook computer of model A is turned on, the notebook computer can determine the model of the display screen actually configured. Then, according to the model of the display screen, in conjunction with the first PSR configuration list, the PSR function is turned on or off.

[0151] As shown in Figure 5, according to Table 2 above, the implementation details of turning on or off the PSR function are as follows:

[0152] S101, EC obtains 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 of the display through the DDC channel and obtain the DID and VID corresponding to the display from the EDID. It will be appreciated that the EC can manage most of the hardware in the laptop. Thus, the EC can communicate with the actual display configured in the laptop and obtain data stored on the display. After obtaining the DID and VID, they can be stored in the first storage area of ​​the EC for subsequent reading and use.

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

[0155] S102 , the EC determines the model information matching the target display screen from the first PSR configuration list based on the obtained DID and VID.

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

[0157] It can be understood that the model information of the display screen in the first PSR configuration list may include: information indicating the manufacturer and version information of the device.

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

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

[0160] S103: Configure the value of the first flag bit according to the PSR configuration item corresponding to the matching model information.

[0161] The first flag bit may be stored in a register of the EC, and the first flag bit may also be referred to as a target flag bit.

[0162] In some embodiments, after the EC determines the matching model information, it may 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.

[0163] For example, when 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, it can be determined that the corresponding PSR configuration item is "off".

[0164] 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 a second value. For example, the EC can write the second value to the first register corresponding to the first flag bit. After the value of the first flag bit is configured to the second value, it indicates that the PSR function needs to be disabled.

[0165] For another example, when 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, it can be determined that the corresponding PSR configuration item is "on".

[0166] 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 a first value. For example, the EC can write the first value to 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 can be different from the first value. For example, the second value can be 0 and the first value can be 1.

[0167] In addition, the default value of the first flag bit is the first value. Thus, when the notebook computer is first turned on and before the PSR configuration item corresponding to the matching model information is found, the value of the first flag bit can be the first value.

[0168] S104: When a preset condition is met, the BIOS obtains the value of the first flag bit in the EC.

[0169] Illustratively, the aforementioned preset conditions may include at least one of: the laptop executing a startup process, or the value of the first flag bit changing. Optionally, in combination with the preset conditions, the following scenarios may trigger the BIOS to obtain the value of the first flag bit in the EC, such as when the laptop is booted 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.

[0170] In some embodiments, during the boot process, a laptop computer can run a BIOS program stored in a ROM chip. After running the BIOS program, a new BIOS process (hereinafter referred to as "BIOS") is created in the laptop computer. Furthermore, during the boot process, the BIOS initializes the target display, specifically loading the VBT parameters required for the target display. In this case, the BIOS can query the value of the first flag bit in the EC.

[0171] In other embodiments, when the EC changes the value of the first flag bit from the first value to the second value, it may report an interrupt to the BIOS. The interrupt may include information indicating that the value of the first flag bit is the second value or that 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 based on the interrupt reported by the EC.

[0172] S105 , the BIOS creates a target display screen driver based on the target VBT parameter that matches the value of the first flag bit.

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

[0174] In this way, when the BIOS determines that the value of the first flag bit is the second value, the target VBT parameter can be determined to be the first VBT parameter. In this scenario, the BIOS can load the first VBT parameter, and loading the first VBT parameter can include creating a target display screen driver configured with the first VBT parameter, that is, a second display screen driver. The second display screen driver can realize the turning off of the PSR function. After the PSR function is turned off, the target display screen adopts a fixed refresh rate, such as a default refresh rate, or a fixed refresh rate directly specified by the user. Exemplarily, the above-mentioned first VBT parameter can be a general term for multiple groups of VBT parameters, and the VBT parameter indications of different groups can use different fixed refresh rates. That is, when the PSR function is turned off, the refresh rate that can be fixedly adopted by the laptop can include multiple ones.

[0175] When the BIOS determines that the value of the first flag bit is the first value, the target VBT parameter may be determined to be the second VBT parameter. In this scenario, the BIOS may load the second VBT parameter. Loading the second VBT parameter may include creating a target display driver configured with the second VBT parameter, that is, the first display driver. The first display driver may enable a PSR function. After the PSR function is enabled, the target display adopts a dynamically changing refresh rate.

[0176] S106: The target display screen driver configures the refresh rate of the target display screen according to the target VBT parameters.

[0177] When the loaded target VBT parameter is the first VBT parameter, the second display driver created by the BIOS can turn off the PSR function according to the first VBT parameter and instruct the target display to use a fixed refresh rate to refresh the display content of the target display.

[0178] That is, when the target display screen does not support the PSR function, the laptop computer turns off the PSR function by loading the first VBT parameter, or keeps the PSR function in a turned-off state to avoid generating additional power consumption.

[0179] When the loaded 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.

[0180] Specifically, if the target display supports PSR, the laptop can enable PSR by loading the second VBT parameter. This reduces the GPU's workload when displaying static interfaces, reduces the frequency of data transfers between the GPU and the target display, and also reduces the refresh rate of the target display, effectively reducing the laptop's energy consumption.

[0181] In other embodiments, when the same laptop computer is configured with multiple target display screens, the first flag bits in the EC may also include multiple first flag bits, each first flag bit corresponds to a target display screen, and each target display screen corresponds to a dedicated target display screen driver.

[0182] In the above embodiment, the value in each first flag bit can determine whether to enable the PSR function for the corresponding target display screen. That is, the BIOS loads matching VBT parameters (i.e., target VBT parameters) for different target display screens based on the values ​​in different first flag bits. Of course, in actual scenarios, the target VBT parameters for different target display screens may be different, or they may be the same, depending on the specific circumstances. In this way, the target display screen driver corresponding to each target display screen can control the refresh rate of the corresponding target display screen according to the corresponding target VBT parameters, while being compatible with multiple types of display screens, effectively reducing energy consumption.

[0183] In other embodiments, when the laptop computer is enabled for PSR, the PSR configuration item corresponding to the target display in the first PSR configuration list is enabled. In this scenario, if an abnormality occurs in the data transmission between the GPU and the target display, such as a CRC error detected by the target display when verifying the display data from the GPU, the laptop computer can also disable the PSR function.

[0184] As shown in FIG6 , the display screen control method may further include the following steps:

[0185] S301 , when a data transmission exception occurs between the target display screen and the GPU, the EC changes the PSR configuration item corresponding to the matching model information in the first PSR configuration list to be closed.

[0186] Optionally, during the transmission of display data between the target display and the GPU, the target display can perform a data check, such as a CRC check, on the display data from the GPU. If a CRC error is detected by the target display, the EC is notified. Alternatively, the EC can detect a CRC error between the target display and the GPU and determine that the PSR function should be disabled.

[0187] The matching model information is the model information that matches the target display screen in the first PSR configuration list. That is, the matching model information is the model information of the display screen included in the first PSR configuration list. In addition, the display screen model indicated by the matching model information is the same as the model of the target display screen.

[0188] Understandably, if a CRC error occurs when the PSR function is enabled, it may trigger a self-test on the target display. During this self-test, the target display will automatically reboot (e.g., power cycle). During this reboot, the target display will briefly go black before lighting up again. This may cause the target display to appear to be flashing black to the user.

[0189] In the embodiment of the present application, after the target display screen verifies the CRC error, the PSR function is turned off. In other words, the PSR configuration item corresponding to the matching model information in the first PSR configuration list can be changed to off.

[0190] In some embodiments, in the first PSR configuration list, if the PSR configuration item corresponding to the matching model information has indicated to be closed, the PSR configuration item can be kept in a closed state.

[0191] In some embodiments, the target display screen performs a CRC check on each frame of display data received from the GPU. At the same time, the EC can periodically determine whether the target display screen has detected a CRC error. In other embodiments, the target display screen may immediately report the CRC error to the EC after detecting the CRC error. That is, the embodiments of the present application do not limit the specific method by which the EC detects the CRC error. When a CRC error is detected, if the PSR configuration item that matches the model information in the first PSR configuration list is turned on, the PSR configuration item can be changed to off.

[0192] S302: When the PSR configuration item corresponding to the matching model information is closed, the EC configures the value of the first flag bit to be the second value.

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

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

[0195] S303: When a preset condition is met, the BIOS obtains the value of the first flag bit in the EC.

[0196] In some embodiments, the implementation details of the above S303 can be referred to S104 in the above embodiments, which will not be repeated here.

[0197] S304: When the value of the first flag bit is the second value, the BIOS creates a second display screen driver based on the first VBT parameter.

[0198] In some embodiments, before an abnormality occurs in data transmission between the GPU and the target display, the PSR function of the laptop is enabled. That is, in this scenario, the first display driver in the laptop controls the target display. After an abnormality occurs in data transmission between the GPU and the target display, the BIOS loads a first VBT parameter to disable the PSR function. During the loading of the first VBT parameter, the first display driver can be uninstalled first, and then a corresponding second display driver can be created based on the first VBT parameter. The implementation details of the above S304 can be referred to S105 in the aforementioned embodiment and will not be repeated here.

[0199] S305 , the second display screen driver refreshes the display content of the target display screen using a fixed refresh rate according to the first VBT parameter.

[0200] In some embodiments, the implementation details of the above S305 can be referred to S106 in the above embodiments, which will not be repeated here.

[0201] That is, in the embodiment of the present application, for a laptop computer with the PSR function enabled, if a data transmission anomaly is detected between the target display and the GPU, such as a CRC error detected on the target display, the PSR function can be disabled in a timely manner.

[0202] Understandably, if a CRC error occurs between the target display and the GPU when the PSR function is enabled on a laptop computer, the target display will be triggered to perform a self-test. During the self-test, the target display will be powered off and then powered back on. Furthermore, if the PSR function is disabled on a laptop computer, even if a CRC error is detected on the target display, the self-test will not be triggered. In other words, the target display will not be powered off. In the embodiments of the present application, by promptly disabling the PSR function after a CRC error is detected, the target display can be prevented from performing a self-test, preventing the target display from being powered off and also avoiding the occurrence of the flashing black screen problem.

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

[0204] In some other embodiments, as shown in FIG7 , the display screen control method may further include the following steps:

[0205] S401 , after the data transmission between the GPU and the target display returns to normal, the EC changes the PSR configuration item corresponding to the matching model information in the first PSR configuration list to enabled.

[0206] For example, the data transmission between the GPU and the target display screen returns to normal by no CRC error in the display data transmitted between the GPU and the target display screen.

[0207] For example, if the EC does not receive a CRC error reported by the target display screen for multiple consecutive cycles, the EC can determine that the data transmission between the GPU and the target display screen has returned to normal, and change the PSR configuration item corresponding to the matching model information in the first PSR configuration list to on. For another example, if the target display screen verifies that there is no CRC error problem in the continuous multi-frame transmission data (multi-frame continuous display data from the GPU), then the EC is reported that there is no CRC error between the current GPU and the target display screen. In this way, the EC can also determine that the data transmission between the GPU and the target display screen has returned to normal, and change the PSR configuration item corresponding to the matching model information in the first PSR configuration list to on.

[0208] In addition, in the first PSR configuration list, each display model information corresponds to a PSR configuration item. After data transmission between the GPU and the target display returns to normal, enabling the PSR function can effectively achieve energy savings. At this time, the EC can change the PSR configuration item corresponding to the matching model information in the first PSR configuration list to enabled.

[0209] S402: The EC configures the value of the first flag bit to be a first value.

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

[0211] S403: When a preset condition is met, the BIOS obtains the value of the first flag bit.

[0212] In some embodiments, the above S403 is the same as S104 in the aforementioned embodiment and will not be repeated here.

[0213] S404: When the value of the first flag bit is the first value, the BIOS creates a first display screen driver based on the second VBT parameter.

[0214] In some embodiments, in the event of abnormal data transmission between the GPU and the target display, the laptop computer utilizes a second display driver to control the target display. After data transmission between the GPU and the target display returns to normal, the BIOS loads a second VBT parameter to enable the PSR function. During the loading of the second VBT parameter, the second display driver may be uninstalled first, and then a corresponding first display driver may be created based on the second VBT parameter. The implementation details of S404 above can be found in S105 of the aforementioned embodiment and are not further described here.

[0215] S405: The first display screen driver dynamically adjusts the refresh rate of the target display screen according to the second VBT parameter.

[0216] In some embodiments, the implementation details of the above S405 may be the same as those of S106 in the aforementioned embodiment and will not be repeated here.

[0217] In this way, after the data transmission between the target display and the GPU returns to normal, the PSR function can be restarted in time to reduce the energy consumption of the laptop.

[0218] The following describes several practical application scenarios to explain how to enable or disable the PSR function on a laptop computer based on actual conditions:

[0219] Exemplary scenario 1: A scenario where a first laptop computer is turned on, wherein the target display screen of the first laptop computer is display screen A which does not support the PSR function, and the refresh rates of display screen A include 60 Hz and 90 Hz, with 90 Hz being the default refresh rate.

[0220] During the process of starting up the first notebook computer, the first notebook computer may execute the above steps S101 to S106. In this way, after the first notebook computer is started up, the PSR function is in a disabled state.

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

[0222] After the first laptop computer is turned on and the PSR function is turned off, the refresh rate of the target display screen remains unchanged while the first laptop computer displays the static interface and the dynamic interface.

[0223] Taking a first laptop running a browser application as an example, as shown in Figure 8, while the first laptop responds to a user operation and scrolls to display browser interface 701, i.e., during the first time interval, the refresh rate of the first laptop's target display is 90 Hz. While the first laptop statically displays browser interface 702, i.e., during the second time interval, the refresh rate of the first laptop's target display remains at 90 Hz. Similarly, when running other applications (e.g., gaming applications), the refresh rate of the first laptop's target display remains at 90 Hz both during the display of the static gaming interface provided by the gaming application and during the display of the dynamic gaming interface.

[0224] That is, if the laptop's target display doesn't support PSR, the refresh rate remains fixed when running any application, meaning PSR is disabled. This way, if the laptop's main chip supports PSR but the target display doesn't, PSR won't be enabled, avoiding unnecessary energy consumption.

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

[0226] Exemplary scenario 2: A scenario where the second laptop is turned on, wherein the target display screen of the second laptop is display screen B that supports the PSR function, and the refresh rates of display screen B include 60 Hz, 90 Hz, and 120 Hz, with 90 Hz being the default refresh rate.

[0227] When the second notebook computer is turned on, the second notebook computer can execute the above steps S101 to S106. In this way, after the second notebook computer is turned on, the PSR function is in an enabled state.

[0228] For example, after the second laptop is turned on or restarted, the second laptop can query the PSR configuration items corresponding to the target display from the first PSR configuration list. For specific implementation details, please refer to S101 to S103 in Figure 5. Then, according to the PSR configuration items corresponding to the target display, the PSR function is enabled. For specific implementation details, please refer to S104 to S106 in Figure 5.

[0229] After the second laptop computer is powered on and the PSR function is enabled, the refresh rate of the target display screen may vary among 60 Hz, 90 Hz, and 120 Hz during the period when the second laptop computer displays the static interface and the dynamic interface.

[0230] Taking the second laptop computer running a browser application as an example, as shown in FIG9 , while the second laptop computer scrolls and displays the browser interface 801 in response to a user operation, i.e., during the first time interval, the refresh rate of the target display screen is 90 Hz. While the second laptop computer statically displays the browser interface 802, i.e., during the second time interval, the refresh rate of the target display screen of the second laptop computer is 60 Hz.

[0231] Of course, when different applications are running, the refresh requirements for the target display screen are also different. In this way, when displaying the dynamic interfaces provided by different applications, the actual refresh rates of the second notebook computer may also be different.

[0232] As shown in FIG10 , while the second laptop displays the game login interface 901 (a static display interface), that is, during the third time interval, the target display refresh rate is 60 Hz. While the second laptop displays the real-time game interface 902 (a dynamic display interface), that is, during the fourth time interval, the target display refresh rate is 120 Hz.

[0233] That is, when the target display screen of the second notebook computer supports the PSR function, the refresh rate of the target display screen can be changed dynamically when running different applications or displaying different interfaces.

[0234] In short, laptop computers using the above display control method can decide whether to enable or disable the PSR function based on whether the target display supports the PSR function. In this way, the laptop computer can be compatible with various display screens without generating unnecessary energy consumption.

[0235] In some embodiments, before the laptop computer turns on or off the PSR function according to the model of the target display screen, the laptop computer may turn on or off the PSR function according to the default on / off state of the PSR function (e.g., pre-configured to turn on the PSR function by default or turn off the PSR function by default). For example, the first flag bit defaults to the first value, and the laptop computer may load the second VBT parameter to enable the PSR function by default without determining whether to turn on or off the PSR function.

[0236] In addition, after the laptop turns off the PSR function according to the model of the target display screen, such as after the first laptop is turned on, the PSR function can be turned on in response to user operations until the first laptop turns off the PSR function again according to the model of the target display screen, or until the first laptop detects a CRC error and turns off the PSR function. Or, until the first laptop responds to the user operation and turns off the PSR function again. For example, after the first laptop (the laptop whose target display screen does not support the PSR function) turns on the PSR function in response to the user operation, the first laptop can display a PSR function recommendation shutdown interface in some scenarios, such as a scenario where the remaining power is lower than the preset power. During the display of the PSR function recommendation shutdown interface, the first laptop can turn off the PSR function in response to the user's instruction to turn off the PSR function.

[0237] After the laptop computer turns on the PSR function according to the model of the target display screen, such as after the second laptop computer is turned on, the PSR function can be turned off in response to a user operation until the second laptop computer turns on the PSR function again according to the model of the target display screen. Or, until the second laptop computer turns on the PSR function in response to a user operation. For example, after the second laptop computer turns off the PSR function in response to a user operation, the second laptop computer can display a PSR function recommendation activation interface in some scenarios, such as a scenario where the remaining power is lower than a preset power level. While the PSR function recommendation activation interface is displayed, the second laptop computer can turn on the PSR function in response to a user instruction to turn on the PSR function.

[0238] In some embodiments, a laptop computer (e.g., a first laptop computer and a second laptop computer) can be powered on multiple times. During the i-th power-on, the laptop computer can also execute the display screen control method shown in FIG. 5 for the i-th time. Here, i is a positive integer greater than 1. Furthermore, after the i-th power-on, if the laptop computer (e.g., the first laptop computer and the second laptop computer) fails to successfully obtain the VID and DID from the target display screen during the execution of S101, 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 screen, the newly obtained VID and DID are written into the first storage area, overwriting the previously stored VID and DID.

[0239] Exemplary scenario 3: After the second laptop is powered on, it is disturbed by external factors, causing abnormal data transmission between the GPU and the target display.

[0240] For example, the exemplary scenario 3 described above may be that after the second laptop is placed in a specific interference environment, the second laptop generates a CRC error. It is understandable that the interference environment described above may be an environment that can cause the second laptop to generate Cable CRC interference. Exemplarily, the interference environment described above may be a spatial environment with a first type of electromagnetic interference signal. 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 for transmitting display data between the GPU and the target display screen. In addition, the signal strength of the first type of electromagnetic signal is not less than a preset strength value, for example, the preset strength value may be an empirical value.

[0241] In the exemplary scenario 3 above, when a CRC error occurs, the second laptop computer may disable the PSR function. The specific process is shown in S301 to S305 and will not be described in detail here.

[0242] As shown in Figure 11, before the second laptop enters the interference environment, the PSR function is in an enabled state. In this scenario, the second laptop can run a browser application. During the time when the second laptop responds to user operations and scrolls to display the browser interface 1001, that is, during the fifth time interval, the refresh rate of the target display of the second laptop is 90Hz. During the time when the second laptop statically displays the browser interface 1002, that is, during the sixth time interval, the refresh rate of the target display of the second laptop is 60Hz.

[0243] Afterwards, when the second laptop computer enters the interference environment, while the second laptop computer responds to the user's operation and scrolls to display the browser interface 1001, that is, during the seventh time interval, the refresh rate of the target display screen of the second laptop computer is 90 Hz. While the second laptop computer statically displays the browser interface 1002, that is, during the eighth time interval, the refresh rate of the target display screen of the second laptop computer remains at 90 Hz.

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

[0245] In the above embodiment, the target display screen of the second laptop computer is a display screen that supports the PSR function, such as display screen B. When a CRC error occurs between the GPU and the target display screen, the second laptop computer will turn off the PSR function. It is understandable that when the PSR function is turned on, the CRC error will trigger the target display screen to perform a self-test, and the self-test of the target display screen may cause a flashing black screen. In an embodiment of the present application, the PSR function can be turned off before the CRC error triggers the target display screen to perform a self-test, so as to prevent the target display screen from starting a self-test. In this way, the occurrence of a flashing black screen can also be prevented. In other example scenarios, after the bus between the GPU and the target display screen becomes loose or ages, the second laptop computer may also be able to automatically enable or disable the PSR function. It is understandable that after the bus between the GPU and the target display screen becomes loose or ages, the data transmission between the GPU and the target display screen may also be abnormal. According to S301 to S305, the second laptop computer may also be able to actively turn off the PSR function. The specific details are similar to the scenario where the second laptop computer is disturbed by external factors and will not be repeated here.

[0246] Exemplary scenario 4: After the second laptop is no longer in the interference environment, for example, the user eliminates the interference in the space where the second laptop is located, or for another example, the user moves the second laptop out of the space where the interference exists, 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.

[0247] As shown in FIG12 , when the second laptop is placed in an interference environment, while the second laptop responds to a user operation and scrolls to display the browser interface 1001, that is, during the seventh time interval, the refresh rate of the target display screen of the second laptop is 90 Hz. While the second laptop statically displays the browser interface 1002, that is, during the eighth time interval, the refresh rate of the target display screen of the second laptop remains at 90 Hz.

[0248] After the second laptop is no longer in the interference environment, the PSR function remains disabled. In this scenario, the second laptop can run a browser application. While the second laptop responds to user operations and scrolls to display the browser interface 1001, that is, during the ninth time interval, the refresh rate of the target display screen of the second laptop is 90 Hz. While the second laptop statically displays the browser interface 1002, that is, during the tenth time interval, the refresh rate of the target display screen of the second laptop is 90 Hz.

[0249] In other example scenarios, if the bus between the GPU and the target display of the second laptop is loose or aged, if the second laptop replaces the bus between the GPU and the target display, 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 disabled state.

[0250] In exemplary scenario 5, when a second laptop is used, the target display screen of the second laptop is display screen B. The refresh rates of display screen B include 60 Hz, 90 Hz, and 120 Hz, and 90 Hz is the default refresh rate.

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

[0252] Taking the running of a browser application as an example, as shown in FIG13 , the second laptop is located in an interference-free environment, and the bus between the GPU and the target display is not loose or aged. While the second laptop responds to a user operation and scrolls to display the browser interface 1001, i.e., during the fifth time interval, the target display refresh rate of the second laptop is 90 Hz. While the second laptop statically displays the browser interface 1002, i.e., during the sixth time interval, the target display refresh rate of the second laptop is 60 Hz.

[0253] Afterwards, if the second laptop computer enters an interference environment, or if the bus between the GPU and the target display screen becomes loose or degraded, the second laptop computer responds to user operations and scrolls to display the browser interface 1001, i.e., during the seventh time interval, the target display screen refresh rate of the second laptop computer is 90 Hz. While the second laptop computer statically displays the browser interface 1002, i.e., during the eighth time interval, the target display screen refresh rate of the second laptop computer remains at 90 Hz.

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

[0255] If the interference environment causes a CRC error to occur in the second laptop computer, after the second laptop computer is no longer in the interference environment, while the second laptop computer responds to user operations and scrolls to display the browser interface 1001, that is, during the ninth time interval, the target display refresh rate of the second laptop computer is 90 Hz. While the second laptop computer statically displays the browser interface 1002, that is, during the tenth time interval, the target display refresh rate of the second laptop computer remains at 60 Hz.

[0256] In addition, after the second laptop is out of the interference environment, the target display's refresh rate is 90 Hz while the second laptop displays the game login interface (static interface). The target display's refresh rate can also be changed to 120 Hz while the second laptop displays the real-time game interface (dynamic interface).

[0257] In the event of a CRC error caused by a bus problem between the GPU and the target display, after the bus between the GPU and the target display is replaced, while the second laptop computer responds to user operations and scrolls to display the browser interface 1001, that is, during the ninth time interval, the target display refresh rate of the second laptop computer is 90 Hz. While the second laptop computer statically displays the browser interface 1002, that is, during the tenth time interval, the target display refresh rate of the second laptop computer remains at 60 Hz.

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

[0259] In other embodiments, the first PSR configuration list in the notebook computer (as, the first notebook computer and the second notebook computer) can comprise the first sub-table and the second sub-table. According to the second PSR configuration list, determine the first PSR configuration list at each time, perhaps, after upgrading the first PSR configuration list, the content of the first sub-table and the second sub-table is all identical. Wherein, in the notebook computer operation process, the content of the first sub-table does not change, can make things convenient for notebook computer to inquire about all kinds of display screens and whether support the PSR function. In addition, the content of the second sub-table can be updated according to the operation of the notebook computer (as, whether CRC error occurs, or whether CRC error disappears), like this, the notebook computer can, in operation process, dynamically open or close the PSR function according to the second sub-table. That is, during the notebook computer is carried out above-mentioned S301~S305, after determining that needs to close the PSR function, can first check whether the PSR configuration item of target display corresponding in the first sub-table is for closing, if the PSR configuration item of target display corresponding in the first sub-table is to close, need not to carry out subsequent steps. During the execution of S401 to S405 above, after determining that the PSR function needs to be enabled, the laptop can first check whether the PSR configuration item corresponding to the target display in the first subtable is closed. If the PSR configuration item corresponding to the target display in the first subtable is closed, there is no need to perform subsequent steps.

[0260] In other embodiments, the first PSR configuration list in a laptop computer (e.g., a first laptop computer and a second laptop computer) may also be a single table, and the first PSR configuration list also includes a first table item corresponding to type information of each type of display screen, and the first table item indicates whether the corresponding display screen supports the PSR function.

[0261] In the initial stage, the first list item of same display screen is identical with the content of PSR configuration item.In the notebook computer operation process, the content of the first list item does not change, can make things convenient for notebook computer to inquire about all kinds of display screens and whether support PSR function.In addition, the content of PSR configuration item can be updated according to the operation situation of notebook computer (as, whether CRC error occurs, or whether CRC error disappears).Like this, during notebook computer is carried out above-mentioned S301~S305, after determining that needs to close the PSR function, can judge whether the first list item that target display screen is corresponding in the first PSR configuration list is for closing, if the first list item is to close, need not to carry out subsequent steps.During notebook computer is carried out above-mentioned S401~S405, after determining that needs to open the PSR function, can judge whether the first list item that target display screen is corresponding in the first PSR configuration list is for closing, if the first list item is to close, need not to carry out subsequent steps equally.

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

[0263] In some embodiments, after the laptop computer is turned on or off based on whether a CRC error occurs, the laptop computer can still respond to user operations to turn on or off the PSR function, as shown in FIG3 . Thereafter, the laptop computer can still turn on or off the PSR function based on whether a CRC error occurs.

[0264] In addition, in some embodiments, as the display screen material of the laptop changes, the laptop can add a new configurable display screen type. For example, a model A laptop can add a configurable display screen C, which also supports the PSR function. In this way, the second PSR configuration list in the cloud server will also be updated. For example, the updated second PSR configuration list is shown in Table 3:

[0265] Table 3

[0266] After the cloud server updates the second PSR configuration list, the second PSR configuration list can be sent to the laptop. After the laptop obtains the updated second PSR configuration list, the first PSR configuration list is updated according to the second PSR configuration list.

[0267] As an implementation, as shown in FIG14 , the display screen control method may further include:

[0268] S501, after receiving the second PSR configuration list, the computer manager sends a first update instruction to the WMI service.

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

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

[0271] S502: The WMI service sends a first update instruction to the WMI communication module.

[0272] S503: The WMI communication module sends a first update instruction to the EC.

[0273] S504 : The EC updates the first PSR configuration list using the second PSR configuration list in response to the first update instruction.

[0274] 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, when the updated second PSR configuration list is Table 3, the updated first PSR configuration list is shown in Table 4:

[0275] Table 4

[0276] In other embodiments, the target display screen of the notebook computer can be replaced by a notebook computer. In the depot repair stage, the target display screen of the notebook computer can also be replaced. In addition, after the notebook computer downloads the latest second PSR configuration list, it can only store the second PSR configuration list and not update the first PSR configuration list immediately. Like this, when the notebook computer determines that the model of the target display screen changes during the startup process, it can utilize the latest second PSR configuration list stored to update the first PSR configuration list.

[0277] As an implementation method, each time the EC reads the VID and DID of the display screen, that is, after S101 or S102, it can also store the read VID and DID in the first storage area. In addition, before storing the VID and DID read this time, the EC can also determine whether the "VID and DID" read this time are the same as the "VID and DID" in the first storage area. If the two are different, the first PSR configuration list is updated using the second PSR configuration list. If the two are the same, the first PSR configuration list is not updated using the second PSR configuration list.

[0278] In some embodiments, after the laptop computer updates the first PSR configuration list using the second PSR configuration list, the laptop computer can determine, based on the updated first PSR configuration list, whether the model of the target display screen supports turning on the PSR function. If the PSR function is supported, the PSR function can be turned on. For the specific implementation process, reference can be made to S101 to S106. In addition, after updating the first PSR configuration list using the second PSR configuration list, the laptop computer can also turn off or turn on the PSR function according to the actual working situation. For the specific process, reference can be made to S301 to S305, and S401 to S405.

[0279] In addition, it can be understood that the application scenarios introduced in the aforementioned embodiments (such as exemplary scenarios 1 to 5 and the scenario of using the second PSR configuration list to update the first 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 returning the product to the factory for repair. The embodiments of this application do not make specific limitations on this.

[0280] An embodiment of the present application further provides an electronic device, which may include: a memory and one or more processors. The memory and processor are coupled. The memory is used to store computer program code, which includes computer instructions. When the processor executes the computer instructions, the electronic device can perform the steps performed by the mobile phone in the above embodiment. Of course, the electronic device includes but is not limited to the above memory and one or more processors.

[0281] In summary, the embodiments of the present application provide a display screen control method that can be applied to an electronic device, such as an electronic device equipped with a first display screen. The first display screen supports panel self-refresh (PSR function), 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 be dynamically changed.

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

[0283] For example, the user's operation may include: an operation of instructing to run a specific application and an operation of instructing to switch interfaces. The specific application refers to an application with interface display requirements.

[0284] For example, the user operation includes an operation of instructing to run a browser and an operation of instructing to scroll and display a browser interface. In response to the operation of instructing to run a browser, the electronic device may display a browser interface of the browser application.

[0285] During a certain period of time (e.g., a first period of time), the content displayed on the browser interface remains unchanged. This browser interface is a static first interface. The image frames displayed on the first interface at each point in time during the first period of time are identical, which can be referred to as the first interface displaying a first set of image frames. For example, the image frames in the first set of image frames can be portions of the image displayed on the first display screen that do not include the toolbar.

[0286] During another period of time (e.g., the second period of time), the electronic device responds to the user's sliding browsing operation, and the interface 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 by the second interface at multiple time points in the second period of time are different. For example, the content of the image frames corresponding to multiple groups of adjacent time points is different. In addition, the image frames displayed in the second period of time can be referred to as the second group of image frames displayed on the second interface. For example, the image frames in the second group of image frames can also be the portion of the screen displayed on the first display screen that does not contain the toolbar.

[0287] For another example, the user's operation includes an operation of instructing to run a video application, an operation of instructing to play a video, and an operation of instructing to pause playing a video. After the video application is running, the electronic device can display a video playing interface in response to the operation of instructing to play a video.

[0288] During a certain period of time (e.g., a first period of time), for example, after the electronic device detects a user's instruction to pause video playback, the content displayed on the video playback interface remains unchanged. The video playback interface at this time is a static first interface. The image frames displayed on the first interface at each time point in the first period of time are the same, which can be referred to as the first interface displaying a first group of image frames. For example, the image frames in the first group of image frames can be the content displayed in the video playback window in the video playback interface.

[0289] During another time period (e.g., the second time period), the electronic device detects a user's instruction to play a video, and the interface content displayed on the video playback interface changes in real time. The video playback interface at this time is a dynamic second interface. The image frames displayed on this second interface at multiple time points in the second time period are different, which can be referred to as the second interface displaying a second group of image frames. For example, the image frames in the second group of image frames can also be the content displayed in the video playback window on the video playback interface.

[0290] In some embodiments, the hardware of the first display screen supports the PSR function, and the electronic device can automatically enable the PSR function. After the PSR function is enabled, while displaying the first interface, for example, within a first time period, the electronic device displays a first set of image frames in the first interface, wherein each 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 the first refresh rate. After the first time period, in response to a user operation, the second interface is displayed; during a second time period, the electronic device displays a second set of image frames in the second interface, wherein multiple frames in the second set of image frames have different contents, and the refresh rate of the first display screen during the second time period is the second refresh rate.

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

[0292] In some embodiments, the electronic device may turn off the PSR function if it is determined that the current scene meets the first condition. The above-mentioned first condition refers to an environmental condition that will cause abnormal data transmission between the display screen and the GPU in the electronic device. For example, the first condition may be that the electronic device is located in a space where a first electromagnetic interference signal (that is, a first type of electromagnetic interference signal) exists. For another example, the above-mentioned first condition may also be that a third-party device uses an external interface provided by the electronic device to charge. For another example, the above-mentioned first condition may also be that the bus between the GPU and the target display screen (such as the first display screen) is loose or aging.

[0293] In an exemplary embodiment, after the second 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.

[0294] In this way, 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 group of image frames in 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 group of image frames in the second interface, and the refresh rate of the first display screen during the fourth time period is the third refresh rate, wherein, during the fourth time period, the electronic device is located in a space where a first electromagnetic interference signal exists.

[0295] It can be understood that, due to the influence of the first electromagnetic interference signal, the refresh rate of the first display screen in the third time period is the same as that in the fourth time period.

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

[0297] 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 in 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 in 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 scene does not meet the first condition.

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

[0299] In this way, 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 the seventh group of image frames in the seventh interface, and the refresh rate of the first display screen during the seventh time period is the first refresh rate; 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, in response to the user's operation, the second interface is displayed; in the eighth time period, the electronic device displays the second group of image frames in the second interface, and the refresh rate of the first display screen during the eighth time period is the second refresh rate, wherein, during the eighth time period, the electronic device is not located in a space where a first electromagnetic interference signal exists, and the second refresh rate is greater than the first refresh rate.

[0300] In some embodiments, the electronic device is located behind a space where a first electromagnetic interference signal exists, and the method further includes: data transmission between the GPU of the electronic device and the first display screen suffers from data loss, and the electronic device generates a CRC exception for integrity check; after the electronic device generates the CRC exception, the electronic device turns off the PSR function.

[0301] In some embodiments, the electronic device may display a third interface in response to the user's first operation. For example, the third interface may be a monitor configuration interface 301 including a refresh rate selection window 304 .

[0302] The third interface includes target options, such as option 308 marked as "Auto" in Figure 3. The target option indicates to enable the PSR function.

[0303] After the electronic device generates a CRC integrity check exception, the target option is set to unselectable, or the target option is hidden, or the electronic device does not respond to any user operation on the target option. In some embodiments, after the electronic device generates the CRC exception and disables the PSR function, the electronic device enables the PSR function if N consecutive first image frames pass the CRC; the first image frame is display data sent by the GPU in the electronic device to the first display screen, where N is a positive integer greater than 0.

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

[0305] In some embodiments, the electronic device further includes an embedded controller EC and a basic input / output system BIOS, wherein the electronic device is configured with a first list, wherein the first list includes first model information and a first identifier, wherein the first model information is the model information of a display screen compatible with the electronic device, and the first identifier indicates that the display screen corresponding to the first model information has the PSR function enabled; before responding to a user operation and displaying the first interface, 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), wherein the first information is the model information pre-stored in the first display screen. When 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 the first flag bit to the first value; when the first flag bit is the first value, the BIOS loads a first parameter (a second VBT parameter), wherein the first parameter is used to configure the first display screen driver, wherein the first display screen driver is used to control the first display screen to adopt a variable refresh rate.

[0306] In some embodiments, after the electronic device generates the CRC exception, the electronic device turns off the PSR function, including: the EC changes the first identifier (PSR configuration item with a value of enabled) in the first list to a second identifier (PSR configuration item with a value of disabled), the second identifier instructing the display corresponding to the first model information to turn off the PSR function. The EC sets the first mark position to the second value; when the first mark position is the second value, the BIOS loads the second parameter (first VBT parameter), the second parameter is used to configure the second display driver, the second display driver is used to instruct the first display to use a fixed refresh rate.

[0307] In some embodiments, after the electronic device generates the CRC exception and turns off the PSR function, the method further includes: after N consecutive frames of the first image frame pass the CRC, restoring the second identifier in the first list to the first identifier; the EC sets the first mark position to the first value; when the first mark position is the first value, the BIOS loads the first parameter, and the first parameter is used to configure the first display driver, and the first display driver is used to control the first display to adopt a variable refresh rate.

[0308] 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 is restarted, the method further includes: in the event that the first information fails to be obtained from the first display screen, the EC obtains the first information from the first storage area; in the event that the first information matches the first model information in the first list, the EC sets the value of the first flag bit to the first value; in the event that the first flag bit is the first value, the BIOS loads a first parameter, the first parameter being used to configure a first display screen driver, the first display screen driver being used to control the first display screen to adopt a variable refresh rate.

[0309] In some embodiments, the electronic device is communicatively connected to a cloud server, and the method further includes: when a second list (second PSR configuration list) is obtained from the cloud server, the EC determines the first model information, second model information, first identifier and third identifier that match the electronic device in the second list, where the second model information is model information of another display screen that is compatible with 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, second model information, first identifier and third identifier in the second list.

[0310] In some embodiments, before generating a 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, and the second information is the model information pre-stored in the second display screen.

[0311] In some embodiments, the electronic device may also update the target display screen, for example, replacing the originally configured 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 scene 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.

[0312] 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 displays the first interface in response to a user operation; during a ninth time period, the electronic device displays the 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, the electronic device displays the second interface in response to a user operation; during a tenth time period, the electronic device displays the 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. The second display screen does not support the PSR function.

[0313] The embodiment of the present application also provides a chip system, which can be applied to the electronic devices in the aforementioned embodiments. As shown in Figure 15, the chip system includes at least one processor 2201 and at least one interface circuit 2202. The processor 2201 can be the processor in the above-mentioned electronic device. The processor 2201 and the interface circuit 2202 can be interconnected via a line. The processor 2201 can receive and execute computer instructions from the memory of the above-mentioned electronic device through the interface circuit 2202. When the computer instructions are executed by the processor 2201, the electronic device can execute the various steps executed by the mobile phone in the above-mentioned embodiment. Of course, the chip system can also include other discrete devices, which are not specifically limited in the embodiment of the present application.

[0314] In some embodiments, through the description of the above embodiments, those skilled in the art can clearly understand that for the convenience and brevity of description, only the division of the above functional modules is used as an example. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above. The specific working process of the system, device and unit described above can refer to the corresponding process in the aforementioned method embodiment and will not be repeated here.

[0315] The functional units in the various embodiments of the present application may be integrated into a single processing unit, or each unit may exist physically separately, or two or more units may be integrated into a single unit. The aforementioned integrated units may be implemented in the form of hardware or software functional units.

[0316] If the integrated unit is implemented in the form of 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 solution of the embodiment of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) or a processor to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as flash memory, mobile hard disk, read-only memory, random access memory, magnetic disk or optical disk.

[0317] The above description is merely a specific embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Any changes or substitutions within the technical scope disclosed in the present invention should be included in the scope of protection of the present invention. Therefore, the scope of protection of the present invention should be based on the scope of protection of the claims.

Claims

1. A display screen control method, characterized in that: Applied to an electronic device, the electronic device includes a first display screen, the first display screen supports a panel self-refresh (PSR) function, and the method includes: In response to the user's operation, display the first interface; In a first time period, the electronic device displays a first group of image frames in the first interface, the content of each image frame in the first group of image frames is the same, and the refresh rate of the first display screen in the first time period is a first refresh rate; After the first period, in response to a user operation, displaying a second interface; In a second time period, the electronic device displays a second group of image frames in the second interface, the contents of multiple image frames in the second group of image frames are different, and the refresh rate of the first display screen in the second time period is a second refresh rate, and the second refresh rate is greater than the first refresh rate; After the second period, in response to a user operation, displaying the first interface; In a third time period, the electronic device displays the first group of image frames in the first interface, and the refresh rate of the first display screen in 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 period, in response to a user operation, displaying a second interface; In a fourth time period, the electronic device displays a second group of image frames in the second interface, and the refresh rate of the first display screen in 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 from the start time of the first time period to the end time of the fourth time period, the user has not modified the refresh rate of the first display screen.

2. The method according to claim 1, characterized in that The method further comprises: After the fourth period, in response to the user's operation, displaying the first interface; In a fifth time period, the electronic device displays a first group of image frames in the first interface, and a refresh rate of the first display screen in the fifth time period is a third refresh rate; 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 period, in response to the user's operation, displaying the second interface; In a sixth time period, the electronic device displays a second group of image frames in the second interface, and the refresh rate of the first display screen during the sixth time period is a third refresh rate, wherein during the sixth time period, the electronic device is not located in a space where a first electromagnetic interference signal exists.

3. The method according to claim 1, characterized in that The method further comprises: After the fourth period, in response to the user's operation, displaying the first interface; In a seventh time period, the electronic device displays a first group of image frames in the first interface, and a refresh rate of the first display screen in 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 a first electromagnetic interference signal exists; After the seventh period, in response to the user's operation, displaying the second interface; In an eighth time period, the electronic device displays a second group of image frames in the second interface, and the refresh rate of the first display screen in 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 a first electromagnetic interference signal exists.

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

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

6. The method according to claim 4, characterized in that After the electronic device generates the CRC exception and turns off the PSR function, the method further includes: After N consecutive first image frames pass CRC, the electronic device turns on 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.

7. The method according to claim 4, characterized in that The electronic device further includes an embedded controller EC and a basic input and output system BIOS. 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 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 enables the PSR function; Before displaying the first interface in response to the user's operation, the method further includes: After the electronic device is turned on, the EC obtains first information from the first display screen, where the first information is model information pre-stored in the first display screen; In the case where 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; When the first flag bit is the first value, the BIOS creates a first display screen driver according to a first parameter, where the first display screen driver is used to control the first display screen to adopt a variable refresh rate.

8. The method according to claim 7, characterized in that After the electronic device generates the CRC exception, the electronic device turns off the PSR function, including: EC changes the first identifier in the first list to a second identifier, where the second identifier indicates that the display screen corresponding to the first model information turns off the PSR function; The EC sets the first marking position to a second value; When the first mark position is a second value, the BIOS creates a second display screen driver according to a second parameter, wherein the second display screen driver is used to instruct the first display screen to adopt a fixed refresh rate.

9. The method according to claim 8, characterized in that After the electronic device generates the CRC exception and turns off the PSR function, the method further includes: After N consecutive first image frames pass CRC, restoring the second identifier in the first list to the first identifier; The EC sets the first marking position to a first value; When the first mark position is a first value, the BIOS creates a first display screen driver according to a first parameter, wherein the first display screen driver is used to control the first display screen to adopt a variable refresh rate.

10. The method according to claim 8, characterized in that After acquiring 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 is restarted, the method further includes: in case of failure to obtain the first information from the first display screen, the EC obtains the first information from the first storage area; In the case where 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; When the first flag bit is the first value, the BIOS creates a first display screen driver according to a first parameter, where the first display screen driver is used to control the first display screen to adopt a variable refresh rate.

11. The method according to claim 8, characterized in that The electronic device is communicatively connected to the cloud server, and the method further comprises: In the case where the second list is obtained from the cloud server, the EC determines, in the second list, the first model information, the second model information, the first identifier, and the third identifier that match the electronic device, wherein the second model information is model information of another display screen that is compatible with 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 according to the first model information, the second model information, the first identifier and the third identifier in the second list.

12. The method according to claim 11, characterized in that 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, and the second information is 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 with a second display screen, the method further includes: In response to the user's operation, display the first interface; 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 period, in response to the user's operation, displaying the second interface; In the tenth time period, the electronic device displays a second group of image frames in the second interface. The refresh rate of the second display screen in the tenth time period is a fourth refresh rate, and the second display screen does not support the PSR function.

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

15. A computer storage medium, characterized in that: The method comprises computer instructions, which, when executed on an electronic device, cause the electronic device to execute the method as claimed in any one of claims 1 to 13.

Citation Information

Patent Citations

  • Display screen control method and electronic equipment

    CN118675428A

  • Display device and method of driving the same

    CN105321486A

  • Touch screen interference reproducing and avoiding method and system in electromagnetic interference environment

    CN106657516A

  • Driving method and driving device of display panel

    CN111933071A

  • Display method, electronic equipment and storage medium

    CN114661263A