A method of managing windows and an electronic device

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

Patent Information

Application Number
CN202510571240.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-04-30
Publication Date
2026-10-30

AI Technical Summary

Technical Problem

但是该种方式存在较多问题,例如,电子设备在进行窗口切换时,若切换的两个窗口都复用了壁纸截图,可能会出现背景壁纸跳变的问题

Benefits of technology

[0005]本申请中,当电子设备启动第一窗口时,可以根据壁纸生成一个壁纸克隆窗口,并将该壁纸克隆窗口作为第一窗口的背景。相较于将壁纸截图作为第一窗口的显示内容并将壁纸截图作为背景而言,本申请通过生成一个壁纸克隆窗口的方式复用壁纸数据,实现了第一窗口和背景壁纸的解耦,提升了管理窗口的灵活性。该壁纸克隆窗口是独立于第一窗口的窗口,与第一窗口的显示内容相互独立,当电子设备在进行窗口切换时,壁纸克隆窗口不会退出,避免了跳变的问题,且在显示新的窗口时无需对壁纸进行再次渲染,降低了系统负载。除此之外,由于该壁纸克隆窗口可以承载动态壁纸,使得第一窗口的背景可以是动态背景,提升了电子设备在显示第一窗口的显示效果,有助于提升用户的使用体验。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123011094A_ABST
    Figure CN123011094A_ABST
Patent Text Reader

Abstract

The application provides a method for managing windows and an electronic device, the method comprising: displaying a first interface, the first interface comprising a wallpaper; in response to an operation of starting a first window, generating a wallpaper clone window based on the wallpaper; displaying the first window and the wallpaper clone window, wherein the wallpaper clone window is the background of the first window. In the application, when the electronic device starts the first window, a wallpaper clone window can be generated according to the wallpaper, and the wallpaper clone window is used as the background of the first window. Compared with using a wallpaper screenshot as the display content of the first window and using the wallpaper screenshot as the background, the application reuses the wallpaper data by generating a window, so that the reused wallpaper is not limited to a static wallpaper, but can also be a dynamic wallpaper, thereby improving the display effect of the electronic device when displaying the first window and helping to improve the user experience.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of electronic devices, and more specifically, to a method for managing windows and electronic devices. Background Technology

[0002] Electronic devices can display different windows based on user actions. In some scenarios, when displaying a new window, the electronic device may take a screenshot of the wallpaper and then set the screenshot as the display content of the new window, making the wallpaper the background. However, this method has several problems. For example, if both windows reuse the same wallpaper screenshot when switching between windows, the background wallpaper may change abruptly. Summary of the Invention

[0003] This application provides a method for managing windows and an electronic device that can maintain the display of wallpaper clone windows when switching windows, avoiding the problem of jumps and reducing system load.

[0004] In a first aspect, a method for managing a window is provided, the method comprising: displaying a first interface including a wallpaper; generating a wallpaper clone window based on the wallpaper in response to an operation of launching a first window; and displaying the first window and the wallpaper clone window, wherein the wallpaper clone window serves as the background of the first window.

[0005] In this application, when an electronic device launches the first window, a wallpaper clone window can be generated based on the wallpaper, and this wallpaper clone window can be used as the background of the first window. Compared to using a wallpaper screenshot as the display content of the first window and as the background, this application reuses wallpaper data by generating a wallpaper clone window, achieving decoupling between the first window and the background wallpaper, and improving the flexibility of window management. This wallpaper clone window is independent of the first window and its display content is independent of the first window. When the electronic device switches windows, the wallpaper clone window will not exit, avoiding jump problems, and there is no need to re-render the wallpaper when displaying a new window, reducing system load. Furthermore, since this wallpaper clone window can hold dynamic wallpapers, the background of the first window can be a dynamic background, improving the display effect of the first window on the electronic device and helping to enhance the user experience.

[0006] For example, when the wallpaper is a live wallpaper, the content displayed in the wallpaper clone window can also be dynamic, which increases the sophistication of the image and helps to improve the user experience.

[0007] In conjunction with the first aspect, in some implementations of the first aspect, the method further includes: blurring the wallpaper clone window.

[0008] In this application, after the electronic device blurs the wallpaper clone window, the wallpaper in the wallpaper clone window becomes blurry compared to the wallpaper in the wallpaper window. This improves the display effect and allows the user's attention to be more focused on the first window.

[0009] In conjunction with the first aspect, in some implementations of the first aspect, the method further includes: in response to an operation of switching from the first window to the second window, exiting the first window and displaying the second window while keeping the wallpaper clone window displayed, wherein the wallpaper clone window is the background of the second window.

[0010] By using the management window method provided in this application, a cloned wallpaper window is set up to display the blurred wallpaper. This cloned wallpaper window is independent of the first window and its display content is independent of the first window. During the switching between the two windows, the electronic device always displays the cloned wallpaper window, thereby avoiding the problem of wallpaper jumping during the switching process. In addition, the electronic device does not need to render the background of the two windows twice, reducing the system load.

[0011] In conjunction with the first aspect, in some implementations of the first aspect, the first window is the application center window and the second window is the task center window.

[0012] In conjunction with the first aspect, in some implementations of the first aspect, the first window is the window corresponding to the first application, and the second window is the window corresponding to the second application.

[0013] In conjunction with the first aspect, in some implementations of the first aspect, the method further includes: in response to an operation to exit the first window, exiting the first window and the wallpaper clone window and displaying the first interface.

[0014] In this application, when the electronic device exits the first window, the wallpaper clone window can also exit simultaneously. Since the wallpaper clone window is generated based on the wallpaper of the first interface, when the wallpaper of the first interface is a live wallpaper, the animation effects displayed in the wallpaper clone window and the animation effects of the first interface are synchronized when the electronic device exits the first window and the wallpaper clone window, avoiding the problem of abrupt transitions.

[0015] In conjunction with the first aspect, in some implementations of the first aspect, displaying the wallpaper clone window includes: rendering the wallpaper clone window in real time according to the rendering data of the wallpaper, and displaying the wallpaper clone window.

[0016] In conjunction with the first aspect, in some implementations of the first aspect, the first window is a full-screen window.

[0017] In conjunction with the first aspect, in some implementations of the first aspect, the wallpaper is a live wallpaper.

[0018] In conjunction with the first aspect, in some implementations of the first aspect, the method further includes determining that the wallpaper is a live wallpaper before generating the wallpaper clone window based on the wallpaper.

[0019] In this application, before generating a wallpaper clone window, the electronic device can first determine whether the wallpaper is a live wallpaper. If the wallpaper is a live wallpaper, a wallpaper clone window can be generated and used as the background of the first window. If the wallpaper is a static wallpaper, a screenshot of the wallpaper can be taken and used as the background of the first window. By configuring trigger conditions, this application allows the electronic device to reuse wallpapers in two ways, improving the diversity and flexibility of the management window.

[0020] In a second aspect, 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.

[0021] Thirdly, 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.

[0022] Fourthly, 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.

[0023] Fifthly, 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.

[0024] Sixthly, 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 implemented by hardware executing corresponding software.

[0025] For the beneficial effects of aspects two through six, please refer to the beneficial effects of aspect one, which will not be repeated here. Attached Figure Description

[0026] Figure 1This is a schematic diagram of the structure of the electronic device provided in the embodiments of this application.

[0027] Figure 2 This is a software structure block diagram of the electronic device provided in the embodiments of this application.

[0028] Figure 3 This is a set of GUIs provided in the embodiments of this application.

[0029] Figure 4 This is a schematic diagram of window changes provided in an embodiment of this application.

[0030] Figure 5 This is a set of GUIs provided in the embodiments of this application.

[0031] Figure 6 This is a schematic diagram of window changes provided in an embodiment of this application.

[0032] Figure 7 This is a schematic flowchart illustrating a method for managing a window provided in an embodiment of this application.

[0033] Figure 8 This is a schematic diagram of the cloning window provided in the embodiments of this application.

[0034] Figure 9 This is a schematic diagram of window changes provided in an embodiment of this application.

[0035] Figure 10 This is a set of GUIs provided in the embodiments of this application.

[0036] Figure 11 This is a schematic flowchart illustrating a method for managing a window provided in an embodiment of this application.

[0037] Figure 12 This is a schematic diagram of the electronic device provided in the embodiments of this application. Detailed Implementation

[0038] The technical solutions in the embodiments of this application will now be described with reference to the accompanying drawings.

[0039] 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.

[0040] 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.

[0041] 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.

[0042] 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.

[0043] 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.

[0044] 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.

[0045] 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.

[0046] 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.

[0047] 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.

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

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

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

[0051] The modem processor may include a modulator and a demodulator. The modulator modulates the low-frequency baseband signal to be transmitted into a mid-to-high frequency signal. The demodulator demodulates the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then transmits the demodulated low-frequency baseband signal to the baseband processor for processing. After processing by the baseband processor, the low-frequency baseband signal is transmitted to the application processor. The application processor outputs sound signals through an audio device (not limited to speaker 170A, receiver 170B, etc.) or displays images or videos through the display screen 194. In some embodiments, the modem processor may be a separate device. In other embodiments, the modem processor may be independent of the processor 110 and may be housed in the same device as the mobile communication module 150 or other functional modules.

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

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

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

[0055] 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.

[0056] Electronic device 100 can perform shooting functions through ISP, camera 193, video codec, GPU, display 194 and application processor.

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

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

[0059] Digital signal processors (DSPs) are used to process digital signals. Besides digital image signals, they can also process other digital signals. For example, when electronic device 100 selects a frequency, the DSP can perform Fourier transforms on the frequency energy.

[0060] Video codecs are used to compress or decompress digital video. Electronic device 100 may support one or more video codecs. Thus, electronic device 100 can play or record videos in various encoding formats, such as Moving Picture Experts Group (MPEG) 1, MPEG2, MPEG3, MPEG4, etc.

[0061] 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.

[0062] 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.

[0063] 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.

[0064] 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.

[0065] 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.

[0066] 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.

[0067] The window manager is used to manage windowed applications. It can obtain the screen size, determine if a status bar is present, lock the screen, and capture screenshots. The content provider stores and retrieves data, making this data accessible to applications. This data may include videos, images, audio, made and received phone calls, browsing history and bookmarks, phone books, etc.

[0068] 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.

[0069] The phone manager is used to provide communication functions for electronic device 100. For example, it manages call status (including connection and disconnection).

[0070] The file explorer provides applications with various resources, such as localized strings, icons, images, layout files, video files, and more.

[0071] 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.

[0072] 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.

[0073] 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.

[0074] The Surface Manager is used to manage the display subsystem and provides the blending of 2D and 3D layers for multiple applications.

[0075] 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.

[0076] The 3D graphics processing library is used to implement 3D graphics drawing, image rendering, compositing, and layer processing.

[0077] A 2D graphics engine is a graphics engine for 2D drawing.

[0078] 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.

[0079] 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.

[0080] 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.

[0081] 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.

[0082] Electronic devices can display different windows based on user actions. In some scenarios, when displaying a new window, the electronic device may take a screenshot of the wallpaper and then set the screenshot as the content displayed in the new window; the wallpaper screenshot becomes the background of the new window. However, this method has many problems, which will be explained below in conjunction with a graphical user interface (GUI).

[0083] Figure 3 A set of GUIs provided in embodiments of this application is shown.

[0084] like Figure 3 As shown in (a), the electronic device displays an interface 301, which includes a wallpaper and a status bar 302. The electronic device can display icons for multiple applications in the status bar 302. The wallpaper in interface 301 is the desktop wallpaper. When the electronic device detects that the user has launched the task center, it can display icons such as... Figure 3 The GUI shown in (b) is illustrated in this application embodiment. In this embodiment, the desktop wallpaper can be understood as the wallpaper corresponding to the desktop displayed by the electronic device.

[0085] In some possible embodiments, interface 301 may correspond to two windows, one of which is a wallpaper window and the other is a desktop window. The wallpaper window is used to display the wallpaper in interface 301, and the desktop window is used for interface elements in interface 301 other than the wallpaper, such as the status bar 302 and the application icons in the status bar 302.

[0086] In some possible embodiments, interface 301 may correspond to three windows: one is a wallpaper window, one is a desktop window, and one is a status bar window. The wallpaper window is used to display the wallpaper in interface 301, the desktop window is used for interface elements in interface 301 other than the wallpaper and the taskbar (such as application icons, etc., not shown in the figure), and the status bar window is used to display the status bar 302 and the icons of the applications in the status bar 302.

[0087] This application does not specifically limit the user's operation of launching the task center. For example, launching the task center can be done via voice command. Another example is launching the task center by pressing a shortcut key.

[0088] like Figure 3As shown in (b), in response to a user's activation of the task center, the electronic device can display interface 303, which is the interface of the task center. Interface 303 may include one or more task cards, such as task card 304 and task card 305, and may also include a background wallpaper. The task cards displayed by the electronic device can be thumbnails of running applications. When the electronic device detects a user clicking on a task card, in response to this action, it can display the interface of the application corresponding to the task card in full screen.

[0089] The electronic device can take a screenshot of the wallpaper in interface 301, then blur it to generate the background wallpaper in interface 303. (Comparison) Figure 3 As can be seen from (a) and (b), the wallpaper in interface 301 is a clear wallpaper, while the wallpaper in interface 303 is a blurry wallpaper. The background wallpaper and task cards in interface 303 can correspond to a window, which can be called a task center window; that is, this task center window can hold both the background wallpaper and the task cards. Therefore, the electronic device display interface 303 can also be called the electronic device display task center window.

[0090] It should be understood that, Figure 3 In the example shown in (b), the electronic device also displays a wallpaper window and a desktop window, where the wallpaper window can be obscured by the task center window.

[0091] Figure 4 This illustration shows a window change diagram provided in an embodiment of this application, wherein, Figure 4 This corresponds to a schematic diagram of the window changes when the electronic device switches from display interface 301 to display interface 303.

[0092] Figure 4 (a) shows the window hierarchy of the electronic device on display interface 301. Figure 4 As shown in (a), the electronic device can display a wallpaper window and a desktop window, where the desktop window has a higher hierarchy than the wallpaper window. In other words, the electronic device makes interface 301 visible to the user by displaying the wallpaper window and the desktop window.

[0093] Figure 4 (b) shows the window hierarchy of the electronic device on display interface 302. Figure 4 As shown in (b), an electronic device can display a wallpaper window, a desktop window, and a task center window, wherein the desktop window has a higher hierarchy than the wallpaper window, and the task center window has a higher hierarchy than the desktop window.

[0094] Continue to refer to Figure 4In (b), the Task Center window includes a background wallpaper (or background panel). When this background wallpaper is blurred, it can also be called a blurred wallpaper or blurred background panel. Electronic devices can display task cards on this background wallpaper. The background wallpaper of the Task Center window is obtained by taking a screenshot of the wallpaper in the wallpaper window and then blurring it.

[0095] Depend on Figure 4 It is known that when an electronic device detects a user exiting the task center, it can exit the task center window and display the desktop and wallpaper windows in response. Since the background wallpaper is displayed in the task center window, it will also exit simultaneously when the device exits. However, in some scenarios, if the electronic device's wallpaper is a live wallpaper, the background wallpaper in the task center window may not match the animation of the wallpaper currently displayed in the wallpaper window when the device exits the task center, resulting in a jump and a poor user experience. Furthermore, the background wallpaper in the application center window is a static wallpaper, not a live wallpaper, because it is captured as a screenshot.

[0096] For example, a live wallpaper might consist of 100 frames. When the electronic device detects that the user has launched the Task Center while displaying the 50th frame, it can respond by launching the Task Center, blurring the 50th frame, and then using this blurred 50th frame as the blurred wallpaper for the Task Center. However, if the electronic device detects that the user has exited the Task Center, it can exit the Task Center. At this point, the live wallpaper currently displayed in the wallpaper window might be the first frame, resulting in a discontinuous animation from frame 50 to frame 1, which degrades the user experience. Furthermore, if the wallpaper window displays a live wallpaper while the application center window has a static background wallpaper, a sudden transition from the live wallpaper to the static wallpaper when the device moves from the desktop to the Task Center also degrades the user experience.

[0097] Figure 5 A set of GUIs provided in embodiments of this application is shown.

[0098] like Figure 5As shown in (a), the electronic device displays interface 501, which is a task center interface. Interface 501 may include one or more task cards, such as task card 502 and task card 503. Interface 501 may also include a background wallpaper, which is a blurred wallpaper. Similar to the description above, the electronic device display interface 501 can also be called the electronic device display task center window. When the electronic device detects that the user has switched from the task center to the application center, in response to this operation, it can gradually display, as shown in (a). Figure 5 The GUIs shown in (b) and (c) are shown in the image.

[0099] like Figure 5 As shown in (b) and (c), when an electronic device exits the task center, it can first display interface 504 and then display interface 505. Interface 504 includes a wallpaper, and interface 504 is related to... Figure 3 The interface 505 is the same as interface 301 in the previous example; it is the application center interface. The electronic device can display icons for one or more applications on interface 505, such as application icon 506 and application icon 507. The electronic device can also display a background wallpaper on interface 505, which is a blurred wallpaper. It should be understood that the method for generating the background wallpaper in interface 505 can be found above, and for simplicity, it will not be repeated here. The background wallpaper and application icons in interface 505 correspond to a window, which can be called the application center window. This application center window can hold the blurred wallpaper and the application icons. Therefore, the electronic device display interface 505 can also be called the electronic device display application center window.

[0100] Figure 6 This illustration shows a window change diagram provided in an embodiment of this application, wherein, Figure 6 This corresponds to a schematic diagram of the window changes when an electronic device switches from display interface 501 to display interface 505.

[0101] Figure 6 (a) shows the window hierarchy of the electronic device on display interface 501. Figure 6 As shown in (a), the electronic device can display a wallpaper window, a desktop window, and a task center window, where the desktop window has a higher hierarchy than the wallpaper window, and the task center window has a higher hierarchy than the desktop window. The task center window includes a background wallpaper (or background panel), which can also be called a blurred wallpaper or blurred background panel when it is a blurred wallpaper. The electronic device can display task cards on this background wallpaper. The wallpaper of the task center window can be obtained by taking a screenshot of the wallpaper in the wallpaper window and then blurring it.

[0102] like Figure 6As shown in (a) and (b), when the electronic device detects a switch from the Task Center to the Application Center, it can exit the Task Center window, thereby displaying the wallpaper window and desktop window located below the Task Center window. In other words, the electronic device displays... Figure 5 The GUIs shown in (a) and (b) are shown in the image.

[0103] like Figure 6 As shown in (b) and (c), after an electronic device exits the Task Center window, it can launch the Application Center window, which has a higher hierarchy than the desktop window. The Application Center window includes a blurred wallpaper (or blurred background), which can also be called a blurred wallpaper or blurred background. The electronic device can display application icons on this background wallpaper. The background wallpaper of the Application Center window is obtained by taking a screenshot of the wallpaper in the wallpaper window and then blurring it.

[0104] Depend on Figure 6 It is known that when an electronic device detects a switch from the Task Center to the Application Center, it can respond by first exiting the Task Center window and then launching the Application Center window. However, in this process, after exiting the Task Center window and before launching the Application Center window, the electronic device only displays the Wallpaper window and the Desktop window. Therefore, for the user, if the background wallpaper is a blurry wallpaper and the wallpaper in the Wallpaper window is a clear wallpaper, the user will see a process of blurry wallpaper changing to clear wallpaper and then back to blurry wallpaper, resulting in a double transition and creating a negative user experience.

[0105] In summary, the method of reusing one window as the content of another window by taking a screenshot has many problems. Based on this, this application provides a method for managing windows. When an electronic device needs to reuse a window, it can call the data of the window to be reused, generate and display a cloned window, realize decoupled management of windows, and help improve the user experience.

[0106] Figure 7 This illustration shows a schematic flowchart of a method for managing a window according to an embodiment of this application. This method can be executed by an electronic device or by a component of the electronic device (e.g., a processor, chip system, etc.). The following description uses an electronic device as the executing entity. Figure 7 As shown, the method 700 includes:

[0107] S701 displays a first interface, which includes a wallpaper.

[0108] For example, such as Figure 3As shown, the electronic device displays an interface 301, which may include a wallpaper.

[0109] In some possible embodiments, the wallpaper of the first interface may be a wallpaper corresponding to the theme or a wallpaper set by the user (such as an image taken or downloaded by the user as the wallpaper).

[0110] In some possible embodiments, the wallpaper of the first interface may be a live wallpaper.

[0111] In some possible embodiments, the wallpaper of the first interface may be a static wallpaper.

[0112] In some possible embodiments, the first interface includes a wallpaper window and a desktop window, and the electronic device can display the first interface by displaying the wallpaper window and the desktop window, wherein the wallpaper window may include the wallpaper.

[0113] S702, in response to the operation of launching the first window, generates a wallpaper clone window based on the wallpaper.

[0114] The electronic device detects the operation of launching the first window and, in response, can obtain the rendering data associated with the wallpaper in the wallpaper window; that is, the electronic device can obtain the wallpaper's rendering data. The electronic device can then generate a wallpaper clone window based on this wallpaper's rendering data, using the wallpaper's rendering data as the rendering data for the wallpaper clone window.

[0115] It is understandable that since electronic devices use the same rendering data to draw the wallpaper window and the wallpaper clone window, the content displayed in the wallpaper window and the wallpaper clone window can be the same.

[0116] For example, if the wallpaper is a live wallpaper, the wallpaper window can display the wallpaper's animation effects, and the wallpaper clone window can also display the wallpaper's animation effects.

[0117] In this application embodiment, the method by which the electronic device sets the rendering data of the wallpaper clone window to be the same as the rendering data of the wallpaper window is not specifically limited. The following is an example of a possible implementation.

[0118] Electronic devices can access a rendering node tree, a tree-like data structure representing the elements to be rendered and their relationships. The electronic device can determine the rendering node corresponding to each window within this tree. When the electronic device determines that a wallpaper clone window needs to be generated, it can identify the rendering node corresponding to the wallpaper window from the rendering node tree and then configure the wallpaper clone window to reuse that node. Because the wallpaper clone window and the wallpaper window reuse the same rendering node, the content displayed in the wallpaper window and the wallpaper clone window can be identical after rendering.

[0119] In some possible embodiments, the first window may be the application window.

[0120] In some possible embodiments, the first window may be a window of the task center.

[0121] In some possible embodiments, the first window may be a window of the application center.

[0122] S703 displays a first window and a wallpaper clone window, wherein the wallpaper clone window serves as the background of the first window.

[0123] Electronic devices can render a first window and a wallpaper clone window to display them. When displaying the first window and the wallpaper clone window, the electronic device can use the wallpaper clone window as the background of the first window.

[0124] Figure 8 A schematic diagram of a cloning window provided in an embodiment of this application is shown.

[0125] like Figure 8 As shown, the electronic device can acquire the rendering data of the wallpaper window and then use this rendering data as the rendering data of the wallpaper clone window. The electronic device can render both the wallpaper window and the wallpaper clone window so that the displayed content of the wallpaper window and the wallpaper clone window is the same.

[0126] In some possible embodiments, the electronic device acquires the wallpaper's rendering data and can simultaneously perform real-time rendering on both the wallpaper window and the wallpaper clone window based on this data. This ensures that when the wallpaper is a live wallpaper, the animation progress displayed in both the wallpaper window and the wallpaper clone window is synchronized. Real-time rendering refers to the process of generating images instantly without interrupting user interaction.

[0127] In some possible embodiments, the electronic device can render the wallpaper rendering data in advance, so that when the cloned wallpaper window needs to be displayed, the rendering result can be obtained to display the cloned wallpaper window.

[0128] To facilitate understanding, the following will be combined with... Figure 9 Please provide an explanation.

[0129] Figure 9 A schematic diagram of window changes provided in an embodiment of this application is shown.

[0130] like Figure 9 As shown in (a), the electronic device displays a wallpaper window and a desktop window, which can constitute a first interface.

[0131] like Figure 9As shown in (b), when the electronic device detects an operation to initiate the first window, it can generate a first window and a wallpaper clone window in response to the operation. The electronic device can also acquire the rendering data of the wallpaper window and use the rendering data as the rendering data of the wallpaper clone window. The electronic device can render the first window and the cloned wallpaper window to display the first window and the cloned wallpaper window, wherein the first window has a higher layer than the cloned wallpaper window.

[0132] In this embodiment, when the electronic device launches the first window, a wallpaper clone window can be generated based on the wallpaper, and this wallpaper clone window can be used as the background of the first window. Compared to using a wallpaper screenshot as the display content of the first window and as the background, this embodiment reuses wallpaper data by generating a window, thus decoupling the first window and the background wallpaper and improving the granularity of window management. This wallpaper clone window is independent of the first window and its display content is independent of the first window, avoiding jump issues when the electronic device switches windows. This wallpaper clone window can carry dynamic wallpapers, allowing the background of the first window to be dynamic, improving the display effect of the first window on the electronic device and enhancing the user experience.

[0133] For example, when the wallpaper is a live wallpaper, the content displayed in the wallpaper clone window can also be dynamic, which increases the sophistication of the image and helps to improve the user experience.

[0134] In addition, decoupling the background of the first window from the other content in the first window ensures that the background content does not change when the electronic device exits or switches to the first window, which helps to improve the user experience.

[0135] In some possible embodiments, the electronic device may perform one or more processing on the wallpaper clone window before displaying the first window and the wallpaper clone window. This application embodiment does not specifically limit the processing method. Several possible processing methods are described below by example.

[0136] For example, the electronic device can also blur the wallpaper clone window. Understandably, when the electronic device blurs the wallpaper clone window, the wallpaper in the clone window becomes less distinct compared to the wallpaper in the main wallpaper window, allowing the user's attention to focus more on the primary window.

[0137] For example, electronic devices can also adjust the transparency of the wallpaper clone window.

[0138] In some possible embodiments, the method 700 further includes: in response to the operation of switching from the first window to the second window, exiting the first window and displaying the second window while keeping the wallpaper clone window displayed.

[0139] When an electronic device is displaying a first window and a second window, it detects an operation to switch from the first window to the second window. In response to this operation, it can exit the first window and display the second window. During the process of exiting the first window and displaying the second window, the electronic device continues to display a wallpaper clone window, which serves as the background of the second window.

[0140] like Figure 9 As shown in (b) and (c), the electronic device detects the operation of switching from the first window to the second window, and in response to this operation, can exit the first window. After exiting the first window, the electronic device continues to display the cloned wallpaper window. While displaying the cloned wallpaper window, the electronic device can launch the second window. The following section combines... Figure 10 The following explanation uses the example of the first window being the task center window and the second window being the application center window.

[0141] Figure 10 A set of GUIs provided in embodiments of this application is shown.

[0142] like Figure 10 As shown in (a) and (b), the electronic device displays a blurred wallpaper 1001, a task card 1002, and a task card 1003. The blurred wallpaper 1001 corresponds to the cloned wallpaper window, and task cards 1002 and 1003 correspond to the task center window. When the electronic device detects a switch from the task center window to the application center window, in response to this operation, it can maintain the display of the blurred wallpaper 1001 (i.e., maintain the display of the cloned wallpaper window) and display multiple application icons, such as application icon 1004 and application icon 1005. Throughout this process, the blurred wallpaper 1001 remains unchanged.

[0143] contrast Figure 5 and Figure 10 As can be seen, the management window method provided in this application embodiment sets up a cloned wallpaper window for displaying blurred wallpapers. This wallpaper cloned window is independent of the first window and its display content is independent of the first window. During the switching between the two windows, the electronic device always displays the cloned wallpaper window, thereby avoiding the problem of wallpaper jumping during the switching process. Moreover, the electronic device does not need to render the background of the two windows twice, reducing the system load.

[0144] In some possible embodiments, the method 700 further includes:

[0145] In response to the action of exiting the first window, exit both the first window and the wallpaper clone window.

[0146] When an electronic device starts the first window, it can display both the first window and the wallpaper clone window. When the electronic device exits the first window, the wallpaper clone window can also be exited.

[0147] In this embodiment, when the electronic device exits the first window, the wallpaper clone window can also exit simultaneously. Since the wallpaper clone window is generated based on the wallpaper of the first interface, when the wallpaper of the first interface is a live wallpaper, the animation effects displayed in the wallpaper clone window and the animation effects of the first interface are synchronized when the electronic device exits the first window and the wallpaper clone window, avoiding the problem of abrupt transitions.

[0148] Figure 11 This illustration shows a schematic flowchart of a method for managing a window according to an embodiment of this application. This method can be executed by an electronic device or by a component of the electronic device (e.g., a processor, chip system, etc.). The following description uses an electronic device as the executing entity. Figure 11 As shown, the method 1100 includes:

[0149] S1101, Display the first interface, which includes the wallpaper.

[0150] It should be understood that the description of S1101 can be found above, and for the sake of brevity, it will not be repeated here.

[0151] S1102, in response to the operation of launching the first window, determines whether the wallpaper is a live wallpaper.

[0152] The electronic device detects the operation of launching the first window. In response to the operation, it can determine whether the wallpaper is a live wallpaper. If the wallpaper is a live wallpaper, it can execute subsequent steps S1103 and S1104. If the wallpaper is not a live wallpaper, it can execute steps S1105 and S1106.

[0153] S1103, Generate a wallpaper clone window based on this wallpaper.

[0154] S1104, Display the first window and the wallpaper clone window, wherein the wallpaper clone window is the background of the first window.

[0155] It should be understood that the descriptions of S1103 and S1104 can be found above, and will not be repeated here for the sake of brevity.

[0156] S1105, take a screenshot of the wallpaper on the first screen and generate a wallpaper screenshot.

[0157] S1106, Display the first window and use the wallpaper screenshot as the background of the first window.

[0158] When an electronic device determines that the triggering condition has not been met, it can take a screenshot of the wallpaper on the first screen and then use the screenshot as the background of the first window. That is, the window illustration can be as follows: Figure 6 As shown in (a) in the figure.

[0159] In this embodiment, before generating a wallpaper clone window, the electronic device can first determine whether the wallpaper is a live wallpaper. If the wallpaper is a live wallpaper, a wallpaper clone window can be generated and used as the background of the first window. If the wallpaper is a static wallpaper, a screenshot can be taken and used as the background of the first window. By configuring trigger conditions, this application allows the electronic device to reuse wallpapers in two ways, improving the diversity and flexibility of the management window.

[0160] In some possible embodiments, the method 1100 further includes:

[0161] S1107, in response to the operation of switching from window #1 to window #2, determine whether the number of window switching times is less than a threshold.

[0162] When an electronic device detects a switch from window #1 to window #2, it can determine the number of times the window has been switched. If the number is greater than or equal to a threshold, it executes steps S1108 and S1109; if the number is less than the threshold, it executes step S1110. The number of times the window has been switched can be the number of times the user has previously switched windows.

[0163] S1108, Generate a wallpaper clone window based on this wallpaper.

[0164] S1109, Switch window #1 to window #2 and display the wallpaper clone window, wherein the wallpaper clone window is the background of window #2.

[0165] S1110, switch window #1 to window #2 and set the wallpaper screenshot as the background of window #2.

[0166] It should be understood that the descriptions of S1108-S1110 can be found above, and will not be repeated here for the sake of brevity.

[0167] The method for managing the window provided in the embodiments of this application has been described in detail above. In the various embodiments of this application, unless otherwise specified or in case of logical conflict, 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.

[0168] The foregoing primarily describes the management window method provided in the embodiments of this application from the perspective of an electronic device. It is understood that, in order to achieve the above functions, the electronic device includes corresponding hardware structures and / or software modules for executing each function. Those skilled in the art should readily recognize that, based on the algorithm steps of the examples described in conjunction with the embodiments disclosed herein, this application can be implemented in hardware or a combination of hardware and computer software. Whether a function is executed in hardware or by computer software driving hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.

[0169] When each function is divided into different modules (or units) to correspond to its specific function, Figure 12 This illustration shows a schematic diagram of the composition of an electronic device 1200 provided in an embodiment of this application, as shown below. Figure 12 As shown, the electronic device 1200 includes a window management module 1210 and a rendering module 1220. The window management module 1210 includes a window service module 1211 and a window module 1212, wherein the window service module 1211 manages the windows in the window module 1212. The window module 1212 includes multiple windows, such as a status bar window, a task center window, an application center window, a clone wallpaper window, an application window, a desktop window, and a wallpaper window. The window service module 1211 can perform lifecycle management, window hierarchy management, and window session management for windows.

[0170] The rendering module 1220 includes nodes corresponding to the windows in the window module 1212, such as status bar window node, task center window node, application center window node, clone wallpaper window node, application window node, desktop window and wallpaper window node, each node is used to render the corresponding window.

[0171] The rendering module 1220 is used to render the wallpaper window and the desktop window to display a first interface, which includes the wallpaper.

[0172] The window management module 1210 is used to generate the first window and generate a wallpaper clone window based on the wallpaper in response to the operation of starting the first window.

[0173] The rendering module 1220 is also used to render the first window and the wallpaper clone window to display the first window and the wallpaper clone window.

[0174] In some possible embodiments, the rendering module 1220 renders the wallpaper window while simultaneously rendering the first window and the wallpaper clone window.

[0175] In some possible embodiments, the rendering module 1220 is also used to blur the wallpaper clone window.

[0176] In some possible embodiments, the window management module 1210 is further configured to generate a second window and exit the first window in response to an operation of switching from a first window to a second window.

[0177] The rendering module 1220 is also used to render the second window in order to display the second window.

[0178] In some possible embodiments, the window management module 1210 is also configured to exit the first window and the wallpaper clone window in response to an operation of exiting the first window.

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

[0180] 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.

[0181] 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.

[0182] 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.

[0183] 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.

[0184] 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.

[0185] 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.

[0186] 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.

[0187] 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.

[0188] 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 method for managing windows, characterized in that, The method includes: Display a first interface, which includes a wallpaper; In response to the operation of launching the first window, a wallpaper clone window is generated based on the wallpaper; Display the first window and the wallpaper clone window, wherein the wallpaper clone window is the background of the first window.

2. The method according to claim 1, characterized in that, The method further includes: The wallpaper clone window is blurred.

3. The method according to claim 1 or 2, characterized in that, The method further includes: In response to the operation of switching from the first window to the second window, while keeping the wallpaper clone window displayed, the first window is exited and the second window is displayed, wherein the wallpaper clone window is the background of the second window.

4. The method according to claim 3, characterized in that, The first window is the application center window, and the second window is the task center window.

5. The method according to claim 3, characterized in that, The first window is the window corresponding to the first application, and the second window is the window corresponding to the second application.

6. The method according to any one of claims 1 to 5, characterized in that, The method further includes: In response to the operation of exiting the first window, the first window and the wallpaper clone window are exited and the first interface is displayed.

7. The method according to any one of claims 1 to 6, characterized in that, The window displaying the wallpaper clone includes: The wallpaper clone window is rendered in real time based on the wallpaper's rendering data, and then displayed.

8. The method according to any one of claims 1 to 7, characterized in that, The first window is a full-screen window.

9. The method according to any one of claims 1 to 8, characterized in that, The wallpaper in question is a live wallpaper.

10. 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 of any one of claims 1 to 9 to be performed.

11. 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 9 to be performed.

12. 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 9 is executed.

13. 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 9.