Window display method, electronic equipment and computer readable storage medium

By receiving and responding to the opening operation of specific controls on the electronic device, judging the current interface background, realizing full-screen display application under the desktop background, solving the problem of poor display of floating windows and improving the user experience.

CN119248135AActive Publication Date: 2025-01-03HONOR DEVICE CO LTD
View PDF 9 Cites 0 Cited by

Patent Information

Application Number
CN202411164139.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2022-07-01
Publication Date
2025-01-03
Estimated Expiration
2042-07-01

AI Technical Summary

Technical Problem

When existing electronic devices open applications in the background of desktop, they are usually displayed in the form of floating windows, resulting in poor user visual experience and inability to achieve full screen display, affecting the user experience.

Method used

By receiving the opening operation of specific controls on the screen, we can determine whether the current display interface is a desktop background. If so, the application content will be displayed in full screen, otherwise it will be displayed in a floating window. This method includes clicking, dragging and other operations, and optimizes controls such as sidebar, notification message bar, floating ball, etc.

Benefits of technology

It improves the user's visual experience in the desktop background, realizes full-screen display applications, meets users' comfortable visual needs for single-task applications, and does not interfere with running applications in the non-desktop background, improving the overall user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119248135A_ABST
    Figure CN119248135A_ABST
Patent Text Reader

Abstract

The invention provides a window display method and electronic equipment, and belongs to the technical field of electronics, the method is applied to the electronic equipment, and the method comprises the following steps: receiving an opening operation for a specific control displayed on a screen of the electronic equipment; in response to the opening operation, under the condition that the current display interface of the electronic equipment is determined to be a desktop background, the electronic equipment displays the content of the application in a full-screen mode; or under the condition that the current display interface of the electronic equipment is determined to have the program running, the electronic equipment displays the application content in a floating window mode. According to the method provided by the embodiment of the invention, when the mobile phone judges that the display interface on the screen is the desktop background, the application content corresponding to the application is displayed in a full-screen manner, and the floating window display is logically optimized, so that the visual comfort of a user for full-screen display is met, and the user experience is improved.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] This application is a divisional application. The application number of the original application is 202210774306.7, and the original application date is July 1, 2022. The entire contents of the original application are incorporated into this application by reference. Technical Field

[0002] The present application relates to the field of electronic technology, and in particular to a window display method, an electronic device, and a computer-readable storage medium. Background Art

[0003] With the advancement of technology, electronic equipment products are developing rapidly. Usually, users will install various applications (Application, APP) on electronic devices. After installation, they can also open the application in a variety of ways. For example, by clicking the application icon on the desktop of the electronic device to open the application, or by pulling up the side application bar and clicking the application icon from the side application bar to open the application. Summary of the invention

[0004] In view of this, the present invention provides a window display method and electronic device, wherein the method can open an application in full screen when the display interface is a desktop background.

[0005] Some embodiments of the present application provide a window display method and an electronic device. The present application is introduced from multiple aspects below, and the embodiments and beneficial effects of the following multiple aspects can be referenced to each other.

[0006] In a first aspect, the present invention provides a window display method, which is applied to an electronic device, and the method comprises: receiving an opening operation for a specific control displayed on a screen of the electronic device; in response to the opening operation, and when it is determined that the current display interface of the electronic device is a desktop background, displaying the content of the application in full screen; or when it is determined that a program is running on the current display interface of the electronic device, the electronic device displays the application content in a floating window.

[0007] Among them, the opening operation of the specific control can be clicking on the application from the side application bar, or clicking on the application from the drop-down window, etc. The floating window is used to present 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 content of the application 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 opening operation is clicking a specific control at least once; or dragging a specific control, for example, clicking an application banner in a drop-down window, clicking an application in a side application bar, and the like.

[0010] In combination with the first aspect, in some implementation columns of the first aspect, the specific control is a pop-up control, for example, a notification message bar.

[0011] In conjunction with the first aspect, in some implementations of the first aspect, the pop-up control is a pop-up notification message control, for example, an application notification banner in a drop-down window.

[0012] In conjunction with the first aspect, in some implementations of the first aspect, the opening operation is a dragging operation performed on a horizontal bar in a pop-up notification message control. For example, the application notification banner in the drop-down window may be dragged.

[0013] In combination with the first aspect, in some implementations of the first aspect, the pop-up control is a pop-up application bar, for example, it can be a side application bar.

[0014] In conjunction with the first aspect, in some implementations of the first aspect, the opening operation is a click operation on an application icon in a pop-up application bar. For example, the application icon in the side application bar may be clicked.

[0015] In combination with the first aspect, in some embodiments of the first aspect, the specific control is a floating control, for example, a side floating ball.

[0016] In combination with the first aspect, in some implementation columns of the first aspect, the opening operation is a direct opening operation on the floating control, for example, you can click the side floating ball.

[0017] In conjunction with the first aspect, in some implementations of the first aspect, the opening operation is an opening operation for an application icon corresponding to the floating control on the desktop. For example, the side floating ball corresponds to a desktop application, and clicking the side floating ball can open the desktop application corresponding to the side floating ball.

[0018] The present application also provides an electronic device, comprising:

[0019] A receiving module, configured to receive an opening operation for a specific control displayed on a screen of an electronic device, wherein the opening operation is used to present content of an application corresponding to the specific control in a floating window manner;

[0020] The processing module is used to respond to the opening operation and display the content of the application in full screen through the display module when it is determined that the current display interface of the electronic device is the desktop background; or to display the content of the application in a floating window through the display module when it is determined that there is already a program running on the current display interface of the electronic device.

[0021] In combination with the first aspect, in some implementation columns of the second aspect, the opening operation is clicking on a specific control at least once; or dragging the specific control.

[0022] In combination with the first aspect, in some implementation columns of the second aspect, the specific control is a pop-up control.

[0023] In combination with the first aspect, in some implementation columns of the second aspect, the pop-up control is a pop-up notification message control, such as a notification message bar.

[0024] In combination with the first aspect, in some implementation columns of the second aspect, the opening operation is a drag operation performed on a horizontal bar in a pop-up notification message control.

[0025] In combination with the first aspect, in some implementation columns of the second aspect, the pop-up control is a pop-up application bar, such as a sidebar.

[0026] In combination with the first aspect, in some implementation columns of the second aspect, the opening operation is a click operation on the application icon in the pop-up application bar.

[0027] In combination with the first aspect, in some implementation columns of the second aspect, the specific control is a floating control, such as a floating ball.

[0028] In combination with the first aspect, in some implementation columns of the second aspect, the opening operation is a direct opening operation on the floating control.

[0029] In combination with the first aspect, in some implementation columns of the second aspect, the opening operation is an opening operation on an application icon corresponding to the floating control on the desktop.

[0030] In a second aspect, the present application also provides an electronic device, comprising: a memory for storing instructions executed by one or more processors of the device, and a processor for executing instructions so that the electronic device executes any one of the methods in the technical solution of the first aspect.

[0031] In a third aspect, the present application further provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, the processor executes any one of the methods in the technical solution of the first aspect.

[0032] In a fourth aspect, the present application also provides a computer program product comprising instructions, which, when executed on an electronic device, enables a processor to execute any one of the methods in the technical solution of the first aspect. BRIEF DESCRIPTION OF THE DRAWINGS

[0033] Figure 1 This is a schematic diagram of an interface for opening a floating window on a mobile phone according to an embodiment of the present application;

[0034] Figure 2 A schematic diagram of the visible area of ​​a mobile phone screen viewed by human eyes according to an embodiment of the present application;

[0035] Figure 3 A schematic diagram of the statistical preferences of a user group for launching a chat APP in different contexts according to an embodiment of the present application;

[0036] Figure 4 This is a mobile phone interface diagram of an embodiment of the present application;

[0037] Figure 5 A schematic diagram of the structure of an electronic device according to an embodiment of the present application;

[0038] Figure 6 A software structure block diagram of an electronic device according to an embodiment of the present application;

[0039] Figure 7 A flowchart of a method for displaying a window according to an embodiment of the present application;

[0040] Figure 8 A flowchart of another window display method according to an embodiment of the present application;

[0041] Fig. 9 This is a schematic diagram of an operation interface for a user to open an application window through a sidebar on a desktop background according to an embodiment of the present application;

[0042] Fig.10 This is a schematic diagram of an operation interface for a user to open an application window through a sidebar in a non-desktop background according to an embodiment of the present application;

[0043] Fig.11 This is a schematic diagram of an application whitelist interface according to an embodiment of the present application;

[0044] Fig.12 This is a schematic diagram of the interface operation of an application in the whitelist when it is running according to an embodiment of the present application;

[0045] Fig.13 A schematic diagram of an interface operation of opening an application window from a notification message bar according to an embodiment of the present application;

[0046] Fig.14 This is a schematic diagram of the interface operation of opening an application window with a floating ball according to an embodiment of the present application;

[0047] Fig.15 This is another interface operation diagram of a floating ball opening an application window according to an embodiment of the present application;

[0048] Fig.16 A block diagram of a system on a chip according to some embodiments of the present application. DETAILED DESCRIPTION

[0049] The technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application.

[0050] In order to facilitate the understanding of the technical solution of the present application, the technical problem to be solved by the present application is first described.

[0051] In some solutions, when a user clicks an application control in the interface on the desktop background on the mobile phone screen, the application will be opened in the form of a small window (floating window). For example, the user clicks the application control (application icon) in the sidebar, or clicks the application that has been opened and shrunk into a floating ball, or the corresponding application in the notification bar, etc.

[0052] For example, Figure 1 , Figure 1 Schematic diagram of the interface for opening a floating window on a mobile phone is shown. Figure 1 As shown in (a) of FIG. 1 , in the 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 in the form of a floating window. Figure 1 As shown in (b) in the interface 103, the background on the screen is the desktop background, and the calculator application is opened on the screen in the form of a floating window.

[0053] In the above scenario, when the mobile phone executes the window display command, it only recognizes the operation mode entered by the user when opening the application. For example, Figure 1 As shown in the figure, in the sidebar of the interface, you click the application icon to open the application. After the phone recognizes the operation input by the user, it displays a floating window in the interface. In this process, the phone does not determine the interface background of the corresponding operation. In other words, no matter whether the current interface background is the desktop background or the running application window background, as long as you click the application icon in the sidebar, it will be opened in the form of a small window.

[0054] However, since the structure of the human eye determines the visible area and viewing angle of the human eye, it is subject to limitations. Therefore, whether on a mobile phone or a tablet, when opening a single application, in terms of the comfort of the user's visual experience, users prefer to open single-task applications in full screen.

[0055] Take mobile phones as an example, refer to Figure 2 , Figure 2A schematic diagram of the visible area range of a mobile phone screen for human eyes is shown. The best viewing distance of the human eye to the mobile phone 200 is 30 cm. At this distance, the viewing angle range of the human eye is A, which happens to be the most comfortable visual experience when the mobile phone 200 displays the application window in full screen. However, if the application window is displayed in the interface of the floating window 201, since the floating window 201 is smaller than the screen size, the angle range between the floating window 201 and the human eye is B, which is smaller than the natural viewing angle range A when the human eye is 30 cm away from the mobile phone, and thus cannot provide a comfortable visual experience for the user. Moreover, when displayed in the form of a floating window, the reflected light from other positions of the screen will also be reflected back to the eye, affecting the user's line of sight and reducing the user experience.

[0056] In addition, statistics show that most users prefer to open a single application (single task) in the mobile phone interface when using their mobile phones. That is, the proportion of people who open a single application directly on the desktop is much higher than the proportion of people who open multiple applications at the same time. Figure 3 As shown, Figure 3 A statistical diagram of preferences of user groups for launching chat apps in different contexts according to an embodiment of the present application. Figure 3 As shown in the figure, taking the scenario where users open the chat app through the sidebar as an example, the number of users who directly open the "chat app" through the sidebar on the "desktop" is "96074". In the context of opening an app, the number of people who open a second app, such as the "camera" app, is "57886". In the context of opening "game app 1", the number of people who open the "chat app" is "54147". Figure 3 From the statistics, we can see that when the "startup background" is "desktop", the number of people who open the "startup application" is much greater than the number of people who open the "startup application" when the "startup background" is the application. Therefore, we can see that most user groups prefer to start the application on the desktop background. However, according to the existing opening method, even on the desktop background, it will be opened in a small window (floating window) instead of full screen. Based on the above Figure 2 From the analysis in , we can see that users prefer to display the window in full screen mode when it is displayed on the desktop background. Figure 3 From the data, we can see that there are many people who need to optimize the window display, and it is very necessary to improve the floating window display method.

[0057] Based on the above-mentioned problems, the present application provides a window display method, which performs logical optimization on the floating window display, thereby improving the user experience.

[0058] Combination Figure 4 The scene shown illustrates the window display method of the embodiment of the present application. Figure 4The mobile phone interface diagram of the embodiment of the present application is shown. Figure 4 As shown in (a) of FIG. 4 , in the desktop background interface 410, when the mobile phone receives a single click operation (open operation) for the "Calculator" application in the sidebar (specific control) on the screen, the mobile phone determines whether there is a running program in the current screen, for example, a running application window. If there is no running program, it indicates that the current interface is the desktop background. At this time, the mobile phone responds to Figure 4 The operation in (a) above will display the application window in full screen. Figure 4 As shown in (b) in the figure, in the interface 420, the application window corresponding to the calculator application is displayed in full screen. Thus, when a single application is opened in the case of the desktop background, the content corresponding to the application is displayed in full screen to improve the user's visual effect and thus improve the user experience.

[0059] The above scenario is described using the sidebar as a specific control. In some embodiments of the present application, the specific control may also be other controls. For example, after the application is opened, it is reduced and a floating ball is formed on the desktop. At this time, the specific control may be the floating ball displayed in the scene. For another example, when a message notification control pops up on the desktop, the specific control at this time is a pop-up message notification control. In some embodiments, the specific control may also be a recent task, and the present application does not limit the specific control.

[0060] In the above scenario of the present application, a single-click operation is used as an explanation of an opening operation of opening an application in a floating window. In other embodiments of the present application, different operations can also be performed for different scenarios to open an application. For example, for the floating ball scenario when the specific control described above is a floating ball, the opening operation can be a single-click operation, specifically a single-click on the floating ball. At this time, the mobile phone determines whether there is a running program on the current screen, for example, a running application window. If there is no running program, it indicates that the current interface is the desktop background, and the application corresponding to the floating ball will display the corresponding application window in full screen. It is also possible to click the application icon corresponding to the floating ball on the desktop to display the corresponding application window in full screen.

[0061] For another example, in the scenario of a notification message control, the opening operation may be a drag operation, such as dragging the bar below the message notification control on a mobile phone to open the application window corresponding to the notification message in full screen mode. In addition, a specific control may be opened by double-clicking or more clicks, sliding, long pressing, short pressing, finger joint tapping, or pupil gaze, etc., and the embodiments of the present application do 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 the description is made using a single screen as an example. In some embodiments, the electronic device can be a mobile phone, a tablet, a computer or other electronic device, and the screen of the electronic device can be a single screen, a folding screen, a curved screen, etc., which is not limited here.

[0063] The window display method of the embodiment of the present application is described below in conjunction with the specific structure of the electronic device.

[0064] Figure 5 1 shows a schematic diagram of the structure of the electronic device 100. The 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, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, a button 190, a motor 191, an indicator 192, a camera 193, a display screen 194, and a subscriber identification module (SIM) card interface 195. The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, etc.

[0065] It is to be understood that the structure illustrated in the embodiment of the present invention does not constitute a specific limitation on the electronic device 100. In other embodiments of the present application, the electronic device 100 may include more or fewer components than shown in the figure, or combine some components, or separate some components, or arrange the components differently. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.

[0066] The processor 110 may include one or more processing units, for example, the processor 110 may include an application processor (application processor, AP), a modem processor, a graphics processor (graphics processing unit, GPU), an image signal processor (image signal processor, ISP), a controller, a video codec, a digital signal processor (digital signal processor, DSP), a baseband processor, and / or a neural-network processing unit (neural-network processing unit, NPU), etc. Among them, different processing units may be independent devices or integrated in one or more processors.

[0067] The processor 110 can generate an operation control signal according to the instruction operation code and the timing signal to complete the control of fetching and executing instructions.

[0068] The processor 110 may also be provided with a memory for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory may store instructions or data that the processor 110 has just used or cyclically used. If the processor 110 needs to use the instruction or data again, it may be directly called from the memory. This avoids repeated access, 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 opening operation for a specific control, for example, a click operation for an application in a sidebar, the processor determines whether the current screen is a desktop background, and if so, the processor 110 controls the display screen 194 to display the corresponding application window in full screen, so as to meet the visual experience of preferring to display the application window in full screen under the desktop background.

[0070] In some embodiments of the present application, the processor 110 may control the display screen 194 to display the application window in the form of a floating window when it is determined that the current interface is not the desktop background. In other embodiments, after determining that there is an application running on the screen, the processor 110 may further determine whether the running application is an application in the whitelist. If it is an application in the whitelist, the display screen 194 may also be controlled to display the application clicked in the sidebar in full screen.

[0071] It is understandable that the interface connection relationship between the modules illustrated in the embodiment of the present invention is only a schematic illustration and does not constitute a structural limitation on the electronic device 100. In other embodiments of the present application, the electronic device 100 may also adopt different interface connection methods in the above embodiments, or a combination of multiple interface connection methods.

[0072] The electronic device 100 implements the display function through a GPU, a display screen 194, and an application processor. The GPU is a microprocessor for image processing, which connects the display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 110 may include one or more GPUs that execute program instructions to generate or change display information.

[0073] The display screen 194 is used to display images, videos, etc. The display screen 194 includes a display panel. The display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode or an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), Miniled, MicroLed, Micro-oLed, a quantum dot light-emitting diode (QLED), etc. In some embodiments, the electronic device 100 may include 1 or N display screens 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 according to the control instruction of the processor 110 .

[0075] The internal memory 121 can be used to store computer executable program codes, and the executable program codes include instructions. The internal memory 121 may include a program storage area and a data storage area. Among them, the program storage area may store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc. The data storage area may store data created during the use of the electronic device 100 (such as audio data, a phone book, etc.), etc. In addition, the internal memory 121 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, a universal flash storage (UFS), etc. The processor 110 executes various functional applications and data processing of the electronic device 100 by running instructions stored in the internal memory 121, and / or instructions stored in a memory provided in the processor.

[0076] In one embodiment of the present application, the internal memory 121 may store instructions for a window display method, and the processor 110 executes the window display method instructions so that the display screen 194 of the electronic device 100 displays the application window in full screen or in a floating window after receiving an opening operation for a specific control application from the user.

[0077] The pressure sensor 180A is used to sense the pressure signal and can convert the pressure signal into an electrical signal. In some embodiments, the pressure sensor 180A can be set on the display screen 194. There are many types of pressure sensors 180A, such as resistive pressure sensors, inductive pressure sensors, capacitive pressure sensors, etc. The capacitive pressure sensor can be a parallel plate including at least two conductive materials. When a force acts on the pressure sensor 180A, the capacitance between the electrodes changes. The electronic device 100 determines the intensity of the pressure according to the change in capacitance. When a touch operation acts on the display screen 194, the electronic device 100 detects the touch operation intensity according to the pressure sensor 180A. The electronic device 100 can also calculate the touch position according to the detection signal of the pressure sensor 180A. In some embodiments, touch operations acting on the same touch position but with different touch operation intensities can correspond to different operation instructions. For example: when a touch operation with a touch operation intensity less than the first pressure threshold acts on the short message application icon, an instruction to view the short message is executed. When a touch operation with a touch operation intensity greater than or equal to the first pressure threshold acts on the short message application icon, an instruction to create a new short message is executed.

[0078] In some embodiments, after the user drags or clicks a specific control on the display screen 194, the pressure sensor 180A is used to sense the pressure signal of the user on the specific control, and can convert the pressure signal into an electrical signal, so that the processor 110 can display the application window in full screen or in floating window form on the display screen 194 according to the user's operation on the specific control.

[0079] The touch sensor 180K is also called a "touch control device". The touch sensor 180K can be set on the display screen 194. The touch sensor 180K and the display screen 194 form a touch screen, also called a "touch control screen". The touch sensor 180K is used to detect touch operations acting on or near it. The touch sensor can pass 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 180K can also be set on the surface of the electronic device 100, which is different from the position of the display screen 194.

[0080] In some embodiments, in some embodiments, when a user touches an application or a horizontal bar in a specific control of display screen 194 and performs operations such as swiping up, swiping down, and clicking, the processor 110 receives the user's operation on the specific control of display screen 194, and in response to the operation, controls display screen 194 to provide visual output related to the touch operation.

[0081] The software system of the electronic device 100 may adopt a layered architecture, an event-driven architecture, a micro-core architecture, a micro-service architecture, or a cloud architecture. In the embodiment of the present invention, the Android system of the layered architecture is taken as an example to exemplify the software structure of the electronic device 100.

[0082] Figure 6 1 is a software structure block diagram of the electronic device 100 according to an embodiment of the present invention.

[0083] The layered architecture divides the software into several layers, each with clear roles and division of labor. The 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 library, 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 camera, gallery, calendar, call, map, navigation, WLAN, Bluetooth, music, video, short message and other applications.

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

[0087] like Figure 6 As shown, the application framework layer may include a window manager, a content provider, a view system, a phone manager, a resource manager, a notification manager, and the like.

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

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

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

[0091] The notification manager enables applications to display notification information in the status bar. It can be used to convey notification-type messages and can disappear automatically after a short stay without user interaction. For example, the notification manager is used to notify download completion, message reminders, etc. The notification manager can also be a notification that appears in the system top status bar in the form of a chart or scroll bar text, such as notifications of applications running in the background, or a notification that appears on the screen in the form of a dialog window. For example, a text message is displayed in the status bar, a prompt sound is emitted, an electronic device vibrates, an indicator light flashes, etc.

[0092] In one embodiment of the present 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 is an illustrative description of the workflow of the software and hardware of the electronic device 100 in conjunction with a split-screen scenario.

[0094] When the touch sensor 180K receives a touch operation, the corresponding hardware interrupt is sent to the kernel layer. The kernel layer processes the touch operation into raw input events (including touch coordinates, timestamp of the touch operation, and other information). The raw input events are stored in the kernel layer. The application framework layer obtains the raw input events from the kernel layer and identifies the control corresponding to the input event. Assuming that the touch operation is a single-click operation, the control corresponding to the single-click operation is the camera application in the sidebar. The camera application calls the interface of the application framework layer to start the camera application, and then starts the camera driver by calling the kernel layer, displays the shooting window in full screen, and captures static images or videos through the camera 193.

[0095] The following uses a mobile phone as an example to describe in detail the window display method provided by the embodiment of the present application. A plurality of applications are installed in the mobile phone. The window display method provided by the embodiment of the present application can be applied to a mobile phone having the following features: Figure 5 The hardware structure shown in Figure 6 In an electronic device with the software structure shown in the figure, or with more or fewer components than shown in the figure, or with some components combined, or some components separated, or with different component arrangements, etc., and with similar hardware structures and software structures.

[0096] The following uses a mobile phone as an example to describe in detail the method for displaying a window according to an embodiment of the present application.

[0097] refer to Figure 7 , Figure 7 A flow chart of a method for displaying a window according to an embodiment of the present application is shown. The method is executed by a mobile phone and includes S701-S705.

[0098] S701, display a specific control on the screen.

[0099] It should be noted that the specific controls in the embodiments of the present application may be sidebars on the left and right sides of the screen. It may also be a pop-up notification message control. It may be a floating ball formed after the open application is reduced, or it may be the application control (application icon) itself. In addition, in some embodiments, it may also be a recent task, etc. This application does not limit this.

[0100] In an embodiment of the present application, the condition for triggering the mobile phone to execute S701 may be that the mobile phone receives a slide from the left edge or right edge of the screen to the inside of the screen, and triggers the sidebar (specific control) to be displayed from the left side of the mobile phone, or from the right side of the mobile phone. Alternatively, the mobile phone receives a zoom-out operation for opening an application, which triggers the display of a floating ball (specific control). Alternatively, after the mobile phone receives an application message, a notification message bar (specific control) automatically pops up. This application does not limit the triggering conditions.

[0101] S702: Receive an opening operation for a specific control.

[0102] Among them, the opening operation can be a click (including single-click, double-click, and multiple clicks), or it can be a drag operation after pressing the control, for example, pressing the horizontal bar below the notification message control and dragging (pull down) to open the selected application. The above-mentioned different operations can open applications for different specific controls. For example, in a scenario where the sidebar is a specific control, the corresponding opening operation can be a click operation on the application icon in the sidebar. For another example, in a scenario where the floating ball is a specific control, the corresponding opening operation can be a click operation on the floating ball itself, or a click operation on the application corresponding to the floating ball. For another example, in the scenario where a notification message pops up, the corresponding opening operation can be a drag operation on the horizontal bar below the notification message bar.

[0103] S703: In response to the opening operation, determine whether the current display interface background is the desktop background.

[0104] In an embodiment of the present application, the mobile phone can determine whether it is the desktop background according to the running status of the application window in the mobile phone interface. For example, if the mobile phone determines that there is an application window running in the current interface, it indicates that the current interface is not the desktop background. If the mobile phone determines that there is no running application window, it indicates that the current interface is the desktop background.

[0105] In 703, when the mobile phone determines that it is the desktop background, S704 is executed to display the application window (content of the application) corresponding to the specific control in full screen.

[0106] In 703, the mobile phone determines that it is not the desktop background (non-desktop background), and then executes S705 to display the application window corresponding to the specific control in a floating window manner.

[0107] According to the window display method of the embodiment of the present application, when the desktop is the background, the application window is opened in full screen, and when the desktop is used as the background, this window display method meets the user's preference to display the application in full screen mode when the desktop is used as the background, and also meets the natural viewing angle range of the human eye. At the same time, when the desktop is not used as the background, the floating window is opened, and the application window that is already running can be partially covered. Different displays for the same operation are provided according to different interface backgrounds, thereby improving the user experience.

[0108] It should be noted that the above-mentioned display of application content in full screen mode under the desktop background is only an exemplary description of the present application. In some embodiments of the present application, the user can decide to display the application content in full screen mode under these interface backgrounds by setting the interface background. For example, when the interface background is not the desktop background, the user can set some applications to be allowed to be overwritten through settings, and the scene with the application running can still display the application window in full screen. For example, when there is an alarm clock application window, weather application window, calculator application window or music type application window running on the current screen, the mobile phone also displays it in full screen mode for the application window corresponding to the specific control. These applications that are allowed to be overwritten can be set through the whitelist, and the user can add these applications to the whitelist that allows full-screen display.

[0109] refer to Figure 8 , Figure 8 FIG. 1 is a flow chart showing another window display method of an embodiment of the present application. The method is executed by a mobile phone, such as Figure 8 As shown, the method includes S801-S806.

[0110] S801, displaying a specific control on the screen. This step corresponds to Figure 7 For details, please refer to the description in Figure 701.

[0111] S802, receiving an open operation for a specific control. This step corresponds to Figure 7 For details about 702 in FIG. 702 , please refer to the description in FIG. 702 .

[0112] S803, in response to the opening operation, determining whether the current display interface background is the desktop background. Figure 7 For details, please refer to the description in Figure 703.

[0113] In S803, when it is determined that it is the desktop background, S804 is executed to display the application window corresponding to the specific control in full screen.

[0114] In S803, when it is determined that it is not the desktop background, that is, there is an application window running in the interface, it is necessary to further determine whether it is an application in the whitelist, that is, execute S805.

[0115] S805: Determine whether the running application is an application in the whitelist.

[0116] If so, execute S806 to display the application window in full screen.

[0117] If not, then execute S804 to display the application window corresponding to the specific control in a floating window manner.

[0118] According to the window display method of the embodiment of the present application, the application can be displayed in full screen as much as possible to adapt to the user's usage preferences, while also conforming to the natural viewing angle range of the human eye, thereby improving the user experience.

[0119] The following describes the embodiments of the present application in combination with interface operations in several different scenarios. Figure 7 and Figure 8 Describes how to display the window in .

[0120] Scenario 1: Open the application through the sidebar.

[0121] refer to Fig. 9 , Fig. 9 The figure shows a schematic diagram of the operation interface of a user opening an application window through the sidebar under the desktop background. Figure 7 As shown in the method. Fig. 9 As shown in (a) of FIG. 9 , in the interface 910, the desktop background is displayed. When the user opens an application through the sidebar, the user slides inward from the edge of the screen to call up the sidebar. Fig. 9 As shown in (b) in FIG. 9 , a sidebar (a pop-up application bar) is displayed in the interface 920. When the user clicks on the “Calculator” application in the sidebar, the mobile phone recognizes that the current application is the desktop background and displays the application in full screen. Fig. 9 As shown in (c) in the interface 930, the application window corresponding to the calculator application is displayed in full screen.

[0122] refer to Fig.10 , Fig.10 The schematic diagram of the operation interface of a user opening an application window through a sidebar in a non-desktop background is shown. Fig.10 As shown in (a) in the interface 1010, a video application window is already running. When the user clicks the "Calculator" application in the sidebar, the mobile phone will determine that the current background is not the desktop background, and open the application in the form of a floating window. Fig.10 As shown in (b) in the interface 1020, the window corresponding to the calculator is displayed on the video application window in the form of a floating window 1021. Thus, different windows can be displayed according to different interface backgrounds, and displayed in full screen as much as possible to meet the more comfortable visual experience of full screen display. At the same time, when there are running application windows on the interface, two applications can be displayed in a superimposed manner so that the user can see two running application windows at the same time.

[0123] In some embodiments of the present application, the user can add some applications to the whitelist through settings, so that when the application in the whitelist is already running on the screen, the user clicks the application icon in the sidebar and the phone can display the application window in full screen.

[0124] refer to Fig.11 , Fig.11 A schematic diagram of the application whitelist interface is shown. Fig.11 As shown, after the user opens the settings application, open the "Full screen display background application whitelist" to obtain interface 1110. In interface 1110, the user can set the applications that are allowed to be covered and displayed in the list, such as "Alarm Clock", "Calculator", "Music" and "Weather" applications. By adding applications to the list, the user can also add other applications through the "Add" function key, or delete the applications through the "Remove" function key, giving the user room to choose freely. When the phone is performing the operation of opening in the form of a floating window, if it is determined that the application running on the screen is an application in the whitelist, the phone will still display the selected application window in full screen. This process can be referred to Figure 8 The method shown and reference Fig.12 Schematic diagram of the interface operation.

[0125] like Fig.12 The following is a schematic diagram of the interface operation of the whitelisted applications during runtime. Fig.12 As shown, in the interface 1210, there is already a calculator application window running in full screen, and the user swipes from the right side of the screen to call up the sidebar, such as Fig.12 As shown in (b) in the interface 1220, the user clicks on the "Gallery" application in the sidebar. At this time, the mobile phone determines that the currently running application is an application in the whitelist, and still displays it in full screen. Fig.12 As shown in (c) of FIG. 12, in the interface 1230, the application window corresponding to the gallery is displayed in full screen. This process corresponds to Figure 8 The method shown.

[0126] Scenario 2: Open the application through the pop-up notification message bar.

[0127] Usually, when an application in a mobile phone receives a message, the mobile phone will display at least part of the application message in the notification message bar in a pop-up manner to remind the user that there is an application message. The user can also view the message directly from the notification message bar, or open the application window corresponding to the message by opening it.

[0128] refer to Fig.13 , Fig.13 The following is a schematic diagram showing the interface operation of opening an application window from the notification message bar. Fig.13 As shown in (a) of FIG. 13 , in interface 1310, a notification message bar 1311 pops up under the desktop background, and the content in the notification message bar is "1 contact sent 1 message". If the user wants to open the application to view the message, by pressing and holding the horizontal bar 1311 and pulling down (dragging), the mobile phone recognizes that the current application is the desktop background, and then displays the message application window in full screen, as shown in FIG. Fig.13 In interface 1320, the chat interface window corresponding to the WeChat application is displayed in full screen, which is convenient for users to reply to messages in time. And the full screen display improves the user's visual experience.

[0129] In one embodiment of the present application, Fig.13 In the corresponding scenario, if there is an application running in the interface 1310, when the user operates the horizontal bar 1311, the window will be displayed in the form of a floating window. The window display form of the floating window can be referred to Fig.10 The WeChat application window is displayed in the form of a floating window as shown in (b). No more examples are given here. In addition, this scenario can also be judged by the application in the whitelist. For the setting of the whitelist, please refer to Fig.11 As shown, the judgment process can refer to Figure 8 The method shown is not repeated here.

[0130] Scene 3: Opening the application through the floating ball.

[0131] In this scenario, when the user opens the application window in the form of a small window, for example, the user opens the application window through the sidebar and then minimizes the application window, the application window will be displayed in the interface in the form of a floating ball.

[0132] refer to Fig.14 , Fig.14 The following is a schematic diagram showing the interface operation of opening an application window with a floating ball in an embodiment of the present application. Fig.14 As shown, the interface 1410 displays a floating ball 1411 formed by shrinking the opened information application. When the user clicks the floating ball, the mobile phone determines that the current background interface is the desktop background, and then displays the SMS chat window in full screen. Fig.14As shown in (b) in FIG. 14 , the short message window is displayed in full screen on the interface 1420. Of course, the floating ball can be located at any position on the screen, and the present application does not limit the floating position of the side floating ball 1411.

[0133] In the embodiment of the present application, the SMS application can be directly clicked in the interface 1410 to realize full screen display of the application window, such as Fig.15 Another interface operation diagram of opening an application window with a floating ball is shown in FIG. 14. When a user clicks on a text message application corresponding to the floating ball 1411 in the interface 1410, as shown in FIG. Fig.15 As shown in (b) in the figure, the SMS application window is displayed in full screen.

[0134] In one embodiment of the present application, Fig.14 In the corresponding scenario, if the interface is not a desktop background, it can be opened as a small window.

[0135] In the scenario corresponding to 14, when the application running in the interface is an application in the whitelist, the application window can also be displayed in full screen. For details, please refer to Fig.11 and Fig.12 The description in , will not be described in detail here.

[0136] The present application is also applicable to other scenarios. For example, when opening an application in the recent task, if there is no running application on the screen, the opened application is displayed in full screen. Or if there is an application running on the screen but it is a whitelisted application, the opened application can also be displayed in full screen. The present application is not limited to this.

[0137] According to the method of the embodiment of the present application, the display mode of the floating window is optimized, and 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 form, the present application can display the application window in full screen as much as possible, thereby improving the user's visual experience. At the same time, full screen display or floating window display can be performed according to the interface background status, thereby improving the user experience.

[0138] The present application also provides an electronic device, comprising:

[0139] A receiving module, configured to receive an opening operation for a specific control displayed on a screen of an electronic device, wherein the opening operation is used to present content of an application corresponding to the specific control in a floating window manner;

[0140] The processing module is used to respond to the opening operation and, when it is determined that the current display interface of the electronic device is the desktop background, display the content of the application in full screen through the display module.

[0141] In one embodiment of the present application, the opening operation is clicking a specific control at least once; or dragging a specific control.

[0142] In one embodiment of the present application, the specific control is a pop-up control.

[0143] In one embodiment of the present application, the pop-up control is a pop-up notification message control, such as a notification message bar.

[0144] In one embodiment of the present application, the opening operation is a dragging operation performed on a horizontal bar in a pop-up notification message control.

[0145] In one embodiment of the present application, the pop-up control is a pop-up application bar, such as a sidebar.

[0146] In one embodiment of the present application, the opening operation is a click operation on the application icon in the pop-up application bar.

[0147] In one embodiment of the present application, the specific control is a floating control, such as a floating ball.

[0148] In one embodiment of the present application, the opening operation is a direct opening operation on the floating control.

[0149] In one embodiment of the present application, the opening operation is an opening operation on an application icon corresponding to the floating control on the desktop.

[0150] The present application also provides an electronic device, including:

[0151] a memory for storing instructions to be executed by one or more processors of the device, and

[0152] A processor is used to execute the above embodiment in combination with Figures 7 and 8 The method explained.

[0153] The present application also provides a computer-readable storage medium storing a computer program. When the computer program is executed by a processor, the processor executes the above-mentioned embodiment. Figures 7 and 8 The method explained.

[0154] The present application also provides a computer program product comprising instructions, which, when executed on an electronic device, enables a processor to execute the above-mentioned embodiments. Figures 7 and 8 The method shown.

[0155] Reference now Fig.16 , which is a block diagram of a SoC (System on Chip) 1300 according to an embodiment of the present application. Fig.16 In the FIG, similar components have the same reference numerals. In addition, the dashed boxes are optional features of more advanced SoCs. Fig.16In the embodiment, SoC 1300 includes: an interconnect unit 1350, which is coupled to an application processor 1310; a system agent 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 integrated multi-core architecture (Many Integrated Core, MIC) processor, or an embedded processor.

[0156] The static random access memory (SRAM) unit 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 the instructions. The instructions may include: when executed by at least one unit in the processor, the Soc 1300 executes the shooting method according to the above embodiment, which may be specifically referred to in the above embodiment. Figure 7 and Figure 8 The processing method explained will not be repeated here.

[0157] The various embodiments of the mechanism disclosed in the present application can be implemented in hardware, software, firmware or a combination of these implementation methods. The embodiments of the present application can be implemented as a computer program or program code executed on a programmable system, which includes 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 may be applied to input instructions to perform the functions described herein and generate output information. The output information may be applied to one or more output devices in a known manner. For purposes of this application, a 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] Program code can be implemented with high-level programming language or object-oriented programming language to communicate with the processing system. When necessary, program code can also be implemented with assembly language or machine language. In fact, the mechanism described in this application is not limited to the scope of any specific 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 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, instructions may be distributed over a network or by other computer-readable media. Therefore, machine-readable media may include any mechanism for storing or transmitting information in a machine (e.g., computer) readable form, including, but not limited to, floppy disks, optical disks, optical disks, compact disc read-only memories (Compact Disc Read Only Memory, CD-ROMs), magneto-optical disks, read-only memories (Read Only Memory, ROM), random access memories (RAM), erasable programmable read-only memories (Erasable Programmable Read Only Memory, EPROM), electrically erasable programmable read-only memories (Electrically Erasable Programmable Read Only Memory, EEPROM), magnetic cards or optical cards, flash memory, or a tangible machine-readable memory for transmitting information (e.g., carrier waves, infrared signal digital signals, etc.) using the Internet in electrical, optical, acoustic, or other forms of propagation signals. Accordingly, machine-readable media include any type of machine-readable media suitable for storing or transmitting electronic instructions or information in a form readable by a machine (eg, a computer).

[0161] In the accompanying drawings, some structural or method 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 required. Instead, in some embodiments, these features may be arranged in a manner and / or order different from that shown in the accompanying drawings of the specification. In addition, the inclusion of structural or method features in a particular figure does not mean that such features are required in all embodiments, and in some embodiments, these features may not be included or may be combined with other features.

[0162] It should be noted that the units / modules mentioned in the various device embodiments of the present application are all logical units / modules. Physically, a logical unit / module can be a physical unit / module, or a part of a physical unit / module, or can be implemented as a combination of multiple physical units / modules. The physical implementation method of these logical units / modules themselves is not the most important. The combination of functions implemented by these logical units / modules is the key to solving the technical problems proposed by the present application. In addition, in order to highlight the innovative part of the present application, the above-mentioned device embodiments of the present application do not introduce units / modules that are not closely related to solving the technical problems proposed by the present application, which does not mean that there are no other units / modules in the above-mentioned device embodiments.

[0163] It should be noted that in the examples and description of this patent, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "including one" do not exclude the existence of other identical elements in the process, method, article or device including the elements.

[0164] Although the present application has been illustrated and described with reference to certain preferred embodiments thereof, it will be apparent to those skilled in the art that various changes in form and details may be made therein without departing from the spirit and scope of the present application.

Claims

1. A window display method, applied to an electronic device, characterized in that: The method comprises: Displaying a first application window corresponding to the first application icon in a floating window form; In response to a user's operation of minimizing the first application window, displaying the first application window in the form of a floating ball on the desktop; When the user clicks the first application icon corresponding to the floating ball on the desktop, a window of the first application icon is displayed in full screen; A second application window is already running in full screen in the interface. When the user clicks the first application icon in the sidebar, a third application window of the first application icon is opened in the form of a floating window. In response to a user operation of minimizing the third application window, displaying the third application window in the form of a floating ball on the second application window; When the user clicks the floating ball displayed on the second application window, the application corresponding to the first application icon is opened in the form of a floating window.

2. The method according to claim 1, characterized in that The step of displaying the first application window corresponding to 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 on the first application icon in the sidebar, the first application window corresponding to the first application icon is displayed in the form of a floating window.

3. The method according to claim 1, characterized in that The method further comprises: 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 comprises: When the electronic device displays the desktop, a notification message bar pops up; In response to the 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 pulling down a horizontal bar, where the horizontal bar is located on the notification message bar.

6. The method according to claim 1, characterized in that The method further comprises: If there is an application running in the interface, a notification message bar will pop up; In response to an operation on the notification message bar, a message application window is displayed in the form of a floating window.

7. The method according to claim 1, characterized in that The method further comprises: In the application setting interface, in response to a user operation, a list of applications that are allowed to be displayed overlaid is set; When an application window in the list is already running in full screen in the interface, in response to clicking the first application icon in the sidebar, a window corresponding to the first application icon is displayed in full screen.

8. The method according to claim 1, characterized in that: The method further comprises: When the application window running in full screen in the interface is not an application in the whitelist, in response to clicking the first application icon in the sidebar, a window corresponding to the first application icon is displayed in a floating window manner.

9. An electronic device, characterized in that: include: a memory for storing instructions to be executed by one or more processors of the device, and A processor is used to execute the instructions so that the electronic device executes the method according to 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, and when the computer program is executed by a processor, the processor is enabled to perform the method according to any one of claims 1 to 8.

Citation Information

Patent Citations

  • Electronic equipment and information processing method thereof

    CN103823610A

  • Video playing method, mobile terminal and computer readable storage medium

    CN109558009A

  • Screen display method and electronic equipment

    CN111176506A

  • Display method and electronic device

    CN112584251A

  • Information processing methods and electronic devices

    US20150121302A1