Display method and electronic device

CN122653473APending Publication Date: 2026-08-28HUAWEI TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510217004.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-02-26
Publication Date
2026-08-28

AI Technical Summary

Technical Problem

上述窗口显示方式不利用电子设备在PC模式和平板模式之间进行切换时灵活高效的显示窗口,实用性较低

Benefits of technology

[0005] In this method, the electronic device can respond to the first operation by switching multiple displayed windows into a tabbed display format. This allows for focused display of the content in one window, facilitating immersive viewing and improving the overall viewing experience. Simultaneously, tabs enable users to easily and quickly switch between different windows, further enhancing switching efficiency and the viewing experience. Based on this method, the electronic device can display multiple windows in various formats, improving the efficiency and practicality of multi-window displays. For example, the electronic device can display multiple windows in PC mode, and when switching to tablet mode, it can use the above method for display, enabling flexible and efficient multi-window display during mode switching, thus offering high practicality.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122653473A_ABST
    Figure CN122653473A_ABST
Patent Text Reader

Abstract

The application provides a display method and an electronic device. The method comprises: displaying a first window and a second window on a display screen; in response to a received first operation, displaying a first page tab, a second page tab and a first interface on the display screen; wherein the first page tab is used for identifying the first window, the second page tab is used for identifying the second window, and the first interface comprises content in the first window. The method can be applied in a scenario where the electronic device is switched from a personal computer (PC) mode to a tablet mode. The method can improve the efficiency and practicability of window display.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of electronic device technology, and more particularly to a display method and an electronic device. Background Technology

[0002] To improve user experience, some electronic devices (such as laptops) are increasingly supporting switching between personal computer (PC) mode and tablet mode. Currently, in PC mode, electronic devices can display one or more application windows simultaneously, and the size and position of each window can be freely adjusted by the user. In tablet mode, electronic devices can only display one application window in full screen or, upon user intervention, two application windows can be displayed simultaneously in split-screen mode. These window display methods do not utilize the flexible and efficient window display capabilities of electronic devices when switching between PC and tablet modes, resulting in lower practicality. Summary of the Invention

[0003] This application provides a display method and electronic device to improve the efficiency and practicality of window display.

[0004] In a first aspect, embodiments of this application provide a display method applied to an electronic device, the method comprising: displaying a first window and a second window on a display screen; and, in response to a received first operation, displaying a first tab, a second tab, and a first interface on the display screen; wherein the first tab is used to identify the first window, the second tab is used to identify the second window, and the first interface includes the content of the first window.

[0005] In this method, the electronic device can respond to the first operation by switching multiple displayed windows into a tabbed display format. This allows for focused display of the content in one window, facilitating immersive viewing and improving the overall viewing experience. Simultaneously, tabs enable users to easily and quickly switch between different windows, further enhancing switching efficiency and the viewing experience. Based on this method, the electronic device can display multiple windows in various formats, improving the efficiency and practicality of multi-window displays. For example, the electronic device can display multiple windows in PC mode, and when switching to tablet mode, it can use the above method for display, enabling flexible and efficient multi-window display during mode switching, thus offering high practicality.

[0006] In one possible design, the first operation is used to instruct the electronic device to switch from PC mode to tablet mode.

[0007] In one possible design, after displaying a first tab, a second tab, and a first interface on the display screen, the method further includes: updating the first interface to a second interface in response to a second operation acting on the second tab; wherein the second interface includes the content of the second window.

[0008] Based on this method, electronic devices can easily and quickly switch display interfaces, making it convenient for users to operate and view.

[0009] In one possible design, the first display area containing the first window and the second display area containing the second window do not overlap or only partially overlap. This method is highly practical and can be applied to scenarios where electronic devices display multiple windows in a stacked manner or in a non-full-screen format without stacking multiple windows.

[0010] In one possible design, the method further includes: displaying a third window on the display screen; wherein the third window occupies a portion of a display area in a third display region on the display screen, and a taskbar or dock is displayed in a display area other than the third display region on the display screen; in response to a received third operation, adjusting the third window to full-screen display and not displaying the taskbar or dock; wherein the third operation is used to instruct the third window to be displayed in full-screen mode.

[0011] Based on the above method, electronic devices can avoid displaying the taskbar or dock when displaying windows in full screen, allowing users to immerse themselves in viewing the content in the window and helping to improve viewing efficiency and experience.

[0012] In one possible design, after adjusting the third window to full-screen display and disabling the taskbar or dock in response to a received third operation, the method further includes: displaying the taskbar or dock in response to a received fourth operation; wherein the taskbar or dock covers a portion of the third window.

[0013] Based on the above method, after an electronic device displays a window in full screen, it can display a taskbar or dock according to user needs, which helps to improve the user experience.

[0014] In one possible design, the method further includes: displaying a fourth window in full screen on the display screen; wherein the electronic device is in tablet mode; and displaying a third tab, a fourth tab, and a third interface in response to a received fifth operation; wherein the fifth operation is used to instruct the display of the fifth window, the third tab is used to identify the fourth window, the fourth tab is used to identify the fifth window, and the third interface includes the content of the fifth window.

[0015] Based on the above method, electronic devices in tablet mode can display multiple windows in a tabbed manner, which makes it easier for users to immerse themselves in viewing the content of the current window, and also allows users to easily and quickly switch between different windows, thereby improving operating efficiency and user experience.

[0016] In one possible design, after displaying the third tab, the fourth tab, and the third interface in response to a received fifth operation, the method further includes: displaying the fourth window in a fourth display area on the display screen and displaying the fifth window in a fifth display area on the display screen in response to a received sixth operation; wherein the fourth display area and the fifth display area do not overlap or partially overlap, and the sixth operation is used to instruct the electronic device to switch from tablet mode to PC mode.

[0017] Based on the above method, after the electronic device switches from tablet mode to PC mode, it displays multiple windows as independent windows, which makes it convenient for users to view multiple windows globally and perform multi-window related operations.

[0018] In a second aspect, this application provides an electronic device, the electronic device including a memory and one or more processors; wherein the memory is used to store computer program code, the computer program code including computer instructions; when the computer instructions are executed by the one or more processors, the electronic device causes the electronic device to perform the method described in the first aspect or any possible design of the first aspect.

[0019] Thirdly, this application provides a computer-readable storage medium storing a computer program that, when run on an electronic device, causes the electronic device to perform the method described in the first aspect or any possible design of the first aspect.

[0020] Fourthly, this application provides a computer program product comprising a computer program or instructions that, when executed on an electronic device, cause the electronic device to perform the method described in the first aspect or any possible design of the first aspect.

[0021] Fifthly, this application provides a chip system including a processor and a memory, wherein the memory stores instructions; when the instructions are executed by the processor, they implement the methods described in the first aspect or any possible design of the first aspect. The chip system may be composed of chips or may include chips and other discrete devices.

[0022] The beneficial effects of the second to fifth aspects mentioned above can be found in the beneficial effects of the first aspect mentioned above, and will not be repeated here. Attached Figure Description

[0023] Figure 1 A schematic diagram of the hardware architecture of an electronic device provided in an embodiment of this application;

[0024] Figure 2 A schematic diagram of the software architecture of an electronic device provided in an embodiment of this application;

[0025] Figure 3 A schematic diagram of a single-window display interface in PC mode provided for an embodiment of this application;

[0026] Figure 4 A schematic diagram of a multi-window display interface in PC mode provided in an embodiment of this application;

[0027] Figure 5 A schematic diagram of a multi-window display interface in PC mode provided in an embodiment of this application;

[0028] Figure 6 A schematic diagram of a full-screen window display interface in PC mode provided for an embodiment of this application;

[0029] Figure 7 A schematic diagram of a full-screen window display interface in PC mode provided for an embodiment of this application;

[0030] Figure 8 A schematic diagram of a multi-window display interface in PC mode provided in an embodiment of this application;

[0031] Figure 9 A schematic diagram of a desktop interface in PC mode provided for an embodiment of this application;

[0032] Figure 10 A schematic diagram of a window display interface in tablet mode provided in an embodiment of this application;

[0033] Figure 11 A schematic diagram of a window display interface in tablet mode provided in an embodiment of this application;

[0034] Figure 12 A schematic diagram illustrating a display method provided in an embodiment of this application;

[0035] Figure 13 A schematic diagram illustrating a display method provided in an embodiment of this application;

[0036] Figure 14 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. Detailed Implementation

[0037] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the embodiments of this application will be further described in detail below with reference to the accompanying drawings.

[0038] In the description of the embodiments of this application, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of indicated technical features. Therefore, a feature defined with "first" and "second" may explicitly or implicitly include one or more of that feature.

[0039] It should be understood that in the embodiments of this application, "at least one" means one or more, and "more than one" means two or more. "And / or" describes the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: 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. "At least one of the following" or similar expressions refer to any combination of these items, including any combination of single or plural items. For example, at least one of a, b, or c can represent: a, b, c, a and b, a and c, b and c, or a, b, and c, where a, b, and c can be single or multiple.

[0040] To improve the efficiency and usability of window display, embodiments of this application provide a display method and an electronic device. This method can be applied to electronic devices. In this method, when switching between PC mode and tablet mode, the electronic device can flexibly and efficiently switch the display format of multiple windows to adapt to the user's usage needs in different modes, thereby improving the usability of window display. Furthermore, in PC mode, the electronic device can also display windows in full-screen mode in a reasonable manner to further enhance the user's immersive experience.

[0041] In some embodiments of this application, the electronic device may be a portable device, such as a laptop, tablet, in-vehicle terminal, augmented reality (AR) / virtual reality (VR) device, ultra-mobile personal computer (UMPC), netbook, personal digital assistant (PDA), smart home device (e.g., smart TV), smart robot, workshop equipment, wireless terminal in self-driving, wireless terminal in remote medical surgery, wireless terminal in smart grid, wireless terminal in transportation safety, wireless terminal in smart city, or wireless terminal in smart home, flying equipment (e.g., smart robot, drone, airplane), etc.

[0042] In some embodiments of this application, the electronic device may also be a portable terminal device that includes other functions. Exemplary embodiments of the portable terminal device include, but are not limited to, carrying... Alternatively, it could be a portable terminal device with another operating system. The aforementioned portable terminal device could also be other portable terminal devices, such as a laptop computer with a touch-sensitive surface (e.g., a touch panel). It should also be understood that in some other embodiments of this application, the aforementioned electronic device may not be a portable terminal device, but rather a desktop computer with a touch-sensitive surface (e.g., a touch panel).

[0043] For a description of the performance of electronic devices, please refer to the relevant descriptions below.

[0044] See below. Figure 1 The structure of the electronic device to which the method provided in the embodiments of this application is applicable will be described.

[0045] like Figure 1 As shown, the electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a USB interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an input unit 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, an indicator 192, a camera 193, a display screen 194, etc.

[0046] The sensor module 180 may include a gyroscope sensor, an accelerometer, a proximity sensor, a fingerprint sensor, a touch sensor, a temperature sensor, a pressure sensor, a distance sensor, a magnetic sensor, an ambient light sensor, a barometric pressure sensor, a bone conduction sensor, etc.

[0047] Understandable Figure 1 The electronic device 100 shown is merely an example and does not constitute a limitation on the electronic device. The electronic device may have more or fewer components than those shown in the figure, may combine two or more components, or may have different component configurations. Figure 1 The various components shown can be implemented in hardware, software, or a combination of hardware and software, including one or more signal processing and / or application-specific integrated circuits.

[0048] Processor 110 may include one or more processing units, such as application processors (APs), modem processors, graphics processing units (GPUs), image signal processors (ISPs), controllers, memory, video codecs, digital signal processors (DSPs), baseband processors, and / or neural network processing units (NPUs). Different processing units may be independent devices or integrated into one or more processors. The controller may serve as the central nervous system and command center of the electronic device 100. The controller can generate operation control signals based on instruction opcodes and timing signals to control instruction fetching and execution.

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

[0050] The execution of the display method provided in this application embodiment can be controlled by the processor 110 or by calling other components. For example, it can call the processing program of this application embodiment stored in the internal memory 121, or call the processing program of this application embodiment stored in a third-party device through the external memory interface 120 to control the wireless communication module 160 to perform data communication with other devices, thereby improving the intelligence and convenience of the electronic device 100 and enhancing the user experience. The processor 110 may include different devices. For example, when integrating a CPU and a GPU, the CPU and GPU can cooperate to execute the display method provided in this application embodiment. For example, some algorithms in the display method can be executed by the CPU, and other algorithms can be executed by the GPU to achieve faster processing efficiency.

[0051] 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 Miniled 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 screens 194, where N is a positive integer greater than 1. Display screen 194 can be used to display information input by the user or information provided to the user, as well as various graphical user interfaces (GUIs). For example, display screen 194 can display videos, web pages, or documents, etc.

[0052] In this embodiment of the application, the display screen 194 can be a single flexible display screen, or it can be a splicing display screen composed of two rigid screens and a flexible screen located between the two rigid screens.

[0053] Camera 193 (a front-facing camera or a rear-facing camera, or a single camera that can function as both) is used to capture still images or videos. Typically, camera 193 may include a photosensitive element such as a lens assembly and an image sensor. The lens assembly includes multiple lenses (convex or concave lenses) for collecting light signals reflected from the object being photographed and transmitting these signals to the image sensor. The image sensor generates a raw image of the object being photographed based on the light signals.

[0054] The internal memory 121 can be used to store computer executable program code, which includes instructions. The processor 110 executes various functional applications and data processing of the electronic device 100 by running the instructions stored in the internal memory 121. The internal memory 121 may include a program storage area and a data storage area. The program storage area can store the operating system, application program code (such as the functions corresponding to the scheme in this application), etc. The data storage area can store data created during the use of the electronic device 100.

[0055] The internal memory 121 may also store one or more computer programs corresponding to the algorithm of this application. The one or more computer programs are stored in the internal memory 121 and configured to be executed by one or more processors 110. The one or more computer programs include instructions that can be used to perform the various steps in the following embodiments.

[0056] In addition, the 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.

[0057] Of course, the algorithm code of the embodiment of this application can also be stored in external memory. In this case, the processor 110 can run the algorithm code of the embodiment of this application stored in external memory through the external memory interface 120.

[0058] A touch sensor, also known as a "touch panel," can be located on the display screen 194. The touch sensor and display screen 194 together form a touch display screen, also called a "touch screen." The touch sensor detects touch operations applied to or near it. The touch sensor can transmit the detected touch operation to the application processor to determine the type of touch event. Visual output related to the touch operation can be provided through the display screen 194. In other embodiments, the touch sensor may also be located on the surface of the electronic device 100, in a different position than the display screen 194.

[0059] The wireless communication function of electronic device 100 can be implemented through antenna 1, wireless communication module 160, modem processor and baseband processor, etc.

[0060] Antenna 1 is 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 antenna can be used in conjunction with a tuning switch.

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

[0062] 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 (WiFi) 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 1, performs frequency modulation and filtering of the electromagnetic wave signal, 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 1. In this embodiment, the wireless communication module 160 can be used to establish connections with other electronic devices for data interaction. Alternatively, the wireless communication module 160 can be used to access access point devices, send control commands to other electronic devices, or receive data from other electronic devices.

[0063] The input unit 150 can be used to receive editing operations on various types of data objects, such as numbers or characters, input by the user, and to generate key signal inputs related to user settings and function control of the electronic device 100. Optionally, the input unit 150 may include a touch panel and other input devices. The touch panel, also known as a touchscreen, can collect user touch operations on or near it (e.g., operations performed by the user using a finger, stylus, or any suitable object or accessory on or near the touch panel) and drive corresponding connection devices according to a pre-set program. In this embodiment, the touch panel can collect user operations on the desktop display interface, such as dragging operations on a windowed display window. Optionally, other input devices may include, but are not limited to, one or more of a physical keyboard, function keys (e.g., volume control buttons, power buttons), trackball, mouse, joystick, etc. For example, when the electronic device 100 is a laptop computer, other input devices may be a mouse and / or keyboard.

[0064] In addition, the electronic device 100 can implement audio functions through an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, a headphone jack 170D, and an application processor. Examples include music playback and recording. The electronic device 100 can receive input from buttons 190, generating key signal inputs related to user settings and function control. The indicator 192 in the electronic device 100 can be an indicator light, used to indicate charging status, battery level changes, messages, notifications, etc.

[0065] It should be understood that, in practical applications, electronic device 100 may include more than Figure 1 The number of more or fewer components shown is not limited in the embodiments of this application. The illustrated electronic device 100 is merely an example, and the electronic device 100 may have more or fewer components than shown in the figure, may combine two or more components, or may have different component configurations. The various components shown in the figure may be implemented in hardware, software, or a combination of hardware and software, including one or more signal processing and / or application-specific integrated circuits.

[0066] Optionally, the software system of electronic device 100 can adopt a layered architecture, event-driven architecture, microkernel architecture, microservice architecture, or cloud architecture. A layered architecture divides the software into several layers, each with a clear role and division of labor. Layers communicate with each other through software interfaces. For example, such as... Figure 2 As shown, the software architecture can be divided into four layers, from top to bottom: the application layer, the application framework layer (framework, FWK), the runtime and system libraries, and the (Linux) kernel layer.

[0067] The application layer is the top layer of the operating system and includes native operating system applications such as calendar, Bluetooth, music, video, and email, as well as third-party applications. The applications discussed in this application embodiment are referred to as applications (APPs), which are software programs capable of performing one or more specific functions. Typically, multiple applications can be installed on an electronic device. The applications mentioned below can be system applications pre-installed at the factory or third-party applications downloaded by the user from the network or obtained from other electronic devices during the use of the electronic device.

[0068] Of course, for developers, they can write applications and install them into this layer. In one possible implementation, the application can be developed using the Java language, by calling the application programming interface (API) provided by the application framework layer. Developers can then interact with the underlying operating system (such as the kernel layer) through the application framework to develop their own applications.

[0069] The application framework layer provides the API and programming framework for the application layer. It can include predefined functions, such as a window manager, content provider, view system, resource manager, and notification manager.

[0070] The window manager is used to manage window programs. The window manager can obtain the screen size, determine if a status bar is present, lock the screen (or display), and capture the screen, among other things.

[0071] Content providers are used to store and retrieve data, and make that data accessible to applications. This data may include files (e.g., documents, videos, images, audio), text, and other information.

[0072] A view system includes visual controls, such as those that display text, images, documents, and other content. View systems can be used to build applications. The interface in a display window can consist of one or more views.

[0073] The runtime includes the core libraries and the virtual machine. The runtime is responsible for system scheduling and management.

[0074] The system's core library consists of two parts: one part contains the functionalities that the Java language needs to call, and the other part is the system's core library. The application layer and application framework layer run in a virtual machine. Taking Java as an example, the virtual machine executes the Java files in 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.

[0075] The system library can include multiple functional modules. Examples include: a surface manager, a media library, a 3D graphics processing library (e.g., OpenGL ES), a 2D graphics engine (e.g., SGL), and an image processing library. The surface manager manages the display subsystem and provides fusion of 2D and 3D layers for multiple applications. 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.564, MP3, AAC, AMR, JPG, and PNG. The 3D graphics processing library implements 3D graphics drawing, image rendering, compositing, and layer processing. The 2D graphics engine is the drawing engine for 2D graphics.

[0076] The kernel layer provides core system services for the operating system, such as security, memory management, process management, network protocol stack, and driver models, all of which are implemented based on the kernel layer. The kernel layer also serves as an abstraction layer between the hardware and software stacks. This layer contains many drivers related to electronic devices, the main ones being: keyboard drivers as input devices; audio drivers; WiFi drivers; Bluetooth drivers; and display drivers.

[0077] It is important to understand that the functional services described above are just an example. In practical applications, electronic devices may be divided into more or fewer functional services based on other factors, or the functions of each service may be divided in other ways, or they may not be divided into functional services but work as a whole.

[0078] The solutions provided in the embodiments of this application will be described in detail below with reference to the accompanying drawings.

[0079] PC mode refers to a mode where a device, through specific software or hardware settings, can simulate the operating interface and functions of a traditional personal computer. This mode is commonly found on devices such as laptops and tablets, and can provide an experience similar to a traditional desktop operating system by connecting external monitors and keyboards. Devices equipped with PC mode significantly improve their convenience and usability in both office and entertainment scenarios by providing an interface similar to a traditional desktop operating system, supporting features such as multi-window functionality, taskbars, and file management.

[0080] Tablet mode is an operating mode specifically designed for tablets and touchscreen devices, aiming to optimize the touch operation experience. In this mode, users can control the system with their fingers, enjoying a more intuitive and convenient way of operation. Tablet mode redesigns the interface layout, increasing the size and spacing of buttons, making touch operation more precise and comfortable. In tablet mode, applications run and open in full-screen mode by default, making full use of the display space.

[0081] In this embodiment of the application, the electronic device can support operation in PC mode or tablet mode, and can switch between PC mode and tablet mode.

[0082] The following example illustrates the window display scheme for electronic devices in PC mode.

[0083] Example 1

[0084] In some embodiments of this application, the electronic device can display one or more windows on the screen in a non-full-screen manner in PC mode. The interface of the electronic device displaying one or more windows may include a taskbar or a dock. The dock can also be called a Dock bar. For ease of description, the taskbar is used as an example in the following embodiments. Multiple windows may include windows belonging to the same application and / or windows belonging to different applications. Each window may occupy a portion of the display area on the electronic device's screen. The display areas occupied by different windows may partially overlap (i.e., different windows may be displayed in layers) or may not overlap. In the embodiments of this application, the window may be an application window. An application window refers to a window used to run applications in an operating system. In a computer system, the application window is the most basic window type. Users can open, edit, and close files and perform various operations within an application window. Each application can open multiple application windows, and users can switch between multiple application windows.

[0085] For example, taking a laptop computer as an example of an electronic device, such as Figure 3 As shown, in PC mode, the electronic device can display the first application window in a non-full-screen format. Or, as... Figure 4 or Figure 5 As shown, in PC mode, the electronic device can display the first and second application windows in a non-full-screen format. For example, Figure 4 As shown, the first application window and the second application window can be stacked. Figure 5 As shown, the first application window and the second application window do not need to overlap. The first application window and the second application window can be windows of the same application or windows of different applications. Figures 3 to 5As shown, when an electronic device displays one or more application windows in a non-full-screen mode, the taskbar will be displayed on the screen if the user has not previously set it to hide. If the user has previously set it to hide, the taskbar will automatically hide in any scenario because this setting is global.

[0086] It should be understood that Figure 3 , Figure 4 , Figure 5 The size, position, content, relative positional relationships, and application relationships of the application windows shown are for illustrative purposes only and do not limit the way electronic devices display windows in a non-full-screen manner in the embodiments of this application.

[0087] In some embodiments of this application, after an electronic device displays one or more windows in a non-full-screen manner in PC mode, it can respond to a received first user operation to display the first window in full-screen mode without displaying the taskbar. The first user operation can be used to instruct the first window to be displayed in full-screen mode. After being displayed in full-screen mode, the first window occupies the entire display area on the screen. For example, the first user operation can be a user clicking a control shown in the first window that instructs full-screen display. It should be understood that the first user operation can also be any other pre-configured and implementable operation, and no specific limitations are imposed in the embodiments of this application.

[0088] For example, in Figure 3 or Figure 4 or Figure 5 In the scenario shown, the electronic device can respond to an operation that instructs the first application window to be displayed in full screen, from the display Figure 4 The interface shown has switched to display. Figure 6 The interface shown. (As shown) Figure 6 As shown, the first application window occupies the entire display area of ​​the screen after switching to full-screen display.

[0089] In one possible implementation, after the electronic device displays a first window in one or more windows in full-screen mode, it can display a taskbar on top of the first window in response to a received second user operation. The second user operation instructs the display of the taskbar, and the taskbar's interface can partially cover the interface of the first window; that is, the electronic device can display the taskbar as a floating bar (or floating window). In this scenario, after the electronic device displays the taskbar on top of the first window, the first window can still occupy the entire display area on the screen. Optionally, after the electronic device displays the taskbar on top of the first window, it can also hide the taskbar in response to a received third user operation. The third user operation instructs the user to hide the taskbar. For example, the second user operation could be a user swiping upwards from the bottom of the screen; in this scenario, the taskbar's display position on the screen can be located in the lower area of ​​the screen. The third user operation could be a user swiping downwards from the bottom of the screen. It should be understood that the second and third user operations can also be any other pre-configured and implementable operations, and no specific limitations are imposed in this embodiment.

[0090] For example, in Figure 6 In the scenario shown, the electronic device can respond to a user swiping up from the bottom of the display screen, from the display... Figure 6 The interface shown has switched to display. Figure 7 The interface shown. (As shown) Figure 7 As shown, the electronic device can display a taskbar on top of the first application window displayed in full screen, at the bottom of the display. Optionally, in the display... Figure 7 After the interface shown, the electronic device can also switch to displaying a different screen in response to the user swiping down from the bottom of the display. Figure 6 The interface shown above hides the taskbar. Based on this method, electronic devices do not display the taskbar when the application window is displayed in full screen, improving the user's immersive experience when viewing window content. Furthermore, electronic devices can flexibly show or hide the taskbar based on user needs, facilitating other operations.

[0091] In another possible approach, after the electronic device displays a first window in full-screen mode across one or more windows, it can respond to a received fourth user operation by displaying a second window on top of the first window in a non-full-screen manner. The fourth user operation is used to instruct the display of the second window. Based on this approach, if the electronic device needs to display other windows simultaneously after displaying a window in full-screen mode, these other windows can be overlaid on the already full-screen window. Optionally, after the electronic device displays a second window on top of the first window in a non-full-screen manner, it can also respond to a received fifth user operation by switching to displaying the desktop. For example, the fifth user operation could be a swipe-up operation from the bottom of the display screen. It should be understood that the aforementioned fourth and fifth user operations can be any pre-configured and implementable operations, and no specific limitations are imposed in this embodiment.

[0092] For example, in Figure 6 In the scenario shown, the electronic device can respond to a received operation instructing the display of a second application window, from the display... Figure 6 The interface shown has been switched to display. Figure 8 The interface shown. (As shown) Figure 8 As shown, the second application window opened by the user can be displayed as a floating window overlaid on the first window. Figure 8 Following the interface shown, the electronic device can also respond to an operation instructing the display of a third application window, continuing to display the third application window overlaid on the first window. Alternatively, in the display... Figure 8 After the interface shown, the electronic device can also switch to displaying a screen in response to an operation indicating a return to the desktop. Figure 9 The desktop interface shown.

[0093] The following examples, exemplified by Embodiments 2 and 3, provide a detailed description of the window display scheme for scenarios where electronic devices switch between PC mode and tablet mode.

[0094] Example 2: Switching from PC mode to tablet mode

[0095] In some embodiments of this application, the electronic device, in PC mode, can display multiple windows as described in Embodiment 1 above. After displaying multiple windows, the electronic device can, in response to a received sixth user operation, switch to displaying multiple windows via tabs. Tabs can be used to display multiple interfaces (or windows), and different interfaces can be identified by different tabs (or labels). Users can switch the currently displayed interface by clicking different tabs. The aforementioned sixth user operation is used to indicate switching from PC mode to tablet mode. The sixth user operation can be any pre-configured and implementable operation, and no specific limitations are imposed in the embodiments of this application. When the electronic device displays multiple windows via tabs, it can specifically display the tab (or label) of each window and the interface of the first window among the multiple windows. The tab of each window is used to identify the window, and the interface of the first window is used to display the content of the first window; the interface of the first window can also be understood as the page of the first window.

[0096] Optionally, the first window can be a window that the user views or operates before the mode switch (i.e., before switching from PC mode to tablet mode), or it can be a window that is displayed on top before the mode switch. For example, the window can be the window that the user is looking at before the mode switch, or the window where the cursor is standing before the mode switch, etc. Optionally, the tabs of the first window can be distinguished from the tabs of other windows by highlighting or underlining, so as to highlight the currently displayed window.

[0097] In some embodiments of this application, after an electronic device displays multiple windows via tabs, it can respond to a user's click on a tab and display the interface of the window corresponding to that tab.

[0098] For example, in Figure 4 or Figure 5 In the scenario shown, the electronic device can respond to a user's action instructing it to switch from PC mode to tablet mode, from the display... Figure 4 or Figure 5 The interface shown has been switched to display. Figure 10 The interface shown. (As shown) Figure 10 As shown, after switching to tablet mode, the interface displayed by the electronic device can include a first tab of a first application window, a second tab of a second application window, and a first interface for displaying the content of the first application window. The first tab identifies the first application window, and the second tab identifies the second application window. Based on this method, when the electronic device switches from PC mode to tablet mode, it can easily, efficiently, and logically display multiple windows, facilitating user viewing and operation.

[0099] Electronic devices in display Figure 10After the interface shown, it can also switch to displaying a different screen in response to the user clicking the second tab. Figure 11 The interface shown. (As shown) Figure 11 As shown, the interface includes a first tab of a first application window, a second tab of a second application window, and a second interface for displaying the content of the second application window. Based on this method, electronic devices can easily and quickly switch between display interfaces in tablet mode, facilitating user operation and viewing.

[0100] For example, in Figure 8 In the scenario shown, when an electronic device switches from PC mode to tablet mode, it can also display multiple windows using the method described above.

[0101] In the above method, after the electronic device switches from PC mode to tablet mode, it displays multiple windows in a tabbed manner, which makes it easy for users to immerse themselves in viewing the content of the current window, and also makes it easy for users to switch between different windows quickly and easily, thereby improving operating efficiency and user experience.

[0102] Example 3: Switching from Tablet Mode to PC Mode

[0103] In some embodiments of this application, when an electronic device needs to display one window in tablet mode, it can display it in full screen. When an electronic device needs to display multiple windows in tablet mode, it can refer to the method described in Embodiment 2 to display multiple windows in a tab manner.

[0104] In one possible scenario, after the electronic device displays the first window in full-screen mode, it can respond to the user's action of opening a second window by displaying the tabs of the first window, the tabs of the second window, and the interface of the second window. In this scenario, the electronic device can also respond to the user's action of clicking the tab of the first window, switching the interface of the second window to the interface of the first window. Alternatively, the electronic device can also respond to the user's action of opening a third window by displaying the tabs of the first window, the tabs of the second window, the tabs of the third window, and the interface of the third window. The first and second windows can be windows of the same application or windows of different applications, and the same applies to the third window.

[0105] In one example, the electronic device can display the first application window in full-screen mode in tablet mode; for example, the electronic device can display... Figure 6 The interface shown is illustrated. In this scenario, the electronic device can switch to displaying a second application window in response to a received instruction to do so. Figure 11 The interface shown. (As shown) Figure 11 As shown, the interface may include a first tab of a first application window, a second tab of a second application window, and a second interface for displaying the content of the second application window.

[0106] In some embodiments of this application, after the electronic device displays multiple windows in tablet mode via tabs, it can switch to displaying each window in the multiple windows in a non-full-screen manner in response to a received seventh user operation, that is, switch to displaying multiple windows as described in Embodiment 1. The seventh user operation is used to indicate a switch from tablet mode to PC mode. The seventh user operation can be any pre-configured and implementable operation, and no specific limitations are imposed in this embodiment. Optionally, if the electronic device displays multiple windows in a stacked manner after switching from tablet mode to PC mode, the topmost window among the multiple windows can be the window displayed by the electronic device before the mode switch.

[0107] For example, in Figure 11 In the scenario shown, the electronic device can respond to a user's action instructing it to switch from tablet mode to PC mode, from the display... Figure 11 The interface shown has been switched to display. Figure 4 or Figure 5 The interface shown. (As shown) Figure 4 or Figure 5 As shown, after switching to PC mode, the interface displayed on the electronic device can include a first application window and a second application window that are not displayed in full screen. Based on this method, when the electronic device switches from tablet mode to PC mode, it can easily, efficiently, and reasonably display multiple windows, making it convenient for users to view and operate.

[0108] In the above method, when the electronic device is in tablet mode, it displays multiple windows in a tabbed manner, allowing users to immerse themselves in viewing the content of the current window and easily switch between different windows, thereby improving operational efficiency and user experience. After switching from tablet mode to PC mode, the electronic device displays multiple windows in a non-full-screen, i.e., floating window manner, allowing users to view multiple windows globally and perform multi-window-related operations.

[0109] It should be understood that the implementation processes provided in the embodiments one to three above are merely illustrative examples of the applicable method processes in the embodiments of this application. The execution order of each step in each embodiment can be adjusted according to actual needs, and other steps can be added or some steps can be removed. The execution order between steps that are not temporally related in each embodiment can be arbitrary, and this application does not impose any restrictions on this.

[0110] It should be noted that the application scenarios provided in the above embodiments are merely illustrative examples of the applicable scenarios of the embodiments of this application, and do not limit the applicable scenarios of the solutions of this application. Some methods or the same technical concepts provided in any of the above embodiments can also be applied in other embodiments or other scenarios, or can be combined with the methods provided in other embodiments. Specifically, they can be applied in combination with specific embodiments or specific scenarios, and will not be listed and described one by one in this application.

[0111] Based on the above embodiments and the same technical concept, this application also provides a display method, such as... Figure 12 As shown, the method may include:

[0112] S1201: The electronic device displays a first window and a second window on the display screen.

[0113] The first window and the second window can be windows of the same application or windows of different applications.

[0114] In some embodiments of this application, the first display area where the first window is located and the second display area where the second window is located do not overlap or partially overlap. Where the first and second display areas partially overlap, the first window and the second window can be displayed in a stacked manner. For example, the first and second display areas can each be partial display areas on the display screen. Alternatively, within the first and second display areas, one display area can be the entire display area on the display screen, and the other display area can be a partial display area on the display screen.

[0115] In one example, the first window can be Figure 4 or Figure 5 The first application window shown can be the second window. Figure 4 or Figure 5 The second application window shown.

[0116] In another example, the first window can be Figure 8 The first application window and the second application window shown are one of the windows, and the second window can be... Figure 8 The first application window and another window in the second application window are shown.

[0117] S1202: In response to the received first operation, the electronic device displays a first tab, a second tab, and a first interface on the display screen; wherein the first tab is used to identify a first window, the second tab is used to identify a second window, and the first interface includes the content of the first window.

[0118] In some embodiments of this application, the electronic device can display the first and second windows described above in PC mode. In this scenario, the first operation can be used to instruct the electronic device to switch from PC mode to tablet mode.

[0119] In one example, the first operation can be the sixth user operation described in the foregoing embodiments, and the first tab can be... Figure 10 The first tab shown, the second tab can be Figure 10 The second tab shown can be used as the first interface. Figure 10 The first interface shown.

[0120] In some embodiments of this application, after the electronic device displays a first tab, a second tab, and a first interface on the display screen, it can also update the first interface to the second interface in response to a second operation acting on the second tab; wherein the second interface includes the content of a second window. For example, when the first tab is... Figure 10 The first tab shown, the second tab is Figure 10 The second tab shown above has the first interface as... Figure 10 When the first interface is shown, the second operation can be a user click. Figure 10 The operation of the second tab shown indicates that, in response to this operation, the electronic device can... Figure 10 The first interface shown is switched to Figure 11 The second interface shown.

[0121] In some embodiments of this application, after the electronic device displays a first tab, a second tab, and a first interface on the display screen in response to a received first operation, it may also re-display the first window and the second window on the display screen in response to a received operation instructing the electronic device to switch from tablet mode to PC mode.

[0122] In one possible method provided in this application embodiment, the electronic device can display a third window on the display screen; wherein, the third window occupies a portion of the display area of ​​the third display area on the display screen, and the taskbar or dock is displayed in the display area other than the third display area. For example, the third window may be... Figure 4 or Figure 5 The first application window is shown in the diagram. After displaying the third window, the electronic device can also, in response to a received third operation, adjust the third window to full-screen display and disable the taskbar or dock; wherein, the third operation is used to instruct the third window to be displayed in full-screen mode. For example, the third operation can be the first user operation described in the foregoing embodiments, and the full-screen third window can be... Figure 6The third window is shown in the diagram. After the electronic device adjusts the third window to full-screen display and hides the taskbar or dock in response to a received third operation, it can also display the taskbar or dock in response to a received fourth operation; wherein the taskbar or dock covers a portion of the third window. For example, the fourth operation can be the second user operation described in the foregoing embodiments, which the electronic device can refer to. Figure 7 The method shown responds to the received fourth action by displaying the taskbar or dock.

[0123] Optionally, before displaying the first and second windows, the electronic device may also refer to the method of displaying a third window and the taskbar or dock on the electronic device to perform full-screen related display for the first or second window.

[0124] The specific steps performed by the electronic device in the above method can be found in the relevant descriptions in the foregoing embodiments, and will not be repeated here.

[0125] Based on the above embodiments and the same technical concept, this application also provides a display method, such as... Figure 13 As shown, the method may include:

[0126] S1301: The electronic device displays a fourth window in full screen on the display screen; wherein the electronic device is in tablet mode.

[0127] S1302: In response to the received fifth operation, the electronic device displays a third tab, a fourth tab, and a third interface; wherein the fifth operation is used to instruct the display of a fifth window, the third tab is used to identify the fourth window, the fourth tab is used to identify the fifth window, and the third interface includes the content of the fifth window.

[0128] In some embodiments of this application, the electronic device can display a fourth window in full-screen mode. In this scenario, the fifth operation can be used to instruct the electronic device to switch from tablet mode to PC mode.

[0129] In one example, the fourth window can be Figure 7 The first application window shown can have its first tab as follows: Figure 11 The first tab shown, the second tab can be Figure 11 The second tab shown, the third interface can be Figure 10 The second interface shown.

[0130] In some embodiments of this application, after the electronic device displays the third tab, the fourth tab, and the third interface in response to the received fifth operation, it may also display the fourth window in the fourth display area and the fifth window in the fifth display area on the display screen in response to the received sixth operation; wherein the fourth display area and the fifth display area do not overlap or partially overlap, and the sixth operation is used to instruct the electronic device to switch from tablet mode to PC mode.

[0131] For example, the sixth user operation can be the seventh user operation described in the foregoing embodiments, where the electronic device displays... Figure 11 After the interface shown, it can switch to display in response to the received sixth operation. Figure 4 or Figure 5 or Figure 8 The interface shown.

[0132] Optionally, after displaying the fourth and fifth windows, the electronic device can also refer to the method used to display the third window and the taskbar or dock to display the fourth or fifth window in full screen.

[0133] The specific steps performed by the electronic device in the above method can be found in the relevant descriptions in the foregoing embodiments, and will not be repeated here.

[0134] Based on the above embodiments and the same technical concept, this application also provides an electronic device for implementing the display method provided in this application. Figure 14 As shown, electronic device 1400 may include: memory 1401, one or more processors 1402, and one or more computer programs (not shown). These devices may be coupled via one or more communication buses 1403. Optionally, electronic device 1400 may also include a display screen 1404.

[0135] The memory 1401 stores one or more computer programs (code), and the one or more computer programs include computer instructions; one or more processors 1402 call the computer instructions stored in the memory 1401, causing the electronic device 1400 to execute the display method provided in the above-described embodiments of this application.

[0136] In a specific implementation, memory 1401 may include high-speed random access memory and may also include non-volatile memory, such as one or more disk storage devices, flash memory devices, or other non-volatile solid-state storage devices. Memory 1401 may store an operating system (hereinafter referred to as the system), such as embedded operating systems like Android, iOS, Windows, or Linux. Memory 1401 can be used to store implementation programs of the embodiments of this application. Memory 1401 may also store network communication programs, which can be used to communicate with one or more additional devices, one or more user devices, or one or more network devices.

[0137] One or more processors 1402 may be a general-purpose central processing unit (CPU), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits for controlling the execution of programs according to the present application.

[0138] Display screen 1404 is used to display application interfaces and other related user interfaces.

[0139] It should be noted that, Figure 14 This is merely one implementation of the electronic device 1400 provided in this application embodiment. In practical applications, the electronic device 1400 may include more or fewer components, as detailed in the following references. Figure 1 The specific structure and description shown are not limited here.

[0140] Based on the above embodiments and the same technical concept, this application also provides a computer-readable storage medium storing a computer program that, when run on a computer, causes the computer to perform the method provided in the above embodiments.

[0141] Based on the above embodiments and the same technical concept, this application also provides a computer program product, which includes a computer program or instructions. When the computer program or instructions are run on a computer, the computer performs the method provided in the above embodiments.

[0142] Based on the above embodiments and the same technical concept, this application also provides a computer program product, which includes a computer program or instructions. When the computer program or instructions are run on a computer, the computer performs the method provided in the above embodiments.

[0143] The methods provided in this application can be implemented, in whole or in part, through software, hardware, firmware, or any combination thereof. When implemented in software, they can be implemented, in whole or in part, in the form of a computer program product. A computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, all or part of the flow or function according to the embodiments of the present invention is generated. The computer can be a general-purpose computer, a special-purpose computer, a computer network, a network device, a user equipment, or other programmable device. Computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, computer instructions can be transmitted from one website, computer, server, or data center to another via wired (e.g., coaxial cable, fiber optic, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) means. A 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 integrates one or more available media. Available media can be magnetic media (e.g., floppy disks, hard disks, magnetic tapes), optical media (e.g., digital video discs (DVDs), or semiconductor media (e.g., SSDs), etc.

[0144] Obviously, those skilled in the art can make various modifications and variations to this application without departing from the scope of this application. Therefore, if such modifications and variations fall within the scope of the claims of this application and their equivalents, this application also intends to include such modifications and variations.

Claims

1. A display method applied to an electronic device, characterized in that, The method includes: Display the first and second windows on the screen; In response to the received first operation, a first tab, a second tab, and a first interface are displayed on the display screen; wherein the first tab is used to identify the first window, the second tab is used to identify the second window, and the first interface includes the content of the first window.

2. The method as described in claim 1, characterized in that, The first operation is used to instruct the electronic device to switch from PC mode to tablet mode.

3. The method as described in claim 1 or 2, characterized in that, After displaying the first tab, the second tab, and the first interface on the display screen, the method further includes: In response to a second operation performed on the second tab, the first interface is updated to a second interface; wherein the second interface includes the content of the second window.

4. The method according to any one of claims 1 to 3, characterized in that, The first display area where the first window is located does not overlap or only partially overlaps with the second display area where the second window is located.

5. The method according to any one of claims 1 to 4, characterized in that, The method further includes: A third window is displayed on the display screen; wherein the third window occupies a portion of the display area of ​​the third display area on the display screen, and the taskbar or dock is displayed in the display area other than the third display area on the display screen; In response to the received third operation, the third window is adjusted to full-screen display, and the taskbar or dock is not displayed; wherein the third operation is used to instruct the third window to be displayed in full-screen mode.

6. The method as described in claim 5, characterized in that, After adjusting the third window to full-screen display in response to the received third operation, and disabling the taskbar or dock, the method further includes: In response to the received fourth operation, the taskbar or dock is displayed; wherein the taskbar or dock covers a portion of the third window.

7. The method according to any one of claims 1 to 6, characterized in that, The method further includes: The fourth window is displayed in full screen on the display screen; wherein the electronic device is in tablet mode; In response to the received fifth operation, a third tab, a fourth tab, and a third interface are displayed; wherein, the fifth operation is used to instruct the display of a fifth window, the third tab is used to identify the fourth window, the fourth tab is used to identify the fifth window, and the third interface includes the content of the fifth window.

8. The method as described in claim 7, characterized in that, After displaying the third tab, the fourth tab, and the third interface in response to the received fifth operation, the method further includes: In response to the received sixth operation, the fourth window is displayed in the fourth display area on the display screen, and the fifth window is displayed in the fifth display area on the display screen; wherein the fourth display area and the fifth display area do not overlap or partially overlap, and the sixth operation is used to instruct the electronic device to switch from tablet mode to PC mode.

9. An electronic device, characterized in that, The electronic device includes a memory and one or more processors; The memory is used to store computer program code, which includes computer instructions; when the computer instructions are executed by the one or more processors, the electronic device performs the method as described in any one of claims 1 to 8.

10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when run on an electronic device, causes the electronic device to perform the method as described in any one of claims 1 to 8.

11. A computer program product, characterized in that, The computer program product includes a computer program or instructions that, when executed on an electronic device, cause the electronic device to perform the method as described in any one of claims 1 to 8.