Window display methods, electronic devices, and computer-readable storage media
By determining the background of the display interface in electronic devices, the application content can be displayed in full screen, solving the problem of poor visual experience caused by floating window display and improving user comfort and visual experience.
Patent Information
- Application Number
- CN202411164139.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-07-01
- Publication Date
- 2025-10-31
- Estimated Expiration
- 2042-07-01
AI Technical Summary
In existing technologies, when electronic devices open applications on a desktop background, they are usually displayed as floating windows, resulting in a poor user visual experience and failing to meet the natural field of view and comfort requirements of the human eye.
When a specific control is opened, the system determines whether the current display interface is the desktop background. If so, the application content is displayed in full screen; otherwise, it is displayed as a floating window, satisfying the user's preference for full-screen display under the desktop background.
It improves the user's visual experience, meets the natural field of view of the human eye, and enhances the user's comfort for single-task applications and the demand for full-screen display.
Smart Images

Figure CN119248135B_ABST
Abstract
Description
[0001] This application is a divisional application. The original application has the application number 202210774306.7 and the original application date is July 1, 2022. The entire contents of the original application are incorporated herein by reference. Technical Field
[0002] This application relates to the field of electronic technology, and more particularly to a method for displaying a window, an electronic device, and a computer-readable storage medium. Background Technology
[0003] With the advancement of technology, electronic devices are developing rapidly. Users typically install various applications (apps) on their electronic devices, and can open them in multiple ways after installation. For example, they can open the application by clicking the application icon on the desktop, or by pulling up the side panel and clicking the application icon from there. Summary of the Invention
[0004] In view of this, the present invention provides a window display method and an electronic device, which can open an application in full screen when the display interface is a desktop background.
[0005] This application provides a method for displaying a window and an electronic device. The application is described below from multiple perspectives, and the embodiments and beneficial effects described below can be referenced interchangeably.
[0006] In a first aspect, the present invention provides a window display method applied to an electronic device, the method comprising: receiving an opening operation for a specific control displayed on the screen of the electronic device; responding to the opening operation and determining that the current display interface of the electronic device is a desktop background, displaying the content of an application in full screen; or determining that a program is running on the current display interface of the electronic device, displaying the application content in a floating window mode on the electronic device.
[0007] The operation of opening a specific control can be by clicking the application from the side application bar or by clicking the application from the drop-down window. The floating window is used to display the content of the application corresponding to the specific control in a size smaller than the desktop background.
[0008] In the above implementation, when the electronic device detects the user's opening operation on a specific control displayed on the screen and determines that the current display interface is the desktop background, it can display the application content in full screen, thereby improving the user's visual experience.
[0009] In conjunction with the first aspect, in some implementations of the first aspect, the open operation is to click a specific control at least once; or to drag a specific control. For example, clicking the application banner in a drop-down window, clicking the application in the side application bar, etc.
[0010] In conjunction with the first aspect, in some implementations of the first aspect, a particular control is a pop-up control, such as a notification message bar.
[0011] In conjunction with the first aspect, in some implementations of the first aspect, a pop-up control is a notification message control that pops up. For example, it could be an application notification banner in a drop-down window.
[0012] In conjunction with the first aspect, in some implementations of the first aspect, the open operation is a drag operation performed on the horizontal bar of the pop-up notification message control. For example, the application notification banner in the drop-down window can be dragged.
[0013] In conjunction with the first aspect, in some implementations of the first aspect, the pop-up control is a pop-up application bar, for example, it could be a side application bar.
[0014] In conjunction with the first aspect, in some implementations of the first aspect, the open operation is a click operation on the application icon in the pop-up application bar. For example, one can click on the application icon in the side application bar.
[0015] In conjunction with the first aspect, in some implementations of the first aspect, a particular control is a floating control, such as a side-mounted floating ball.
[0016] In conjunction with the first aspect, in some implementations of the first aspect, the open operation is a direct open operation for floating controls, for example, clicking the side floating ball.
[0017] In conjunction with the first aspect, in some implementations of the first aspect, the open operation refers to the operation of opening the application icon corresponding to the floating control on the desktop. For example, if the side floating ball corresponds to a desktop application, clicking the side floating ball will open the desktop application corresponding to the side floating ball.
[0018] This application also provides an electronic device, including:
[0019] The receiving module is used to receive the opening operation of a specific control displayed on the screen of an electronic device. The opening operation is used to present the content of the application corresponding to the specific control in a floating window.
[0020] The processing module is used to respond to the opening operation and, if it is determined that the current display interface of the electronic device is the desktop background, to display the application content in full screen through the display module; or, if it is determined that a program is already running on the current display interface of the electronic device, to display the application content in a floating window through the display module.
[0021] In conjunction with the first aspect, in some implementations of the second aspect, the open operation is to click a specific control at least once; or, to drag a specific control.
[0022] In conjunction with the first aspect, in some implementations of the second aspect, a specific control is a pop-up control.
[0023] In conjunction with the first aspect, in some implementations of the second aspect, pop-up controls are pop-up notification message controls, such as notification message bars.
[0024] In conjunction with the first aspect, in some implementations of the second aspect, the open operation is a drag operation performed on the horizontal bar of the pop-up notification message control.
[0025] In conjunction with the first aspect, in some implementations of the second aspect, pop-up controls are pop-up application bars, such as sidebars.
[0026] In conjunction with the first aspect, in some implementations of the second aspect, the open operation is a click operation on the application icon in the pop-up application bar.
[0027] In conjunction with the first aspect, in some implementations of the second aspect, certain controls are floating controls, such as floating balls.
[0028] In conjunction with the first aspect, in some implementations of the second aspect, the open operation is a direct open operation for floating controls.
[0029] In conjunction with the first aspect, in some implementations of the second aspect, the open operation is an open operation for the application icon on the desktop corresponding to the floating control.
[0030] In a second aspect, this application also provides an electronic device, comprising: a memory for storing instructions to be executed by one or more processors of the device, and a processor for executing the instructions to cause the electronic device to perform any one of the methods of the technical solution in the first aspect.
[0031] Thirdly, this application also provides a computer-readable storage medium storing a computer program, which, when executed by a processor, causes the processor to perform any one of the methods in the first aspect of the technical solution.
[0032] Fourthly, this application also provides a computer program product containing instructions that, when the computer program product is run on an electronic device, causes the processor to execute any one of the methods in the technical solution of the first aspect. Attached Figure Description
[0033] Figure 1 This is a schematic diagram of an interface for opening a floating window on a mobile phone according to one embodiment of this application;
[0034] Figure 2 This is a schematic diagram illustrating the visible area of a mobile phone screen viewed by the human eye according to an embodiment of this application;
[0035] Figure 3 This is a schematic diagram illustrating the user group's preference for launching a chat app under different backgrounds, according to one embodiment of this application.
[0036] Figure 4 This is a mobile phone interface diagram according to an embodiment of this application;
[0037] Figure 5 This is a schematic diagram of the structure of an electronic device according to an embodiment of this application;
[0038] Figure 6 This is a software structure block diagram of an electronic device according to an embodiment of this application;
[0039] Figure 7 A flowchart illustrating a window display method according to an embodiment of this application;
[0040] Figure 8 A flowchart illustrating another window display method according to an embodiment of this application;
[0041] Figure 9 This is a schematic diagram of the user interface for opening an application window via a sidebar on a desktop background, according to one embodiment of this application.
[0042] Figure 10 This is a schematic diagram of the user interface for opening an application window via a sidebar in a non-desktop background, according to an embodiment of this application.
[0043] Figure 11 This is a schematic diagram of the application whitelist interface according to an embodiment of this application;
[0044] Figure 12 This is a schematic diagram of the interface operation of an application in the whitelist during runtime, according to an embodiment of this application.
[0045] Figure 13 A schematic diagram illustrating the interface operation of opening an application window in the notification message bar according to an embodiment of this application;
[0046] Figure 14 A schematic diagram illustrating the interface operation of opening an application window for a floating ball according to an embodiment of this application;
[0047] Figure 15 Another interface operation diagram for opening an application window with a floating ball according to an embodiment of this application;
[0048] Figure 16 This is a block diagram of a system-on-a-chip according to some embodiments of this application. Detailed Implementation
[0049] The technical solutions in the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings.
[0050] To facilitate understanding of the technical solution of this application, the technical problem to be solved by this application will be described first.
[0051] In some solutions, when a user taps an application control on the home screen (which is the background of the screen), the application opens as a small window (floating window). For example, the user can tap an application control (application icon) in the sidebar, or tap an application that is already open and minimized to a floating ball, or the corresponding application in the notification bar, etc.
[0052] For example, such as Figure 1 , Figure 1 This shows a schematic diagram of the interface for opening a floating window on a mobile phone. For example... Figure 1 As shown in (a) of the diagram, in interface 101 with the desktop as the background, when the user pulls up the sidebar 102 and clicks the "Calculator" application icon in the sidebar, the application window is displayed as a floating window. Figure 1 As shown in (b) in the diagram, in interface 103, the background on the screen is the desktop background, and the calculator application is opened in the screen as a floating window.
[0053] In the above scenario, because the phone only recognizes the user's input method when opening the application when executing the window display command, for example, as described above... Figure 1 As shown, when an app is opened by clicking its icon in the sidebar, the phone recognizes the user's input and displays a floating window. During this process, the phone does not determine the background of the interface corresponding to the operation. In other words, regardless of whether the current background is the desktop background or the background of a running application window, clicking the app icon in the sidebar will open it in a small window.
[0054] However, due to the limitations imposed by the structure of the human eye on its visual area and angle of view, whether on a mobile phone or a tablet, users prefer to open single-task applications in full-screen mode for better visual comfort.
[0055] Taking mobile phones as an example, refer to Figure 2 , Figure 2The diagram illustrates the visible area of a mobile phone screen for the human eye. The optimal viewing distance for the human eye on the mobile phone 200 is 30 centimeters. At this distance, the visual field of the human eye is A, which is precisely when the mobile phone 200 displays the application window in full screen, providing the most comfortable visual experience. However, if the application window is displayed as a floating window 201, since the floating window 201 is smaller than the screen size, the angle between the floating window 201 and the human eye is B. This angle is smaller than the natural visual field A when the human eye is 30 centimeters away from the phone, thus failing to provide a comfortable visual experience for the user. Furthermore, when displayed as a floating window, light reflected from other parts of the screen will also be reflected back to the eyes, affecting the user's focus and reducing the user experience.
[0056] Furthermore, data statistics show that most users prefer to open a single application (single task) on their phone's interface. That is, the percentage of people who open a single application directly on the home screen is far higher than the percentage who open multiple applications simultaneously. For example... Figure 3 As shown, Figure 3 This application presents an embodiment of a statistical diagram illustrating the user group's preference for launching a chat app under different backgrounds. For example... Figure 3 As shown, taking the scenario of users opening the chat application via the sidebar as an example, the number of users who directly opened the "Chat app" from the "desktop" via the sidebar was "96,074". However, given that one application was already open, the number of users opening the "Chat app" after opening a second application (e.g., the "Camera" app) was "57,886", and the number opening the "Chat app" after opening "Game App 1" was "54,147", and so on. Figure 3 The statistics show that when the "launch background" is "desktop," the number of people opening "launch applications" is far greater than when the "launch background" is an application. This indicates that most users prefer launching applications with a desktop background. However, according to the current opening method, even with a desktop background, applications will open in a small window (floating window) rather than in full-screen mode. Based on the above... Figure 2 The analysis shows that users prefer windows to be displayed in full-screen mode when shown against a desktop background. Therefore, from... Figure 3 The data shows that there is a large demand for optimized window display, making it essential to improve the way floating windows are displayed.
[0057] In view of the above-mentioned problems, this application provides a window display method, which optimizes the logic of floating window display, thereby improving the user experience.
[0058] Combination Figure 4 The window display method of this application embodiment will be described in the scenario shown. Figure 4A mobile phone interface diagram according to an embodiment of this application is shown. Figure 4 As shown in (a), in the desktop background interface 410, when the phone receives a click (open operation) on the "Calculator" application in the sidebar (specific control) on the screen, the phone determines whether there is a running program on the current screen, such as a running application window. If there is no running program, it indicates that the current interface is the desktop background. At this time, the phone responds to... Figure 4 The operation in (a) displays the application window in full screen. For example... Figure 4 As shown in (b) of the diagram, the calculator application window is displayed in full screen in interface 420. This allows for full-screen display of the application's content when a single application is opened, even with the desktop background on, improving the user's visual experience and thus enhancing the user's overall experience.
[0059] The above scenario uses the sidebar as a specific control. In some embodiments of this application, the specific control can be other controls. For example, when an application is opened, minimized, and forms a floating ball on the desktop, the specific control can be the floating ball displayed in that scenario. Another example is when a message notification control pops up on the desktop; in this case, the specific control is the pop-up message notification control. In some embodiments, the specific control can also be recent tasks; this application does not limit the specific control used.
[0060] In the above-described scenario of this application, a single-click operation is used as one way to open an application via a floating window. In other embodiments of this application, different operations can be used to open the application for different scenarios. For example, in the scenario where the specific control described above is a floating ball, the opening operation can be a single-click operation, specifically clicking the floating ball. In this case, the phone determines whether there is a running program on the current screen, such as a running application window. If no program is running, it indicates that the current interface is the desktop background, and the application corresponding to the floating ball will display its application window in full-screen mode. Alternatively, clicking the application icon on the desktop corresponding to the floating ball can also achieve full-screen display of the corresponding application window.
[0061] For example, in the scenario of a notification message control, the opening operation can be a drag-and-drop operation. For instance, on a mobile phone, dragging the horizontal bar below the notification message control will open the application window corresponding to the notification message in full screen. In addition, it can also be opened by double-clicking or more clicks, swiping, long pressing, short pressing, knuckle tapping, or pupil gaze, etc. This application embodiment does not limit the specific opening operation.
[0062] In the above embodiments, the electronic device can be described using a mobile phone as an example, and specifically a single-screen device. In some embodiments, the electronic device can be a mobile phone, tablet, computer, or other electronic device, and the screen of the electronic device can be a single screen, a foldable screen, a curved screen, etc., which are not intended to be limiting.
[0063] The window display method of this application embodiment will be described below in conjunction with the specific structure of the electronic device.
[0064] Figure 5 A 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) connector 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.
[0065] It is understood that the structures illustrated in the embodiments of the present invention 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.
[0066] 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, video codecs, digital signal processors (DSPs), baseband processors, and / or neural network processing units (NPUs). These different processing units may be independent devices or integrated into one or more processors.
[0067] The processor 110 can generate operation control signals based on the instruction opcode and timing signals to control the instruction fetching and execution.
[0068] 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.
[0069] In some embodiments, when the processor 110 receives an open operation for a specific control, such as a click operation for an application in the sidebar, the processor determines whether the current screen is a desktop background. If so, the processor 110 controls the display screen 194 to display the corresponding application window in full screen to satisfy the visual experience of favoring full-screen display of application windows under a desktop background.
[0070] In some embodiments of this application, the processor 110 can control the display screen 194 to display the application window as a floating window if it determines that the current interface is not the desktop background. In other embodiments, after determining that there is a running application on the screen, the processor 110 can further determine whether the running application is a whitelisted application. If it is a whitelisted application, the processor 110 can also control the display screen 194 to display the clicked application in the sidebar in full screen.
[0071] It is understood that the interface connection relationships between the modules illustrated in the embodiments of the present invention are merely illustrative and do not constitute a structural limitation on the electronic device 100. In other embodiments of this application, the electronic device 100 may also employ different interface connection methods or combinations of multiple interface connection methods as described in the above embodiments.
[0072] 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.
[0073] Display screen 194 is used to display images, videos, etc. Display screen 194 includes a display panel. The display panel may 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 miniature LED, a microLED, 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.
[0074] In one embodiment, the display screen 194 implements full-screen display and floating window display modes according to the control instructions of the processor 110.
[0075] Internal memory 121 can be used to store executable program code, including instructions. 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. Processor 110 executes various functional applications and data processing of electronic device 100 by running instructions stored in internal memory 121 and / or instructions stored in memory located within the processor.
[0076] In one embodiment of this application, the internal memory 121 may store instructions for a window display method. The processor 110 runs the instructions for the window display method so that the display screen 194 of the electronic device 100 displays the application window in full screen or in the form of a floating window after receiving the user's opening operation for a specific control application.
[0077] Pressure sensor 180A is used to sense pressure signals and convert them into electrical signals. In some embodiments, pressure sensor 180A can be disposed on display screen 194. There are many types of pressure sensors 180A, such as resistive pressure sensors, inductive pressure sensors, and capacitive pressure sensors. A capacitive pressure sensor may include at least two parallel plates with conductive material. When force is applied to pressure sensor 180A, the capacitance between the electrodes changes. Electronic device 100 determines the pressure intensity based on the change in capacitance. When a touch operation is applied to display screen 194, electronic device 100 detects the touch operation intensity based on pressure sensor 180A. Electronic device 100 can also calculate the touch position based on the detection signal from pressure sensor 180A. In some embodiments, touch operations applied to the same touch position but with different touch operation intensities can correspond to different operation commands. For example: when a touch operation with an intensity less than a first pressure threshold is applied to the SMS application icon, a command to view an SMS is executed. When a touch operation with an intensity greater than or equal to the first pressure threshold is applied to the SMS application icon, a command to create a new SMS is executed.
[0078] In some embodiments, after a user drags or clicks a specific control on the display screen 194, the pressure sensor 180A senses the pressure signal from the user on the specific control and converts the pressure signal into an electrical signal. This allows the processor 110 to display the application window in full screen or as a floating window on the display screen 194 based on the user's operation on the specific control.
[0079] Touch sensor 180K, also known as a "touch device," can be located on display screen 194. The touch sensor 180K and display screen 194 together form a touchscreen, also known as a "touchscreen." Touch sensor 180K 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 display screen 194. In other embodiments, touch sensor 180K may also be located on the surface of electronic device 100, in a different position than display screen 194.
[0080] In some embodiments, when a user touches an application or bar in a specific control of the display screen 194 and performs operations such as swiping up, swiping down, or clicking, the processor 110 receives the user's operation on the specific control of the display screen 194 and, in response to the operation, controls the display screen 194 to provide visual output related to the touch operation.
[0081] The software system of electronic device 100 can adopt a layered architecture, event-driven architecture, microkernel architecture, microservice architecture, or cloud architecture. This embodiment of the invention uses the layered architecture Android system as an example to exemplify the software structure of electronic device 100.
[0082] Figure 6 This is a software structure block diagram of the electronic device 100 according to an embodiment of the present invention.
[0083] A layered architecture divides 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 Android runtime and system libraries, and the kernel layer.
[0084] The application layer can include a series of application packages.
[0085] like Figure 6 As shown, the application package may include applications such as camera, gallery, calendar, call, map, navigation, WLAN, Bluetooth, music, video, and SMS.
[0086] The application framework layer provides application programming interfaces (APIs) and a programming framework for applications in the application layer. The application framework layer includes some predefined functions.
[0087] like Figure 6 As shown, the application framework layer may include a window manager, content provider, view system, phone manager, resource manager, notification manager, etc.
[0088] The window manager is used to manage windowed applications. It can retrieve screen size, determine the presence of a status bar, lock the screen, and capture screenshots, among other things.
[0089] Content providers store and retrieve data, making that data accessible to applications. This data can include videos, images, audio, phone calls made and received, browsing history and bookmarks, phone books, and more.
[0090] A view system includes visual controls, such as controls for displaying text and controls for displaying images. View systems can be used to build applications. A display interface can consist of one or more views. For example, a display interface including a text notification icon could include views for displaying text and views for displaying images.
[0091] 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.
[0092] In one embodiment of this application, the user can interact with the notification manager. The notification manager can interact with the user through the user's operation of the horizontal bar on the notification message bar and determine the information that the user needs to open the application so that the window manager can confirm the size of the window display.
[0093] The following example, using a split-screen scenario, illustrates the workflow of the software and hardware of electronic device 100.
[0094] When touch sensor 180K receives a touch operation, a corresponding hardware interrupt is sent to the kernel layer. The kernel layer processes the touch operation into a raw input event (including touch coordinates, timestamp of the touch operation, etc.). The raw input event is stored in the kernel layer. The application framework layer retrieves the raw input event from the kernel layer and identifies the control corresponding to the input event. For example, if the touch operation is a click, and the corresponding control is the camera application in the sidebar, the camera application calls the interface of the application framework layer to launch the camera application, which in turn calls the kernel layer to launch the camera driver, displaying the shooting window in full screen and capturing still images or videos through camera 193.
[0095] The following uses a mobile phone as an example to describe in detail the window display method provided in this application embodiment. Multiple applications are installed on a mobile phone. The window display method provided in this application embodiment can be applied to applications with, for example, mobile phones with, multiple applications installed. Figure 5 The hardware structure shown, and as Figure 6 In electronic devices with the software structure shown, or in electronic devices with more or fewer components than shown, or in electronic devices with combined or separated components, or in electronic devices with different component arrangements, etc., similar hardware and software structures.
[0096] The following uses a mobile phone as an example to describe in detail the window display method of this application embodiment.
[0097] refer to Figure 7 , Figure 7 A flowchart illustrating a window display method according to an embodiment of this application is shown. The method is executed by a mobile phone and includes steps S701-S705.
[0098] S701 displays specific controls on the screen.
[0099] It should be noted that the specific controls in this application's embodiments can be the sidebars on the left and right sides of the screen. They can also be pop-up notification message controls, floating balls formed when an open application is minimized, or the application control (application icon) itself. Furthermore, in some embodiments, they can be recent tasks, etc. This application does not limit these possibilities.
[0100] In the embodiments of this application, the condition for triggering the phone to execute S701 may be that the phone receives a swipe from the left or right edge of the screen inwards, triggering the sidebar (specific control) to appear from the left or right side of the phone. Alternatively, the phone receives a minimize operation for an opened application, triggering the display of the floating ball (specific control). Or, the phone receives an application message and automatically pops up a notification bar (specific control). This application does not limit the triggering conditions.
[0101] S702 receives an open operation for a specific control.
[0102] The "open" operation can be a click (including single click, double click, and multiple clicks) or a drag operation after pressing a control. For example, pressing and dragging (dropping down) the horizontal bar below a notification control opens the selected application. These different operations can be applied to different specific controls. For instance, in a scenario where the sidebar is a specific control, the corresponding open operation could be clicking the application icon in the sidebar. Similarly, in a scenario where the floating ball is a specific control, the corresponding open operation could be clicking the floating ball itself or clicking the application corresponding to the floating ball. Furthermore, in a pop-up notification scenario, the corresponding open operation could be dragging the horizontal bar below the notification bar.
[0103] S703, in response to the open operation, determines whether the background of the currently displayed interface is the desktop background.
[0104] In embodiments of this application, the mobile phone can determine whether it is a desktop background based on the running status of application windows on the mobile phone interface. For example, if the mobile phone determines that there is a running application window on the current interface, it indicates that the current background is not a desktop background. If the mobile phone determines that there is no running application window, it indicates that the current interface is a desktop background.
[0105] In 703, if the phone determines that it is the desktop background, it will execute S704 to display the application window (the content of the application) corresponding to the specific control in full screen.
[0106] In 703, if the phone determines that it is not a desktop background, it will execute S705 and display the application window corresponding to the specific control in a floating window mode.
[0107] The window display method according to the embodiments of this application opens the application window in full screen when the desktop is the background. In non-desktop backgrounds, this window display method conforms to the user's preference for full-screen application display on a desktop background and also aligns with the natural viewing angle of the human eye. Simultaneously, in non-desktop backgrounds, the window opens as a floating window, which does not completely obscure the already running application window. By displaying different elements for the same operation based on different interface backgrounds, the user experience is improved.
[0108] It should be noted that the above description of displaying application content in full-screen mode against a desktop background is merely an illustrative example of this application. In some embodiments of this application, users can determine whether application content is displayed in full-screen mode under certain interface backgrounds by setting the interface background. For example, even when the interface background is not a desktop background, users can configure settings to allow certain applications to be covered, ensuring that application windows are still displayed in full-screen mode even when applications are running. For instance, if there is a running alarm clock application window, weather application window, calculator application window, or music application window on the current screen, the phone will also display it in full-screen mode for the application window corresponding to the specific control. These applications that are allowed to be covered can be set through a whitelist, and users can add these applications to the whitelist that allows full-screen display.
[0109] refer to Figure 8 , Figure 8 A flowchart illustrating another window display method according to an embodiment of this application is shown. This method is executed by a mobile phone, such as... Figure 8 As shown, the method includes S801-S806.
[0110] S801, displays a specific control on the screen. This step corresponds to... Figure 7 For details, please refer to the description in Figure 701.
[0111] S802 receives an open operation for a specific control. This step corresponds to... Figure 7 For details regarding 702, please refer to the description in Figure 702.
[0112] S803, in response to an open operation, determines whether the background of the currently displayed interface is the desktop background. Corresponding to... Figure 7 For details, refer to the description in Figure 703.
[0113] In S803, if it is determined to be the desktop background, then S804 is executed to display the application window corresponding to the specific control in full screen.
[0114] In S803, if it is determined that the application is not a desktop background, that is, there is a running application window in the interface, it is necessary to further determine whether it is an application in the whitelist, that is, to execute S805.
[0115] S805 determines whether a running application is a whitelisted application.
[0116] If so, execute S806 to display the application window in full screen.
[0117] If not, execute S804 to display the application window corresponding to the specific control in a floating window mode.
[0118] The window display method according to the embodiments of this application can realize the application display in full screen as much as possible to adapt to the user's usage preferences, and at the same time conform to the natural field of view of the human eye, thereby improving the user experience.
[0119] The following describes the embodiments of this application in conjunction with interface operations in several different scenarios. Figure 7 and Figure 8 The method of displaying windows in the document is described.
[0120] Scenario 1: Opening the application via the sidebar.
[0121] refer to Figure 9 , Figure 9 The diagram illustrates the user interface for opening application windows via the sidebar on a desktop background. This process corresponds to... Figure 7 The method shown. (As illustrated) Figure 9 As shown in (a) of the diagram, the desktop background is displayed in interface 910. When the user wants to open an application via the sidebar, the user swipes inward from the edge of the screen to bring up the sidebar. Figure 9 As shown in (b), the sidebar (pop-up application bar) is displayed in interface 920. When the user clicks the "Calculator" application in the sidebar, the phone recognizes that the current screen is the desktop background and displays it in full screen, as shown in (b). Figure 9 As shown in (c), in interface 930, the application window corresponding to the calculator application is displayed in full screen.
[0122] refer to Figure 10 , Figure 10 This diagram illustrates the user interface for opening application windows via the sidebar in a non-desktop environment. Figure 10 As shown in (a) of the image, a video application window is already running in interface 1010. When the user clicks on the "Calculator" application in the sidebar, the phone determines that the current background is not the desktop background and opens the application as a floating window. Figure 10 As shown in (b) of the diagram, in interface 1020, the calculator window is displayed as a floating window 1021 overlaid on the video application window. This allows for the display of different windows based on different interface backgrounds, maximizing full-screen display for a more comfortable visual experience. Furthermore, when there are running application windows on the interface, two applications can be overlaid, allowing users to see both running application windows simultaneously.
[0123] In some embodiments of this application, users can add some applications to a whitelist through settings, so that when an application in the whitelist is already running on the screen, the phone can display the application window in full screen when the user clicks on the application icon in the sidebar.
[0124] refer to Figure 11 , Figure 11 A schematic diagram of the application whitelist interface is shown. For example... Figure 11 As shown, when a user opens the Settings app and then accesses the "Full-screen background app whitelist," they will see interface 1110. In interface 1110, users can add apps that are allowed to be covered, such as "Alarm Clock," "Calculator," "Music," and "Weather." Users can add other apps to this list using the "Add" button or remove apps using the "Remove" button, giving them flexibility. When the phone performs an operation to open an app in a floating window, if it determines that the app running on the screen is a whitelisted app, the phone will still display the selected app window in full-screen mode. This process can be referenced... Figure 8 The method shown and reference below Figure 12 A schematic diagram of the interface operation.
[0125] like Figure 12 The diagram shows the user interface of an application on the whitelist during runtime. Figure 12 As shown in the image, interface 1210 already displays a full-screen calculator application window. Users can bring up the sidebar by swiping from the right side of the screen. Figure 12 As shown in (b) of the diagram, in interface 1220, when the "Gallery" app is clicked in the sidebar, the phone determines that the currently running app is one of the whitelisted apps, and therefore displays it in full screen. Figure 12 As shown in (c) of the diagram, the gallery application window is displayed in full screen in interface 1230. This process corresponds to... Figure 8 The method shown.
[0126] Scenario 2: The application is opened via a pop-up notification message.
[0127] Typically, when an app on a phone receives a message, the phone will display at least part of the message in the notification bar to alert the user. Users can also view the message directly from the notification bar or open the corresponding app window by clicking the "open" button.
[0128] refer to Figure 13 , Figure 13 This diagram illustrates the interface operation of opening an application window from the notification message bar. Figure 13 As shown in (a), in interface 1310, a notification message bar 1311 pops up against the desktop background, displaying the message "1 contact sent 1 message". If the user wants to open the application to view the message, they can press and hold the horizontal bar 1311 and drag it down. The phone recognizes the current application as the desktop background and displays the message application window in full screen, as shown in (a). Figure 13 As shown in (b) of the diagram. In interface 1320, the chat window corresponding to the WeChat application is displayed in full screen, making it convenient for users to reply to messages promptly. Furthermore, the full-screen display enhances the user's visual experience.
[0129] In one embodiment of this application, in Figure 13 In the corresponding scenario, if an application is running on interface 1310, a floating window will be displayed when the user performs an operation on the horizontal bar 1311. The display format of the floating window can be found in [reference needed]. Figure 10 The WeChat application window is displayed as a floating window, as shown in (b) above. Further examples are not provided here. Alternatively, this scenario can also be determined by checking the whitelist of applications. For whitelist settings, please refer to [link / reference]. Figure 11 As shown, the judgment process can be referenced. Figure 8 The method shown will not be elaborated here.
[0130] Scenario 3: The scenario where the application is opened via a floating ball.
[0131] In this scenario, when a user opens the application window in a small window, for example, by opening the application window through the sidebar and then minimizing the application window, the application window will be displayed in the interface as a floating ball.
[0132] refer to Figure 14 , Figure 14 This illustration shows a schematic diagram of the interface operation of opening an application window using a floating ball according to an embodiment of this application. Figure 14 As shown, interface 1410 displays a floating ball 1411 formed by shrinking the opened information application. When the user clicks the floating ball, the phone determines that the current background interface is the desktop background, and then displays the SMS chat window in full screen. Figure 14As shown in (b) above, the SMS window is displayed in full screen on interface 1420. Of course, the floating ball can be located anywhere on the screen, and this application does not limit the floating position of the side floating ball 1411.
[0133] In the embodiments of this application, the SMS application can also be directly clicked on interface 1410 to achieve full-screen display of the application window, such as... Figure 15 The diagram shown illustrates another interface operation where the floating ball opens an application window. When the user clicks on the SMS application corresponding to the floating ball 1411 in interface 1410, as... Figure 15 As shown in (b) above, the SMS application window is displayed in full screen.
[0134] In one embodiment of this application, Figure 14 In the corresponding scenario, if the interface is not a desktop background, it can be opened as a small window.
[0135] Externally, when the application running in the interface in scenario 14 is a whitelisted application, the application window can also be displayed in full screen. See the following for details. Figure 11 and Figure 12 The description in [the original text] is not detailed here.
[0136] This application is also applicable to other scenarios, such as when opening an application in recent tasks, if there are already running applications on the screen, the opened application should be displayed in full screen. Alternatively, if there are running applications on the screen, but they are whitelisted applications, the opened application can also be displayed in full screen. This application is not intended to limit the scope of the application.
[0137] According to the method of the embodiments of this application, the display mode of the floating window is optimized. The corresponding application can be opened in full screen mode in the desktop background or the application background in the whitelist. Compared with the existing floating window mode, this application can display the application window in full screen as much as possible, improving the user's visual experience. At the same time, it can perform full-screen display or floating window display according to the interface background state, which improves the user experience.
[0138] This application also provides an electronic device, including:
[0139] The receiving module is used to receive the opening operation of a specific control displayed on the screen of an electronic device. The opening operation is used to present the content of the application corresponding to the specific control in a floating window.
[0140] The processing module is used to respond to the open operation and, if it is determined that the current display interface of the electronic device is the desktop background, to display the application content in full screen through the display module.
[0141] In one embodiment of this application, the opening operation is to click a specific control at least once; or, to drag a specific control.
[0142] In one embodiment of this application, the specific control is a pop-up control.
[0143] In one embodiment of this application, the pop-up control is a pop-up notification message control, such as a notification message bar.
[0144] In one embodiment of this application, the open operation is a drag operation performed on the horizontal bar of the pop-up notification message control.
[0145] In one embodiment of this application, the pop-up control is a pop-up application bar, such as a sidebar.
[0146] In one embodiment of this application, the open operation is a click operation on the application icon in the pop-up application bar.
[0147] In one embodiment of this application, the specific control is a floating control, such as a floating ball.
[0148] In one embodiment of this application, the open operation is a direct open operation for a floating control.
[0149] In one embodiment of this application, the open operation is an open operation for the application icon corresponding to the floating control on the desktop.
[0150] This application also provides an electronic device, including:
[0151] Memory, used to store instructions executed by one or more processors of the device, and
[0152] Processor, used to execute the above embodiments combined with Figures 7 to 8 The method explained.
[0153] This application also provides a computer-readable storage medium storing a computer program, which, when executed by a processor, causes the processor to perform the above-described embodiments. Figures 7 to 8 The method explained.
[0154] This application also provides a computer program product containing instructions that, when run on an electronic device, cause a processor to execute the above-described embodiments. Figures 7 to 8 The method shown.
[0155] Now for reference Figure 16 The diagram shown is a block diagram of a SoC (System on Chip) 1300 according to an embodiment of this application. Figure 16 In the diagram, similar components share the same reference numerals. Additionally, dashed boxes are an optional feature for more advanced SoCs. Figure 16In this SoC 1300, the following are included: an interconnect unit 1350 coupled to an application processor 1310; a system proxy unit 1380; a bus controller unit 1390; an integrated memory controller unit 1340; a group or one or more coprocessors 1320, which may include integrated graphics logic, an image processor, an audio processor, and a video processor; a static random access memory (SRAM) unit 1330; and a direct memory access (DMA) unit 1360. In one embodiment, the coprocessor 1320 includes a dedicated processor, such as, for example, a network or communication processor, a compression engine, a general-purpose computing on GPU (GPGPU), a high-throughput many integrated core (MIC) processor, or an embedded processor.
[0156] The static random access memory (SRAM) cell 1330 may include one or more computer-readable media for storing data and / or instructions. The computer-readable storage medium may store instructions, specifically, temporary and permanent copies of those instructions. These instructions may include, when executed by at least one unit in the processor, causing the SoC 1300 to perform the imaging method according to the above embodiments, as detailed in the above embodiments. Figure 7 and Figure 8 The processing methods explained will not be repeated here.
[0157] The various embodiments of the mechanisms disclosed in this application can be implemented in hardware, software, firmware, or a combination of these implementation methods. Embodiments of this application can be implemented as computer programs or program code executable on a programmable system, the programmable system including at least one processor, a storage system (including volatile and non-volatile memory and / or storage elements), at least one input device, and at least one output device.
[0158] Program code can be applied to input instructions to execute the functions described in this application and generate output information. The output information can be applied to one or more output devices in a known manner. For the purposes of this application, the processing system includes any system having a processor such as, for example, a Digital Signal Processor (DSP), a microcontroller, an Application Specific Integrated Circuit (ASIC), or a microprocessor.
[0159] The program code can be implemented using a high-level procedural language or an object-oriented programming language to communicate with the processing system. Assembly language or machine language can also be used when needed. In fact, the mechanisms described in this application are not limited to any particular programming language. In either case, the language can be a compiled language or an interpreted language.
[0160] In some cases, the disclosed embodiments may be implemented in hardware, firmware, software, or any combination thereof. The disclosed embodiments may also be implemented as instructions carried or stored thereon on one or more temporary or non-temporary machine-readable (e.g., computer-readable) storage media, which may be read and executed by one or more processors. For example, the instructions may be distributed via a network or via other computer-readable media. Therefore, machine-readable media may include any mechanism for storing or transmitting information in a machine-readable (e.g., computer-readable) form, including but not limited to floppy disks, optical disks, CD-ROMs, compact disc read-only memory (CD-ROMs), magneto-optical disks, read-only memory (ROM), random access memory (RAM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), magnetic cards or optical cards, flash memory, or tangible machine-readable storage for transmitting information (e.g., carrier waves, infrared signals, digital signals, etc.) using the Internet in the form of electrical, optical, acoustic, or other forms of propagated signals. Therefore, machine-readable media includes any type of machine-readable medium suitable for storing or transmitting electronic instructions or information in a machine-readable (e.g., computer-readable) form.
[0161] In the accompanying drawings, some structural or methodological features may be shown in a specific arrangement and / or order. However, it should be understood that such a specific arrangement and / or order may not be necessary. Rather, in some embodiments, these features may be arranged in a manner and / or order different from that shown in the accompanying drawings. Furthermore, including structural or methodological features in a particular figure does not imply that such features are required in all embodiments, and in some embodiments, these features may be omitted or may be combined with other features.
[0162] It should be noted that all units / modules mentioned in the device embodiments of this application are logical units / modules. Physically, a logical unit / module can be a physical unit / module, a part of a physical unit / module, or a combination of multiple physical units / modules. The physical implementation of these logical units / modules themselves is not the most important factor; the combination of functions implemented by these logical units / modules is the key to solving the technical problems proposed in this application. Furthermore, to highlight the innovative aspects of this application, the above-described device embodiments of this application have not introduced units / modules that are not closely related to solving the technical problems proposed in this application. This does not mean that the above-described device embodiments do not contain other units / modules.
[0163] It should be noted that in the examples and description of this patent, relational terms such as "first" and "second" are used merely to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one" does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.
[0164] Although this application has been illustrated and described with reference to certain preferred embodiments thereof, those skilled in the art should understand that various changes in form and detail may be made thereto without departing from the spirit and scope of this application.
Claims
1. A method for displaying a window, applied to an electronic device, characterized in that, The method includes: Display the first application window corresponding to the first application icon as a floating window; In response to the user minimizing the first application window, the first application window is displayed as a floating ball; When the first application window is displayed on the desktop as a floating ball, the user clicks the first application icon on the desktop corresponding to the floating ball, and the window of the first application icon is displayed in full screen. The second application window is already running in full screen in the interface. When the user clicks the first application icon in the sidebar, the third application window of the first application icon will open as a floating window. In response to the user minimizing the third application window, the third application window is displayed on top of the second application window as a floating ball; When the user clicks the floating ball displayed on the second application window, the application corresponding to the first application icon opens in the form of a floating window.
2. The method according to claim 1, characterized in that, The first application window, which displays the first application icon in the form of a floating window, includes: When the electronic device displays the desktop, when the user pulls up the sidebar and clicks the first application icon in the sidebar, the first application window corresponding to the first application icon is displayed as a floating window.
3. The method according to claim 1, characterized in that, The method further includes: When the electronic device displays the desktop, when the user opens the first application through the sidebar, the application window corresponding to the first application is displayed in full screen.
4. The method according to claim 1, characterized in that, The method further includes: When the electronic device displays the desktop, a notification message bar pops up; In response to an operation on the notification message bar, the message application window is displayed in full screen.
5. The method according to claim 4, characterized in that, The operation on the notification message bar includes: pressing and holding the horizontal bar and pulling it down, with the horizontal bar positioned on the notification message bar.
6. The method according to claim 1, characterized in that, The method further includes: If an application is running in full-screen mode on the screen, a notification message will pop up. In response to an operation on the notification message bar, the message application window is displayed as a floating window.
7. The method according to claim 1, characterized in that, The method further includes: In the application settings interface, respond to user actions and set a list of applications that can be covered and displayed. When an application window from the list is already running in full screen on the interface, the window corresponding to the first application icon will be displayed in full screen in response to clicking the first application icon in the sidebar.
8. The method according to claim 7, characterized in that, The method further includes: When the application window running in full screen on the interface is not an application from the list, in response to clicking the first application icon in the sidebar, the window corresponding to the first application icon is displayed as a floating window.
9. An electronic device, characterized in that, include: Memory, used to store instructions executed by one or more processors of the device, and A processor for executing the instructions to cause the electronic device to perform the method according to any one of claims 1-8.
10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed by a processor, causes the processor to perform the method according to any one of claims 1-8.
Citation Information
Patent Citations
Electronic equipment and information processing method thereof
CN103823610A
Video playing method, mobile terminal and computer readable storage medium
CN109558009A