Display method, electronic equipment, storage medium and chip system

By obtaining and cropping the external screen desktop wallpaper, the problem of inconsistent display content on the external screen of foldable electronic devices is solved, thereby improving the user experience.

CN120743401APending Publication Date: 2025-10-03HONOR DEVICE CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202410960135.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-16
Publication Date
2025-10-03

AI Technical Summary

Technical Problem

The existing technology cannot correctly display the blurred wallpaper in the non-application interface area on the external screen of the foldable electronic device, resulting in a large difference in the displayed content before and after switching from the external screen desktop to the application interface, affecting the user experience.

Method used

When the electronic device receives an application start instruction, it obtains the desktop wallpaper with a scaling ratio of 1 for the external screen desktop, and cuts out the corresponding regional wallpaper based on the rotation angle, and sets the background of the second area as the regional wallpaper to ensure that the second area display of the external screen is consistent with the corresponding area of ​​the desktop wallpaper.

Benefits of technology

The difference between the front and back content displayed in the second area of ​​the external screen when switching from the external screen desktop to the application interface is reduced, thereby improving the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120743401A_ABST
    Figure CN120743401A_ABST
Patent Text Reader

Abstract

The invention is suitable for the technical field of terminals, and provides a display method, electronic equipment, a storage medium and a chip system. When the electronic equipment receives a starting instruction for a first application program on an outer screen desktop, an application interface of the first application program is displayed in a first area of an outer screen, and desktop wallpaper with the scaling ratio of the outer screen desktop being 1 and a rotation angle of the electronic equipment are acquired, and the application interface of the first application program is started based on the rotation angle of the electronic equipment. And cutting out area wallpaper corresponding to the second area of the outer screen from the desktop wallpaper with the zoom ratio of 1, and setting the background of the second area as the area wallpaper, so that the electronic equipment can display the application interface in the first area of the outer screen while displaying the application interface in the first area of the outer screen. According to the embodiment of the invention, the area wallpaper corresponding to the corresponding area of the desktop wallpaper can be correctly displayed in the second area of the outer screen, so that the difference between the contents displayed in the second area of the outer screen when the desktop of the outer screen is switched to the application interface is reduced, and the user experience is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of terminal technology, and in particular to a display method, electronic equipment, storage medium, and chip system. Background Art

[0002] With the continuous development of flexible display technology, foldable screens have become an emerging form of display screen and are used in many electronic devices such as mobile phones. At present, in order to provide users with a more convenient user experience, foldable screen electronic devices with both internal and external screens are gradually becoming the development direction of future electronic devices. When the foldable screen electronic device is in the unfolded state, it is mainly operated by the internal screen, and when it is in the folded state, it is mainly operated by the external screen. For example, when the foldable screen electronic device is in the folded state, the external screen desktop can be displayed on the external screen. The external screen desktop can include icons of one or more applications. The foldable screen electronic device can display the corresponding application interface on the external screen when it detects that the user clicks on the icon of any application in the external screen desktop.

[0003] For foldable electronic devices equipped with a rear camera, part of the outer screen may be occupied by the rear camera. Since the area occupied by the rear camera cannot provide display and touch functions, in order not to affect the normal display and use of applications on the outer screen, the foldable electronic device can display the application interface in a preset rectangular area outside the area occupied by the rear camera on the outer screen. On this basis, considering the aesthetics of the non-application interface area on the outer screen, the foldable electronic device can display the blurred wallpaper corresponding to the outer screen desktop in the non-application interface area. However, the related art cannot correctly display the blurred wallpaper of the corresponding area of ​​the outer screen desktop in the non-application interface area, resulting in a large difference in the displayed content of the non-application interface area when switching from the outer screen desktop to the application interface, which in turn leads to a poor user experience. Summary of the Invention

[0004] The embodiments of the present application provide a display method, electronic device, storage medium and chip system, which can reduce the difference between the content displayed in the non-application interface area of ​​the external screen when switching from the external screen desktop to the application interface, thereby improving the user experience.

[0005] In a first aspect, an embodiment of the present application provides a display method, which is applied to an electronic device; the electronic device includes an inner screen and an outer screen, a camera is provided on the outer screen, the outer screen includes a first area and a second area, and the camera is located in the second area. The display method includes: upon receiving an opening instruction for a first application on the external screen desktop, displaying an application interface of the first application in the first area; obtaining a desktop wallpaper with a scaling ratio of 1 for the external screen desktop; obtaining a rotation angle of the electronic device, and based on the rotation angle, cropping a regional wallpaper corresponding to the second area from the desktop wallpaper with a scaling ratio of 1; and setting the background of the second area as the regional wallpaper.

[0006] The external screen may refer to a display screen used to provide display functions when the electronic device is in a folded state.

[0007] The external screen desktop may refer to the main interface of the external screen of the electronic device, that is, the home interface of the external screen.

[0008] The first application may be any application on the external screen desktop. For example, the first application may be an application developed by the manufacturer of the electronic device, or a third-party application developed by the manufacturer of the non-electronic device.

[0009] Optionally, the electronic device may confirm receipt of an opening instruction for the first application on the external screen desktop when detecting that the user clicks on the icon of the first application on the external screen desktop.

[0010] Optionally, the electronic device may confirm receipt of an opening instruction for the first application on the external screen desktop when detecting that the user inputs a voice instruction for opening the first application.

[0011] The display method provided in the embodiment of the present application is that when the electronic device receives an opening instruction for the first application on the external screen desktop, it displays the application interface of the first application in the first area of ​​the external screen, and at the same time obtains the desktop wallpaper with a scaling ratio of 1 of the external screen desktop and the rotation angle of the electronic device, and based on the rotation angle of the electronic device, cuts out the regional wallpaper corresponding to the second area of ​​the external screen from the desktop wallpaper with a scaling ratio of 1, and sets the background of the second area to the regional wallpaper, so that the electronic device can display the application interface in the first area of ​​the external screen while correctly displaying the regional wallpaper corresponding to the corresponding area of ​​the desktop wallpaper in the second area of ​​the external screen, thereby reducing the difference between the content displayed in the second area of ​​the external screen when switching from the external screen desktop to the application interface, and improving the user experience.

[0012] In an optional implementation of the first aspect, obtaining a desktop wallpaper with an external screen desktop scaling ratio of 1 includes: when the in-application display mode of the second area is to follow the wallpaper effect, obtaining a desktop wallpaper with an external screen desktop scaling ratio of 1; the in-application display mode is used to indicate the display mode of the second area when the first area displays the application interface; the in-application display mode that follows the wallpaper effect is used to make the background of the second area consistent with the corresponding area of ​​the desktop wallpaper.

[0013] The display method provided in the embodiment of the present application is that the electronic device obtains a desktop wallpaper with an external screen desktop scaling ratio of 1 only when the display mode within the application of the second area is set to follow the wallpaper effect, thereby enabling the second area of ​​the external screen to be adaptively displayed based on the user's preferences, thereby improving the user's external screen usage experience.

[0014] In an optional implementation of the first aspect, obtaining a desktop wallpaper with an external screen desktop scaling ratio of 1 includes: when the first application is a third-party application, obtaining the scaling ratio of the application interface; scaling the desktop wallpaper according to the scaling ratio of the application interface to obtain a desktop wallpaper with a scaling ratio of 1.

[0015] In an optional implementation of the first aspect, obtaining a desktop wallpaper with a scaling ratio of 1 for the external screen desktop includes: when the first application is an application developed by the manufacturer, obtaining a desktop wallpaper for the external screen desktop, and the scaling ratio of the desktop wallpaper is 1.

[0016] The display method provided in the embodiment of the present application enables the electronic device to adaptively select a desktop wallpaper scaling strategy corresponding to the first application according to the type of the first application, so that the electronic device can correctly display the application interface of the first application in the first area of ​​the external screen regardless of the type of the first application, and correctly display the regional wallpaper of the corresponding area of ​​the desktop wallpaper in the second area of ​​the external screen, thereby expanding the scope of application of the display method.

[0017] In an optional implementation of the first aspect, based on the rotation angle, a regional wallpaper corresponding to the second area is cropped from a desktop wallpaper with a scaling ratio of 1, including: when the rotation angle is horizontal screen display, performing a corresponding rotation operation on the desktop wallpaper with a scaling ratio of 1 according to the rotation angle; cropping the regional wallpaper corresponding to the second area from the rotated desktop wallpaper. Based on the rotation angle, the regional wallpaper corresponding to the second area is cropped from the desktop wallpaper with a scaling ratio of 1, including: when the rotation angle is not 0, performing a rotation operation corresponding to the rotation angle on the desktop wallpaper with a scaling ratio of 1; cropping the regional wallpaper corresponding to the second area from the rotated desktop wallpaper.

[0018] In an optional implementation of the first aspect, based on the rotation angle, cropping the regional wallpaper corresponding to the second area from the desktop wallpaper with a scaling ratio of 1 includes: when the rotation angle is 0, cropping the regional wallpaper corresponding to the second area from the desktop wallpaper.

[0019] The display method provided in the embodiment of the present application enables the electronic device to adaptively crop the regional wallpaper of the second area when the electronic device is in different postures from the desktop wallpaper according to its rotation angle, thereby improving the consistency between the cropped regional wallpaper and the corresponding area of ​​the desktop wallpaper, and further improving the accuracy of the regional wallpaper displayed in the second area of ​​the external screen.

[0020] In an optional implementation of the first aspect, setting the background of the second area as a regional wallpaper includes: blurring the regional wallpaper to obtain a blurred regional wallpaper; and setting the background of the second area as the blurred regional wallpaper.

[0021] The display method provided in the embodiment of the present application, by setting the background of the second area to a blurred area wallpaper, can not only make the transition between the first area and the second area more natural, but also can highlight the content of the application interface displayed in the first area, so that the user can more easily focus on the content in the application interface.

[0022] In a second aspect, an embodiment of the present application provides an electronic device comprising: one or more processors, and a memory; the memory is coupled to the one or more processors, the memory being used to store computer program code, the computer program code comprising computer instructions, and the one or more processors calling the computer instructions to enable the electronic device to execute a display method as any implementation of the first aspect described above.

[0023] In a third aspect, an embodiment of the present application provides a computer-readable storage medium, which includes instructions. When the instructions are executed on an electronic device, the electronic device executes a display method as described in any implementation of the first aspect above.

[0024] In a fourth aspect, an embodiment of the present application provides a computer executable program product. When the computer executable program product is run on an electronic device, the electronic device executes the display method of any implementation manner of the above-mentioned first aspect.

[0025] In a fifth aspect, an embodiment of the present application provides a chip system, which is applied to an electronic device. The chip system includes one or more processors, and the one or more processors are used to call computer instructions to enable the electronic device to execute a display method such as any implementation method of the first aspect mentioned above.

[0026] It can be understood that the beneficial effects of the second to fifth aspects mentioned above can be found in the relevant description of the first aspect mentioned above, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS

[0027] Figure 1 A schematic diagram of the device form of a foldable screen electronic device;

[0028] Figure 2 A schematic diagram of the display interface layout of an external screen of a foldable screen electronic device;

[0029] Figure 3 A schematic diagram of a desktop wallpaper for an external screen of a foldable electronic device;

[0030] Figure 4 A schematic diagram of an interface of a foldable screen electronic device when an application interface is displayed on the external screen;

[0031] Figure 5 A schematic diagram of the hardware structure of an electronic device provided in an embodiment of the present application;

[0032] Figure 6 A schematic diagram of the device configuration of a foldable screen electronic device provided in an embodiment of the present application;

[0033] Figure 7 A schematic diagram of the software architecture of an electronic device provided in an embodiment of the present application;

[0034] Figure 8 A schematic flow chart of a display method provided in an embodiment of the present application;

[0035] Figure 9 A schematic diagram of a process for setting an in-application display mode for a second area of ​​an external screen provided in an embodiment of the present application;

[0036] Figure 10 A schematic diagram of a process for setting a desktop wallpaper for an external screen desktop provided in an embodiment of the present application;

[0037] Figure 11 A schematic diagram of a user interface when a third-party video application is run on an external screen of an electronic device provided in an embodiment of the present application;

[0038] Figure 12 A schematic diagram of the interaction process between software modules involved in the execution of a display method provided in an embodiment of the present application. DETAILED DESCRIPTION

[0039] It should be noted that the terms used in the implementation methods section of the embodiments of the present application are only used to explain the specific embodiments of the present application, and are not intended to limit the present application. In the description of the embodiments of the present application, unless otherwise specified, " / " means or, for example, A / B can mean A or B; "and / or" in this article is merely a description of the association relationship of associated objects, indicating that there can be three relationships, for example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. In addition, in the description of the embodiments of the present application, unless otherwise specified, "multiple" means two or more than two, "at least one" and "one or more" mean one, two or more than two.

[0040] In the following, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly specifying the number of the technical features indicated. Therefore, the definition of "first" and "second" features may explicitly or implicitly include one or more of the features.

[0041] References to "one embodiment" or "some embodiments" in this specification mean that a particular feature, structure, or characteristic described in conjunction with that embodiment is included in one or more embodiments of the present application. Thus, phrases such as "in one embodiment," "in some embodiments," "in other embodiments," and "in yet other embodiments" appearing in various places in 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 "including," "comprising," "having," and variations thereof mean "including but not limited to," unless otherwise specifically emphasized.

[0042] With the continuous development of flexible display technology, the display form factors of electronic devices have also undergone tremendous changes. Folding screens have become an emerging display form factor and are widely used in many electronic devices such as mobile phones. Currently, in order to provide users with a more convenient use and viewing experience, folding screen electronic devices with both an inner display (also called an inner screen) and an outer display (also called an outer screen) are gradually becoming the development direction of future electronic devices.

[0043] Folding screen electronic devices have multiple device forms, such as unfolded state and folded state. For example, see Figure 1 , is a schematic diagram of the device form of a folding screen electronic device. Among them, Figure 1 (a) shows the device form of the folding screen electronic device when it is in the unfolded state. Figure 1 (b) in the figure shows the device form of the folding screen electronic device when it is in a folded state.

[0044] Specifically, if Figure 1 As shown in (a) in the figure, the unfolded state refers to the state when the opening and closing angle θ of the folding screen electronic device is 180 degrees or close to 180 degrees. In the unfolded state, the inner screen 11 of the folding screen electronic device is unfolded, and the folding screen electronic device can provide display functions to the user through the inner screen 11. At this time, the outer screen of the folding screen electronic device is usually in a black screen state. Since the overall size of the inner screen 11 of the folding screen electronic device is usually large, the folding screen electronic device can provide users with a more comfortable viewing and operating experience in the unfolded state.

[0045] Combine Figure 1 As shown in (b), the folded state refers to the state when the opening and closing angle θ of the folding screen electronic device is 0 degrees or close to 0 degrees. In the folded state, the inner screen 11 of the folding screen electronic device is closed inward and cannot be directly seen by the user. The folding screen electronic device can provide display functions to the user through the outer screen 12. Since the folding screen electronic device has a smaller volume in the folded state, it is convenient for users to carry and operate with one hand. For example, when the folding screen electronic device is in the folded state, the outer screen desktop 121 can be displayed on the outer screen 12, and the desktop wallpaper of the outer screen desktop 121 can be personalized by the user. For example, the user can set the desktop wallpaper of the outer screen desktop 121 to Figure 1 In addition, the external screen desktop 121 may also include icons of one or more applications. When the foldable screen electronic device detects that a user clicks on the icon of any application on the external screen desktop 121, the application interface of the application can be displayed on the external screen 12.

[0046] For foldable screen electronic devices equipped with rear cameras, Figure 1 As shown in (b) of FIG, part of the outer screen 12 of the foldable electronic device is usually occupied by the rear camera 122. Since the area occupied by the rear camera 122 cannot provide display and touch functions, in order not to affect the normal display and use of applications on the outer screen 12, please refer to Figure 2 , is a schematic diagram of the display interface layout of the outer screen of a folding screen electronic device. Figure 2 As shown in (a) in the figure, the outer screen 12 of the foldable electronic device can be divided into a first area A1 (i.e., the area on the right side of the dotted line in the outer screen 12) and a second area A2 (i.e., the area on the left side of the dotted line in the outer screen 12). The first area A1 can be configured as an application interface area, the second area A2 can be configured as a decoration area (also called a non-application interface area), and the area occupied by the rear camera 122 can be included in the second area A2. Based on this, the foldable electronic device can display the application interface in the first area A1 of the outer screen 12. For example, the foldable electronic device can detect that the user clicks Figure 1 When the calculator icon on the external screen desktop 121 shown in (b) is displayed, Figure 2 As shown in (b), the calculator application interface 1231 is displayed in the first area A1 of the outer screen 12. On this basis, considering the aesthetics of the second area A2 of the outer screen 12, the folding screen electronic device can simultaneously display the blurred wallpaper of the corresponding area of ​​the outer screen desktop in the second area A2 while displaying the application interface in the first area A1. For example, in combination with Figure 3 , assuming Figure 3 The picture shown in (a) is the desktop wallpaper of the external screen desktop of the foldable screen electronic device. Figure 3 The picture shown in (b) is the blurred wallpaper 1232 of the desktop wallpaper corresponding to the second area A2 in the external screen 12, so Figure 2 As shown in (b), the folding screen electronic device can display the blurred wallpaper 1232 in the second area A2 of the outer screen 12.

[0047] Typically, for applications developed by the manufacturer of a foldable screen electronic device, the manufacturer will configure an application interface for the self-developed application that is compatible with the first area A1 of the external screen 12 to ensure that the first area A1 of the external screen 12 can correctly display the application interface, and the second area A2 can correctly display the blurred wallpaper of the corresponding area of ​​the external screen desktop. However, for some third-party applications that are not developed by the manufacturer, since the application interfaces of these applications are usually not well adapted to the first area A1 of the external screen 12, when the foldable screen electronic device displays the application interface of these third-party applications in the first area A1, it will usually scale the application interface of these third-party applications and display the scaled application interface in the first area A1 of the external screen 12 so that the application interface of the third-party application can also be adapted to the first area A1 of the external screen 12. However, when the foldable screen electronic device scales the application interface of the third-party application, it will also scale the desktop wallpaper of the external screen desktop, resulting in the blurred wallpaper finally displayed in the second area A2 not corresponding to the wallpaper of the corresponding area of ​​the external screen desktop, thereby affecting the user experience.

[0048] For example, a foldable electronic device displays the application interface of a manufacturer's self-developed phone application and the application interface of a third-party video application on the external screen. Figure 4 , is a schematic diagram of an interface of a folding screen electronic device when an application interface is displayed on the external screen. Figure 4 (a), (b), and (c) respectively show the external screen desktop, the application interface of the phone application, and the application interface of the third-party video application displayed on the external screen when the foldable screen electronic device is in a first posture in the folded state; Figure 4(d), (e), and (f) respectively show the external screen desktop, the application interface of the phone application, and the application interface of the third-party video application displayed on the external screen when the foldable screen electronic device is in the second posture in the folded state; Figure 4 (g), (h), and (i) in the figure respectively show the external screen desktop, the application interface of the phone application, and the application interface of the third-party video application displayed on the external screen when the foldable screen electronic device is in the third posture in the folded state. The first posture may refer to the portrait posture, the second posture may refer to the landscape posture after rotating 90 degrees counterclockwise from the portrait posture, and the third posture may refer to the landscape posture after rotating 90 degrees clockwise from the portrait posture.

[0049] For example, taking the case where the foldable screen electronic device is in the first posture in the folded state as an example, compared with Figure 4 As can be seen from (a) and (b) in the figure, for the phone application developed by the manufacturer, when the folding screen electronic device is in the first posture in the folded state, it can not only correctly display the application interface of the phone application in the first area of ​​the outer screen 12, but also correctly display the desktop wallpaper of the outer screen desktop in the second area of ​​the outer screen 12 mapped to the blurred wallpaper in the first area. Specifically, according to Figure 4 As can be seen from (a) and (b) in the figure, the pattern and color of the blurred wallpaper displayed in the second area of ​​the outer screen 12 of the folding screen electronic device can completely correspond to the corresponding area of ​​the desktop wallpaper. Figure 4 As can be seen from (a) and (c) in the figure, for third-party video applications, when the foldable screen electronic device is in the first posture in the folded state, it can only correctly display the application interface of the third-party video application in the first area of ​​the external screen 12, but cannot correctly display the desktop wallpaper of the external screen desktop in the second area of ​​the external screen 12. The fuzzy wallpaper mapped to the first area is displayed. Specifically, according to Figure 4 As shown in (a) and (c) above, the blurred wallpaper displayed in the second area of ​​the outer screen 12 of the foldable electronic device is actually scaled, and its pattern or color cannot correspond to the corresponding area of ​​the desktop wallpaper. This results in a significant difference in the displayed content in the second area of ​​the outer screen 12 when switching from the outer screen desktop to the application interface of a third-party application, which in turn leads to a poor user experience.

[0050] And so on, compare Figure 4 As can be seen from (d) and (e), (d) and (f) in the figure, similar problems will also occur when the foldable screen electronic device is in the second posture in the folded state. Figure 4 It can be seen from (g) and (h), (g) and (i) that similar problems will also exist when the foldable screen electronic device is in the third posture in the folded state.

[0051] In view of this, an embodiment of the present application provides a display method, an electronic device, a storage medium and a chip system. When the electronic device receives an opening instruction for a first application on an external screen desktop, it displays the application interface of the first application in the first area of ​​the external screen. At the same time, it obtains the desktop wallpaper with a scaling ratio of 1 for the external screen desktop and the rotation angle of the electronic device, and based on the rotation angle of the electronic device, it cuts out a regional wallpaper corresponding to the second area of ​​the external screen from the desktop wallpaper with a scaling ratio of 1, and sets the background of the second area to the regional wallpaper. Therefore, the electronic device can display the application interface in the first area of ​​the external screen while correctly displaying the regional wallpaper corresponding to the corresponding area of ​​the desktop wallpaper in the second area of ​​the external screen. This reduces the difference between the content displayed in the second area of ​​the external screen when switching from the external screen desktop to the application interface, thereby improving the user experience.

[0052] The electronic device provided in the embodiments of the present application may also be referred to as a terminal, user equipment (UE), mobile station (MS), or mobile terminal (MT), etc. For example, the electronic device may include a mobile phone, a tablet computer, a wearable device (such as a smart bracelet, a smart watch, or smart glasses), an augmented reality (AR) device, a virtual reality (VR) device, a laptop computer, an ultra-mobile personal computer (UMPC), a netbook, and a personal digital assistant (PDA), etc. The embodiments of the present application do not limit the specific type of the electronic device.

[0053] See also Figure 5, which is a hardware structure diagram of an electronic device provided in an embodiment of the present application. Exemplarily, the electronic device 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, an antenna 1, an 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, an earphone interface 170D, a sensor module 180, a button 190, a motor 191, an indicator 192, a camera 193, a display 194, and a subscriber identification module (SIM) card interface 195, etc. Among them, the sensor module 180 can include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180I, a touch sensor 180J, a bone conduction sensor 180K, an ambient light sensor 180L, etc.

[0054] It is understandable that Figure 5 The illustrated structure does not constitute a specific limitation on the electronic device. In other embodiments, 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.

[0055] The processor 110 may include one or more processing units. For example, the processor 110 may include an application processor (AP), a modem processor, a graphics processing unit (GPU), an image signal processor (ISP), a controller, 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 processors.

[0056] The electronic device can implement display functions using 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.

[0057] Display screen 194 can be used to display images or 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 or an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), a Mini-LED, a Micro-LED, a Micro-OLED, a quantum dot light-emitting diode (QLED), etc. In some embodiments, electronic device 100 may include one or N display screens 194, where N is a positive integer greater than 1.

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

[0059] The camera 193 can be 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 100 may include 1 or N cameras 193, where N is a positive integer greater than 1.

[0060] The electronic device may be a foldable screen electronic device. For example, see Figure 6 , is a schematic diagram of the device form of a folding screen electronic device provided by an embodiment of the present application. Figure 6As shown in (a) and (b) or (c), the folding screen electronic device may include a first camera 1931, a second camera 1931, a first display screen 1941 and a second display screen 1942.

[0061] Among them, the first display screen 1941 can be a foldable display screen, such as a flexible screen. The second display screen 1942 can be a non-foldable display screen, such as a flat screen. The first display screen 1941 and the first camera 1931 can be set on the first side of the foldable screen electronic device, and the second display screen 1942 and the second camera 1932 can be set on the second side of the foldable screen electronic device. For example, the first side can be the front side of the foldable screen electronic device, and the second side can be the back side of the foldable screen electronic device. The first display screen 1941 can be called the inner screen, and the second display screen 1942 can be called the outer screen. The first camera 1931 can be called the front camera, and the second camera 1932 can be called the rear camera.

[0062] The value range of the opening and closing angle θ of the first display screen 1941 can be [0 degree, 180 degrees].

[0063] For example, when the opening and closing angle θ of the first display screen 1941 is 180 degrees or close to 180 degrees, the folding screen electronic device can be in the following state: Figure 6 In the unfolded state shown in (a) or (b) in FIG. 1 . In the unfolded state, the second display screen 1942 may be in a black screen state. At this time, the foldable screen electronic device may provide a display function through the first display screen 1941. For example, the foldable screen electronic device may display an inner screen desktop on the first display screen 1941 in the unfolded state. The inner screen desktop may include icons of one or more applications. The foldable screen electronic device may display the application interface of any application on the inner screen when it detects that the user clicks on the icon of the inner screen desktop.

[0064] For example, when the opening and closing angle θ of the first display screen 1941 is 0 degrees or close to 0 degrees, the folding screen electronic device can be in the following state: Figure 6 The folded state shown in (c) in FIG. In the folded state, the first display screen 1941 cannot be directly seen by the user. At this time, the foldable screen electronic device can provide a display function through the second display screen 1942. For example, the foldable screen electronic device can display an external screen desktop on the second display screen 1942 in the folded state. The external screen desktop may include icons of one or more applications. When the foldable screen electronic device detects that the user clicks on the icon of any application on the external screen desktop, the application interface of the application can be displayed on the external screen.

[0065] It should be noted that the above description of the first display screen 1941 and the second display screen 1942 of the foldable screen electronic device is merely an example and does not constitute a specific limitation on the foldable screen electronic device. For example, in other embodiments, the first display screen 1941 may be a non-foldable display screen, and the second display screen 1942 may be a foldable display screen.

[0066] The gyroscope sensor 180B can be used to determine the motion posture of the electronic device. In some embodiments, the angular velocity of the electronic device around three axes (i.e., x, y, and z axes) can be determined by the gyroscope sensor 180B. The gyroscope sensor 180B can be used for shooting anti-shake. For example, when the shutter is pressed, the gyroscope sensor 180B detects the angle of the electronic device's shake, calculates the distance that the lens module needs to compensate based on the angle, and allows the lens to offset the shake of the electronic device through reverse motion to achieve anti-shake. The gyroscope sensor 180B can also be used for navigation and somatosensory game scenes.

[0067] The accelerometer 180E can detect the magnitude of the electronic device's acceleration in all directions (generally three axes). When the electronic device is stationary, it can detect the magnitude and direction of gravity. The accelerometer 180E can also be used to identify the electronic device's posture, enabling applications such as switching between landscape and portrait modes and pedometers.

[0068] In some embodiments, the electronic device may include multiple gyro sensors 180B and multiple accelerometers 180E, which may be respectively disposed on the first display screen 1941 and the second display screen 1942 of the electronic device. For example, a set of gyro sensors 180B and accelerometers 180E may be disposed on the first display screen 1941 of the electronic device, and a set of gyro sensors 180B and accelerometers 180E may also be disposed on the second display screen 1942 of the electronic device. The electronic device may combine data collected by the multiple gyro sensors 180B and the multiple accelerometers 180E to determine the opening and closing angle of the first display screen 1941 of the electronic device, or determine the landscape or portrait orientation of the electronic device, etc.

[0069] The software system of the electronic device may adopt a layered architecture, an event-driven architecture, a micro-kernel architecture, a microservice architecture, or a cloud architecture, etc. The embodiment of the present application takes the Android system of the layered architecture as an example to exemplify the software system of the electronic device.

[0070] See also Figure 7 , which is a schematic architecture diagram of a software system of an electronic device provided in an embodiment of the present application.

[0071] like Figure 7As shown in Figure 1, a layered architecture can divide software into several layers, which can communicate with each other through software interfaces. For example, the layered architecture can divide the Android system into four layers: the application (APP) layer, the application framework layer, the Android runtime (Android runtime) and system libraries, and the kernel layer.

[0072] The application layer can include a series of application packages, such as settings, calculator, camera, phone, and video applications.

[0073] The application framework layer provides an application programming interface (API) and a programming framework for the applications in the application layer. The application framework layer may include some predefined functions.

[0074] Exemplarily, the application framework layer may include a window manager, a content provider, a view system, a theme module, and a display control module, etc.

[0075] The window manager can be used to manage window programs. The window manager can obtain the display screen size, determine whether there is a status bar, lock the screen, take screenshots, etc.

[0076] Content providers can be used to store and retrieve data and make it accessible to applications. The data may include videos, images, audio, calls made and received, browsing history and bookmarks, phone books, etc.

[0077] The view system can include visual controls, such as controls for displaying text and images. The view system can be used to build applications. A display interface can be composed of one or more views. For example, a display interface containing a text notification icon can include a view for displaying text and a view for displaying images.

[0078] The theme module can be used to provide theme setting functions for the inner screen and / or outer screen.

[0079] The theme setting module may include a wallpaper unit. The wallpaper unit may be used to provide a desktop wallpaper setting function for the inner screen desktop and / or the outer screen desktop.

[0080] The display control module can be used to control the display of the inner screen and / or the outer screen.

[0081] Android Runtime includes core libraries and a virtual machine. Android runtime is responsible for scheduling and management of the Android system.

[0082] The core library consists of two parts: one is the function that needs to be called by the Java language, and the other is the Android core library.

[0083] The application layer and application framework layer run in a virtual machine. The virtual machine executes Java files in the application layer and application framework layer as binary files. The virtual machine manages object lifecycles, stack management, thread management, security and exception management, and garbage collection.

[0084] The system library can include multiple functional modules, such as a surface manager, a 3D graphics processing library (e.g. OpenGL ES), a 2D graphics engine (e.g. SGL), and media libraries.

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

[0086] It should be noted that Figure 7 Only modules related to the embodiments of the present application are shown. In other embodiments, each layer may also include any other possible modules, and each module may also include one or more sub-modules, which are not limited in this application.

[0087] The display method provided by the embodiment of the present application is described in detail below with reference to the accompanying drawings. The display method provided by the embodiment of the present application can be applied to electronic devices having the above hardware structure and software architecture. Figure 8 , is a schematic flow chart of a display method provided in an embodiment of the present application. The display method may include S801 to S804, which are described in detail as follows:

[0088] S801: When receiving an instruction to start a first application on an external screen desktop, the electronic device displays an application interface of the first application in a first area.

[0089] The external screen may refer to a display screen for providing a display function when the electronic device is in a folded state. Figure 6 , the external screen can be Figure 6 The second display screen 1942 of the electronic device shown in (c).

[0090] The outer screen can be divided into a first area A1 and a second area A2. It should be noted that the detailed description of the first area A1 and the second area A2 can be referred to Figure 2 The corresponding description of the text part is not repeated here.

[0091] The external screen desktop may refer to the main interface of the external screen of the electronic device, that is, the home interface of the external screen.

[0092] For example, Figure 6 As shown in (c) of FIG, the external screen desktop may include a status bar, an icon of at least one application, a time and date widget, and a camera. The status bar may be located at the top of the external screen desktop and may display the time, network signal, and battery level of the electronic device. The camera on the external screen desktop may be the rear camera 1932 of the electronic device.

[0093] The first application may be any application on the external screen desktop. For example, the first application may be an application developed by the manufacturer of the electronic device, or a third-party application developed by the manufacturer of the non-electronic device.

[0094] Optionally, the electronic device may confirm receipt of an opening instruction for the first application on the external screen desktop when detecting that the user clicks on the icon of the first application on the external screen desktop.

[0095] Optionally, the electronic device may confirm receipt of an opening instruction for the first application on the external screen desktop when detecting that the user inputs a voice instruction for opening the first application.

[0096] Optionally, for applications developed by the manufacturer of the electronic device, since the manufacturer's self-developed applications are usually configured with an application interface that is adapted to the size of the first area of ​​the external screen, when the first application is an application developed by the manufacturer, the electronic device can directly display the application interface of the first application in the first area of ​​the external screen.

[0097] Optionally, since third-party applications are usually not configured with an application interface that is compatible with the size of the first area of ​​the external screen, when the first application is a third-party application, in order to correctly display the application interface of the first application in the first area, the electronic device can scale the application interface of the first application to a size that is compatible with the first area of ​​the external screen, and display the scaled application interface of the first application in the first area of ​​the external screen. In this way, regardless of whether the first application is a manufacturer-developed application or a third-party application, the electronic device can correctly display the application interface of the first application in the first area of ​​the external screen.

[0098] In other embodiments, after the electronic device displays the application interface of the first application in the first area, it can also store the zoom ratio of the application interface of the first application in the first area. Figure 7 The application framework layer of the window manager is shown.

[0099] In some embodiments, a user can input a command to launch a first application on the external screen desktop when the electronic device is in the folded state. Based on this, the electronic device can display the application interface of the first application in the first area of ​​the external screen in response to the command to launch the first application on the external screen desktop when the electronic device is in the folded state.

[0100] In other embodiments, the user may input a command to open a first application on the outer screen desktop when the electronic device is in a semi-folded state, for example, when the opening angle of the inner screen of the electronic device is less than 45 degrees. Based on this, the electronic device may display the application interface of the first application on the outer screen desktop in the first area of ​​the outer screen in response to the command to open the first application on the outer screen desktop when in the semi-folded state.

[0101] S802: The electronic device obtains a desktop wallpaper with an external screen desktop scaling ratio of 1.

[0102] Optionally, the second area of ​​the external screen of the electronic device can be configured with multiple in-app display modes. The in-app display mode of the second area can be used to represent the display mode of the second area when the electronic device runs an application on the external screen, or can also be understood as the display mode of the second area when the electronic device displays an application interface in the first area of ​​the external screen.

[0103] For example, the in-app display modes may include wallpaper-following and application-changing. The wallpaper-following in-app display mode can be used to keep the background of the second area consistent with the corresponding area of ​​the desktop wallpaper. The application-changing in-app display mode can be used to change the background of the second area to follow the color changes of different application icons. In specific applications, users can personalize the in-app display mode of the second area according to their preferences.

[0104] For example, see Figure 9 , is a schematic diagram of a process for setting an in-application display mode in the second area of ​​an external screen according to an embodiment of the present application. Figure 9 As shown, when the user needs to set the in-application display mode of the second area of ​​the external screen, the user can Figure 9 The first operation is input to the setting application 91 on the inner screen desktop shown in (a). The first operation can be, for example, a click operation. The electronic device can respond to the first operation and display Figure 9 The main interface of the settings application shown in (b).

[0105] like Figure 9As shown in (b) of FIG, the main interface of the setting application may include a folding screen area setting item 92, and the user can enter a second operation for the folding screen area setting item 92. The second operation can be, for example, a click operation. The electronic device can respond to the second operation and display Figure 9 The folding screen area setting interface shown in (c) in the figure.

[0106] like Figure 9 As shown in (c) in FIG, the folding screen area setting interface may include an in-application display mode setting item 93 for the second area of ​​the external screen, and the user may enter a third operation for the in-application display mode setting item 93. The third operation may be, for example, a click operation. The electronic device may display the third operation in response to the third operation. Figure 9 The in-app display mode setting interface shown in (d).

[0107] like Figure 9 As shown in (d) in FIG, the in-application display mode setting interface may include an in-application display mode selection control 94 that follows the application changes, an in-application display mode selection control 95 that follows the wallpaper effect, and a preview effect display box 96 of the external screen corresponding to the selected in-application display mode. Optionally, when the in-application display mode that follows the application changes is selected, the preview effect of the external screen displayed in the preview effect display box 96 can be as follows: Figure 9 As shown in (d) in the figure. Based on this, users can Figure 9 The fourth operation can be input by the in-application display mode selection control 95 following the wallpaper effect shown in (d). The fourth operation can be, for example, a click operation. The electronic device can respond to the fourth operation and display Figure 9 The in-app display mode setting interface shown in (e) is shown. Figure 9 The preview effect of the external screen shown in the preview effect display frame 96 shown in (e) is different from Figure 9 The preview effect of the external screen is displayed in the preview effect display box 96 shown in (d).

[0108] Based on this, in a specific implementation, S802 may include the following steps:

[0109] When the in-application display mode of the second area is to follow the wallpaper effect, the electronic device obtains a desktop wallpaper with an external screen desktop scaling ratio of 1.

[0110] It is understandable that, when the display mode within the application of the second area is to follow the application changes, the electronic device may not obtain the desktop wallpaper of the external screen desktop.

[0111] This embodiment configures multiple different in-application display modes for the second area of ​​the external screen, and only obtains a desktop wallpaper with an external screen desktop scaling ratio of 1 when the in-application display mode of the second area is set to follow the wallpaper effect, so that the second area of ​​the external screen can be adaptively displayed based on the user's preferences, thereby improving the user's external screen usage experience.

[0112] In specific applications, the desktop wallpaper of the external screen desktop can be personalized by the user.

[0113] For example, see Figure 10 , is a schematic diagram of the process of setting the desktop wallpaper of an external screen desktop provided by an embodiment of the present application. Figure 10 As shown, when the user needs to set the desktop wallpaper of the external screen desktop, the user can Figure 10 The first operation is input to the setting application 91 on the inner screen desktop shown in (a). The first operation can be, for example, a click operation. The electronic device can respond to the first operation and display Figure 10 The main interface of the settings application shown in (b).

[0114] like Figure 10 As shown in (b) of FIG, the main interface of the setting application may include a folding screen area setting item 92, and the user can enter a second operation for the folding screen area setting item 92. The second operation can be, for example, a click operation. The electronic device can respond to the second operation and display Figure 10 The folding screen area setting interface shown in (c) in the figure.

[0115] like Figure 10 As shown in (c) in FIG, the folding screen area setting interface may include a theme style change control 103 for the outer screen, and the user may input a fifth operation for the theme style change control 103 for the outer screen. The fifth operation may be, for example, a click operation. The electronic device may display the fifth operation in response to the fifth operation. Figure 10 The external screen personalization setting interface shown in (d) in FIG.

[0116] like Figure 10 As shown in (d) in the figure, the external screen personalized device interface may include one or more different themes. Different themes may be pre-configured with different lock screen interfaces and desktop wallpapers. The user may enter a sixth operation for any theme. The sixth operation may be, for example, a click operation. The electronic device may display a Figure 10 The theme style details interface shown in (e) in the figure.

[0117] like Figure 10As shown in (e) in FIG. 1 , the theme style details interface may include a theme application control 104. The user may input a seventh operation for the theme application control 104. The seventh operation may be, for example, a click operation. The electronic device may display the theme style details interface in response to the seventh operation. Figure 10 The theme application reminder box 105 shown in (f) in the figure is displayed to remind the user that the theme style of the external screen is currently being set to the theme style currently selected by the user. In this way, after the theme setting is completed, the lock screen interface and desktop wallpaper of the external screen will be set to the lock screen interface and desktop wallpaper of the theme style currently selected by the user, respectively.

[0118] In some embodiments, after the electronic device sets the theme style of the external screen, it can also store the theme style currently set for the external screen in the theme module of the application framework layer. For example, the electronic device can store the desktop wallpaper under the theme style currently set for the external screen in the wallpaper unit of the theme module.

[0119] Of course, in other embodiments, the user can also change the desktop wallpaper under the theme style currently set for the external screen according to his or her own preferences. The wallpaper unit can store the desktop wallpaper of the external screen desktop after the user changes.

[0120] It is understandable that when the electronic device displays the application interface of the first application in the first area of ​​the external screen, in order to make the application interface of the first application adapt to the size of the first area of ​​the external screen, the electronic device may scale the application interface of the first application. When the electronic device scales the application interface of the first application, it usually also scales the desktop wallpaper of the external screen desktop at the same time, which will cause the proportion of the desktop wallpaper to be unbalanced. Based on this, when the electronic device receives an opening instruction for the first application on the external screen desktop, it needs to obtain a desktop wallpaper with a scaling ratio of 1 for the external screen desktop.

[0121] Optionally, for applications developed by the manufacturer of the electronic device, since the electronic device displays the application interface of the manufacturer's self-developed application in the first area of ​​the external screen, there is no need to scale the application interface of these applications, and thus the desktop wallpaper of the external screen desktop will not be scaled. That is, when the electronic device displays the application interface of the manufacturer's self-developed application in the first area, the scaling ratio of the desktop wallpaper of the external screen desktop is always 1.

[0122] Based on this, in a specific implementation, S802 may include the following steps: when the first application is an application developed by the manufacturer, obtaining the desktop wallpaper of the external screen desktop, and at this time the scaling ratio of the desktop wallpaper is 1.

[0123] That is, when the first application is a manufacturer's self-developed application, the desktop wallpaper of the external screen desktop obtained by the electronic device is a desktop wallpaper with a scaling ratio of 1. In this case, the electronic device does not need to scale the desktop wallpaper.

[0124] Optionally, for third-party applications, when the electronic device displays the application interface of the third-party application in the first area of ​​the external screen, in addition to scaling the application interface of these applications, the desktop wallpaper of the external screen desktop will also be scaled in the same proportion as the scaling ratio of the application interface.

[0125] Therefore, in another specific implementation method, S802 may include the following steps: when the first application is a third-party application, the electronic device obtains the scaling ratio of the application interface of the first application; the electronic device scales the desktop wallpaper according to the scaling ratio of the application interface of the first application to obtain a desktop wallpaper with a scaling ratio of 1.

[0126] It can be understood that for third-party applications, since the scaling ratio of the desktop wallpaper is the same as the scaling ratio of the application interface of the third-party application displayed in the first area, after the electronic device obtains the scaling ratio of the application interface of the first application, it can scale the desktop wallpaper based on the scaling ratio to restore the scaling ratio of the desktop wallpaper to 1, thereby obtaining a desktop wallpaper with a scaling ratio of 1.

[0127] For example, assuming the scaling ratio of the third-party application interface displayed in the first area is 1.52 times the height and the width remains unchanged, the electronic device can reduce the height of the desktop wallpaper by 1.52 times and not scale the width of the desktop wallpaper, thereby restoring the scaling ratio of the desktop wallpaper to 1.

[0128] S803: The electronic device obtains a rotation angle of the electronic device, and based on the rotation angle of the electronic device, crops a regional wallpaper of a second region from the desktop wallpaper with a scaling ratio of 1.

[0129] The rotation angle of the electronic device can be represented by the posture of the electronic device in the folded state.

[0130] For example, the postures of the electronic device in the folded state may include a first posture, a second posture, and a third posture. The first posture may refer to a portrait posture, the second posture may refer to a landscape posture after rotating 90 degrees counterclockwise from the portrait posture, and the third posture may refer to a landscape posture after rotating 90 degrees clockwise from the portrait posture. Figure 4 When the electronic device is in the folded state and in the first posture, the device shape can be as follows: Figure 4As shown in (a) or (b) or (c) in FIG. 1 , the device configuration when the electronic device is in the second posture in the folded state can be as follows: Figure 4 As shown in (d) or (e) or (f) in FIG, the device form when the electronic device is in the third posture in the folded state can be as follows Figure 4 As shown in (g) or (h) or (i).

[0131] In a specific application, the electronic device may obtain data collected by a gyroscope sensor or an acceleration sensor, and determine the posture of the electronic device in the folded state according to the data collected by the gyroscope sensor or the acceleration sensor.

[0132] In a specific implementation, when the electronic device is in the first posture in the folded state, the corresponding rotation angle of the electronic device may be 0 degrees. Based on this, S803 may include the following steps:

[0133] When the rotation angle is 0, the area wallpaper corresponding to the second area is cropped from the desktop wallpaper.

[0134] In this embodiment, when the rotation angle of the electronic device is 0, it indicates that the electronic device is in a portrait state. At this time, the electronic device can directly crop the regional wallpaper corresponding to the second region from the acquired desktop wallpaper.

[0135] In another specific implementation, when the electronic device is in the second posture or the third posture in the folded state, the corresponding rotation angle of the electronic device may be non-zero. Based on this, S803 may include the following steps:

[0136] When the rotation angle is not 0, the desktop wallpaper with a scaling ratio of 1 is rotated according to the rotation angle of the electronic device; and the area wallpaper corresponding to the second area is cropped from the rotated desktop wallpaper.

[0137] In this embodiment, when the rotation angle of the electronic device is not 0, it indicates that the electronic device is in the second posture or the third posture. For example, when the electronic device is in the second posture, the electronic device can rotate the desktop wallpaper 90 degrees counterclockwise and crop the regional wallpaper corresponding to the second area from the rotated desktop wallpaper. When the electronic device is in the third posture, the electronic device can rotate the desktop wallpaper 90 degrees clockwise and crop the regional wallpaper corresponding to the second area from the rotated desktop wallpaper.

[0138] S804: The electronic device sets the background of the second area as the area wallpaper.

[0139] In an optional implementation, after the electronic device obtains the regional wallpaper corresponding to the second region, it can directly set the background of the second region as the regional wallpaper. Figure 11 , is a user interface diagram of an electronic device provided in an embodiment of the present application when running a third-party video application on an external screen. Assume that the desktop wallpaper of the external screen of the electronic device is Figure 11 In an optional implementation, the image shown in (a) is as follows: Figure 11 As shown in (b), (d) and (f), the electronic device can directly set the background of the second area of ​​the external screen to the regional wallpaper corresponding to the second area while displaying the application interface of the third-party video application in the first area of ​​the external screen. It should be noted that Figure 11 The electronic devices shown in (b), (d) and (f) are in a first posture, a second posture and a third posture, respectively.

[0140] In this embodiment, by directly setting the background of the second area as the desktop wallpaper and mapping it to the regional wallpaper in the second area, the user can view part of the pattern on the desktop wallpaper at any time when using the application.

[0141] In another optional implementation, after obtaining the regional wallpaper of the second region, the electronic device may perform blurring processing on the regional wallpaper to obtain a blurred regional wallpaper, and may set the background of the second region as the blurred regional wallpaper. Figure 11 , in another optional implementation, such as Figure 11 As shown in (c), (e) and (g), the electronic device can set the background of the second area to the blurred area wallpaper corresponding to the second area while displaying the application interface of the third-party video application in the first area of ​​the external screen. Figure 11 The electronic devices shown in (c), (e) and (g) are in a first posture, a second posture and a third posture, respectively.

[0142] For example, the electronic device may use one or more of a Gaussian blur algorithm, a mean blur algorithm, a median blur algorithm, a radial blur algorithm, a motion blur algorithm, or a bilateral filter algorithm to blur the regional wallpaper. The present embodiment does not limit the specific method of blurring.

[0143] This embodiment sets the background of the second area as a blurred area wallpaper, which not only makes the transition between the first area and the second area more natural, but also highlights the content of the application interface displayed in the first area, allowing users to focus on the content of the application interface more easily.

[0144] Optionally, to facilitate users to view time and / or date information at any time while using an application, the electronic device sets the background of the second area of ​​the external screen as a regional wallpaper or a blurred regional wallpaper, and can also display time and / or date information in an area outside the area occupied by the camera in the second area. In this way, users can conveniently view time or date information without exiting the application interface while using the application, which is conducive to improving the user experience.

[0145] The following combination Figure 7 The software architecture of the electronic device shown in FIG. 1 is used to describe in detail the interaction process between the various software modules involved in the execution of the display method provided in the embodiment of the present application. Figure 12 , is a schematic diagram of the interaction process between software modules involved in the execution of a display method provided in an embodiment of the present application. Figure 12 As shown, the interaction process between the various software modules may include S1201 to S1211, which are described in detail as follows:

[0146] S1201: A setting application receives a setting operation for a theme and / or wallpaper for an external screen.

[0147] S1202 : The setting application sets the theme and / or wallpaper of the external screen in the theme module in response to the setting operation of the theme and / or wallpaper for the external screen.

[0148] It should be noted that the specific setting process of the theme / wallpaper setting operation corresponding to S1201 to S1202 can be referred to Figure 10 The relevant descriptions in the corresponding embodiments are not repeated here.

[0149] S1203: The setting application receives a setting operation for the in-application display mode of the second area of ​​the external screen.

[0150] S1204 : The setting application sets the in-application display mode of the second area of ​​the external screen in response to the setting operation of the in-application display mode of the second area of ​​the external screen.

[0151] It should be noted that the specific setting process of the in-application display mode setting operation corresponding to S1203 to S1204 can be referred to Figure 9 The relevant descriptions in the corresponding embodiments are not repeated here.

[0152] It should also be noted that the theme / wallpaper setting operations corresponding to S1201 to S1202 and the in-application display mode setting operations corresponding to S1203 to S1404 are executed in no particular order.

[0153] S1205: The window manager receives an instruction to start the first application on the external screen desktop.

[0154] S1206: The window manager displays an application interface of the first application in a first area of ​​the external screen in response to the opening instruction for the first application on the external screen desktop.

[0155] It should be noted that S1205~S1206 and Figure 8 The specific implementation process of S12055 to S1206 can refer to S801 in the embodiment shown. Figure 8 The relevant description of S801 in the above description will not be repeated here.

[0156] S1207: The window manager obtains a desktop wallpaper with an external screen desktop scaling ratio of 1.

[0157] S1208: The window manager obtains the in-application display mode of the second area of ​​the external screen from the settings application.

[0158] It should be noted that S1207~S1208 and Figure 8 The specific implementation process of S1207 to S1208 corresponds to S802 in the embodiment shown. Figure 8 The relevant description of S802 in the above description will not be repeated here.

[0159] S1209: The window manager obtains a rotation angle of the electronic device, and based on the rotation angle of the electronic device, crops a regional wallpaper corresponding to the second region from the desktop wallpaper with a scaling ratio of 1.

[0160] It should be noted that S1209 and Figure 8 The specific implementation process of S1209 corresponds to S803 in the embodiment shown. Figure 8 The relevant description of S803 in the above description will not be repeated here.

[0161] S1210: The window manager sends the regional wallpaper to the display control module.

[0162] S1211: The display control module sets the background of the second area as the area wallpaper.

[0163] It should be noted that S1210~S1211 and Figure 8 The specific implementation process of S1210 to S1211 corresponds to S804 in the embodiment shown. Figure 8 The relevant description of S804 in the above description will not be repeated here.

[0164] Based on the same technical concept, an embodiment of the present application also provides a computer-readable storage medium, which stores a computer-executable program. When the computer-executable program is called by the computer, the computer executes one or more steps in any of the above method embodiments.

[0165] Based on the same technical concept, an embodiment of the present application further provides a chip system, including a processor coupled to a memory, wherein the processor executes a computer-executable program stored in the memory to implement one or more steps in any of the above method embodiments. The chip system can be a single chip or a chip module composed of multiple chips.

[0166] Based on the same technical concept, an embodiment of the present application also provides a computer executable program product. When the computer executable program product runs on an electronic device, it enables the electronic device to execute one or more steps in any of the above method embodiments.

[0167] In the above embodiments, the descriptions of each embodiment have different focuses. For parts not described or recorded in detail in a particular embodiment, please refer to the relevant descriptions of other embodiments. It should be understood that the order of the sequence numbers of the steps in the above embodiments does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of this application.

[0168] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium or transmitted via the computer-readable storage medium. The computer instructions can be transmitted from one website, computer, server or data center to another website, computer, server or data center via a wired (e.g., coaxial cable, optical fiber, digital subscriber line) or wireless (e.g., infrared, wireless, microwave, etc.) method. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that includes one or more available media integrated. The available medium can be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid state drive (SSD)).

[0169] Those skilled in the art will appreciate that all or part of the process steps in the above-described method embodiments can be implemented by a computer program instructing the relevant hardware. The program can be stored in a computer-readable storage medium, and when executed, the program can include the process steps in the above-described method embodiments. The aforementioned storage medium includes various media capable of storing program code, such as ROM or random access memory (RAM), magnetic disks, or optical disks.

[0170] 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 method, characterized in that: Applicable to an electronic device; the electronic device includes an inner screen and an outer screen, the outer screen is provided with a camera, the outer screen includes a first area and a second area, the camera is located in the second area, and the display method includes: When receiving an opening instruction for a first application on the external screen desktop, displaying an application interface of the first application in the first area; Obtain the desktop wallpaper of the external screen desktop with a scaling ratio of 1; Obtaining a rotation angle of the electronic device, and based on the rotation angle, cropping a regional wallpaper corresponding to the second region from the desktop wallpaper with a scaling ratio of 1; The background of the second area is set as the area wallpaper.

2. The display method according to claim 1, wherein: Obtaining a desktop wallpaper with a scaling ratio of 1 for the external screen desktop includes: When the in-application display mode of the second area is to follow the wallpaper effect, obtain the desktop wallpaper with a scaling ratio of 1 for the external screen desktop; the in-application display mode is used to indicate the display mode of the second area when the first area displays the application interface; the in-application display mode that follows the wallpaper effect is used to make the background of the second area consistent with the corresponding area of ​​the desktop wallpaper.

3. The display method according to claim 1 or 2, characterized in that: Obtaining a desktop wallpaper with a scaling ratio of 1 for the external screen desktop includes: When the first application is a third-party application, obtaining a zoom ratio of the application interface; The desktop wallpaper is scaled according to the scaling ratio of the application interface to obtain the desktop wallpaper with a scaling ratio of 1.

4. The display method according to claim 1 or 2, characterized in that: Obtaining a desktop wallpaper with a scaling ratio of 1 for the external screen desktop includes: In the case where the first application is an application developed by the manufacturer, the desktop wallpaper of the external screen desktop is obtained, and the scaling ratio of the desktop wallpaper is 1.

5. The display method according to claim 1, wherein: Based on the rotation angle, cropping a regional wallpaper corresponding to the second region from the desktop wallpaper with a scaling ratio of 1 includes: When the rotation angle is not 0, performing a rotation operation corresponding to the rotation angle on the desktop wallpaper with a scaling ratio of 1; A regional wallpaper corresponding to the second region is cropped from the rotated desktop wallpaper.

6. The display method according to claim 1 or 5, characterized in that: Based on the rotation angle, cropping a regional wallpaper corresponding to the second region from the desktop wallpaper with a scaling ratio of 1 includes: When the rotation angle is 0, the area wallpaper corresponding to the second area is cropped from the desktop wallpaper.

7. The display method according to any one of claims 1 to 5, characterized in that: Setting the background of the second area as the area wallpaper includes: Performing a blurring process on the wallpaper of the region to obtain a blurred wallpaper of the region; The background of the second area is set as the blurred wallpaper of the area.

8. An electronic device, characterized in that: include: one or more processors, and memory; The memory is coupled to the one or more processors, and the memory is used to store computer program code, where the computer program code includes computer instructions. The one or more processors call the computer instructions to enable the electronic device to execute the method according to any one of claims 1 to 7.

9. A computer-readable storage medium, characterized in that The computer-readable storage medium comprises instructions, which, when executed on an electronic device, enable the electronic device to perform the method according to any one of claims 1 to 7.

10. A chip system, characterized in that: The chip system is applied to an electronic device, and the chip system includes one or more processors, and the one or more processors are used to call computer instructions so that the electronic device executes the method as described in any one of claims 1 to 7.

Citation Information

Patent Citations

  • Display control method, electronic equipment and computer storage medium

    CN115268738A

  • Display method, storage medium and electronic equipment

    CN116915897A

  • Display method for switching between horizontal screen and vertical screen and related device

    CN117687501A

  • Display method and electronic equipment

    CN118012544A