Display method and electronic device
Patent Information
- Application Number
- CN202510435552.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-08
- Publication Date
- 2026-10-16
AI Technical Summary
目前,由于不能控制部分显示区域单独下电,因此,电子设备可以通过在部分显示区域显示黑色图像以实现黑屏的效果,但是该种方式功耗较高
Smart Images

Figure CN122929882A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of electronic devices, and more specifically, to a display method and an electronic device. Background Technology
[0002] With technological advancements, more and more users are adopting foldable screen electronic devices, including but not limited to foldable phones and tablets. The foldable screen of these devices comprises multiple display areas. Foldable screen devices can provide users with unfolded, folded, and semi-folded states. In some usage scenarios, users may adjust the foldable screen device to a semi-folded state and wish for a portion of the foldable display to be black. Currently, since it's impossible to control the power-off of individual display areas, electronic devices can achieve a black screen effect by displaying a black image in that area; however, this method consumes significant power. Therefore, reducing power consumption while achieving a black screen effect for a portion of the display area has become a pressing technical challenge. Summary of the Invention
[0003] This application provides a display method and an electronic device that can reduce power consumption during the rendering process and the transmission of the display image when the electronic device determines to perform half-screen display, and can also reduce the power consumption of the foldable display screen.
[0004] In a first aspect, a display method is provided, which is applied to an electronic device including a foldable display screen, the foldable display screen including a first display area and a second display area. The method includes: in response to satisfying a trigger condition, rendering a first image to be displayed according to the first display area to obtain a first display image; controlling the first display area to display the first display image; and inserting black in the second display area.
[0005] In this embodiment, when the foldable screen electronic device determines to perform half-screen display, since the display image corresponding to the first display area is generated, compared to generating the display image corresponding to the entire foldable display screen, the power consumption during the rendering and display image transmission processes can be reduced. Furthermore, since no display image corresponding to the second display area is generated, meaning there is no data placeholder in the second display area, the foldable display screen can insert black bars in the second display area during refresh to reduce the power consumption of the foldable display screen.
[0006] In conjunction with the first aspect, in some implementations of the first aspect, the method further includes, before inserting the second display area, the following:
[0007] Set the pixels in the second display area to invalid pixels.
[0008] In conjunction with the first aspect, in some implementations of the first aspect, the foldable display screen is an inwardly folding display screen, and the triggering condition includes: the angle between the first display area and the second display area is less than or equal to a preset angle.
[0009] In conjunction with the first aspect, in some implementations of the first aspect, the triggering condition further includes: the electronic device being connected to an external device.
[0010] In conjunction with the first aspect, in some implementations of the first aspect, the method further includes: when the angle between the first display area and the second display area is greater than a preset angle, rendering the second image to be displayed according to the foldable display screen to obtain the second display image; and controlling the first display area and the second display area to display the second display image.
[0011] In a second aspect, a display method is provided, applied to an electronic device including a processor, a timing controller, a driver, and a foldable display screen. The foldable display screen includes a first display area and a second display area. The method includes: the processor, configured to, in response to a trigger condition being met, render a first image to be displayed based on the first display area, generate a first display image corresponding to the first display area, and send first indication information and the first display image to the timing controller; the timing controller, configured to, based on the first indication information, set the display area corresponding to the second display area as an invalid display area; the timing controller, further configured to, send second indication information and the first display image to the driver, the second indication information being used to instruct the display area corresponding to the second display area to be set as an invalid display area; the driver, configured to, based on the first display image, control the pixels of the pixels in the first display area, and set the pixels in the second display area as invalid pixels based on the second indication information; and the foldable display screen, configured to, refresh to display the first display image in the first display area and insert black in the second display area.
[0012] In this embodiment, when the foldable screen electronic device determines to display half-screen, the processor generates a display image corresponding to the first display area. Compared to generating a display image corresponding to the entire foldable display screen, this reduces power consumption during the rendering and image transmission processes. Furthermore, since the second display area does not have data space, the foldable display screen can insert black bars in the second display area during refresh to further reduce power consumption.
[0013] In conjunction with the second aspect, in some implementations of the second aspect, the processor is specifically configured to send the first instruction information to the timing controller via an internal integrated circuit bus.
[0014] In conjunction with the second aspect, in some implementations of the second aspect, the processor is specifically configured to send the first instruction information to the timing controller via a general-purpose input / output line.
[0015] In conjunction with the second aspect, in some implementations of the second aspect, the triggering condition includes one or more of the following: detecting that the hinge angle of the electronic device is within a preset angle range; detecting the access of a keyboard and / or the keyboard being placed on the second display area; detecting a preset operation by the user.
[0016] Thirdly, a display method is provided, applied to an electronic device including a processor and a display module, the display module including a foldable display screen, the foldable display screen including a first display area and a second display area, the method including:
[0017] In response to the fulfillment of a trigger condition, the processor renders a first display screen according to a first display area to obtain a first display screen; the processor sends the first display screen and a first instruction message to the display module; the display module controls the display of the first display screen in the first display area according to the first display screen, and inserts black in the second display area according to the first instruction message.
[0018] Fourthly, an electronic device is provided, comprising one or more processors; one or more memories; the one or more memories storing one or more computer programs, the one or more computer programs including instructions that, when executed by the one or more processors, cause the foregoing aspects or any possible implementation thereof to be performed.
[0019] Fifthly, a computer-readable storage medium is provided, comprising a computer program or instructions that, when executed on a computer, cause the first aspect and any possible implementation of the method of the first aspect to be performed.
[0020] In a sixth aspect, a computer program product is provided, comprising a computer program or instructions that, when executed on a computer, cause the first aspect and any possible implementation of the method of the first aspect to be performed.
[0021] In a seventh aspect, a computer program is provided that, when run on a computer, causes the methods described in the first aspect and any possible implementation thereof to be executed.
[0022] Eighthly, an electronic device according to an embodiment of this application includes modules / units for performing the above aspects or any possible design of the above aspects; these modules / units can be implemented in hardware or by hardware executing corresponding software.
[0023] For the beneficial effects of aspects three through eight, please refer to the beneficial effects of aspects one and two, and they will not be repeated here. Attached Figure Description
[0024] Figure 1 This is a schematic diagram of the structure of the electronic device provided in the embodiments of this application.
[0025] Figure 2 This is a software structure block diagram of the electronic device provided in the embodiments of this application.
[0026] Figure 3 This is a set of GUIs provided in the embodiments of this application.
[0027] Figure 4 This is a schematic flowchart illustrating a display method.
[0028] Figure 5 This is a set of GUIs provided in the embodiments of this application.
[0029] Figure 6 This is a schematic flowchart of the display method provided in the embodiments of this application.
[0030] Figure 7 This is a schematic flowchart of the display method provided in the embodiments of this application.
[0031] Figure 8 This is a schematic flowchart of the display method provided in the embodiments of this application. Detailed Implementation
[0032] The technical solutions in the embodiments of this application will now be described with reference to the accompanying drawings.
[0033] The terminology used in the following embodiments is for the purpose of describing particular embodiments only and is not intended to be limiting of this application. As used in the specification and appended claims of this application, the singular expressions “a,” “an,” “the,” “the,” “the,” and “this” are intended to also include expressions such as “one or more,” unless the context clearly indicates otherwise. It should also be understood that in the following embodiments of this application, “at least one” and “one or more” refer to one, two, or more than two. The term “and / or” is used to describe the relationship between related objects, indicating that three relationships may exist; for example, A and / or B can indicate: A alone, A and B simultaneously, or B alone, where A and B can be singular or plural. The character “ / ” generally indicates that the preceding and following related objects are in an “or” relationship.
[0034] References to "one embodiment" or "some embodiments" as described in this specification mean that one or more embodiments of this application include a specific feature, structure, or characteristic described in connection with that embodiment. Therefore, the phrases "in one embodiment," "in some embodiments," "in other embodiments," "in still other embodiments," etc., appearing in different parts of this specification do not necessarily refer to the same embodiment, but rather mean "one or more, but not all, embodiments," unless otherwise specifically emphasized. The terms "comprising," "including," "having," and variations thereof mean "including but not limited to," unless otherwise specifically emphasized.
[0035] The following describes an electronic device, a user interface for such an electronic device, and embodiments for using such an electronic device. In some embodiments, the electronic device may be a portable electronic device that also includes other functions such as a personal digital assistant and / or music player, such as a mobile phone, tablet computer, wearable electronic device with wireless communication capabilities (such as a smartwatch), etc. Exemplary embodiments of the portable electronic device include, but are not limited to, carrying... Alternatively, it could be a portable electronic device with another operating system. The aforementioned portable electronic device could also be other portable electronic devices, such as laptops. It should also be understood that in some other embodiments, the aforementioned electronic device may not be a portable electronic device, but rather a desktop computer.
[0036] For example, Figure 1A schematic diagram of the structure of electronic device 100 is shown. Electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, antenna 1, antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, a headphone jack 170D, a sensor module 180, buttons 190, a motor 191, an indicator 192, a camera 193, a display screen 194, and a subscriber identification module (SIM) card interface 195, etc. The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, a barometric pressure sensor 180C, a magnetic sensor 180D, an accelerometer sensor 180E, a distance sensor 180F, a proximity sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, etc.
[0037] It is understood that the structures illustrated in the embodiments of this application do not constitute a specific limitation on the electronic device 100. In other embodiments of this application, the electronic device 100 may include more or fewer components than illustrated, or combine some components, or split some components, or have different component arrangements. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
[0038] Processor 110 may include one or more processing units, such as: application processor (AP), modem processor, graphics processing unit (GPU), image signal processor (ISP), controller, memory, video codec, digital signal processor (DSP), baseband processor, and / or neural network processing unit (NPU), etc. Different processing units may be independent devices or integrated into one or more processors.
[0039] The controller can be the nerve center and command center of the electronic device 100. The controller can generate operation control signals according to the instruction opcode and timing signals to complete the control of fetching and executing instructions.
[0040] The processor 110 may also include a memory for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. This memory can store instructions or data that the processor 110 has just used or that are used repeatedly. If the processor 110 needs to use the instruction or data again, it can retrieve it directly from the memory. This avoids repeated accesses, reduces the waiting time of the processor 110, and thus improves the efficiency of the system.
[0041] In some embodiments, the processor 110 may include one or more interfaces. Interfaces may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input / output (GPIO) interface, a subscriber identity module (SIM) interface, and / or a universal serial bus (USB) interface, etc.
[0042] Display screen 194 is used to display images, videos, etc. Display screen 194 includes a display panel. The display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), a Mini LED, a MicroLED, a Micro-OLED, a quantum dot light-emitting diode (QLED), etc. In some embodiments, electronic device 100 may include one or N displays 194, where N is a positive integer greater than 1. Display screen 194 can also be referred to as a monitor 194.
[0043] The external storage interface 120 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device 100. The external memory card communicates with the processor 110 through the external storage interface 120 to perform data storage functions. For example, music, video, and other files can be saved on the external memory card.
[0044] Internal memory 121 can be used to store computer executable program code, which includes instructions. Processor 110 executes various functional applications and data processing of electronic device 100 by running the instructions stored in internal memory 121. Internal memory 121 may include a program storage area and a data storage area. The program storage area may store the operating system, at least one application program required for a function (such as sound playback, image playback, etc.), etc. The data storage area may store data created during the use of electronic device 100 (such as audio data, phonebook, etc.). Furthermore, internal memory 121 may include high-speed random access memory and may also include non-volatile memory, such as at least one disk storage device, flash memory device, universal flash storage (UFS), etc.
[0045] Figure 2 This is a software structure block diagram of an electronic device 100 according to an embodiment of this application. The layered architecture divides the software into several layers, each with a clear role and function. Layers communicate with each other through software interfaces. In some embodiments, the Android system is divided into four layers, from top to bottom: the application layer, the application framework layer, the system library layer, and the kernel layer. The application layer may include a series of application packages.
[0046] like Figure 2 As shown, the application layer can include camera, settings, third-party applications, etc. Third-party applications can include gallery, calendar, call, map, navigation, WLAN, Bluetooth, music, video, SMS, etc.
[0047] The application framework layer provides application programming interfaces (APIs) and programming frameworks for applications in the application layer. The application framework layer may include some predefined functions.
[0048] like Figure 2 As shown, the application framework layer may include a window manager, content provider, view system, phone manager, resource manager, notification manager, etc.
[0049] The window manager is used to manage windowed applications. It can retrieve screen size, determine the presence of a status bar, lock the screen, and capture screenshots, among other things.
[0050] Content providers store and retrieve data, making that data accessible to applications. This data may include videos, images, audio, made and received phone calls, browsing history and bookmarks, phone books, etc.
[0051] The view system includes visual controls, such as controls for displaying text, controls for displaying images, and such as the indicator information for displaying the virtual shutter button in the embodiments of this application. The view system can be used to build applications. The display interface can consist of one or more views. For example, a display interface including a text message notification icon can include a view for displaying text and a view for displaying images.
[0052] The phone manager is used to provide communication functions for electronic device 100. For example, it manages call status (including connection and disconnection).
[0053] The file explorer provides applications with various resources, such as localized strings, icons, images, layout files, video files, and more.
[0054] The notification manager allows applications to display notifications in the status bar. These notifications can be used to deliver informational messages and can disappear automatically after a short pause, requiring no user interaction. For example, the notification manager can be used to notify users of completed downloads or message alerts. The notification manager can also display notifications as icons or scrolling text in the top status bar, such as notifications from background applications, or as dialog boxes on the screen. Examples include displaying text messages in the status bar, emitting sounds, vibrating electronic devices, and flashing indicator lights.
[0055] The application layer and application framework layer run in a virtual machine. The virtual machine executes the Java files of the application layer and application framework layer as binary files. The virtual machine is used to perform functions such as object lifecycle management, stack management, thread management, security and exception management, and garbage collection.
[0056] System libraries can include multiple functional modules. For example: surface manager, media libraries, 3D graphics processing libraries (e.g., OpenGL ES), 2D graphics engines (e.g., SGL), etc.
[0057] The Surface Manager is used to manage the display subsystem and provides the blending of 2D and 3D layers for multiple applications.
[0058] The media library supports playback and recording of various common audio and video formats, as well as still image files. It supports multiple audio and video encoding formats, such as MPEG4, H.264, MP3, AAC, AMR, JPG, and PNG.
[0059] The 3D graphics processing library is used to implement 3D graphics drawing, image rendering, compositing, and layer processing.
[0060] A 2D graphics engine is a graphics engine for 2D drawing.
[0061] In addition, the system library may also include status monitoring service modules, such as a physical status recognition module for analyzing and recognizing user gestures; and a sensor service module for monitoring sensor data uploaded by various sensors at the hardware layer to determine the physical status of the electronic device 100.
[0062] The kernel layer is the layer between hardware and software. The kernel layer contains at least the display driver, camera driver, audio driver, and sensor driver.
[0063] The hardware layer can include various types of sensors, such as Figure 1 The various sensors described in the document include accelerometers, gyroscopes, touch sensors, etc., which are involved in the embodiments of this application.
[0064] It should be noted that, Figure 2 This example only illustrates one way of dividing the system framework and should not be construed as a specific limitation on the embodiments of this application. In the embodiments of this application, different frameworks can be used for different operating systems when the electronic device is equipped with different operating systems. It is understood that when different frameworks are adopted, the way the framework is divided into layers, the specific naming, and the specific layer in which each of the above modules is located can be different.
[0065] Before introducing the embodiments of this application, we will first introduce several concepts that may be involved in the embodiments of this application.
[0066] The timer control register (Tcon), also known as the Tcon board, is a core component of the display screen. It is primarily responsible for signal processing and timing control, and its specific functions include:
[0067] Signal conversion: Receives low-voltage differential signal (LVDS), image signal, etc. from the motherboard and converts them into data signals that can be recognized by the display screen to meet the needs of the drive circuit.
[0068] Timing generation: Controls the startup timing of the scan drive circuit and the data drive circuit, generates key control signals, and ensures the synchronization of pixel-by-pixel scanning.
[0069] The source driver, also known as the source driver chip, is the bridge between the Tcon board and the LCD panel. It is responsible for receiving the signals output by the Tcon board and transmitting the signals to each pixel of the display screen.
[0070] With technological advancements, more and more users are adopting foldable screen electronic devices (hereinafter referred to as electronic devices). These devices include, but are not limited to, foldable phones and foldable tablets. The foldable display screen of an electronic device comprises multiple display areas. Electronic devices can provide users with unfolded, folded, and semi-folded states. In some usage scenarios, users may adjust the electronic device to a semi-folded state and wish for a portion of the foldable display to be black. The following will combine... Figure 3 Let me introduce it.
[0071] Figure 3 A set of graphical user interfaces (GUIs) provided in embodiments of this application are illustrated.
[0072] like Figure 3 As shown in (a), the electronic device displays interface 301 in its unfolded state. The foldable display screen of the electronic device includes display area #1 and display area #2. Display area #1 is used to display a first portion of interface 301, and display area #2 is used to display a second portion of interface 301. When the electronic device detects an operation to switch to a semi-folded state, in response to this operation, it can display as shown in (a). Figure 3 The GUI is shown in (b), (c), or (d) above. The semi-folded state can be understood as the angle between display area #1 and display area #2 being within a preset range.
[0073] like Figure 3 As shown in (b), in response to the operation of switching to the semi-folded state, the electronic device can still display the first part of the interface 301 in display area #1 and the second part of the interface 301 in display area #2. In other words, in Figure 3 In the example shown in (b), when the electronic device switches from the unfolded state to the semi-folded state, the content displayed in each display area remains unchanged.
[0074] like Figure 3 As shown in (c), in response to the operation of switching to a semi-folded state, the electronic device can display interface 301 in display area #1 and interface 302 in display area #2. In other words, in Figure 3In the example shown in (c), when the electronic device switches from an unfolded state to a semi-folded state, one of the display areas can display the interface that was displayed in the unfolded state, while the other display areas can display other interfaces.
[0075] like Figure 3 As shown in (d), in response to the operation of switching to the semi-folded state, the electronic device can display interface 301 in display area #1 and enter a black screen state in display area #2. In other words, in Figure 3 In the example shown in (c), when the electronic device switches from an unfolded state to a semi-folded state, one of the display areas can fully display the interface shown in the unfolded state, while the other display areas can enter a black screen state.
[0076] In some possible embodiments, when the electronic device displays such as Figure 3 When the GUI shown in (b) or (c) detects a keyboard connection, a keyboard being placed in display area #2, or an operation switching from full-screen to half-screen display (e.g., voice commands, preset gestures, etc.), it can display as shown in the image. Figure 3 The GUI shown in (d) is shown in the image.
[0077] It should be noted that, Figure 3 The example of an inwardly folding display screen for an electronic device is taken as an example, but this application does not limit it. For example, the foldable display screen of an electronic device can also be an outwardly folding display screen. When the electronic device switches from an unfolded state to a folded state, part of the display area of the foldable display screen displays a valid image, while part of the display area enters a black screen state.
[0078] In this embodiment, full-screen display can be understood as the foldable display screen of an electronic device displaying the entire interface, while half-screen display can be understood as a portion of the display area of the foldable display screen displaying the interface, with the remaining portion of the display area going black. In other words, full-screen display means the entire foldable display screen displays the effective image, while half-screen display means a portion of the display area displays the effective image.
[0079] Currently, since it's impossible to control the power-off of a display area independently, electronic devices can achieve a black screen effect by displaying a black image in a portion of the display area. However, this method consumes a lot of power. The following section will discuss... Figure 4 and Figure 5 This method will be introduced.
[0080] Figure 4 A schematic flowchart of a display method is shown, such as Figure 4 As shown, the method includes:
[0081] S401, the processor generates the first display screen.
[0082] When the processor determines that it is switching from full-screen display to half-screen display, it generates a first display screen, which is the screen displayed on the foldable display screen of the electronic device. The first display screen includes a first sub-screen and a second sub-screen. The first sub-screen is displayed in a first display area, and the second sub-screen is displayed in a second display area. The first sub-screen is obtained by rendering the screen to be displayed, and the second sub-screen is obtained by rendering a black and white image, which may be obtained by the processor through a rendering service module.
[0083] For example, the operating system of the electronic device includes a rendering service module. When the processor determines that it is switching from full-screen display to half-screen display, it can generate a first display screen through the rendering service module.
[0084] For example, such as Figure 5 As shown, the processor can adjust the display screen 501 according to the display screen 501, which includes display sub-screen 501-1 and display sub-screen 501-2, wherein display sub-screen 501-1 can correspond to... Figure 3 In interface 301 (d), the sub-screen can be a black image.
[0085] It is understood that the processing flow for the processor to generate the first display screen may be different for different operating systems, and the naming of the rendering service module may also be different. This application embodiment does not make specific limitations on the processor generating the first display screen and the naming of the rendering service module.
[0086] S402, the processor sends the first display screen to the timing controller.
[0087] Correspondingly, the timing controller receives the first display screen sent by the processor.
[0088] For example, after the processor generates the first display screen through the rendering service module, it can send the first display screen to the display sub-system (DSS), and then the DSS sends the first display screen to the timing controller.
[0089] It is understood that the above description only takes the processing of generating the first display screen through the rendering service module and then sending the first display screen to the timing controller through the DSS as an example, but it should not be construed as a specific limitation corresponding to the embodiments of this application. For different operating systems, the processor's display sending process may be different.
[0090] S403, the timing controller sends the first display screen to the driver.
[0091] For example, after receiving the first display image from the processor, the timing controller can parse the first display image, extract red-green-blue (RGB) pixel data, and generate timing signals to control the refresh of the display screen. The driver includes a gate driver and a source driver. The timing controller sends the first display image to the driver by sending pulse information to the gate driver to trigger progressive scanning, and by sending the processed pixel data of the first display image to the source driver.
[0092] In some possible embodiments, the timing controller may also adjust the grayscale voltage curve according to the characteristics of the display screen to optimize color performance.
[0093] In some possible embodiments, the timing controller may also dynamically adjust the voltage of the display screen to reduce ghosting.
[0094] In some possible embodiments, the pulse information includes a start pulse and a clock pulse.
[0095] S404, the driver controls the pixels of the foldable display screen according to the first display image.
[0096] The gate driver can sequentially turn on the gates of the crystals in each row of the display screen. The source driver performs a digital-to-analog converter (DAC) on the digital signal to generate corresponding control parameters. For example, when the display screen is made of organic light-emitting diodes (OLEDs), this control parameter can be current. When the gate of a pixel in a certain row is turned on, the source driver can input the current of all pixels in that row into the capacitor of the corresponding pixel through the data line.
[0097] The S405 features a foldable display that refreshes to show the first display screen.
[0098] The driver can control every pixel of the display screen, allowing the foldable display screen to refresh and thus display a first display image. The first display area can display a first sub-display image, and the second display area can display a second sub-display image. Since the second sub-display image is a black image, the user can perceive that the second display area has entered a black screen state.
[0099] In the above process, whether the processor generates the first display screen, sends the first display screen to the timing controller, or the driver controls the pixels of the foldable display screen, it is all based on the entire foldable display screen, resulting in high power consumption.
[0100] Based on this, embodiments of this application provide a display method that can be implemented at the display area of a foldable display screen, which helps to reduce power consumption.
[0101] Figure 6 This illustration shows a schematic flowchart of a display method provided in an embodiment of this application. The method is applied to an electronic device, which includes a processor, a timing controller, a driver, and a foldable display screen. The foldable display screen includes a first display area and a second display area, such as... Figure 6 As shown, the method includes:
[0102] S601, in response to the fulfillment of the trigger condition, the processor renders the first display screen according to the first display area to generate the first display screen.
[0103] When the triggering conditions are met, the processor can render the first screen to be displayed and generate the first display screen, which is the screen displayed in the first display area.
[0104] The first screen to be displayed can be a screen generated by the application layer. For example, if an electronic device is running a video application, the first screen to be displayed can be generated by that video application and then rendered by the processor to finally generate the first screen to be displayed in the first display area.
[0105] It should be noted that the first display screen in the embodiments of this application can be multiple frames of images.
[0106] In some possible embodiments, the triggering condition is that the rotation angle of the electronic device is detected to be within a first angle range.
[0107] For example, if the first angle range is [80°, 135°], the processor can generate the first display screen when the hinge angle is determined to be 90°.
[0108] In some possible embodiments, the foldable display screen of the electronic device is an inwardly folding display screen, triggered by a condition that the angle between the first display area and the second display area is less than or equal to a preset angle. The angle between the first display area and the second display area can be as follows: Figure 3 As shown in (b) of the diagram.
[0109] In some possible embodiments, the foldable display screen of the electronic device is an inwardly folding display screen, and the triggering condition is that the angle between the first display area and the second display area is less than or equal to a preset angle and an external device (such as a keyboard) is detected. This application embodiment does not limit the method of connecting the external device; for example, the electronic device connects to the keyboard via Bluetooth.
[0110] For example, electronic devices connect to the keyboard via a star flash.
[0111] For example, electronic devices can be wired to a keyboard via a USB interface.
[0112] In some possible embodiments, the foldable display screen of the electronic device is an inwardly foldable display screen, and the triggering condition is that the angle between the first display area and the second display area is less than or equal to a preset angle and an access keyboard is detected and the keyboard is placed on the second display area.
[0113] In some possible embodiments, the triggering condition is the detection of a preset user action.
[0114] For example, an electronic device detects a user's voice command that instructs the user to switch from full-screen to half-screen display.
[0115] For example, an electronic device detects a user's gesture that indicates a switch from full-screen to half-screen display. This gesture could be a pressing gesture on a foldable display or a gesture made in the air.
[0116] For example, when an electronic device is displaying an interface, it can show a toggle control. This control allows switching between full-screen and half-screen displays, and vice versa. When the electronic device is in full-screen mode, detecting a user click on the toggle control allows the device to switch from full-screen to half-screen mode. Conversely, when the electronic device is in half-screen mode, detecting a user click on the toggle control allows the device to switch back to full-screen mode.
[0117] In some possible embodiments, the processor may be an application processor.
[0118] In some possible embodiments, the processor may be an image processor.
[0119] In some possible embodiments, the processor may be a system on a chip (SoC).
[0120] S602, the processor sends the first display screen and the first instruction information to the timing controller.
[0121] Correspondingly, the timing controller receives the first display screen and the first indication information sent by the processor. The first indication information is used to indicate the switch from full-screen display to half-screen display.
[0122] In some possible embodiments, the communication link through which the processor sends the first display screen and the first indication information to the timing controller is the same.
[0123] In some possible embodiments, the communication links used by the processor to send the first display screen and the first indication information to the timing controller are different. The processor can use any existing communication link to send the first display screen to the timing controller, and an additional set of traces can be added between the processor and the timing controller to enable the processor to send the first indication information to the timing controller.
[0124] In some possible embodiments, the processor may send the first instruction information to the timing controller via the internal integrated circuit bus (I2C).
[0125] In some possible embodiments, the processor may send the first indication information to the timing controller via a general purpose input / output (GPIO) line.
[0126] In some possible embodiments, the processor sends the first display screen to the timing controller in accordance with the panel self refresh (PSR2) method.
[0127] S603, the timing controller sets the area corresponding to the second display area as an invalid display area according to the first instruction information.
[0128] After receiving the first indication information, the timing controller can determine to switch from full-screen display to half-screen display, thereby setting the second display area as an invalid row, that is, setting the area corresponding to the second display area as an invalid display area.
[0129] S604, the timing controller sends a second instruction message and a first display screen to the driver.
[0130] Correspondingly, the driver receives a second indication message and a first display screen sent by the timing controller. The second indication message is used to indicate that the display area corresponding to the second display area is set as an invalid display area, that is, to indicate that the second display area is an invalid line.
[0131] In some possible embodiments, the driver includes a source driver and a gate driver. In step S604, the timing controller can send a second instruction message and a first display screen to the source driver.
[0132] For example, after receiving the first display image and the first indication information from the processor, the timing controller can parse the first display image, extract RGB pixel data, and generate timing signals to control the refresh of the display screen. The driver includes a gate driver and a source driver. The timing controller sends the first display image and the second indication information to the driver, including sending pulse information to the gate driver to trigger progressive scanning, and sending the processed pixel data of the first display image and the second indication information to the source driver.
[0133] In some possible embodiments, the timing controller may also adjust the grayscale voltage curve according to the characteristics of the display screen to optimize color performance.
[0134] In some possible embodiments, the timing controller may also dynamically adjust the voltage of the display screen to reduce ghosting.
[0135] In some possible embodiments, the pulse information includes a start pulse and a clock pulse.
[0136] S605, the driver controls the pixels of the first display area according to the first display screen, and sets the pixels of the second display area as invalid pixels according to the second instruction information.
[0137] The gate driver can sequentially turn on the gates of the crystals in each row of the display screen. The source driver performs a DAC on the digital signal to generate corresponding control parameters.
[0138] For example, taking an OLED foldable display as an example, this control parameter can be current. When the gate of a pixel in a certain row is turned on, the source driver can input the current of all pixels in that row into the capacitor of the corresponding pixel through the data line. At the same time, since the display area of the second display area is set as an invalid area, the source driver can not input current to the pixels of the second display area, that is, set the pixels of the second display area as invalid pixels.
[0139] The S606 features a foldable display that refreshes to show a first display image in the first display area and inserts a black screen in the second display area.
[0140] Since the driver controls the pixels of the first display area according to the first display image and sets the pixels of the second display area to invalid pixels, the foldable display screen will display the first display image in the first display area when refreshing, and can black out the second display area because the pixels of the second display area are invalid pixels.
[0141] For example, if the foldable display is made of OLED, since each pixel of an OLED emits light independently, the source driver does not need to input current to the pixels of the second display area, so the foldable display can black out the second display area when refreshing.
[0142] In this embodiment, when the electronic device determines to perform half-screen display, the processor generates a display image corresponding to the first display area. Compared to generating a display image corresponding to the entire foldable display screen, this reduces power consumption during the rendering and display image transmission processes. Furthermore, since the second display area is set as an invalid display area (i.e., there is no data placeholder), the display screen can insert blackspace into the second display area during refresh to reduce the power consumption of the foldable display screen.
[0143] The display method provided by the embodiments of this application has been described in detail above. In the various embodiments of this application, unless otherwise specified or logically conflicting, the terminology and / or descriptions between the various embodiments are consistent and can be referenced by each other. The technical features in different embodiments can be combined to form new embodiments according to their inherent logical relationships.
[0144] The above mainly describes the display method provided in the embodiments of this application from the perspective of various modules of the electronic device. The following description will focus on the electronic device as the executing entity to describe the display method provided in this application.
[0145] Figure 7 This illustration shows a schematic flowchart of a display method provided in an embodiment of this application. The method is applied to an electronic device, which includes a foldable display screen. The foldable display screen includes a first display area and a second display area, such as... Figure 7 As shown, the method includes:
[0146] S701, in response to the fulfillment of the trigger condition, renders the first display screen according to the first display area to obtain the first display screen.
[0147] It should be understood that the description of the triggering conditions can be found above, and will not be repeated here for the sake of brevity.
[0148] When the triggering conditions are met, the electronic device can render the first display screen according to the first display area to generate the first display screen corresponding to the first display area. The first display screen is for the first display area.
[0149] It should be understood that the process of rendering a first image to be displayed on an electronic device to generate a first display image corresponding to a first display area is described above and will not be repeated here for the sake of brevity.
[0150] S702 controls the first display area to display the first display screen and the second display area to be black.
[0151] Since the electronic device generates a first display image for the first display area, and the second display area does not have corresponding image data, the electronic device can control the foldable display screen to refresh, thereby displaying the first display interface in the first display area and blacking out the second display area.
[0152] In some possible embodiments, the foldable display screen is an inwardly folding display screen. When the angle between the first display area and the second display area is greater than a preset angle, the method further includes: rendering a second image to be displayed based on the foldable display screen to obtain a second display image; and controlling the first display area and the second display area to display the second display image.
[0153] When the angle between the first display area and the second display area is greater than a preset angle, the electronic device switches to the unfolded state. The electronic device can then render the second display screen according to the foldable display screen to generate the second display screen corresponding to the first display area and the second display area. The second display screen is relative to the first display area and the second display area.
[0154] Figure 8 This illustration shows a schematic flowchart of a display method provided in an embodiment of this application. The method is applied to an electronic device, which includes a processor and a display module. The display module includes a foldable display screen, which includes a first display area and a second display area, such as... Figure 8 As shown, the method includes:
[0155] S801, in response to the fulfillment of the trigger condition, the processor renders the first display screen according to the first display area to obtain the first display screen.
[0156] S802, the processor sends the first display screen and the first instruction information to the display module.
[0157] S803, the display module controls the first display screen to be displayed in the first display area according to the first display screen, and inserts the second display area into black according to the first instruction information.
[0158] It should be understood that detailed descriptions of S801-S803 can be found above, and for the sake of brevity, they will not be repeated here.
[0159] This application provides a computer program product that, when run on an electronic device, causes the electronic device to execute the technical solutions described in the above embodiments. Its implementation principle and technical effects are similar to those of the related embodiments described above, and will not be repeated here.
[0160] This application provides a readable storage medium containing instructions that, when executed by an electronic device, cause the electronic device to perform the technical solution described in the above embodiments. The implementation principle and technical effects are similar and will not be repeated here.
[0161] This application provides a chip for executing instructions. When the chip is running, it executes the technical solutions described in the above embodiments. Its implementation principle and technical effects are similar and will not be repeated here.
[0162] Those skilled in the art will recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of the embodiments of this application.
[0163] Those skilled in the art will understand that, for the sake of convenience and brevity, the specific working processes of the systems, devices, and units described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here.
[0164] In the several embodiments provided in this application, it should be understood that the disclosed systems, apparatuses, and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between apparatuses or units may be electrical, mechanical, or other forms.
[0165] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0166] In addition, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit.
[0167] If the aforementioned functions are implemented as software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solutions of the embodiments of this application, essentially, or the parts that contribute to the prior art, or parts of the technical solutions, can be embodied in the form of software products. These computer software products are stored in a storage medium and include several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0168] The above description is merely a specific implementation of the embodiments of this application, but the protection scope of the embodiments of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the technical scope disclosed in the embodiments of this application should be included within the protection scope of the embodiments of this application. Therefore, the protection scope of the embodiments of this application should be determined by the protection scope of the claims.
Claims
1. A display method, characterized in that, The method is applied to an electronic device, the electronic device including a foldable display screen, the foldable display screen including a first display area and a second display area, the method comprising: In response to the fulfillment of the triggering condition, the first display screen is rendered according to the first display area to obtain the first display screen; Control the first display area to display the first display screen, and insert black in the second display area.
2. The method according to claim 1, characterized in that, Before inserting the second display area, the method further includes: Set the pixels in the second display area to invalid pixels.
3. The method according to claim 1 or 2, characterized in that, The foldable display screen is an inward-folding display screen, and the triggering conditions include: The angle between the first display area and the second display area is less than or equal to a preset angle.
4. The method according to claim 3, characterized in that, The triggering condition also includes: the electronic device is connected to an external device.
5. The method according to claim 3 or 4, characterized in that, The method further includes: When the angle between the first display area and the second display area is greater than a preset angle, the second display image is rendered according to the foldable display screen to obtain the second display image; Control the first display area and the second display area to display the second display screen.
6. A display method, characterized in that, The method is applied to an electronic device, the electronic device including a processor and a display module, the display module including a foldable display screen, the foldable display screen including a first display area and a second display area, the method including: In response to the fulfillment of the trigger condition, the processor renders the first display screen according to the first display area to obtain the first display screen; The processor sends a first display screen and a first instruction message to the display module; The display module controls the display of the first display screen in the first display area according to the first display screen, and inserts the second display area into black according to the first instruction information.
7. An electronic device, characterized in that, It includes one or more processors; one or more memories; said one or more memories storing one or more computer programs, said one or more computer programs including instructions that, when executed by said one or more processors, cause the method as described in any one of claims 1 to 5 to be performed.
8. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer instructions that, when executed on a computer, cause the method as described in any one of claims 1 to 5 to be performed.
9. A chip, characterized in that, The chip includes a processor and a communication interface, the communication interface being used to receive signals and transmit the signals to the processor, the processor processing the signals such that the method as described in any one of claims 1 to 5 is executed.
10. A computer program product, characterized in that, When the computer program product is run on a computer, it causes the computer to perform the method as described in any one of claims 1 to 5.