CN113805743B - Method for switching display window and electronic equipment - Google Patents

Method for switching display window and electronic equipment Download PDF

Info

Publication number
CN113805743B
CN113805743B CN202110925958.1A CN202110925958A CN113805743B CN 113805743 B CN113805743 B CN 113805743B CN 202110925958 A CN202110925958 A CN 202110925958A CN 113805743 B CN113805743 B CN 113805743B
Authority
CN
China
Prior art keywords
window
screen
application
user
floating
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110925958.1A
Other languages
Chinese (zh)
Other versions
CN113805743A (en
Inventor
刘诗聪
陈稳杰
高博伦
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Honor Device Co Ltd
Original Assignee
Honor Device Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Honor Device Co Ltd filed Critical Honor Device Co Ltd
Priority to CN202110925958.1A priority Critical patent/CN113805743B/en
Publication of CN113805743A publication Critical patent/CN113805743A/en
Application granted granted Critical
Publication of CN113805743B publication Critical patent/CN113805743B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04847Interaction techniques to control parameter settings, e.g. interaction with sliders or dials
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures

Abstract

The embodiment of the application provides a method for switching display windows and electronic equipment, wherein the method is executed by the electronic equipment and comprises the following steps: displaying a full-screen window on a screen of the electronic device, wherein the full-screen window displays an interface of a first application, and the bottom of the full-screen window comprises a first control which is used for receiving user operation; receiving an upward sliding operation input by a user through a first control, wherein the upward sliding operation is used for switching an interface of a first application from full-screen window display to floating window display; the sliding operation in the upward direction is followed, the display size of the full-screen window is reduced, a transition window is obtained, and the transition window is moved upwards; and when the transition window is moved to a preset area of the screen of the electronic equipment, displaying a floating window, wherein the floating window displays an interface of the first application, and the transition window is a window with a window size between that of the full-screen window and that of the floating window. The method improves interaction efficiency.

Description

Method for switching display window and electronic equipment
Technical Field
The application relates to the technical field of electronics, in particular to a method for switching display windows and electronic equipment.
Background
Often, a user installs various Applications (APPs) on an electronic device, and after the installation is completed, the APPs may be opened in various manners. For example, APP is opened by clicking an APP icon on the desktop of the electronic device, or by pulling up a side application bar, clicking an APP icon from the side application bar. When the APP is opened from the desktop, the APP can run in a full-screen window mode, and if the APP is opened by the side application bar, the APP can run in a floating window mode.
Disclosure of Invention
The application provides a method for switching display windows and electronic equipment, which are used for optimizing interaction efficiency related to a floating window.
In a first aspect, the present application provides a method for switching a display window, the method being performed by an electronic device, comprising: displaying a full screen window on a screen of the electronic device, wherein the full screen window displays an interface of a first application, and comprises a detection area for receiving user operation; receiving a switching operation input by the user through the detection area, wherein the switching operation is used for switching the interface of the first application from full-screen window display to floating window display; and responding to the switching operation, displaying a floating window, wherein the floating window displays an interface of the first application.
The detection area may be a control area where a control is deployed, and the user may perform a switching operation, for example, a sliding operation, a throwing operation, or the like, in the detection area.
In the implementation manner, the electronic device increases the detection area for the user to operate on the full-screen window, and when the user needs to switch the full-screen window into the floating window, the user only needs to execute operations such as sliding and the like on the detection area, so that the interaction efficiency in the process of switching the full-screen window into the floating window is greatly improved.
With reference to the first aspect, in some implementations of the first aspect, the detection area is located at a bottom of the full screen window, and the switching operation includes an upward sliding operation.
With reference to the first aspect and the implementation manner, the electronic device sets the detection area for user operation at the bottom of the full-screen window, which can facilitate the user to execute the switching operation, and further improves the interaction efficiency in the process of switching the full-screen window into the floating window.
With reference to the first aspect, in some implementations of the first aspect, the displaying, in response to the switching operation, a floating window includes: the display size of the full screen window is reduced along with the upward sliding operation, a transition window is obtained, and the transition window is moved upward; when the transition window is moved to a preset area of the screen of the electronic equipment, the transition window disappears, the floating window is displayed, and the transition window is a window with a window size smaller than that of the full-screen window. In one implementation, the window size of the transition window may be greater than the window size of the floating window.
After the user inputs the switching operation in the detection area, the size of the full-screen window on the electronic device starts to gradually decrease, and the window at the moment does not occupy the whole screen any more, and is recorded as a transition window, and the transition window moves along the sliding direction of the finger. When the transition window moves to the preset area, the transition window can be switched to the floating window. Therefore, the user can switch the full-screen window into the floating window only by simple sliding operation, and the operation is simple and convenient.
With reference to the first aspect, in some implementations of the first aspect, the preset area is an area of a first preset ratio from top to bottom on a screen of the electronic device. The first preset proportion can be 40%, and the preset area is set to be the upper position of the screen of the electronic equipment, so that a user can better operate the process of switching the full-screen window into the floating window.
With reference to the first aspect, in some implementations of the first aspect, the method further includes: and in the process that the transition window is moved upwards, a masking effect is displayed on the screen of the electronic device in the area which is not covered by the transition window. The electronic device can improve the aesthetic property of the display interface by displaying the masking effect on the area which is not covered by the transition window.
With reference to the first aspect, in some implementation manners of the first aspect, displaying a floating window when the transition window is moved to a preset area of a screen of the electronic device includes: analyzing the upward sliding operation, and determining the sliding distance of the finger of the user and/or the position of the current touch point in the screen after the upward sliding operation; and if the sliding distance is greater than or equal to a preset distance threshold value and/or the position of the current touch point in the screen is positioned in the preset area, displaying an interface of the first application through the floating window.
With reference to the first aspect and the foregoing implementation manner, the electronic device may determine whether the user's finger slides to the preset area by analyzing the sliding operation, and may display a floating window of the first application when the user's finger slides to the preset area. Therefore, when the user needs to switch the full-screen window into the floating window, the user only needs to execute sliding operation in the detection area, and the interaction efficiency in the process of switching the full-screen window into the floating window is improved.
With reference to the first aspect, in some implementations of the first aspect, before the displaying the floating window when the transition window is moved to the preset area of the screen of the electronic device, the method further includes: when the transition window is detected to be moved to a first area of the screen of the electronic equipment, displaying the transition window and interfaces of other recently operated applications, wherein the first area is positioned below the preset area on the screen of the electronic equipment; and if the transition window is continuously moved upwards, canceling the interface displaying the other application which is recently operated.
In the process that the transition window moves upwards, if the transition window passes through a first area in the middle of the screen, the latest taskbar window can be displayed, and if the user does not need to display a floating window of the first application, the user can leave the hand in the first area, and the electronic equipment displays the latest taskbar window; if the floating window of the first application still needs to be displayed, the sliding upwards is continued. Thus, the operation diversity of the user performing the switching process can be improved.
With reference to the first aspect, in some implementations of the first aspect, a first control is disposed in a detection area of the full-screen window, and the switching operation is an operation input on the first control.
The electronic equipment is provided with a first control in the detection area; optionally, the first control may be a bar, and the user may input the switching operation on the bar, so as to better conform to a usage habit of the user, so as to further improve interaction efficiency in the switching process.
With reference to the first aspect, in some implementations of the first aspect, the first control is located in a middle position of a detection area of the full-screen window, so as to improve attractiveness of a control deployment effect in the detection area.
In a second aspect, the present application further provides a method for switching a display window, the method being performed by an electronic device, including: displaying a latest taskbar window on a screen of the electronic equipment, wherein the latest taskbar window comprises a picture corresponding to an application which is recently operated in the electronic equipment, and the picture is a screenshot of an interface of the application at the last operation time; receiving a first sliding operation of an upward direction input by a user through a first position of a first picture, wherein the first picture is a picture corresponding to any recently operated application; following the first sliding operation, reducing the display size of the first picture, and enabling the first picture to move upwards; when the first picture is moved to a preset area of a screen of the electronic equipment, a floating window of an application corresponding to the first picture is displayed, and an interface of the application corresponding to the first picture is displayed by the floating window.
The picture corresponding to the application included in the latest taskbar window may also be referred to as a thumbnail. On the interface of the latest taskbar window, if the user wants to display a certain application in the form of a floating window, the thumbnail corresponding to the application can be slid, and when the user slides to the preset area, the floating window of the application is displayed. Therefore, when a user needs to switch an application into a floating window on the latest taskbar window of the electronic device, the user only needs to execute operations such as sliding and the like on the thumbnail of the application, and operations such as exiting of the latest taskbar window are not needed to be executed, so that the interaction efficiency related to the floating window is greatly improved.
With reference to the second aspect, in some implementations of the second aspect, the first position is a position of a first control in the first picture, where the first control is located at a bottom of a full-screen window when the full-screen window displays an application corresponding to the first picture.
With reference to the second aspect, in some implementations of the second aspect, the method further includes: receiving a second sliding operation of the user in an upward direction input through the bottom of the screen of the electronic equipment; and when the fact that the user finger slides to the first area of the screen of the electronic equipment is detected, displaying the latest taskbar window, wherein the first area is positioned below the preset area on the screen of the electronic equipment.
The user can slide upwards through the bottom of the screen to enable the electronic device to display the latest taskbar window, so that the application corresponding to the picture on the latest taskbar window is displayed in a floating window, and interaction efficiency related to the floating window is further improved.
With reference to the second aspect, in some implementations of the second aspect, the method further includes: displaying a full-screen window on a screen of the electronic device, wherein the full-screen window displays an interface of a first application, and the bottom of the full-screen window comprises a first control; receiving a third sliding operation of the user in the upward direction input through the first control; the third sliding operation is followed, the display size of the full-screen window is reduced, a transition window is obtained, and the transition window is moved upwards; and displaying the latest taskbar window when the transition window is detected to be moved to a first area of the screen of the electronic device, wherein the first area is positioned below the preset area on the screen of the electronic device.
The user can slide up through the control on the full-screen window to enable the electronic device to display the latest taskbar window, so that the application corresponding to the picture on the latest taskbar window is displayed in a floating window, and interaction efficiency related to the floating window is further improved.
With reference to the second aspect, in some implementations of the second aspect, the method further includes: and moving the nearest taskbar window downwards while the first picture moves upwards, and displaying a desktop interface of the electronic equipment in an area which is not covered by the nearest taskbar window on the screen.
When the latest taskbar window executes the sliding operation, the thumbnail of the application moves upwards, and the latest taskbar window moves downwards, so that the diversity of the display interface effect of the electronic equipment can be improved.
With reference to the second aspect, in some implementations of the second aspect, if the application corresponding to the first picture is an application that has stopped running, the method further includes: and activating the application corresponding to the first picture.
With reference to the first aspect, in some implementations of the first aspect, or with reference to the second aspect, in some implementations of the second aspect, after displaying the floating window, the method further includes: receiving a sliding operation of the user in any direction input through a detection area in the floating window; and hiding the floating window into the floating ball in response to the sliding operation in any direction.
The detection area of the floating window may also be a control area where a control is deployed. When a user executes sliding operation in the detection area, the floating window can be hidden in the floating ball, so that the diversity of operation for exiting the floating window is improved. Alternatively, when the user inputs a sliding operation to the left, the hover ball may be located at the left side of the screen of the electronic device; when a sliding operation to the right is input, the hover ball may be located on the right side of the screen of the electronic device.
With reference to the first aspect, in some implementations of the first aspect, hiding the floating window into a floating ball in response to the sliding operation in the arbitrary direction includes: detecting the sliding operation in any direction, so that the floating window moves along the sliding direction; and hiding the floating window into a floating ball when the floating window is moved to the edge of the screen of the electronic equipment and the proportion of the windows which are not hidden in the floating window is smaller than or equal to a second preset proportion.
With the combination of the first aspect and the implementation manner, when the user drags the floating window to the edge position of the screen, the floating window can be hidden into the floating ball, and the diversity of the operation of exiting the floating window is also improved.
In some implementations, the detection region of the floating window is located at the top of the floating window. The electronic equipment sets the detection area for the user operation at the top of the floating window, so that the user can conveniently execute the sliding operation, and the interaction efficiency of the operation of exiting the floating window is improved.
In some implementations, a second control is deployed in the detection area of the floating window, and the sliding operation in the arbitrary direction is an operation input on the second control.
The electronic equipment is provided with a second control in the detection area; optionally, the second control may be a bar, and the user may input the sliding operation on the bar, so as to better conform to a usage habit of the user, and further improve interaction efficiency of the operation of exiting the floating window. Alternatively, the second control may be located in a middle position of the detection area.
In a third aspect, the present application provides an apparatus, which is included in an electronic device, and which has a function of implementing the electronic device behavior in the first aspect and in a possible implementation manner of the first aspect, or has a function of implementing the electronic device behavior in the second aspect and in a possible implementation manner of the second aspect. The functions may be realized by hardware, or may be realized by hardware executing corresponding software. The hardware or software includes one or more modules or units corresponding to the functions described above. Such as a receiving module or unit, a processing module or unit, etc.
In a fourth aspect, the present application provides an electronic device, including: a processor, a memory, and an interface; the processor, the memory and the interface cooperate with each other to enable the electronic device to execute any one of the methods in the technical solutions of the first aspect, or execute any one of the methods in the technical solutions of the second aspect.
In a fifth aspect, the present application provides a chip comprising a processor. The processor is configured to read and execute a computer program stored in the memory to perform the method of the first aspect and any possible implementation thereof, or to perform the method of the second aspect and any possible implementation thereof.
Optionally, the chip further comprises a memory, and the memory is connected with the processor through a circuit or a wire.
Further optionally, the chip further comprises a communication interface.
In a sixth aspect, the present application provides a computer-readable storage medium, in which a computer program is stored, which when executed by a processor causes the processor to perform any one of the methods of the first aspect, or to perform any one of the methods of the second aspect.
In a seventh aspect, the present application provides a computer program product comprising: computer program code which, when run on an electronic device, causes the electronic device to perform any one of the methods of the first aspect or to perform any one of the methods of the second aspect.
Drawings
FIG. 1 is a schematic diagram illustrating an example of an operation of pulling up a side taskbar on an interface of an electronic device according to an embodiment of the present application;
FIG. 2 is a schematic diagram illustrating an example of a side taskbar pulling up in a full-screen window according to an embodiment of the present application;
FIG. 3 is a schematic diagram of an exemplary full-screen window display interface according to an embodiment of the present application;
FIG. 4 is a schematic diagram illustrating a process of switching a full-screen window to a floating window according to an embodiment of the present application;
FIG. 5 is a schematic diagram illustrating a process of switching a full screen window to a floating window according to another embodiment of the present application;
FIG. 6 is a schematic diagram illustrating a process of switching a full-screen window to a floating window according to another embodiment of the present application;
FIG. 7 is a schematic diagram illustrating a process of switching a full-screen window to a floating window according to another embodiment of the present application;
FIG. 8 is a schematic diagram illustrating a process of switching a full-screen window to a floating window according to another embodiment of the present application;
FIG. 9 is a schematic diagram illustrating a process of switching a full-screen window to a floating window according to another embodiment of the present application;
FIG. 10 (a) is a schematic diagram of an exemplary split-screen window interface according to an embodiment of the present application;
FIG. 10 (b) is a schematic diagram of another example of a split-screen window interface according to an embodiment of the present application;
FIG. 11 is a schematic diagram illustrating a process of switching a split window into a floating window according to an embodiment of the present application;
FIG. 12 is a diagram illustrating a process of switching from a latest taskbar window to a floating window according to an embodiment of the present application;
FIG. 13 is a schematic diagram illustrating an embodiment of a process for hiding a floating window from a floating ball;
FIG. 14 is a schematic view of an interface of an exemplary floating window according to an embodiment of the present application;
FIG. 15 is a schematic diagram illustrating an embodiment of a process for hiding a floating window from a floating ball;
FIG. 16 is a schematic diagram of an electronic device according to an embodiment of the present application;
FIG. 17 is a block diagram of a software architecture of an electronic device provided by an embodiment of the present application;
FIG. 18 is a flowchart illustrating an exemplary method for switching display windows according to an embodiment of the present application;
fig. 19 is a signaling interaction diagram of an example method for switching display windows according to an embodiment of the present application;
FIG. 20 is a flowchart of another method for switching display windows according to an embodiment of the present application;
FIG. 21 is a flowchart of another method for switching display windows according to an embodiment of the present application;
fig. 22 is a signaling interaction diagram of another method for switching display windows according to an embodiment of the present application;
Fig. 23 is a signaling interaction diagram of an example of hiding a floating window into a floating ball according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be described below with reference to the accompanying drawings in the embodiments of the present application. Wherein, in the description of the embodiments of the present application, unless otherwise indicated, "/" means or, for example, a/B may represent a or B; "and/or" herein is merely an association relationship describing an association object, and means that three relationships may exist, for example, a and/or B may mean: a exists alone, A and B exist together, and B exists alone. In addition, in the description of the embodiments of the present application, "plurality" means two or more than two.
The terms "first," "second," "third," and the like, are used below for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defining "a first", "a second", or a third "may explicitly or implicitly include one or more such feature.
Currently, a user can hover-start an APP through a sidebar of an electronic device. As shown in FIG. 1, a user may pull up the side application bar 11 when any interface of the electronic device (e.g., a desktop) slides inward from either the left or right side; clicking on the APP icon 12 in the side taskbar 11 may hover the APP. When the electronic device runs an APP with a full screen window, as shown in fig. 2, if the side application bar 11 is pulled up, the icon 12 of the APP in the side application bar 11 is gray, and the user cannot click the icon any more; that is, APP cannot be directly switched to the floating window when running in full-screen window. Then, the user needs to withdraw or close the full-screen window of the APP, then pull up the side application bar 11, click the icon 12 of the APP, and make the APP run in the form of a floating window. From the above, the process of switching the APP from the full-screen window to the floating window is complicated.
In view of this, an embodiment of the present application provides a method for switching a display window, which adds a control area for a user to operate on a floating window, so that a user can perform a sliding operation at a preset position in the control area to complete a switching process between the full-screen window and the floating window, thereby greatly improving the interaction efficiency of the switching process. It should be noted that, the method for switching the display window provided by the embodiment of the application can be applied to electronic devices which can be provided with an APP and support floating window display, such as mobile phones, tablet computers, vehicle-mounted devices, notebook computers, ultra-mobile personal computer, UMPC, netbooks, personal digital assistants (personal digital assistant, PDA) and the like, and the embodiment of the application does not limit the specific type of the electronic devices.
As shown in fig. 3, a full screen window 71 is currently being displayed on the electronic device, and the full screen window 71 runs a first application APP1, for example, the first application is a calculator application. The bottom of the full screen window 71 has a first control area 710, and the user can perform a sliding operation at a preset position within the first control area 710. In one embodiment, the preset position may be a middle position of the first control area 710, and the effect presented to the user may be a first bar (bar) 7101, and the user may press the first bar 7101 to perform an upward sliding operation. In one embodiment, the preset position may be located on the left or right of the first control area 710, or may be represented as a circle or square. In an embodiment, the first control area 710 may also be located at the top or middle position of the full screen window 71, and the embodiment of the present application does not limit the specific position of the first control area 710.
Upon receiving a sliding operation by the user pressing the first bar 7101 upwards, the electronic device may parse and respond to the sliding operation, as shown in fig. 4, by starting to gradually decrease the size of the full screen window 71 on the electronic device, herein referred to as a transition window, which may move following the direction in which the finger slides. In one embodiment, when the electronic device receives a sliding operation that the user presses the first bar 7101 upward, the electronic device may highlight the first bar 7101 to prompt the user to continuously press the first bar 7101, and avoid the finger from sliding out of the area of the first bar 7101. In the process that the size of the transition window gradually becomes smaller, the desktop interface of the electronic device is gradually displayed, that is, the area, which is not covered by the transition window, on the screen of the electronic device starts to display the desktop interface. In one embodiment, the displayed desktop interface may present a masking effect.
The user presses the first bar 7101 to slide upwards, and the electronic device can determine the sliding distance of the finger of the user and the position of the current touch point after the sliding operation by analyzing the sliding operation. With continued reference to fig. 4, when the sliding distance is detected to be greater than or equal to a distance threshold (e.g., 10 cm), and/or the user's finger slides to a preset area, the electronic device may give a prompt to the user to prompt the user to stop the sliding operation and leave the hand. When the electronic device detects an out-of-hand operation by the user, a floating window 72 of the first application APP1 may be presented. In one embodiment, the preset area may be the top half area of the screen of the electronic device, or an area with a preset ratio (e.g. 40%) of the screen from top to bottom. In one embodiment, upon presenting the floating window 72 of the first application APP1, the electronic device may exhibit the effect of springback the reduced-size transition window as described above into the floating window 72. In one embodiment, the prompt given to the user may be a voice message, such as a sound of a "bite," or a vibration prompt.
In one embodiment, after detecting that the finger of the user slides to the preset area, the electronic device may further remove the masking effect of the preset area, and present a desktop interface to further prompt the user to stop the sliding operation. Illustratively, as shown in fig. 5, the user presses the first bar 7101 to slide upward, and when sliding to the upper half of the screen, the upper half of the screen eliminates the masking effect, displays the desktop background, the electronic device sends a vibration prompt, the user stops the sliding operation and leaves the hand, and the electronic device switches the full screen window 71 to the hover window 72. Optionally, the size of the floating window 72 resulting from the first switch is the default size.
In one embodiment, as shown in fig. 6, the user may further press the first horizontal bar 7101 to perform the upward throwing operation, and when the electronic device parses the throwing operation to obtain that the throwing speed is greater than or equal to the preset speed threshold, it may be determined that the full screen window 71 needs to be switched to the floating window, and then the floating window 72 is displayed.
In one embodiment, the user may also click the first bar 7101 to perform a continuous up-stroke operation, or perform a double-stroke operation on the first bar 7101, and when the electronic device parses the continuous up-stroke operation or the double-stroke operation, it is determined that the operation of switching the full-screen window 71 to the hover window is performed, then the hover window 72 is displayed.
In one embodiment, if the first control area 710 is located at the top of the full screen window 71, as shown in fig. 7, a first bar 7101 is provided in the middle of the first control area 710, and the user may press the first bar 7101 to slide downward. In the process of sliding down, the size of the full screen window 71 on the electronic device starts to gradually decrease and moves along with the direction of sliding the finger, and when the sliding of the finger of the user to the preset area is detected, the electronic device can give a prompt message to the user to prompt the user to stop the sliding operation and leave the hand. When the electronic device detects the hands-free operation of the user, a floating window of the first application APP1 can be displayed. In one embodiment, the preset area may be a lower half area of the screen of the electronic device, or an area of the screen with a preset proportion (e.g., 40%) from bottom to top. In one embodiment, the prompt information given to the user may also be a voice message or a vibration prompt.
In one embodiment, after the electronic device has switched full screen window 71 to hover window 72, the user may click on the APP icon on the desktop interface below hover window 72, thereby opening the full screen window corresponding to APP, at which point hover window 72 hovers over this full screen window. And the floating window and the full-screen window run in different applications, so that a user can copy and forward the information of the application in the floating window to the application in the full-screen window, or copy and forward the information of the application in the full-screen window to the application in the floating window, thereby improving the efficiency of information interaction between the two applications.
In the embodiment, the electronic device adds the control area for the user to operate on the full-screen window, and when the user needs to switch the full-screen window into the floating window, the user only needs to execute operations such as sliding at the preset position of the control area, so that the interaction efficiency in the process of switching the full-screen window into the floating window is greatly improved.
In one embodiment, the electronic device may continue to resolve the sliding operation when a user presses the first bar 7101 upward. When the touch point of the user finger reaches the first area, for example, the first area is an area in the middle of the screen of the electronic device, and is generally below the preset area, the electronic device may display a recent task bar content window, where the content window displays all applications that have recently run in the electronic device, and the applications are displayed in the form of corresponding thumbnails, and the background effect of the thumbnails may be a masking effect, where the thumbnails are screen shots of the interface of the recently run reference at the last running time. Alternatively, the recently executed applications may include applications that are currently still in a background running state, as well as applications that have stopped running. At this time, if the user continues to press the first bar 7101 to slide upward, as one possible way, as shown in fig. 8, the thumbnails of the rest of the applications except the first application APP1 disappear, and the size of the transition window of the first application APP1 continues to shrink; when the above-mentioned preset area is reached, the masking effect in the preset area is eliminated, the desktop background is displayed, the user stops the sliding operation and leaves his hand, and the electronic device switches the full-screen window 71 to the floating window 72 after receiving the leaving hand operation.
As another achievable way, as shown in fig. 9, the thumbnails of the rest of the applications except the first application APP1 do not disappear, but the thumbnails of the rest of the applications gradually drop down together with the background of the masking effect; after the sliding transition window reaches the preset area, the thumbnails of the rest of the applications and the background of the masking effect drop below the preset area to prompt the user to stop the sliding operation and leave the hand, and the electronic device switches the full-screen window 71 to the floating window 72.
In another scenario, if the electronic device displays the content window, the user does not press the first bar 7101 to slide upwards any more, but performs the leave operation, the electronic device may respond to the leave operation and continue to display the content interface. Therefore, the method provides the user with the selectivity of various displays so as to improve the use experience of the user.
In one embodiment, the electronic device may split-screen display windows of a plurality of applications on a current screen, where (a) in fig. 10 is a split-screen window in a vertical screen state of the electronic device, and (b) in fig. 10 is a split-screen window in a horizontal screen state of the electronic device. In the embodiment of the present application, 2 application windows are displayed on a split screen, where the two windows are a second window 73 of a second application APP2 and a third window 74 of a third application APP3, for example, the second application is an email application, and the third application is a memo application. The bottom of the second window 73 and the third window 74 also each have a first control area 710 where a user can perform a sliding operation at a first bar 7101 position within the first control area 710. Illustratively, as shown in fig. 11, when the user presses the first bar 7101 on the third window 74 to slide upwards, the second window 73 remains unchanged or presents a masking effect, and when the third window 74 slides to the upper half area of the screen, the electronic device gives a vibration prompt, the user stops the sliding operation and leaves the hand, and the electronic device switches the third window 74 to the corresponding floating window 75; at this time, the second window 73 is displayed in the form of a full-screen window as a background of the floating window 75. Alternatively, the user may press the first bar 7101 of the third window 74 to perform a throwing operation, a continuous swiping operation, or a double-click operation, and when the electronic device receives any one of these operations, the third window 74 may be switched to the floating window 75, and the second window 73 may be displayed as a full-screen window as a background of the floating window 75. Therefore, on the split screen display interface of the electronic equipment, a user can still quickly switch the display window into the floating window, and the interaction efficiency of the switching process is improved.
In one embodiment, if the electronic device is currently in a content window that presents thumbnails of all applications in the electronic device that have been recently run, the background effect of the thumbnails may be a masking effect, and the applications are run in a full screen window when recently run. The user can slide left and right over the content window to select an application to switch to a floating window. As shown in fig. 12, the user selects the thumbnail 76 of the first application APP1, because the thumbnail is a picture, the user cannot operate the corresponding application area in the picture, so that the user can click any position of the thumbnail 76 to slide upwards, and when the user slides to a preset area (such as 40% of the area of the screen from top to bottom), the electronic device can receive the sliding operation, and in response to the operation, the first application APP1 corresponding to the thumbnail 76 is further operated in the form of a floating window 72. Alternatively, the electronic device may also give the user a voice prompt or a vibration prompt when the thumbnail 76 is slid to the preset area. In one embodiment, since the thumbnail of the application is a screenshot of the interface at the last runtime, the first control is displayed on the thumbnail, and the user may click on the location on the thumbnail where the first control is located to perform the up-slide operation. In one embodiment, if the application corresponding to the thumbnail selected by the user is an application that has stopped running, the electronic device needs to activate and start the application first, and then run the application in a floating window.
As one way of implementation, when the user clicks the thumbnail 76 of the first application APP1 to slide upward, the thumbnails of the rest of the applications except the first application APP1 disappear, and the size of the thumbnail 76 of the first application APP1 gradually decreases; when the above-mentioned preset area is reached, the masking effect in the preset area is eliminated, the desktop background is displayed, the user stops the sliding operation and leaves his hand, and the electronic device receives the leaving hand operation and then runs the first application APP1 in the form of the floating window 72. As another implementation, when the user clicks the thumbnail 76 of the first application APP1 to slide upward, the thumbnails of the rest of the applications except the first application APP1 do not disappear, but the thumbnails of the rest of the applications gradually drop downward along with the background of the masking effect; when the sliding thumbnail 76 reaches the preset area, the thumbnails of the other applications and the background of the masking effect drop below the preset area, the user stops the sliding operation and leaves the hand, and the electronic device runs the first application APP1 in the form of the floating window 72 after receiving the leaving operation, and simultaneously the thumbnails of the other applications and the background of the masking effect (i.e., the content window) are eliminated.
In one embodiment, the user may slide up through the bottom edge of the screen of the electronic device, and when slid to the first area, the closest taskbar window described above may be displayed. In another embodiment, the user may slide up by clicking the first control under the full screen window of an application through the process described in fig. 8, and when sliding to the first area, the latest task window may be displayed.
In the above embodiment, when a user needs to switch an application into a floating window on a content window of an electronic device, only operations such as sliding and the like are needed to be performed on a thumbnail of the application, and operations such as exiting the content window and the like are not needed to be performed, so that interaction efficiency related to the floating window is greatly improved.
In one scenario, as shown in fig. 13, the electronic device currently runs the first application APP1 in the form of a floating window, and if the user wants to return the floating window to the background, the user may click the exit control 13 on the floating window or click the home key of the electronic device, and a floating ball 14 is displayed on the display interface of the electronic device. In addition, other methods of retracting the levitation window 72 to the levitation ball 14 are provided by embodiments of the present application.
As shown in fig. 14, the electronic device currently runs the first application APP1 in the form of a floating window 72, and the top of the floating window 72 has a second control area 720, and the user can perform a sliding operation at a preset position in the second control area 720. In one embodiment, the preset position may be a middle position of the second control area 720, the effect displayed to the user may be a second bar 7202, and the user may click on the second bar 7202 to perform the sliding operation. In one embodiment, the sliding operation may be an operation of sliding left, sliding right, sliding up, or sliding down. Illustratively, when the user clicks on the second bar 7202 to slide to the right, the electronic device may receive and interpret the sliding operation, determine a sliding distance and/or a sliding speed of the user's finger on the screen, and determine that the hover window 72 needs to be moved back to the hover sphere 14 based on the sliding distance and/or sliding speed. For example, assuming that the sliding distance is greater than or equal to a predetermined threshold, such as 1 centimeter (cm), the electronic device may determine that the hover window 72 needs to be retracted to the hover sphere 14, thereby displaying an interface of the hover sphere 14. It will be appreciated that the electronic device may determine the levitation position of the levitation ball 14 according to the sliding direction of the user's finger; for example, when the above sliding operation is to slide leftward, the electronic apparatus floats the suspension ball 14 to the left side of the screen; when the sliding operation is to slide rightward, the electronic device floats the suspension ball 14 to the right side of the screen; when the sliding operation is an upward sliding operation, the electronic device floats the suspending ball 14 to the top of the screen; when the above sliding operation is a downward sliding, the electronic apparatus floats the suspension ball 77 to the bottom of the screen.
Alternatively, in fig. 14, the exit control 13 may or may not be present. When the exit control 13 is present, the hover window 72 may be exited by clicking on the exit control 13 or sliding at the second bar 7202 to exit the hover window 72. When the exit control 13 is not present, it can slide at the second bar 7202 to exit the floating window 72.
In one embodiment, the user may also click on the second bar 7202 to perform a cast-out operation, such as a left cast-out, a right cast-out, an up cast-out, or a down cast-out. The electronic device may determine a payout curve of the user's finger based on the payout operation and determine whether to retract the hover window 72 to the hover ball 14 based on the payout curve. Alternatively, the electronic device may determine the position of the hover ball 14 hovering over the screen based on the direction of the pop-up curve; for example, when the direction of the cast curve is cast to the left, the electronic device floats the suspension ball 14 to the left of the screen; when the direction of the throwing curve is throwing to the right, the electronic equipment floats the suspension ball 14 to the right side of the screen; when the direction of the throwing curve is upward throwing, the electronic equipment floats the suspension ball 14 to the top of the screen; when the direction of the throwing curve is throwing downwards, the electronic device floats the suspension ball 14 to the bottom of the screen.
In one embodiment, the user may also drag the second bar 7202 to move the floating window 72 back and forth, as shown in fig. 15, the floating window 72 may be moved to the left, right, or bottom edge of the screen, and the floating window 72 may only display a portion of the window when at the edge. In the embodiment of the present application, when the floating window 72 is moved to the edge of the screen and the proportion of the displayed partial window to the entire floating window 72 is less than or equal to the preset proportion (for example, 50%), the electronic device may retract the floating window 72 to the floating ball 14. Alternatively, in another embodiment, when the user drags the second bar 7202 to move back and forth, if the electronic device detects that the touch point of the user's finger has reached the left, right or bottom edge of the screen, the hover window 72 is moved back to the hover sphere 14. During the retraction of the floating window 72 into the floating ball 14, the electronic device may also exhibit the effect that the floating window 72 gradually shrinks and disappears, and the floating ball 14 appears after the floating window 72 disappears.
If the user still needs to redisplay the floating window 72, the user may click on the floating ball 14, so that the floating window 72 may be redisplayed.
In the above embodiment, when the user performs the sliding operation in the second control area, the floating window may be hidden in the floating ball, so as to improve the diversity of the operation of exiting the floating window.
In one embodiment, an exemplary electronic device 100 is provided. As shown in fig. 16, the electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (universal serial bus, USB) interface 130, a charge 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, keys 190, a motor 191, an indicator 192, a camera 193, a display 194, a user identification module (subscriber identification module, SIM) card interface 195, and the like. The sensor module 180 may include a pressure sensor 180A, a gyro sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration 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, and the like.
It should be understood that the illustrated structure of the embodiment of the present application does not constitute a specific limitation on the electronic device 100. In other embodiments of the application, electronic device 100 may include more or fewer components than shown, or certain components may be combined, or certain components may be split, or different arrangements of components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
It should be understood that the interfacing relationship between the modules illustrated in the embodiments of the present application is only illustrative, and is not meant to limit the structure of the electronic device 100. In other embodiments of the present application, the electronic device 100 may also employ different interfacing manners in the above embodiments, or a combination of multiple interfacing manners.
The electronic device 100 implements display functions through a GPU, a display screen 194, an application processor, and the like. The GPU is a microprocessor for image processing, and is connected to the display 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. Processor 110 may include one or more GPUs that execute program instructions to generate or change display information.
The display screen 194 is used to display images, videos, and the like. The display 194 includes a display panel. The display panel may employ a liquid crystal display (liquid crystal display, LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode (AMOLED) or an active-matrix organic light-emitting diode (matrix organic light emitting diode), a flexible light-emitting diode (flex), a mini, a Micro led, a Micro-OLED, a quantum dot light-emitting diode (quantum dot light emitting diodes, QLED), or the like. In some embodiments, the electronic device 100 may include 1 or N display screens 194, N being a positive integer greater than 1.
The electronic device 100 may implement photographing functions through an ISP, a camera 193, a video codec, a GPU, a display screen 194, an application processor, and the like.
Video codecs are used to compress or decompress digital video. The electronic device 100 may support one or more video codecs. In this way, the electronic device 100 may play or record video in a variety of encoding formats, such as: dynamic picture experts group (moving picture experts group, MPEG) 1, MPEG2, MPEG3, MPEG4, etc.
The NPU is a neural-network (NN) computing processor, and can rapidly process input information by referencing a biological neural network structure, for example, referencing a transmission mode between human brain neurons, and can also continuously perform self-learning. Applications such as intelligent awareness of the electronic device 100 may be implemented through the NPU, for example: image recognition, face recognition, speech recognition, text understanding, etc.
The pressure sensor 180A is used to sense a pressure signal, and may convert the pressure signal into an electrical signal. In some embodiments, the pressure sensor 180A may be disposed on the display screen 194. The pressure sensor 180A is of various types, such as a resistive pressure sensor, an inductive pressure sensor, a capacitive pressure sensor, and the like. The capacitive pressure sensor may be a capacitive pressure sensor comprising at least two parallel plates with conductive material. The capacitance between the electrodes changes when a force is applied to the pressure sensor 180A. The electronic device 100 determines the strength of the pressure from the change in capacitance. When a touch operation is applied to the display screen 194, the electronic apparatus 100 detects the touch operation intensity according to the pressure sensor 180A. The electronic device 100 may also calculate the location of the touch based on the detection signal of the pressure sensor 180A. In some embodiments, touch operations that act on the same touch location, but at different touch operation strengths, may correspond to different operation instructions. For example: and executing an instruction for checking the short message when the touch operation with the touch operation intensity smaller than the first pressure threshold acts on the short message application icon. And executing an instruction for newly creating the short message when the touch operation with the touch operation intensity being greater than or equal to the first pressure threshold acts on the short message application icon.
The touch sensor 180K, also referred to as a "touch panel". The touch sensor 180K may be disposed on the display screen 194, and the touch sensor 180K and the display screen 194 form a touch screen, which is also called a "touch screen". The touch sensor 180K is for detecting a touch operation acting thereon or thereabout. The touch sensor may communicate the detected touch operation to the application processor to determine the touch event type. Visual output related to touch operations may be provided through the display 194. In other embodiments, the touch sensor 180K may also be disposed on the surface of the electronic device 100 at a different location than the display 194.
The software system of the electronic device 100 may employ a layered architecture, an event driven architecture, a microkernel architecture, a microservice architecture, or a cloud architecture. In the embodiment of the application, taking an Android system with a layered architecture as an example, a software structure of the electronic device 100 is illustrated.
Fig. 17 is a software configuration block diagram of the electronic device 100 according to the embodiment of the present application. The layered architecture divides the software into several layers, each with distinct roles and branches. The layers communicate with each other through a software interface. In some embodiments, the Android system is divided into four layers, from top to bottom, an application layer, an application framework layer, an Zhuoyun row (Android run) and system libraries, and a kernel layer, respectively. The application layer may include a series of application packages.
As shown in fig. 17, the application layer may include applications such as cameras, gallery, calendar, phone calls, map, navigation, WLAN, bluetooth, music, video, short messages, etc., and may also include a hover management system, a recent task management system, a desktop system, etc.
The application framework layer provides an application programming interface (application programming interface, API) and programming framework for application programs of the application layer. The application framework layer includes a number of predefined functions.
As shown in fig. 17, the application framework layer may include a window manager (window manager service, WMS), a content provider, a view system, a phone manager, a resource manager, a notification manager, and the like.
The window manager is used for managing window programs. The window manager can acquire the size of the display screen, judge whether a status bar exists, lock the screen, intercept the screen and the like. The window manager may include full screen application controls, a window management system, and the like.
The content provider is used to store and retrieve data and make such data accessible to applications. The data may include video, images, audio, calls made and received, browsing history and bookmarks, phonebooks, etc.
The view system includes visual controls, such as controls to display text, controls to display pictures, and the like. The view system may be used to build applications. The display interface may be composed of one or more views. For example, a display interface including a text message notification icon may include a view displaying text and a view displaying a picture. The view system may include a dynamic effect system or the like.
The telephony manager is used to provide the communication functions of the electronic device 100. Such as the management of call status (including on, hung-up, etc.).
The resource manager provides various resources for the application program, such as localization strings, icons, pictures, layout files, video files, and the like.
The notification manager allows the application to display notification information in a status bar, can be used to communicate notification type messages, can automatically disappear after a short dwell, and does not require user interaction. Such as notification manager is used to inform that the download is complete, message alerts, etc. The notification manager may also be a notification in the form of a chart or scroll bar text that appears on the system top status bar, such as a notification of a background running application, or a notification that appears on the screen in the form of a dialog window. For example, a text message is prompted in a status bar, a prompt tone is emitted, the electronic device vibrates, and an indicator light blinks, etc.
Android runtimes include core libraries and virtual machines. Android run time is responsible for scheduling and management of the Android system.
The core library consists of two parts: one part is a function which needs to be called by java language, and the other part is a core library of android.
The application layer and the application framework layer run in a virtual machine. The virtual machine executes java files of the application program layer and the application program framework layer as binary files. The virtual machine is used for executing the functions of object life cycle management, stack management, thread management, security and exception management, garbage collection and the like.
The system library may include a plurality of functional modules. For example: surface manager (surface manager), media library (media library), three-dimensional graphics processing library (e.g., openGL ES), 2D graphics engine (e.g., SGL), etc.
The surface manager is used to manage the display subsystem and provides a fusion of 2D and 3D layers for multiple applications.
Media libraries support a variety of commonly used audio, video format playback and recording, still image files, and the like. The media library may support a variety of audio and video encoding formats, such as MPEG4, h.264, MP3, AAC, AMR, JPG, PNG, etc.
The three-dimensional graphic processing library is used for realizing three-dimensional graphic drawing, image rendering, synthesis, layer processing and the like.
The 2D graphics engine is a drawing engine for 2D drawing.
The kernel layer is a layer between hardware and software. The inner core layer at least comprises a display driver, a camera driver, an audio driver and a sensor driver.
In one embodiment, the full screen application control and the recent task management system may receive an operation performed by a user on the full screen window, such as a click operation, a sliding operation, etc., and when the operation performed by the user is a preset operation of switching to the floating window, the switching logic may be started to invoke the window management system. And the window management system displays the corresponding floating window according to the switching logic. The dynamic effect system can generate and display corresponding playing animation according to the operation executed by the user.
In one embodiment, when a user operates to retract the displayed hover window to the hover ball, the hover ball management system may display the corresponding hover ball.
For easy understanding, the following embodiments of the present application will take an electronic device having the structure shown in fig. 16 and 17 as an example, and specifically describe a method for switching a display window provided by the embodiments of the present application with reference to the accompanying drawings and application scenarios.
In connection with the above description of the embodiments, in one embodiment, fig. 18 is a flowchart illustrating an example of a method for switching display windows according to an embodiment of the present application, where the method is performed by the electronic device of fig. 16, and includes:
s101, displaying a full-screen window on a screen of the electronic equipment, wherein the full-screen window displays an interface of a first application, and the bottom of the full-screen window comprises a first control which is used for receiving user operation.
S102, receiving a sliding operation input by a user in the upward direction through a first control, wherein the sliding operation is used for switching an interface of a first application from full-screen window display to floating window display.
The first control may be located at the bottom, the top or the middle of the full-screen window, and the sliding operation may also be a downward sliding operation.
S103, following the sliding operation in the upward direction, reducing the display size of the full-screen window, obtaining a transition window, and enabling the transition window to move upwards.
And S104, when the transition window is moved to a preset area of the screen of the electronic equipment, the transition window disappears, a floating window is displayed, and the floating window displays an interface of the first application.
The preset area may be an upper half area of the screen of the electronic device, an area of the screen with a preset proportion (for example, 40%) from top to bottom, or a lower half area of the screen of the electronic device, an area of the screen with a preset proportion from bottom to top.
In connection with fig. 4, the first application may be a calculator application, the full screen window 71 includes a first control area 710, and the user may input an upward sliding operation at a first bar 7101 of the first control area 710, and when the transition window is slid to a preset area, the floating window 72 may be displayed. The specific implementation process of S101-S104 may be referred to the description of the foregoing embodiments, and the implementation principle and technical effects are similar, and are not repeated herein.
In connection with the process flow of fig. 18 and the system architecture of fig. 17, fig. 19 shows a signaling interaction diagram of an example of a method for switching display windows, which specifically includes:
the window management system displays a full screen window, the full screen window running the first application. The full screen application control receives the sliding operation of the user on the full screen window, and starts the switching logic. And the dynamic effect system draws the window and reduces the animation according to the sliding operation, and when the user leaves the hand in a preset area, the window management system sets the first application as the size of the floating window. Meanwhile, the dynamic effect system generates animation that the reduced window rebounds to the floating window, and notifies the first application to draw according to the size of the floating window, and then the window management system displays the floating window of the first application.
In another embodiment, fig. 20 is a flowchart of another method for switching display windows according to an embodiment of the present application, where the method includes:
s201, displaying a full-screen window on a screen of the electronic device, wherein the full-screen window displays an interface of a first application, and the bottom of the full-screen window comprises a first control which is used for receiving user operation.
S202, receiving a sliding operation input by a user in the upward direction through a first control, wherein the sliding operation is used for switching an interface of a first application from full-screen window display to floating window display.
S203, following the sliding operation in the upward direction, reducing the display size of the full-screen window, obtaining a transition window, and enabling the transition window to move upwards.
S204, when the transition window is detected to be slid to the first area of the screen, displaying the latest taskbar window.
The first area may be an area in a middle position of the screen of the electronic device.
And S205, when the transition window is detected to be slid to the preset area of the screen, the transition window disappears, and the current interface of the first application is displayed under the floating window.
In connection with fig. 8, the first application may be a calculator application, the full screen window 71 includes a first control area 710, and the user may input an upward sliding operation at a first bar 7101 of the first control area 710, and may display a latest taskbar window when the transition window is slid to the first area, and may display a hover window 72 when the transition window is slid to a preset area. The specific implementation process of S201 to S205 may be referred to the description of the foregoing embodiments, and the implementation principle and technical effects are similar, and are not repeated herein.
In yet another embodiment, fig. 21 is a flowchart of another method for switching display windows according to an embodiment of the present application, where the method includes:
s301, displaying a latest taskbar window on a screen of the electronic device, wherein the latest taskbar window comprises thumbnail corresponding to the application which is recently operated in the electronic device.
S302, receiving a sliding operation of a thumbnail of a first application in a latest taskbar window by a user, wherein the sliding operation is used for running the first application in a floating window mode.
S303, following the sliding operation, reducing the display size of the thumbnail of the first application and moving the thumbnail of the first application upwards.
And S304, when the thumbnail is detected to be slid to the preset area of the screen, displaying the interface of the first application under the floating window.
In connection with FIG. 12, the most recent taskbar window displays a thumbnail 76 of the calculator application as well as partial thumbnails of the other two applications. The user can input an upward sliding operation at an arbitrary position of the thumbnail 76, and when the thumbnail 76 is slid to a preset area, the floating window 72 can be displayed. The specific implementation process of S301 to S304 may be referred to the description of the foregoing embodiments, and the implementation principle and technical effects are similar, and are not repeated herein.
In connection with the process flow of fig. 21 and the system architecture of fig. 17, fig. 22 shows a signaling interaction diagram of another method for switching display windows, which specifically includes:
the latest task management system displays a latest task bar window, receives an upward sliding operation of the thumbnail of the first application on the latest task bar window by a user, and the latest task bar interface translates downward along the sliding direction. When the user moves the thumbnail to a preset area, the desktop system displays a part of desktop interface, and the window management system starts the first application in a floating window mode. Meanwhile, the dynamic effect system generates a floating window rebound animation, and informs a latest task management system to enable a latest task bar interface to eliminate the approach, and generates a latest task bar interface approach animation.
In conjunction with the above description of the embodiments, in one embodiment, fig. 23 shows an example of a signaling interaction diagram for moving a floating window back to a floating sphere, which specifically includes:
the window management system displays a floating window running a first application, such as the calculator application described above in fig. 15. The full screen application control receives a sliding operation by the user on the hover window, such as the sliding operation performed on the second bar 7202 on the hover window in fig. 15. And the dynamic effect system draws a floating window and a hand-following translation animation according to the sliding operation, and when a user leaves hands in a preset area, the window management system minimizes the first application. Meanwhile, the dynamic effect system generates animation that the floating window is reduced and disappears along with the hand leaving direction, and the floating ball is animated along with the hand leaving direction. After the animation is played, the suspension ball management system starts the suspension ball, and the first application is returned to the background.
In the above embodiment, by adding the control area for the user to operate on the floating window, when the user needs to withdraw the floating window to the floating ball, the electronic device can click the withdraw control or the home key of the electronic device, and can perform other operations such as sliding at the preset position of the control area, thereby improving the diversity of operations of withdrawing the floating window.
The above describes in detail an example of a method for switching display windows provided by an embodiment of the present application. It will be appreciated that the electronic device, in order to achieve the above-described functions, includes corresponding hardware and/or software modules that perform the respective functions. Those of skill in the art will readily appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as hardware or combinations of hardware and computer software. Whether a function is implemented as hardware or computer software driven hardware depends upon the particular application and design constraints imposed on the solution. Those skilled in the art may implement the described functionality using different approaches for each particular application in conjunction with the embodiments, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
The embodiment of the application can divide the functional modules of the electronic device according to the method example, for example, each function can be divided into each functional module, for example, a detection unit, a processing unit, a display unit, and the like, and two or more functions can be integrated into one module. The integrated modules may be implemented in hardware or in software functional modules. It should be noted that, in the embodiment of the present application, the division of the modules is schematic, which is merely a logic function division, and other division manners may be implemented in actual implementation.
It should be noted that, all relevant contents of each step related to the above method embodiment may be cited to the functional description of the corresponding functional module, which is not described herein.
The electronic device provided in this embodiment is configured to execute the method for switching display windows, so that the same effects as those of the implementation method can be achieved.
In case an integrated unit is employed, the electronic device may further comprise a processing module, a storage module and a communication module. The processing module can be used for controlling and managing the actions of the electronic equipment. The memory module may be used to support the electronic device to execute stored program code, data, etc. And the communication module can be used for supporting the communication between the electronic device and other devices.
Wherein the processing module may be a processor or a controller. Which may implement or perform the various exemplary logic blocks, modules and circuits described in connection with this disclosure. A processor may also be a combination that performs computing functions, e.g., including one or more microprocessors, digital signal processing (digital signal processing, DSP) and microprocessor combinations, and the like. The memory module may be a memory. The communication module can be a radio frequency circuit, a Bluetooth chip, a Wi-Fi chip and other equipment which interact with other electronic equipment.
In one embodiment, when the processing module is a processor and the storage module is a memory, the electronic device according to this embodiment may be a device having the structure shown in fig. 16.
The embodiment of the application also provides a computer readable storage medium, in which a computer program is stored, which when executed by a processor, causes the processor to execute the method for switching display windows according to any of the above embodiments.
The embodiment of the application also provides a computer program product, which when running on a computer, causes the computer to execute the related steps so as to realize the method for switching the display window in the embodiment.
In addition, embodiments of the present application also provide an apparatus, which may be embodied as a chip, component or module, which may include a processor and a memory coupled to each other; the memory is configured to store computer-executable instructions, and when the device is running, the processor may execute the computer-executable instructions stored in the memory, so that the chip performs the method for switching the display window in the above method embodiments.
The electronic device, the computer readable storage medium, the computer program product or the chip provided in this embodiment are used to execute the corresponding method provided above, so that the beneficial effects thereof can be referred to the beneficial effects in the corresponding method provided above, and will not be described herein.
It will be appreciated by those skilled in the art that, for convenience and brevity of description, only the above-described division of the functional modules is illustrated, and in practical application, the above-described functional allocation may be performed by different functional modules according to needs, i.e. the internal structure of the apparatus is divided into different functional modules to perform all or part of the functions described above.
In the several embodiments provided by the present application, it should be understood that the disclosed apparatus and method may be implemented in other manners. For example, the apparatus embodiments described above are merely illustrative, e.g., the division of modules or units is merely a logical function division, and there may be additional divisions when actually implemented, e.g., multiple units or components may be combined or integrated into another apparatus, or some features may be omitted or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or units, which may be in electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and the parts shown as units may be one physical unit or a plurality of physical units, may be located in one place, or may be distributed in a plurality of different places. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in the embodiments of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
The integrated units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a readable storage medium. Based on such understanding, the technical solution of the embodiments of the present application may be essentially or a part contributing to the prior art or all or part of the technical solution may be embodied in the form of a software product stored in a storage medium, including several instructions for causing a device (may be a single-chip microcomputer, a chip or the like) or a processor (processor) to perform all or part of the steps of the methods of the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read Only Memory (ROM), a random access memory (random access memory, RAM), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
The foregoing is merely illustrative of the present application, and the present application is not limited thereto, and any person skilled in the art will readily recognize that variations or substitutions are within the scope of the present application. Therefore, the protection scope of the application is subject to the protection scope of the claims.

Claims (9)

1. A method of switching display windows, the method performed by an electronic device, the method comprising:
displaying a full-screen window on a screen of the electronic device, wherein the full-screen window displays an interface of a first application, and the middle position of the bottom of the full-screen window comprises a first control which is used for receiving user operation;
receiving a sliding operation of the user in the upward direction input through the first control;
the display size of the full screen window is reduced along with the sliding operation in the upward direction, a transition window is obtained, the transition window is moved upward, and meanwhile, the display brightness of the first control is improved;
when the transition window is detected to be moved to a first area of the screen of the electronic equipment, displaying the transition window and interfaces of other recently operated applications, wherein the first area is positioned below a preset area on the screen of the electronic equipment;
if the fact that the user continuously presses the first control to move upwards is detected, the interfaces displayed with other applications are controlled to move downwards gradually, and the transition window is controlled to move upwards gradually, wherein the window size of the transition window is gradually reduced in the upward moving process, the background interfaces of the transition window are displayed as desktop interfaces, icons of a plurality of applications are displayed on the desktop interfaces, the background interfaces of the other applications are displayed as mask interfaces, and a dividing line is arranged between each desktop interface and each mask interface;
When the transition window is moved to the preset area of the screen of the electronic equipment, outputting prompt information, wherein the prompt information is used for prompting the user to stop the upward sliding operation and execute the hands-off operation;
when the user's hands-off operation is detected, the transition window disappears, a floating window is displayed, the floating window displays the interface of the first application, the middle position of the bottom of the floating window comprises the first control, the middle position of the top of the floating window comprises the second control, and the window size of the transition window before the user's hands-off operation is smaller than the window size of the floating window;
if the sliding operation of the user in the left direction or the right direction input by the second control is detected, hiding the floating window into a floating ball in response to the sliding operation in the left direction or the right direction, wherein the floating ball is positioned on the left side or the right side of a screen of the electronic equipment;
the method further comprises the steps of:
the method comprises the steps that a window of a second application and a window of a third application are displayed on a screen of the electronic device in a split screen mode, and the bottom of the window of the second application and the bottom of the window of the third application both comprise first controls;
Receiving an upward sliding operation input by the user through a first control on a window of the third application;
switching the window of the third application into a transition window along with the sliding operation in the upward direction, enabling the transition window to move upward, and outputting prompt information when the transition window is detected to be moved to a preset area of a screen of the electronic equipment;
when the user's hands-off operation is detected, the transition window disappears, a floating window of the third application and a full-screen window of the second application are displayed, and the floating window of the third application is displayed on the full-screen window of the second application in a floating mode.
2. The method of claim 1, wherein the predetermined area is a first predetermined ratio of areas from top to bottom on a screen of the electronic device.
3. The method according to claim 2, wherein the method further comprises:
and in the process that the transition window is moved upwards, a masking effect is displayed on the area, which is not covered by the transition window, of the screen of the electronic equipment.
4. A method according to any one of claims 1-3, wherein outputting a prompt when the transition window is moved to the preset area of the screen of the electronic device comprises:
Analyzing the upward sliding operation, and determining the sliding distance of the finger of the user and/or the position of the current touch point in the screen after the upward sliding operation;
and if the sliding distance is greater than or equal to a preset distance threshold value and/or the position of the current touch point in the screen is positioned in the preset area, outputting prompt information.
5. A method according to any of claims 1-3, characterized in that the other application that has been recently run is displayed in the form of a picture, which is a screenshot of the interface of the last run time of the other application.
6. A method according to any of claims 1-3, wherein the interface of the transition window and other applications that have been recently run is the interface corresponding to the most recent taskbar window.
7. The method of claim 1, wherein after displaying the hover window, hiding the hover window into a hover ball in response to the sliding operation in the left or right direction comprises:
detecting the sliding operation in the left direction or the right direction, and enabling the floating window to move along the sliding direction;
And hiding the floating window into a floating ball when the floating window is moved to the left side edge or the right side edge of the screen of the electronic equipment and the proportion of the windows which are not hidden in the floating window is smaller than or equal to a second preset proportion.
8. An electronic device, comprising:
one or more processors;
one or more memories;
a module in which a plurality of application programs are installed;
the memory stores one or more programs that, when executed by the processor, cause the electronic device to perform the method of any of claims 1-7.
9. A computer readable storage medium, characterized in that the computer readable storage medium has stored therein a computer program which, when executed by a processor, causes the processor to perform the method of any of claims 1 to 7.
CN202110925958.1A 2021-08-12 2021-08-12 Method for switching display window and electronic equipment Active CN113805743B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110925958.1A CN113805743B (en) 2021-08-12 2021-08-12 Method for switching display window and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110925958.1A CN113805743B (en) 2021-08-12 2021-08-12 Method for switching display window and electronic equipment

Publications (2)

Publication Number Publication Date
CN113805743A CN113805743A (en) 2021-12-17
CN113805743B true CN113805743B (en) 2023-08-11

Family

ID=78893510

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110925958.1A Active CN113805743B (en) 2021-08-12 2021-08-12 Method for switching display window and electronic equipment

Country Status (1)

Country Link
CN (1) CN113805743B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114995693B (en) * 2021-12-31 2023-03-31 荣耀终端有限公司 Display screen window switching method and electronic equipment
CN117008772A (en) * 2022-04-28 2023-11-07 华为技术有限公司 Display method of application window and electronic equipment
CN117270748A (en) * 2022-06-14 2023-12-22 Oppo广东移动通信有限公司 Interface operation method and device and electronic equipment
CN114995701B (en) * 2022-07-19 2024-04-02 荣耀终端有限公司 Suspended window control method and related device

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108920240A (en) * 2018-06-29 2018-11-30 Oppo(重庆)智能科技有限公司 Method for displaying user interface, device, terminal and storage medium
CN109313530A (en) * 2017-05-16 2019-02-05 苹果公司 Equipment, method and graphic user interface for carrying out navigating and interacting with control object between user interface
CN109358941A (en) * 2018-11-01 2019-02-19 联想(北京)有限公司 A kind of control method and electronic equipment
CN110196674A (en) * 2019-05-07 2019-09-03 珠海格力电器股份有限公司 A kind of terminal interaction method, device, medium and terminal
WO2020010911A1 (en) * 2018-07-10 2020-01-16 Oppo广东移动通信有限公司 Split-screen display processing method and apparatus, storage medium, and electronic device
CN111399959A (en) * 2020-03-17 2020-07-10 Oppo广东移动通信有限公司 Multitasking operation method and device, electronic equipment and storage medium
CN111399720A (en) * 2020-03-24 2020-07-10 北京小米移动软件有限公司 Method and device for displaying application interface and storage medium
CN111966252A (en) * 2020-05-14 2020-11-20 华为技术有限公司 Application window display method and electronic equipment
CN112130715A (en) * 2019-06-25 2020-12-25 华为技术有限公司 Display method and electronic equipment
CN112527165A (en) * 2020-12-16 2021-03-19 Oppo广东移动通信有限公司 Method, device and equipment for adjusting interface display state and storage medium

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102016975B1 (en) * 2012-07-27 2019-09-02 삼성전자주식회사 Display apparatus and method for controlling thereof

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109313530A (en) * 2017-05-16 2019-02-05 苹果公司 Equipment, method and graphic user interface for carrying out navigating and interacting with control object between user interface
CN108920240A (en) * 2018-06-29 2018-11-30 Oppo(重庆)智能科技有限公司 Method for displaying user interface, device, terminal and storage medium
WO2020010911A1 (en) * 2018-07-10 2020-01-16 Oppo广东移动通信有限公司 Split-screen display processing method and apparatus, storage medium, and electronic device
CN109358941A (en) * 2018-11-01 2019-02-19 联想(北京)有限公司 A kind of control method and electronic equipment
CN110196674A (en) * 2019-05-07 2019-09-03 珠海格力电器股份有限公司 A kind of terminal interaction method, device, medium and terminal
CN112130715A (en) * 2019-06-25 2020-12-25 华为技术有限公司 Display method and electronic equipment
CN111399959A (en) * 2020-03-17 2020-07-10 Oppo广东移动通信有限公司 Multitasking operation method and device, electronic equipment and storage medium
CN111399720A (en) * 2020-03-24 2020-07-10 北京小米移动软件有限公司 Method and device for displaying application interface and storage medium
CN111966252A (en) * 2020-05-14 2020-11-20 华为技术有限公司 Application window display method and electronic equipment
CN112527165A (en) * 2020-12-16 2021-03-19 Oppo广东移动通信有限公司 Method, device and equipment for adjusting interface display state and storage medium

Also Published As

Publication number Publication date
CN113805743A (en) 2021-12-17

Similar Documents

Publication Publication Date Title
CN113805743B (en) Method for switching display window and electronic equipment
US10205985B2 (en) Management of the channel bar
US20190391730A1 (en) Computer application launching
JP6502793B2 (en) System and method for displaying notifications received from multiple applications
CN114416227B (en) Window switching method, electronic device and readable storage medium
RU2675153C2 (en) Method for providing feedback in response to user input and terminal implementing same
WO2016048310A1 (en) Management of the channel bar
CN113805744A (en) Window display method and electronic equipment
CN111263002B (en) Display method and electronic equipment
CN114816167B (en) Application icon display method, electronic device and readable storage medium
CN113132526B (en) Page drawing method and related device
WO2023040666A1 (en) Keyboard display method, foldable screen device, and computer-readable storage medium
WO2021244459A1 (en) Input method and electronic device
CN114461312B (en) Display method, electronic device and storage medium
CN116661635B (en) Gesture processing method and electronic equipment
CN116048317B (en) Display method and device
CN116048311B (en) Window display method, electronic device, and computer-readable storage medium
EP4322144A1 (en) Display screen brightness adjustment method, electronic device and storage medium
WO2024078114A1 (en) Window display method, electronic device, and computer-readable storage medium
WO2024001871A1 (en) Control and operation method and electronic device
CN116702701A (en) Word weight adjusting method, terminal and storage medium
CN117827055A (en) Card display method, electronic device, and computer-readable storage medium
CN117707406A (en) Bright screen display method, electronic equipment and storage medium
CN116048311A (en) Window display method, electronic device, and computer-readable storage medium
CN117724783A (en) Dynamic effect display method and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant