Application window processing method and related device
By displaying the controls of the application window on the top of the first display screen, the fatigue and screen shaking problems caused by frequent hand-raising and clicking by users in the folding screen device are solved, and the operation convenience and user experience are improved.
Patent Information
- Application Number
- PCT/CN2024/092987
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-05-15
- Filing Date
- 2024-05-14
- Publication Date
- 2024-11-21
AI Technical Summary
In the folding screen device, frequent raising of hand to click on the second display screen causes fatigue to the user and may cause the screen to shake or tilt, and the user needs to lower his head to operate, causing a burden on the cervical spine.
The controls of the application window are displayed on the top of the first display screen. The user inputs the operation through these controls to avoid raising his hand to click on the second display screen, realizes control of the application window, and view the controls without bowing his head.
Reduces user fatigue and screen shaking, avoids cervical vertebrae burden, and improves user experience and operation convenience.
Smart Images

Figure CN2024092987_21112024_PF_FP_ABST
Abstract
Description
A method for processing application windows and related equipment
[0001] This application claims priority to the Chinese patent application filed with the State Intellectual Property Office on May 15, 2023, with application number 202310547087.3 and invention name “A method for processing application windows and related devices”, the entire contents of which are incorporated by reference into this application. Technical Field
[0002] The present application relates to the field of computer technology, and in particular to a method for processing an application window and related equipment. Background Art
[0003] With the emergence of foldable screen devices, in order to provide users with a larger screen display area, the area originally used to place the physical keyboard and touchpad can now also be used to display application windows.
[0004] Since the physical touchpad is removed, users can raise their hands and click on the second display to input control operations for the application window on the second display; however, frequent hand-raising actions will not only make users tired, but may also cause the second display to shake or even fall when clicking on the second display.
[0005] Summary of the Invention
[0006] An embodiment of the present application provides a method for processing an application window and related equipment. A user can input operations for the application window through the controls of the first application window located at the top of the first display screen, so the user no longer needs to raise his hand to click the second display screen, which not only avoids user fatigue, but also avoids shaking or even tipping of the second display screen. In addition, since the controls of the application window are set at the top of the first display screen, the user does not need to lower his head to see the controls of the application window, which avoids burdening the user's cervical spine and is conducive to further improving the user stickiness of this solution.
[0007] To solve the above technical problems, the embodiments of the present application provide the following technical solutions:
[0008] In a first aspect, an embodiment of the present application provides a method for processing an application window, which can be used in the field of human-computer interaction; the method is applied to an electronic device, the electronic device including a first display screen, and the method includes: the electronic device displays the controls of each first application window in at least one first application window at the top of the first display screen, the top of the first display screen being the area of the first display screen close to the second display screen, and each first application window is in an open state in the first display screen or the second display screen. The first application window being in an open state in the first display screen or the second display screen includes: the first application window is displayed on the first display screen, the first application window is displayed on the second display screen, the first application window is in a retracted state in the first display screen, or the first application window is in a retracted state in the second display screen. For example, if there is an open application window only in the second display screen, then "at least one first application window" may include all application windows opened in the second display screen; if there is an open application window only in the first display screen, then "at least one first application window" may include all application windows opened in the first display screen; if there are open application windows in both the first display screen and the second display screen, then "at least one first application window" may include all application windows opened in the first display screen and all application windows opened in the second display screen.
[0009] The electronic device obtains the first operation through the controls of the first application window, that is, the first operation is input by the user through the controls of the first application window; the electronic device determines the second operation for the first application window in response to the first operation. In this implementation, the controls of each application window are displayed at the top of the first display screen, and the user can input the operation for the application window through the controls of the first application window located at the top of the first display screen. The user no longer needs to raise his hand to click on the second display screen, which not only avoids user fatigue, but also avoids shaking or even tipping of the second display screen; in addition, because the controls of the application window are set at the top of the first display screen, the user does not need to lower his head to see the controls of the application window, which avoids burdening the user's cervical spine and is conducive to further improving the user stickiness of this solution.
[0010] In one possible implementation, when controls and input controls of at least one first application window are displayed on the first display screen, the controls of the at least one first application window are located above the input controls, and the input controls include a keyboard and / or a touchpad. In this implementation, while controlling the first application window through the controls of the first application window displayed on the first display screen, the keyboard and / or touchpad can also be conveniently used. Furthermore, because the controls of the first application window are located above the input controls, it is less likely that the controls of the first application window will be accidentally touched when using the keyboard and / or touchpad.
[0011] In one possible implementation, during the switching of an input control between multiple display modes, the area occupied by the control of at least one first application window can be automatically adjusted. That is, the factors that trigger the adjustment of the area occupied by the control of at least one first application window include: the input control switching between a first display mode and a second display mode. The first display mode is to simultaneously display the keyboard and touchpad, with the touchpad located above or below the keyboard; and the second display mode is any one of the following display modes: displaying a touchpad thumbnail and the keyboard, displaying a keyboard thumbnail and the touchpad, or displaying the keyboard and touchpad simultaneously, with the touchpad located to the left or right of the keyboard.
[0012] Optionally, when the display mode of the input control is the second display mode, the controls of at least one first application window can adopt the first expanded state; when the display mode of the input control is the first display mode, the controls of at least one first application window can adopt the second expanded state, and the area occupied by the controls of at least one first application window in the first expanded state is larger than the area occupied by the controls of at least one first application window in the second expanded state.
[0013] In this implementation, since the width of the second display screen is fixed, when the keyboard and touchpad are displayed at the same time, and the touchpad is displayed on the upper or lower side of the keyboard, the width of the touchpad and keyboard will be compressed. In this case, the area occupied by the controls of at least one first application window is automatically reduced, which is conducive to making the touchpad and keyboard wider and improving the user experience of using the touchpad and keyboard; when the touchpad and keyboard are no longer displayed in the upper and lower positions, the width of the touchpad and keyboard will no longer be compressed. In this case, the area occupied by the controls of at least one first application window is automatically enlarged, which is conducive to improving the user experience of using the controls of the first application window; that is, through the aforementioned scheme, the area occupied by the controls of the first application window can be automatically adjusted in combination with the actual scenario, which is conducive to improving the user experience.
[0014] In one possible implementation, the modes for displaying input controls on the first display screen include any one or more of the following: displaying a touchpad thumbnail and the keyboard; displaying a keyboard thumbnail and the touchpad; displaying a touchpad thumbnail and a keyboard thumbnail; displaying the keyboard and touchpad simultaneously, with the touchpad to the left or right of the keyboard; or displaying the keyboard and touchpad simultaneously, with the touchpad above or below the keyboard. This implementation provides multiple keyboard and touchpad display modes, facilitating adaptation to a wide variety of application scenarios and increasing the implementation flexibility of the solution.
[0015] In one possible implementation, when the controls of at least one first application window are in the first display state, the controls of the first application window include a thumbnail of the first application window and / or a first icon of the application corresponding to the first application window; wherein, "the application corresponding to the first application window" can also be understood as "the first application window is opened in the application", or can also be understood as "the first application originates from the application", etc.
[0016] Exemplarily, the control of the first application window being in the first display state can also be understood as the first application window being in the expanded state. Optionally, the first display state can include a first expanded state and a second expanded state.
[0017] In this implementation, the controls of each first application window use a thumbnail of the first application window and / or an icon of the application corresponding to the first application window. The user can intuitively see which application window each control is used to obtain the control operation of based on the controls of each displayed first application window, thereby further improving the convenience of the user in controlling the application window.
[0018] In one possible implementation, when a control of at least one first application window is in the second display state, a second icon corresponding to the control of the at least one first application window is displayed on the first display screen, and the second icon is used to obtain a third operation, and the third operation is used to switch the control of the at least one first application window from the second display state to the first display state. For example, the control of the first application window being in the second display state can be understood as the first application window being in the retracted state.
[0019] In this implementation, when the controls of at least one first application window are in the second display state, the controls of all first application windows are presented as a second icon, so the area occupied by the controls of all first application windows is smaller. When the controls of the first application window are not needed, the controls of the first application window can be folded to avoid blocking the user's vision and fully utilizing the screen of the first display screen. The second icon is used to obtain a third operation, and the third operation can be used to switch the controls of the first application window from the second display state back to the first display state. When the controls of the first application window are needed, the controls of the first application window can be conveniently expanded.
[0020] In one possible implementation, when a first application window is displayed on a first display screen, controls of the first application window adopt a first display mode, and when the first application window is displayed on a second display screen, controls of the first application window adopt a second display mode, and the first display mode and the second display mode are different. For example, the difference between the first display mode and the second display mode may be: a different visual display angle of the first display mode and a different visual display angle of the second display mode, or a different transparency of the first display mode and the second display mode, or other differences between the first display mode and the second display mode.
[0021] In this implementation, in the two cases where the first application window is located on the first display screen and the second display screen, the controls of the first application window can be displayed in different ways, so that when the user views the controls of each first application window, he can know whether each first application window is located on the first display screen or the second display screen, which is conducive to the user to manage application windows more efficiently.
[0022] In one possible implementation, when at least one first application window is displayed on the first display screen, thumbnails of input controls are displayed on the first display screen, where the input controls include a keyboard and / or a touchpad. This implementation prevents the input controls on the first display screen from obstructing the user's view when viewing the application window on the first display screen, and allows the user to conveniently open the input control through the thumbnail of the input control, thereby increasing the flexibility of this solution and facilitating user engagement.
[0023] In one possible implementation, when the user wants to use the keyboard or touchpad, he can click on the thumbnail of the keyboard or the thumbnail of the touchpad. Correspondingly, the electronic device can obtain the click operation on the thumbnail of the keyboard or the thumbnail of the touchpad, thereby triggering the opening of the keyboard or touchpad and folding the first application window displayed on the first display screen.
[0024] In one possible implementation, the second operation is any of the following: switching the first application window between folding and displaying; switching the first application window from being displayed on the first display screen to being displayed on the second display screen; switching the first application window from being displayed on the second display screen to being displayed on the first display screen; adjusting the display position of the first application window on the same display screen; or adjusting the size of the first application window. In this implementation, the controls of the first application window can be used to implement various control operations on the first application window. Users can conveniently perform various operations on the first application window through the controls of the first application window, thereby improving user stickiness of this solution.
[0025] In one possible implementation, when a first application window is displayed on a second display screen and the first operation is a downward swipe operation acquired through a control of the first application window, the second operation is to switch the first application window from being displayed on the second display screen to being displayed on the first display screen. Alternatively, when a first application window is displayed on a first display screen and the first operation is an upward swipe operation acquired through a control of the first application window, the second operation is to switch the first application window from being displayed on the first display screen to being displayed on the second display screen.
[0026] In this implementation, the user can switch the first application window between different display screens by inputting an upward or downward sliding operation on the control of the first application window. The upward or downward sliding operation is simple, and the aforementioned implementation is very efficient.
[0027] In one possible implementation, when a first application window switches from being displayed on the second display screen to being displayed on the first display screen, the controls of at least one first application window may remain unchanged. After the electronic device obtains a fourth operation input by the user, it triggers the controls of at least one first application window to be displayed on the first display screen in the second display state. For example, the fourth operation may be a user inputting a click operation on an area outside the area occupied by the controls of at least one first application window in all areas included in the first display screen. In this implementation, through the aforementioned operation, it can be ensured that the user's previous operation was not an accidental touch, and if the previous operation was an accidental touch, the user can also use the controls of at least one first application window to make timely adjustments.
[0028] In one possible implementation, when the first operation is a leftward swipe operation acquired through a control of the first application window, the second operation is to display the first application window in the left area of the current display screen, where the current display screen is the display screen that displayed the first application window before the first operation was acquired. Alternatively, when the first operation is a rightward swipe operation acquired through a control of the first application window, the second operation is to display the first application window in the right area of the current display screen.
[0029] For example, the left area of the current display screen can be understood as the area of the left half of the current display screen, and the right area of the current display screen can be understood as the area of the right half of the current display screen; then, when the first operation is a left sliding operation obtained through the control of the first application window, the second operation can be understood as controlling the first application window to split the screen on the left, and when the first operation is a right sliding operation obtained through the control of the first application window, the second operation can be understood as controlling the first application window to split the screen on the right.
[0030] In this implementation, the user can adjust the position of the first application window to the left area or right area of the current display screen by inputting a left sliding operation or a right sliding operation on the control of the first application window. Not only is the operation simple, but the above implementation is also very efficient.
[0031] In one possible implementation, when the first operation includes receiving a long press and a move gesture via a control of a first application window, the second operation includes controlling the first application window to perform a move operation corresponding to the move gesture. Optionally, the direction of movement of the first application window can be consistent with the direction of the move gesture; and the distance of movement of the first application window can correspond to the distance of movement of the move gesture.
[0032] In this implementation, after long pressing the control of the first application window, the user only needs to input a drag gesture in the control of the first application window to control the movement of the first application window based on the drag gesture input by the user. The user can control the first application window to move to any position on the current display screen based on his or her own needs, which greatly improves the user's flexibility in moving the first application window.
[0033] In one possible implementation, when the first operation is any of the following operations: a double-click operation, a two-finger pinch operation, or a two-finger expand operation, the second operation includes controlling the first application window to switch between the following display modes: maximizing the display of the first application window on the current display screen, where the current display screen is the display screen that displayed the first application window before obtaining the first operation; maximizing the display of the first application window on two display screens of the electronic device; or, displaying the first application window in a third display mode, where the third display mode is the display mode of the first application window before obtaining the first operation.
[0034] In this implementation, when the user inputs a double-click operation, a two-finger pinch operation, or a two-finger expand operation through the control of the first application window, it can trigger the first application window to switch between three different display sizes, thereby achieving quick and convenient adjustment of the size of the first application window.
[0035] In one possible implementation, when a first application window is displayed on a first display screen, and the first operation is a downward swipe operation obtained through a control of the first application window, the second operation is to trigger the first application window to be displayed in a fixed state on the first display screen. Displaying the first application window in a fixed state on the first display screen means that when other application windows are displayed on the first display screen, the first application window will not be retracted. Alternatively, when the first application window is displayed on a second display screen, and the first operation is an upward swipe operation obtained through a control of the first application window, the second operation is to trigger the first application window to be displayed in a fixed state on the second display screen. Displaying the first application window in a fixed state on the second display screen means that when other application windows are displayed on the second display screen, the first application window will not be retracted.
[0036] In this implementation, through the above solution, multiple application windows can be displayed on the same display screen, avoiding the situation where only one application window can be displayed on the same display screen, that is, the user can control the application window more flexibly.
[0037] In one possible implementation, if you want to unpin a first application window, you can control the control of the first application window to switch from display to retraction. When the first application window is retracted, the pinned state of the first application window will be automatically unpinned. In another implementation, you can also use the control of the first application window to switch the display of the first application window from the first display screen to the second display screen, or switch the display of the first application window from the second display screen to the first display screen. When the display screen where the first application window is located changes, the pinned state of the first application window will be automatically unpinned, and so on.
[0038] In one possible implementation, when the desktop of the electronic device is maximized on both display screens of the electronic device and a control of at least one first application window is displayed on the first display screen, at least one icon included in the desktop is located entirely within the second display screen. In this implementation, the at least one icon included in the desktop is located exclusively within the second display screen, thereby preventing the control of the first application window from obscuring icons on the desktop and rendering them unclickable, and ensuring that both the icons on the desktop and the controls of the first application window can be used normally.
[0039] In second aspect, an embodiment of the present application provides a device for processing an application window, which can be used in the field of human-computer interaction; the device for processing an application window is applied to an electronic device, the electronic device includes a first display screen, and the device includes: a display module, which is used to display controls of at least one first application window on the top of the first display screen, the top of the first display screen is the area of the first display screen close to the second display screen, and each first application window is in an open state in the first display screen or the second display screen; an acquisition module, which is used to obtain a first operation through the controls of the first application window; and a determination module, which is used to determine a second operation for the first application window in response to the first operation.
[0040] In one possible implementation, when controls of at least one first application window and input controls are displayed on the first display screen, the controls of the at least one first application window are located above the input controls, and the input controls include a keyboard and / or a touchpad.
[0041] In one possible implementation, factors that trigger adjustment of the area occupied by controls of at least one first application window include: the input control switches between a first display mode and a second display mode; wherein the first display mode is to display the keyboard and touchpad at the same time, and the touchpad is on the upper or lower side of the keyboard, and the second display mode is any one of the following display modes: displaying a thumbnail of the touchpad and the keyboard, displaying a thumbnail of the keyboard and the touchpad, or displaying the keyboard and touchpad at the same time, and the touchpad is on the left or right side of the keyboard.
[0042] In one possible implementation, the modes of displaying input controls on the first display screen include any one or more of the following: displaying a thumbnail of the touchpad and the keyboard; displaying a thumbnail of the keyboard and the touchpad; displaying a thumbnail of the touchpad and a thumbnail of the keyboard; displaying the keyboard and the touchpad at the same time, with the touchpad on the left or right side of the keyboard; or displaying the keyboard and the touchpad at the same time, with the touchpad on the upper or lower side of the keyboard.
[0043] In one possible implementation, when a control of at least one first application window is in the first display state, the control of the first application window includes a thumbnail of the first application window and / or a first icon of an application corresponding to the first application window.
[0044] In one possible implementation, when the controls of at least one first application window are in the second display state, a second icon corresponding to the controls of at least one first application window is displayed on the first display screen, and the second icon is used to obtain a third operation, and the third operation is used to switch the controls of at least one first application window from the second display state to the first display state.
[0045] In one possible implementation, when the first application window is displayed on the first display screen, the controls of the first application window adopt a first display mode; when the first application window is displayed on the second display screen, the controls of the first application window adopt a second display mode, and the first display mode and the second display mode are different.
[0046] In a possible implementation, when at least one first application window is displayed on the first display screen, a thumbnail of an input control is displayed on the first display screen, where the input control includes a keyboard and / or a touchpad.
[0047] In one possible implementation, the second operation is any one of the following operations: switching the first application window between folding and displaying; switching the first application window from being displayed on the first display screen to being displayed on the second display screen; switching the first application window from being displayed on the second display screen to being displayed on the first display screen; adjusting the display position of the first application window on the same display screen; or adjusting the size of the first application window.
[0048] In one possible implementation, when the first application window is displayed on the second display screen and the first operation is a downward sliding operation obtained through the control of the first application window, the second operation is to switch the display of the first application window on the second display screen to the display on the first display screen; or, when the first application window is displayed on the first display screen and the first operation is an upward sliding operation obtained through the control of the first application window, the second operation is to switch the display of the first application window on the first display screen to the display on the second display screen.
[0049] In one possible implementation, when the first operation is a left sliding operation obtained through the control of the first application window, the second operation is to display the first application window in the left area of the current display screen, and the current display screen is the display screen that displayed the first application window before obtaining the first operation; or, when the first operation is a right sliding operation obtained through the control of the first application window, the second operation is to display the first application window in the right area of the current display screen.
[0050] In a possible implementation, when the first operation includes acquiring a long press operation and a move gesture through a control of the first application window, the second operation includes controlling the first application window to perform a move operation corresponding to the move gesture.
[0051] In one possible implementation, when the first operation is any of the following operations: a double-click operation, a two-finger pinch operation, or a two-finger expand operation, the second operation includes controlling the first application window to switch between the following display modes: maximizing the display of the first application window on the current display screen, where the current display screen is the display screen that displayed the first application window before obtaining the first operation; maximizing the display of the first application window on two display screens of the electronic device; or, displaying the first application window in a third display mode, where the third display mode is the display mode of the first application window before obtaining the first operation.
[0052] In one possible implementation, when the first application window is displayed on the first display screen and the first operation is a downward sliding operation obtained through the control of the first application window, the second operation is to trigger the first application window to be displayed on the first display screen in a fixed state. Displaying the first application window in a fixed state on the first display screen means that when other application windows are displayed on the first display screen, the first application window will not be folded; or, when the first application window is displayed on the second display screen and the first operation is an upward sliding operation obtained through the control of the first application window, the second operation is to trigger the first application window to be displayed on the second display screen in a fixed state. Displaying the first application window in a fixed state on the second display screen means that when other application windows are displayed on the second display screen, the first application window will not be folded.
[0053] In one possible implementation, when the desktop of the electronic device is maximized and displayed on two display screens of the electronic device, and a control of at least one first application window is displayed on the first display screen, at least one icon included in the desktop is located within the second display screen.
[0054] For the concepts of nouns in the second aspect of the embodiment of the present application and some possible implementation methods of the second aspect and the beneficial effects brought about by the specific implementation steps, you can refer to the description of the various possible implementation methods in the first aspect, and will not be repeated here one by one.
[0055] In a third aspect, an embodiment of the present application provides an electronic device that can be used in the field of human-computer interaction; the electronic device includes a first display screen and one or more processors, the processor is coupled to a memory, and the memory stores program instructions. When the program instructions stored in the memory are executed by the processor, the electronic device performs the following steps: displaying controls of at least one first application window at the top of the first display screen, the top of the first display screen is the area of the first display screen close to the second display screen, and each first application window is in an open state in the first display screen or the second display screen; obtaining a first operation through the control of the first application window, and determining a second operation for the first application window in response to the first operation.
[0056] In the third aspect of the embodiment of the present application, the electronic device can also be used to implement the steps performed by the electronic device in the various possible implementation methods of the first aspect. For the specific implementation methods of the third aspect of the embodiment of the present application and certain steps in the various possible implementation methods of the third aspect, as well as the beneficial effects brought about by each possible implementation method, you can refer to the description of the various possible implementation methods in the first aspect, and will not go into details here.
[0057] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, in which a computer program is stored. When the computer-readable storage medium is run on a computer, the computer executes the application window processing method of the first aspect described above.
[0058] In a fifth aspect, an embodiment of the present application provides a computer program product, which includes instructions. When the instructions are executed on a computer, the computer executes the application window processing method of the first aspect.
[0059] In a sixth aspect, an embodiment of the present application provides a chip system, which includes a processor for supporting the chip to implement the functions involved in the first aspect above, for example, sending or processing the data and / or information involved in the above method. In one possible design, the chip system also includes a memory, which is used to store program instructions and data necessary for the server or communication device. The chip system can be composed of a chip or can include a chip and other discrete devices. BRIEF DESCRIPTION OF THE DRAWINGS
[0060] FIG1 is a schematic diagram of an electronic device provided in an embodiment of the present application;
[0061] FIG2 is a schematic diagram of two electronic devices provided in an embodiment of the present application;
[0062] FIG3 is a schematic diagram of a control for displaying a first application window on top of a first display screen according to an embodiment of the present application;
[0063] FIG4 is another schematic diagram of a control for displaying a first application window on top of a first display screen according to an embodiment of the present application;
[0064] FIG5 is a flow chart of a method for processing an application window according to an embodiment of the present application;
[0065] FIG6 is a schematic diagram of two embodiments of the present invention providing controls of at least one first application window;
[0066] FIG7 is another schematic diagram of controls of at least one first application window provided in an embodiment of the present application;
[0067] FIG8 is a schematic diagram of displaying controls and input controls of a first application window on a first display screen according to an embodiment of the present application;
[0068] FIG9 is a schematic diagram of switching between “displaying a thumbnail of the keyboard and the touchpad” and “displaying a thumbnail of the touchpad and the keyboard” according to an embodiment of the present application;
[0069] FIG10 is a schematic diagram of switching from “displaying a thumbnail of the keyboard and the touchpad” to “displaying the keyboard and the touchpad simultaneously, with the touchpad on the upper side of the keyboard” according to an embodiment of the present application;
[0070] FIG11 is a schematic diagram of switching from “displaying a thumbnail of the keyboard and the touchpad” to “displaying the keyboard and the touchpad simultaneously, with the touchpad on the left side of the keyboard” according to an embodiment of the present application;
[0071] FIG12 is two schematic diagrams of input controls switching between different display modes according to an embodiment of the present application;
[0072] FIG13 is a schematic diagram of switching between different display modes of an input control provided in an embodiment of the present application;
[0073] FIG14 is a schematic diagram of adjusting the area occupied by controls of a first application window according to an embodiment of the present application;
[0074] FIG15 is a schematic diagram of switching a target application window between display and retraction using a control of the target application window according to an embodiment of the present application;
[0075] FIG16 is another schematic diagram of switching a first application window between display and collapse using a control of the first application window according to an embodiment of the present application;
[0076] FIG17 is a schematic diagram of using a control of the first application window to switch the first application window from being collapsed to being displayed according to an embodiment of the present application;
[0077] FIG18 is a schematic diagram illustrating a first application window displayed on a second display screen and then switched to being displayed on a first display screen according to an embodiment of the present application;
[0078] FIG19 is a schematic diagram of controls of at least one first application window provided in an embodiment of the present application;
[0079] FIG20 is another schematic diagram of controls of at least one first application window provided in an embodiment of the present application;
[0080] FIG21 is a schematic diagram of adjusting the position of a first application window according to an embodiment of the present application;
[0081] FIG22 is another schematic diagram of adjusting the position of the first application window according to an embodiment of the present application;
[0082] FIG23 is another schematic diagram of adjusting the position of the first application window according to an embodiment of the present application;
[0083] FIG24 is a schematic diagram of adjusting the size of a first application window according to an embodiment of the present application;
[0084] FIG25 is a schematic diagram of a structure of an application window processing device provided in an embodiment of the present application;
[0085] FIG26 is a schematic structural diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0086] The embodiments of the present application are described below in conjunction with the accompanying drawings. Those skilled in the art will appreciate that, with the development of technology and the emergence of new scenarios, the technical solutions provided in the embodiments of the present application are also applicable to similar technical problems.
[0087] The terms "first", "second", etc. in the specification and claims of this application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the terms used in this way can be interchanged under appropriate circumstances. This is merely a way of distinguishing when describing objects with the same properties in the embodiments of the present application. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, so that a process, method, system, product or apparatus that includes a series of units is not necessarily limited to those units, but may include other units not expressly listed or inherent to these processes, methods, products or apparatuses.
[0088] The method provided in the present application can be applied to an electronic device having two display screens; illustratively, the method provided in the present application can be used to control one or more application windows opened in the aforementioned electronic device.
[0089] Among them, the electronic device may include two display screens, and the aforementioned two display screens may include a first display screen and a second display screen. In one case, the first display screen and the second display screen may be integrated into one. For example, the electronic device may be a folding screen device. When the electronic device is in a folded state, there is a crease between the first display screen and the second display screen. For a more intuitive understanding of this solution, please refer to Figure 1, which is a schematic diagram of an electronic device provided in an embodiment of the present application. The electronic device includes a first display screen and a second display screen, and the second display screen is located above the first display screen. As shown in Figure 1, the first display screen may be the lower half of the display screen in the electronic device, and the second display screen may be the upper half of the display screen in the electronic device. It should be understood that the example in Figure 1 is only for the convenience of understanding this solution and is not used to limit this solution.
[0090] In another embodiment, the first display screen and the second display screen may be two independent display screens. For example, the first display screen and the second display screen may be connected via a rotation axis; or the first display screen and the second display screen may be two independent display screens of the electronic device.
[0091] For a more intuitive understanding of this solution, please refer to Figure 2, which shows two schematic diagrams of electronic devices provided in embodiments of the present application. Figure 2 includes two sub-schematic diagrams (a) and (b). As shown in sub-schematic diagram (a) of Figure 2, the first display and the second display are connected by a rotating axis, and the second display is located above the first display.
[0092] As shown in sub-schematic diagram (b) of Figure 2, the display screen of the first electronic device is the first display screen, the display screen of the second electronic device is the second display screen, the second display screen is located above the first display screen, and there is a communication connection between the first electronic device and the second electronic device. It should be understood that the example in Figure 2 is only for the convenience of understanding this solution and is not used to limit this solution.
[0093] It should be noted that the electronic device including the first display screen and the second display screen may also be present in other product forms. The above examples are only for facilitating the understanding of this solution and are not intended to limit this solution.
[0094] When an application window is displayed on the second display screen, the user can raise his hand and click on the second display screen to input control operations for the application window on the second display screen. However, frequent hand-raising actions will not only make the user tired, but may also cause the second display screen to shake or even fall when clicking on the second display screen.
[0095] In order to solve the above problems, the present application provides a method for processing application windows. Specifically, the controls of each first application window can be displayed at the top of the first display screen. The top of the first display screen is the area of the first display screen close to the second display screen, and each first application window is in an open state in the first display screen or the second display screen; the user can input a first operation through the controls of each first application window. Correspondingly, after obtaining the first operation, the electronic device can determine the second operation corresponding to the first operation, that is, the user can input a control operation for each first application window through the controls of each first application window; the user no longer needs to raise his hand to click on the second display screen, which not only avoids user fatigue, but also avoids shaking or even tipping over of the second display screen; in addition, since the controls of the first application window are set at the top of the first display screen, the user does not need to lower his head to see the controls of the first application window, which avoids burdening the user's cervical spine and is conducive to further improving the user stickiness of this solution.
[0096] For a more intuitive understanding of this solution, please refer to Figures 3 and 4. Figure 3 is a schematic diagram of a first application window control displayed at the top of a first display screen according to an embodiment of the present application, and Figure 4 is another schematic diagram of a first application window control displayed at the top of a first display screen according to an embodiment of the present application. Referring first to Figure 3, Figure 3 takes the first display screen and the second display screen as an example of integration. It should be noted that Figure 3 is an example of an electronic device in a folded state being displayed to the user in an unfolded form so that the user can more clearly see the position of the first application window control on the display screen. As shown in Figure 3, the electronic device has multiple first application windows opened (i.e., application window 1, application window 2, and application window 3 in Figure 3). Application window 1 among the multiple first application windows is in a displayed state, and the controls of the multiple first application windows are located at the top of the first display screen. The top of the first display screen is the area of the first display screen close to the second display screen. It should be understood that the example in Figure 3 is only for the convenience of understanding this solution and is not used to limit this solution.
[0097] Referring to Figure 4 again, Figure 4 takes the first display screen and the second display screen as examples of two electronic devices, respectively. A plurality of first application windows (i.e., application window 1, application window 2, and application window 3 in Figure 4) are opened on the first display screen and the second display screen. Application window 2 among the plurality of first application windows is in a display state, and the controls of the plurality of first application windows are located at the top of the first display screen. It should be understood that the example in Figure 4 is only for the convenience of understanding this solution and is not used to limit this solution.
[0098] It should be noted that Figures 3 and 4 only use "the controls of at least one first application window are located in the central area at the top of the first display screen" as an example for explanation. The controls of at least one first application window may also be located in the left area at the top of the first display screen, or, the controls of at least one first application window may also be located in the right area at the top of the first display screen, or, the position of the controls of at least one first application window in the top of the first display screen may be adjustable, etc. The specific positions can be flexibly determined based on actual conditions and are not limited in the embodiments of the present application.
[0099] In conjunction with the above description, the following describes the specific implementation process of the application window processing method provided by the embodiment of the present application. Please refer to Figure 5, which is a flow chart of the application window processing method provided by the embodiment of the present application. The image processing method provided by the embodiment of the present application may include:
[0100] 501. The electronic device displays a control of at least one first application window at the top of a first display screen. The top of the first display screen is an area of the first display screen close to the second display screen. Each first application window is in an open state in the first display screen or the second display screen.
[0101] In the embodiment of the present application, the electronic device may include a first display screen and a second display screen, such as shown in the sub-schematic diagram (a) of Figures 1 and 2 above. When the first display screen and the second display screen belong to the same electronic device, the electronic device in the present application may include both the first display screen and the second display screen. Alternatively, the electronic device may include only the first display screen, such as shown in the sub-schematic diagram (b) of Figure 2 above. When the first display screen and the second display screen belong to different electronic devices, the electronic device in the present application may include only the first display screen. The specific product form can be determined in combination with the actual application scenario and is not limited in the embodiment of the present application.
[0102] Each first application window refers to an application window that is open on the first display screen or the second display screen. For example, if only the second display screen has an application window that is open, then "at least one first application window" may include all application windows that are open on the second display screen; if only the first display screen has an application window that is open, then "at least one first application window" may include all application windows that are open on the first display screen; if both the first display screen and the second display screen have application windows that are open, then "at least one first application window" may include all application windows that are open on the first display screen and all application windows that are open on the second display screen.
[0103] The first application window being in an open state in the first display screen or the second display screen includes: the first application window being displayed on the first display screen, the first application window being displayed on the second display screen, the first application window being in a retracted state in the first display screen, or the first application window being in a retracted state in the second display screen.
[0104] The top of the first display screen is the area of the first display screen close to the second display screen, and the second display screen is located above the first display screen. The meaning of "displaying at least one control of the first application window on the top of the first display screen" can be understood by referring to the above description and will not be repeated here.
[0105] Exemplarily, when the controls of at least one first application window are in the first display state, the controls of each first application window include a thumbnail of the first application window and / or a first icon of the application corresponding to the first application window; wherein, "the application corresponding to the first application window" can also be understood as "the first application window is opened in the application", or can also be understood as "the first application originates from the application", etc.
[0106] To elaborate, the control of each first application window may include a thumbnail of the first application window and a first icon of the application corresponding to the first application window; or, may include only a thumbnail of the first application window; or, may include only the aforementioned first icon.
[0107] The controls of the first application window being in the first display state can also be understood as the first application window being in the expanded state. Optionally, the first display state may include a first expanded state and a second expanded state, and "the area occupied by the controls of at least one first application window when it is in the first expanded state" is larger than "the area occupied by the controls of at least one first application window when it is in the second expanded state". For example, when the controls of each first application window are in the first expanded state, the controls of each first application window may include the first thumbnail of the first application window and the first icon of the application corresponding to the first application window; when the controls of each first application window are in the second expanded state, the controls of each first application window may only include the first icon of the application corresponding to the first application window.
[0108] To more intuitively understand this solution, please refer to Figure 6, which shows two schematic diagrams of controls of at least one first application window provided in an embodiment of the present application. Figure 6 includes two sub-schematic diagrams (a) and (b). The sub-schematic diagram (a) of Figure 6 represents a schematic diagram when the controls of the first application window are in a first expanded state, and the sub-schematic diagram (b) of Figure 6 represents a schematic diagram when the controls of the first application window are in a second expanded state. As shown in the sub-schematic diagram (a) of Figure 6, when the controls of the first application window are in the first expanded state, the controls of each first application window include a thumbnail image of the first application window and an icon of the application corresponding to the first application window.
[0109] As shown in sub-schematic diagram (b) of Figure 6, when the controls of the first application window are in the second expanded state, the controls of each first application window only include the icon of the application corresponding to the first application window; it should be understood that the example in Figure 6 is only for the convenience of understanding this solution and is not used to limit this solution.
[0110] For another example, when the controls of each first application window are in a first expanded state, the controls of each first application window may include a first thumbnail of the first application window and a first icon of an application corresponding to the first application window; when the controls of each first application window are in a second expanded state, the controls of each first application window may include only a second thumbnail of the first application window, and the first thumbnail of the first application window and the second thumbnail of the first application window are both thumbnails of the first application window. The difference is that the area of the first thumbnail is larger than the area of the second thumbnail, etc. The first expanded state and the second expanded state may also be expressed as display modes, which is not limited in the embodiments of the present application.
[0111] In an embodiment of the present application, the controls of each first application window use a thumbnail of the first application window and / or an icon of the application corresponding to the first application window. The user can intuitively see which application window each control is used to obtain the control operation of based on the controls of each first application window displayed, thereby further improving the convenience of the user in controlling the application window.
[0112] Specifically, in one application scenario, the first display and the second display belong to the same electronic device, so "at least one first application window" can also be understood as at least one first application window that is open in the electronic device including the first display and the second display. The electronic device can obtain a thumbnail of each first application window and the icon of the application corresponding to each first application window, so the electronic device can determine the controls of each first application window.
[0113] In another application scenario, the first display screen and the second display screen belong to different electronic devices. The electronic device that only includes the first display screen (hereinafter referred to as the "first electronic device" for the convenience of description) can know which first application windows are open in the first display screen. Similarly, the first electronic device can determine the controls of each first application window that is open in the first display screen.
[0114] Optionally, if there is at least one first application window in an open state on the second display screen, the electronic device that only includes the second display screen (hereinafter referred to as the "second electronic device" for ease of description) can send first information to the first electronic device; the first electronic device determines the control corresponding to each first application window in an open state on the second display screen based on the first information. Exemplarily, the first information can include a thumbnail of each first application window in an open state on the second display screen and / or an icon of the application corresponding to each first application window.
[0115] Specifically, in one implementation, when the controls of at least one first application window need to be displayed, the first display state is used, that is, other display states of the controls of at least one first application window no longer exist.
[0116] In another implementation, the controls of the at least one first application window also have a second display state, and the control of the at least one first application window being in the second display state can also be understood as the first application window being in a retracted state. When the control of the at least one first application window is in the second display state, a second icon corresponding to the control of the at least one first application window is displayed on the first display screen, and the second icon is used to obtain a third operation, and the third operation is used to switch the control of the at least one first application window from the second display state to the first display state.
[0117] Exemplarily, the second icon can be an icon of an application corresponding to a certain application window in at least one first application window; optionally, the aforementioned "certain application window" can be an application window that the electronic device is processing in at least one first application window, and the second icon can also be used to prompt the user which application window the electronic device is currently processing, so that the user can learn more information.
[0118] Alternatively, the second icon may be different from the icon of the application corresponding to any application window in at least one first application window. The second icon may be an independently designed icon, etc. The specific icon may be flexibly determined based on actual conditions and is not limited here.
[0119] For a more intuitive understanding of this solution, please refer to Figure 7. Figure 7 is another schematic diagram of the controls of at least one first application window provided in an embodiment of the present application. As shown in Figure 7, when the controls of at least one first application window adopt the second display state, the controls of at least one first application window are displayed as a second icon. In Figure 7, the second icon is the icon of the application corresponding to application window 2 as an example. Application window 2 is an application window being processed by the electronic device. It should be understood that the example in Figure 7 is only for the convenience of understanding this solution and is not used to limit this solution.
[0120] In an embodiment of the present application, when the controls of at least one first application window are in the second display state, the controls of all first application windows are presented as a second icon, so the area occupied by the controls of all first application windows is smaller. When the controls of the first application window are not needed, the controls of the first application window can be folded to avoid blocking the user's vision by the controls of the first application window, so as to make full use of the screen of the first display screen; and the second icon is used to obtain a third operation, through which the controls of the first application window can be switched from the second display state back to the first display state. When the controls of the first application window are needed, the controls of the first application window can be conveniently expanded.
[0121] It should be noted that the specific implementation method of switching the controls of at least one first application window between the "first expanded state" and the "second expanded state", as well as the specific implementation method of switching the controls of at least one first application window between the "first display state" and the "second display state" will be introduced in the subsequent description and will not be repeated here.
[0122] Optionally, while displaying controls of at least one first application window on the first display screen, input controls can also be displayed. When controls of at least one first application window and input controls are displayed simultaneously on the first display screen, controls of at least one first application window are located above the input controls, and the input controls include a keyboard and / or a touchpad. Through the aforementioned layout, while controlling the first application window through the controls of the first application window displayed on the first display screen, the keyboard and / or touchpad can also be conveniently used. In addition, since the controls of the first application window are located above the input controls, it is not easy to accidentally touch the controls of the first application window when using the keyboard and / or touchpad.
[0123] Exemplarily, the modes for displaying input controls on the first display screen include any one or more of the following: displaying a thumbnail of the touchpad and the keyboard; displaying a thumbnail of the keyboard and the touchpad; displaying a thumbnail of the touchpad and a thumbnail of the keyboard; displaying the keyboard and touchpad simultaneously, with the touchpad on the upper or lower side of the keyboard; displaying the keyboard and touchpad simultaneously, with the touchpad on the left or right side of the keyboard; or other display modes of the keyboard and touchpad, which can be flexibly determined in combination with actual application scenarios and are not limited in the embodiments of this application. Providing multiple display modes for the keyboard and touchpad is conducive to adapting to a variety of application scenarios and improves the implementation flexibility of this solution.
[0124] To understand this solution more intuitively, please refer to Figure 8, which is a schematic diagram of the controls and input controls of the first application window displayed on the first display screen provided by an embodiment of the present application. Figure 8 is an example of an electronic device in a folded state being displayed to the user in an unfolded form so that the user can more clearly see the position of the controls of the first application window on the display screen. As shown in Figure 8, below the fold is the first display screen, and above the fold is the second display screen. The input controls include a keyboard and a touchpad. In Figure 8, the thumbnail of the keyboard and the touchpad are shown as an example. The controls and input controls of the first application window are both located on the first display screen, and the controls of the first application window are located on the upper side of the input controls. It should be understood that the example in Figure 8 is only for the convenience of understanding this solution and is not used to limit this solution.
[0125] Illustratively, an embodiment of the present application also provides an implementation method for switching input controls between multiple display modes. Optionally, in the process of switching the input control between multiple display modes, the area occupied by the control of at least one first application window can be triggered to automatically adjust. Exemplarily, the factors that trigger the adjustment of the area occupied by the control of at least one first application window include: the input control switches between the first display mode and the second display mode. Among them, the first display mode is to display the keyboard and touchpad at the same time, and the touchpad is on the upper side or lower side of the keyboard. The second display mode is any one of the following multiple display modes: displaying a thumbnail of the touchpad and the keyboard, displaying a thumbnail of the keyboard and the touchpad, or displaying the keyboard and touchpad at the same time, and the touchpad is on the left or right side of the keyboard.
[0126] In an embodiment of the present application, since the width of the second display screen is fixed, when the keyboard and touchpad are displayed at the same time, and the touchpad is displayed on the upper or lower side of the keyboard, the width of the touchpad and keyboard will be compressed. In this case, the area occupied by the controls of at least one first application window is automatically reduced, which is conducive to making the touchpad and keyboard wider and improving the user's experience of using the touchpad and keyboard; when the touchpad and keyboard are no longer displayed in the upper and lower positions, the width of the touchpad and keyboard will no longer be compressed. In this case, the area occupied by the controls of at least one first application window is automatically enlarged, which is conducive to improving the user's experience of using the controls of the first application window; that is, through the aforementioned scheme, the area occupied by the controls of the first application window can be automatically adjusted in combination with the actual scenario, which is conducive to improving the user experience.
[0127] Optionally, when the display mode of the input control is the second display mode, the control of at least one first application window can adopt the first expanded state. When the display mode of the input control is the first display mode, the control of at least one first application window can adopt the second expanded state. The meanings of the "first expanded state" and the "second expanded state" can be found in the above description and will not be repeated here.
[0128] In one application scenario, switching the input control displayed on the first display screen between different display modes may include switching between “displaying a thumbnail of the keyboard and a touchpad” and “displaying a thumbnail of the touchpad and the keyboard”.
[0129] For example, please refer to Figure 9, which is a schematic diagram of switching between "displaying a keyboard thumbnail and a touchpad" and "displaying a touchpad thumbnail and a keyboard" provided in an embodiment of the present application. Figure 9 includes two sub-schematic diagrams, left and right. In the left and right sub-schematic diagrams of Figure 9, the electronic device is a foldable screen device as an example, and the controls and input controls of multiple first application windows (such as Application Window 1, Application Window 2, and Application Window 3 in Figure 9) are all displayed on the first display screen; the left sub-schematic diagram of Figure 9 displays a keyboard thumbnail and a touchpad, and the right two sub-schematic diagrams of Figure 9 display a touchpad thumbnail and a keyboard.
[0130] In the left sub-schematic diagram of Figure 9, when the user clicks on the thumbnail of the keyboard (correspondingly, the electronic device obtains the click operation on the thumbnail of the keyboard), it can trigger entry into the right sub-schematic diagram of Figure 9, that is, trigger the display of the keyboard, and at the same time the touchpad will be folded and the thumbnail of the touchpad will be displayed on the first display screen.
[0131] Correspondingly, the user can trigger the display of the touchpad by clicking on the thumbnail of the touchpad (correspondingly, the electronic device obtains the click operation on the thumbnail of the touchpad), and the keyboard will be retracted at the same time, and the thumbnail of the keyboard will be displayed on the first display screen, that is, the right sub-schematic diagram of Figure 9 is switched to the left sub-schematic diagram of Figure 9. It should be noted that Figure 9 only takes the embodiment in which the thumbnail of the keyboard is displayed on the right side of the touchpad and the thumbnail of the touchpad is displayed on the lower side of the keyboard as an example. The "thumbnail of the keyboard" and the "thumbnail of the touchpad" can also be placed in other locations. The example in Figure 9 is only for the convenience of understanding this solution and is not used to limit this solution.
[0132] It should be noted that the example here is only to prove the feasibility of switching between "displaying the thumbnail of the keyboard and the touchpad" and "displaying the thumbnail of the touchpad and the keyboard", and is not used to limit this solution.
[0133] In another application scenario, switching between different display modes of input controls displayed on the first display screen may include switching from "displaying a keyboard thumbnail and a touchpad" to "displaying both the keyboard and touchpad, with the touchpad positioned above or below the keyboard." For example, a user may drag a keyboard thumbnail to a first preset area to trigger the simultaneous display of the keyboard and touchpad, with the touchpad positioned below the keyboard. The first preset area may be located between the space of the first application window and the touchpad. The user may drag the keyboard thumbnail to a second preset area to trigger the simultaneous display of the keyboard and touchpad, with the touchpad positioned above the keyboard. The second preset area may be located below the touchpad.
[0134] In another application scenario, switching between different display modes of input controls displayed on the first display screen may include switching from "displaying a touchpad thumbnail and the keyboard" to "displaying both the keyboard and touchpad, with the touchpad positioned above or below the keyboard." For example, a user can drag a touchpad thumbnail to a first preset area to trigger the simultaneous display of the keyboard and touchpad, with the touchpad positioned above the keyboard; or drag a touchpad thumbnail to a second preset area to trigger the simultaneous display of the keyboard and touchpad, with the touchpad positioned below the keyboard.
[0135] Optionally, when the display mode of the input control is switched from the second display mode to "displaying the keyboard and touchpad simultaneously on the first display screen, and the touchpad is above or below the keyboard (that is, the first display mode)", the area occupied by the control of at least one first application window can be automatically reduced.
[0136] In order to understand this solution more intuitively, please refer to Figure 10, which is a schematic diagram of an embodiment of the present application, showing the switching from "displaying the thumbnail of the keyboard and the touchpad" to "displaying the keyboard and the touchpad at the same time, and the touchpad is on the upper side of the keyboard". It should be noted that, since the area in which the controls of each first application window can be displayed is relatively small, in order to be able to see each figure as clearly as possible, in Figure 10 and subsequent figures, the "application window" in the controls of the first application window is replaced with "window", that is, in Figure 10 and subsequent figures, "window" and "application window" have the same meaning. Figure 10 includes three sub-schematic diagrams: left, middle and right. As shown in the left sub-schematic diagram of Figure 10, multiple controls of the first application window and input controls are displayed on the first display screen of the electronic device, and the display mode of the input control is: displaying the thumbnail of the keyboard and the touchpad. In the left sub-schematic diagram and the middle sub-schematic diagram of Figure 10, the user long presses the thumbnail of the keyboard and drags the thumbnail of the keyboard to the first preset area, thereby triggering entry into the right sub-schematic diagram of Figure 10, that is, triggering the simultaneous display of the keyboard and touchpad, and the touchpad is on the lower side of the keyboard; and, when the keyboard and touchpad are displayed on the first display screen at the same time, and the touchpad is on the lower side of the keyboard, it also triggers the area occupied by the controls of at least one first application window to automatically decrease. It should be understood that the example in Figure 10 is only for the convenience of understanding this solution and is not used to limit this solution.
[0137] In another application scenario, switching between different display modes of input controls displayed on the first display screen may include switching from "displaying a thumbnail of the keyboard and the touchpad" to "displaying both the keyboard and the touchpad, with the touchpad to the left or right of the keyboard." For example, a user may drag the keyboard thumbnail to the left of the area occupied by the touchpad to trigger the simultaneous display of the keyboard and the touchpad, with the touchpad to the right of the keyboard; or a user may drag the keyboard thumbnail to the right of the area occupied by the touchpad to trigger the simultaneous display of the keyboard and the touchpad, with the touchpad to the left of the keyboard.
[0138] In another application scenario, switching between different display modes of input controls displayed on the first display screen may include switching from "displaying a touchpad thumbnail and the keyboard" to "displaying both the keyboard and touchpad, with the touchpad to the left or right of the keyboard." For example, a user may drag the touchpad thumbnail to the left of the area occupied by the keyboard to trigger the simultaneous display of the keyboard and touchpad, with the touchpad to the left of the keyboard; or a user may drag the touchpad thumbnail to the right of the area occupied by the keyboard to trigger the simultaneous display of the keyboard and touchpad, with the touchpad to the right of the keyboard.
[0139] In order to understand the present solution more intuitively, please refer to Figure 11. Figure 11 is a schematic diagram provided in an embodiment of the present application for switching from "displaying the thumbnail of the keyboard and the touchpad" to "displaying the keyboard and touchpad at the same time, and the touchpad is on the left side of the keyboard". Figure 11 includes three sub-schematic diagrams: left, middle and right. The left sub-schematic diagram of Figure 11 can be understood by referring to the left sub-schematic diagram of Figure 10, and will not be described here. In the left sub-schematic diagram and the middle sub-schematic diagram of Figure 11, the user long presses the thumbnail of the keyboard and drags the thumbnail of the keyboard to the right area within the area occupied by the touchpad to trigger entry into the right sub-schematic diagram of Figure 11, that is, triggering the simultaneous display of the keyboard and touchpad, and the touchpad is on the left side of the keyboard. It should be understood that the example in Figure 11 is only for the convenience of understanding the present solution and is not used to limit the present solution.
[0140] In another application scenario, switching between different display modes of the input control displayed on the first display screen may include contacting and displaying the keyboard and touchpad at the same time, for example, switching from "displaying the keyboard and touchpad at the same time, and the touchpad is on the upper or lower side of the keyboard" to "displaying the touchpad thumbnail and the keyboard", or switching to "displaying the keyboard thumbnail and the keyboard thumbnail"; for example, switching from "displaying the keyboard and touchpad at the same time, and the touchpad is on the left or right side of the keyboard" to "displaying the touchpad thumbnail and the keyboard", or switching to "displaying the keyboard thumbnail and the keyboard thumbnail".
[0141] Optionally, when the display mode of the input control is switched from "displaying the keyboard and touchpad simultaneously on the first display screen, and the touchpad is above or below the keyboard (that is, the first display mode)" to the second display mode, the area occupied by the control of at least one first application window can be automatically enlarged. The meaning of the "second display mode" can be found in the above description and will not be elaborated here.
[0142] For example, please refer to Figures 12 and 13, which are various schematic diagrams of the input controls provided in the embodiments of the present application switching between different display modes. First, refer to Figure 12, which includes two sub-schematic diagrams (a) and (b). In Figure 12, when the keyboard and touchpad are displayed at the same time, the boundary between the keyboard and the touchpad is adjustable. As shown in the sub-schematic diagram (a) of Figure 12, when the user clicks on the boundary between the keyboard and the touchpad and pushes it upward, the area occupied by the touchpad and the area occupied by the controls of the first application window gradually increase, and the area occupied by the keyboard gradually decreases; when the distance pushed upward exceeds the first preset threshold, after the user releases the click operation on the boundary between the keyboard and the touchpad, the keyboard is transformed into a thumbnail and displayed on the first display screen.
[0143] As shown in sub-schematic diagram (b) of Figure 12, when the user clicks on the boundary between the keyboard and the touchpad and pushes it downward, the area occupied by the keyboard and the area occupied by the controls of the first application window gradually increase, and the area occupied by the touchpad gradually decreases; when the downward distance exceeds the first preset threshold, the user releases the click operation on the boundary between the keyboard and the touchpad, and the touchpad is transformed into a thumbnail and displayed on the first display screen. It should be understood that the example in Figure 12 is only for the convenience of understanding this solution and is not used to limit this solution.
[0144] Referring again to FIG13 , in FIG13 , when the keyboard and touchpad are displayed simultaneously, the boundary between the keyboard and the touchpad is adjustable. When the user clicks on the boundary between the keyboard and the touchpad and moves it to the right, the area occupied by the touchpad gradually increases, and the area occupied by the keyboard gradually decreases; when the distance moved to the right exceeds a second preset threshold, the user releases the click operation on the boundary between the keyboard and the touchpad, and the keyboard is transformed into a thumbnail and displayed on the first display screen. It should be understood that the example in FIG13 is only for the convenience of understanding this solution and is not intended to limit this solution. Similarly, when the boundary between the keyboard and the touchpad is clicked and moved to the left a distance exceeding the second preset threshold, and the click operation is released, the touchpad will be triggered to be displayed as a thumbnail on the first display screen.
[0145] It should be noted that the above examples of switching methods of input controls between multiple display modes are only to prove the feasibility of this solution. The specific switching method can be flexibly determined based on the actual product form and is not limited in the embodiments of this application.
[0146] Optionally, an embodiment of the present application also provides how to manually adjust the area occupied by the controls of at least one first application window while keeping the input controls displayed in the first display mode (i.e., the keyboard and touchpad are displayed simultaneously on the first display screen, and the touchpad is located above or below the keyboard).
[0147] For example, please refer to Figure 14, which is a schematic diagram of adjusting the area occupied by the controls of the first application window provided in an embodiment of the present application. When the electronic device obtains a long press operation input to the area where the controls of at least one first application window are located that reaches a first duration, it can trigger the increase of the area occupied by the controls of at least one first application window (for example, the controls of at least one first application window are switched from the second expanded state to the first expanded state), and the area occupied by the keyboard and the area occupied by the touchpad are not affected, that is, the switching from the left sub-schematic diagram of Figure 14 to the right sub-schematic diagram of Figure 14 is achieved. After the user completes the control operation of the first application window using the controls of at least one first application window, if he wants to reduce the area occupied by the controls of the first application window, he can click anywhere outside the area where the controls of at least one first application window are located to trigger the reduction of the area occupied by the controls of at least one first application window (for example, the controls of at least one first application window are switched from the first expanded state to the second expanded state), that is, the switching from the right sub-schematic diagram of Figure 14 to the left sub-schematic diagram of Figure 14 is achieved.
[0148] It should be noted that the example in Figure 14 is only for the convenience of understanding this solution. For example, the aforementioned long press operation can also be replaced by a "two-finger zoom-in gesture", or the aforementioned long press operation can also be replaced by "inputting a click operation on a blank area in the area where the controls of at least one first application window are located", etc. The specific settings can be flexibly made in combination with the actual product form, and this solution is not limited in the embodiments of this application.
[0149] Optionally, if the electronic device is a foldable screen device, the controls and input controls of the first application window can also be automatically opened or closed according to the shape of the electronic device. For example, when the electronic device changes from an unfolded state to a folded state, the controls and input controls of the first application window can be triggered to automatically open. When the electronic device changes from a folded state to an unfolded state, the controls and input controls of the first application window can be triggered to automatically close.
[0150] 502. The electronic device obtains a first operation through a control of the first application window, and determines a second operation for the first application window in response to the first operation.
[0151] In the embodiment of the present application, the second operation on the first application window can be used to open the first application window, collapse the first application window, adjust the position, size or other functions of the first application window, etc., which is not limited in the embodiment of the present application.
[0152] For example, the second operation for any one of the at least one first application window can be any of the following operations: switching the first application window between folding and displaying; switching the first application window from being displayed on the first display screen to being displayed on the second display screen; switching the first application window from being displayed on the second display screen to being displayed on the first display screen; adjusting the display position of the first application window on the same display screen; adjusting the size of the first application window; or other operations for the first application window, etc., which are not exhaustively listed in the embodiments of the present application. The controls of the first application window can be used to implement various control operations on the first application window. Users can conveniently perform various operations on the first application window through the controls of the first application window, thereby improving the user stickiness of this solution.
[0153] The following describes in detail how a user can use the controls of the first application window to perform various control operations on the first application window. In one application scenario, when the first operation is a click operation obtained through the controls of the first application window, that is, when the user clicks the controls of the first application window, the second operation is to toggle the first application window between folding and displaying. It should be noted that the aforementioned "click operation obtained through the controls of the first application window" can also be replaced with other operations. This example is only for the convenience of understanding this solution and is not intended to limit this solution.
[0154] Optionally, in one implementation, the target application window (i.e., any one of the at least one first application window) in the display state can be further divided into top display and non-top display. Specifically, multiple application windows can be displayed simultaneously on a display screen of an electronic device, and multiple application windows can be stacked and displayed. An application window being processed by the electronic device will be displayed on the top. When the first operation is a click operation obtained through the control of the target application window, the second operation can be to switch the target application window from non-top display to top display, or, from top display to folded, or, from folded to top display.
[0155] To understand this solution more intuitively, please refer to Figure 15, which is a schematic diagram of using the control of the target application window to switch the target application window between display and folding provided by an embodiment of the present application. In Figure 15, the target application window is Application Window 2 as an example. Figure 15 includes three sub-schematic diagrams on the left, middle and right. As shown in the left sub-schematic diagram of Figure 15, Application Window 1, Application Window 2 and Application Window 3 are all in the open state, and Application Window 1 is displayed at the top layer of the second display screen (that is, the top display). The control of Application Window 1 is in a highlighted state, indicating that the application window being processed by the electronic device is Application Window 1, and Application Window 3 is in a non-top display. When the user inputs a click operation on the control of Application Window 3, it triggers the entry into the middle sub-schematic diagram of Figure 15, and Application Window 3 switches from non-top display to top display, that is, Application Window 3 is displayed at the top layer of the second display screen. The control of Application Window 3 is in a highlighted state, indicating that the application window being processed by the electronic device is Application Window 3.
[0156] When the user clicks on the controls of application window 3 again, the right sub-diagram of Figure 15 is triggered, and application window 3 is switched from being displayed on top to being folded, and the controls of application window 3 are no longer highlighted; since application window 1 is at the top layer of the second display screen after application window 3 is folded, the controls of application window 1 are highlighted. It should be understood that the example in Figure 15 is only for the convenience of understanding this solution and is not used to limit this solution.
[0157] In another implementation, only one application window can be displayed simultaneously on the same display screen of the electronic device. For example, application window A and application window B are open on the second display screen of the electronic device. When application window A is displayed on the second display screen, application window B will automatically retract; when application window B is displayed on the second display screen, application window A will automatically retract. The target application window (i.e., any one of the at least one first application window) then has only one display state. When the first operation is a click operation obtained through a control of the target application window, the second operation can be to switch the target application window from display to retraction, or vice versa.
[0158] To more intuitively understand this solution, please refer to Figure 16, which is another schematic diagram of an embodiment of the present application, which uses the control of the first application window to switch the first application window between display and folding. Figure 16 includes two sub-schematic diagrams, left and right. There are three open application windows in the electronic device, namely application window 1, application window 2 and application window 3. In the left sub-schematic diagram of Figure 16, application window 2 and application window 3 are folded, and application window 1 is displayed on the second display screen. Since application window 3 is displayed on the second display screen before being folded, when the user clicks the control of application window 3, it triggers the entry into the right sub-schematic diagram of Figure 16, that is, application window 1 remains folded, application window 2 switches from display to folding, and application window 3 switches from folding to display on the second display screen, and the control of application window 3 is in a highlighted state. It should be understood that the example in Figure 16 is only for the convenience of understanding this solution and is not used to limit this solution.
[0159] Optionally, if the electronic device includes a first display screen and a second display screen, an application window can be displayed on each of the first display screen and the second display screen of the electronic device. For a more intuitive understanding of this solution, please refer to Figure 17, which is a schematic diagram of using the control of the first application window to switch the first application window from being folded to being displayed, provided in an embodiment of the present application. The left sub-schematic diagram of Figure 17 is similar to the left sub-schematic diagram of Figure 16, and can be referred to for understanding, and will not be repeated here.
[0160] Since application window 3 is displayed on the first display screen before being folded, when the user clicks the control of application window 3, it triggers the entry into the right sub-schematic diagram of Figure 17. In the right sub-schematic diagram of Figure 17, application window 1 remains folded, application window 2 is still displayed on the second display screen, and application window 3 is displayed on the first display screen. It should be understood that the example in Figure 17 is only for the convenience of understanding this solution and is not used to limit this solution.
[0161] In another application scenario, the second operation is to switch the display of the first application window on the first display screen to that on the second display screen, or to switch the display of the first application window on the second display screen to that on the first display screen. Optionally, when the first application window is displayed on the second display screen and the first operation is a downward sliding operation obtained through the control of the first application window, the second operation is to switch the display of the first application window on the second display screen to that on the first display screen. When the first application window is displayed on the first display screen and the first operation is an upward sliding operation obtained through the control of the first application window, the second operation is to switch the display of the first application window on the first display screen to that on the second display screen. Through the aforementioned method, the user can switch the first application window between different display screens by inputting an upward sliding operation or a downward sliding operation on the control of the first application window. The upward sliding operation or the downward sliding operation is simple, and the aforementioned implementation method is very efficient.
[0162] Optionally, when at least one first application window is displayed on the first display screen, thumbnails of input controls are displayed on the first display screen, where the input controls include a keyboard and / or a touchpad. That is, when at least one first application window is displayed on the first display screen, each input control is automatically displayed as a thumbnail. For example, when at least one first application window is displayed on the first display screen, a thumbnail of the keyboard and a thumbnail of the touchpad can be displayed.
[0163] Optionally, when the user wants to use the keyboard or touchpad, he or she can click on the thumbnail of the keyboard or the thumbnail of the touchpad. Correspondingly, the electronic device can obtain the click operation on the thumbnail of the keyboard or the thumbnail of the touchpad, thereby triggering the opening of the keyboard or touchpad and folding the first application window displayed on the first display screen.
[0164] Through the above method, it is avoided that the input controls in the first display screen block the user's vision when the user views the application window on the first display screen, and the user can conveniently open the input control through the thumbnail of the input control, which improves the flexibility of the solution and is conducive to improving the user stickiness of the solution.
[0165] To understand this solution more intuitively, please refer to Figure 18, which is a schematic diagram of the first application window provided in an embodiment of the present application being displayed on the second display screen and switched to being displayed on the first display screen. Figure 18 includes two sub-schematic diagrams, left and right. In the left sub-schematic diagram of Figure 18, application window 1 is being displayed on the second display screen. When the user slides down through the control input of application window 1, it can trigger the entry into the right sub-schematic diagram of Figure 18, that is, triggering application window 1 to switch from being displayed on the second display screen to being displayed on the first display screen, and each input control on the first display screen is displayed in the form of a thumbnail, that is, the display mode of the input control is automatically switched to: displaying a thumbnail of the keyboard and a thumbnail of the touchpad to avoid blocking application window 1. It should be understood that the example in Figure 18 is only for the convenience of understanding this solution and is not used to limit this solution.
[0166] When a first application window switches from being displayed on the second display screen to being displayed on the first display screen, in one implementation, the electronic device can trigger the controls of at least one first application window to be displayed on the first display screen in the second display state, that is, trigger the controls of at least one first application window to be automatically retracted.
[0167] In another implementation, the controls of at least one first application window may remain unchanged, and after the electronic device obtains the fourth operation input by the user, it triggers the controls of at least one first application window to be displayed on the first display screen in the second display state. For example, the fourth operation may be a click operation input by the user on an area outside the area occupied by the controls of at least one first application window in all areas included in the first display screen, or the fourth operation may be a "circle gesture" input by the user, or the fourth operation may be a double-click operation input by the user, etc., which are not limited here. Through the aforementioned operations, it can be ensured that the user's previous operation is not an accidental touch, and if the previous operation is an accidental touch, the user can also use the controls of at least one first application window to make timely adjustments.
[0168] Referring to the above description, it can be seen that when the control of at least one first application window is in the second display state, a second icon corresponding to the control of at least one first application window is displayed on the first display screen, and the second icon is used to obtain a third operation of switching the control of at least one first application window from the second display state to the first display state.
[0169] Exemplarily, the third operation can be a click operation on the second icon input, or the third operation can be dragging the second icon to a third preset area, or the third operation can be other operations on the second icon input, etc., which are not limited in the embodiments of the present application.
[0170] Optionally, when at least one control of the first application window is displayed on the first display screen in the second display state, the input control on the first display screen may be triggered to be closed, and when at least one control of the first application window is displayed on the first display screen in the first display state, the input control on the first display screen may be triggered to be opened. This can further reduce the obstruction of the application window on the first display screen caused by the input control.
[0171] To understand this solution more intuitively, please refer to Figure 19, which is a schematic diagram of the controls of at least one first application window provided in an embodiment of the present application. Figure 19 includes five sub-schematic diagrams (a), (b), (c), (d) and (e). The sub-schematic diagram (a) of Figure 19 can be understood in conjunction with the right sub-schematic diagram of Figure 18 above. Both show that the application window 1 is switched from being displayed on the second display screen to being displayed on the first display screen. When the user inputs a click operation on any area outside the area occupied by the controls of at least one first application window in all areas included in the first display screen, it can trigger the entry into the sub-schematic diagram (b) of Figure 19, and the second icon corresponding to the controls of at least one first application window is displayed on the first display screen, and the input controls on the first display screen are closed.
[0172] In the sub-schematic diagram (c) of Figure 19, when the user clicks the second icon, the sub-schematic diagram (d) of Figure 19 is triggered, and the controls of at least one first application window are expanded on the first display screen (that is, the controls of at least one first application window are displayed in the first display state), and the thumbnails of each input control (that is, the keyboard and touchpad) are displayed. When the user clicks the thumbnail of the touchpad, the sub-schematic diagram (e) of Figure 19 is triggered, and the thumbnail of the keyboard and touchpad are displayed on the first display screen, and the first application window displayed on the first display screen will be automatically retracted. It should be understood that the example in Figure 19 is only for the convenience of understanding this solution and is not used to limit this solution.
[0173] Optionally, when the target application window (i.e., any one of the at least one first application window) is displayed on the first display screen, the controls of the target application window adopt a first display mode; when the target application window is displayed on the second display screen, the controls of the target application window adopt a second display mode, and the first display mode and the second display mode are different.
[0174] Exemplarily, the difference between the first display mode and the second display mode may be: the visual display angle of the first display mode is different from the visual display angle of the second display mode, or the transparency of the first display mode is different from the transparency of the second display mode, or there may be other differences between the first display mode and the second display mode, etc. It should be noted that the examples given here are only to prove the feasibility of this solution, and the specific details can be flexibly determined in combination with the actual application scenarios, and are not limited in the embodiments of this application.
[0175] Optionally, when the target application window is displayed on the first display screen, while the electronic device receives a user's input of an upward swipe operation through the controls of the target application window, the controls of the target application window may change in real time, thereby gradually changing from the first display mode to the second display mode. When the target application window is displayed on the second display screen, while the electronic device receives a user's input of a downward swipe operation through the controls of the target application window, the controls of the target application window may change in real time, thereby gradually changing from the second display mode to the first display mode.
[0176] For a more intuitive understanding of this solution, please refer to Figure 20, which is another schematic diagram of the controls of at least one first application window provided in an embodiment of the present application. In Figure 20, the target application window (that is, any one of the at least one first application window) is taken as Application Window 1 as an example. Figure 20 includes two sub-schematic diagrams, left and right. When Application Window 1 is displayed on the second display screen, refer to the left sub-schematic diagram of Figure 20. The visual display angle of the controls of Application Window 1 can be parallel to the first display screen; when Application Window 1 is displayed on the first display screen, refer to the right sub-schematic diagram of Figure 20. The visual display angle of the controls of Application Window 1 can be an angle between the controls and the first display screen. By comparing the left and right sub-schematic diagrams of Figure 20, it can be seen that when Application Window 1 is displayed on the second display screen and displayed on the first display screen, the visual display angle of the controls of Application Window 1 is different. It should be understood that the example in Figure 20 is only for the convenience of understanding this solution and is not used to limit this solution.
[0177] In an embodiment of the present application, in the two cases where the first application window is located on the first display screen and the second display screen, the controls of the first application window can be displayed in different ways, so that when the user views the controls of each first application window, he can know whether each first application window is located on the first display screen or the second display screen, which is conducive to the user to manage application windows more efficiently.
[0178] In another application scenario, the second operation is an operation to adjust the display position of the first application window on the same display screen. For example, in one case, when the first operation is a leftward sliding operation obtained through the control of the first application window, the second operation is to display the first application window in the left area of the current display screen, and the current display screen is the display screen that displayed the first application window before the first operation was obtained. When the first operation is a rightward sliding operation obtained through the control of the first application window, the second operation is to display the first application window in the right area of the current display screen.
[0179] For example, the left area of the current display screen can be understood as the area of the left half of the current display screen, and the right area of the current display screen can be understood as the area of the right half of the current display screen; then, when the first operation is a left sliding operation obtained through the control of the first application window, the second operation can be understood as controlling the first application window to split the screen on the left, and when the first operation is a right sliding operation obtained through the control of the first application window, the second operation can be understood as controlling the first application window to split the screen on the right.
[0180] To understand this solution more intuitively, please refer to Figure 21, which is a schematic diagram of adjusting the position of the first application window provided in an embodiment of the present application. In Figure 21, the display of application window 1 in the left area of the current display screen through the control of application window 1 is taken as an example. Figure 21 includes three sub-schematic diagrams: left, middle, and right. The left sub-schematic diagram and the right sub-schematic diagram of Figure 21 show the left sliding operation input by the user for the control of application window 1. When the electronic device obtains the left sliding operation through the control of application window 1, it can trigger the entry into the right sub-schematic diagram of Figure 21. Application window 1 is displayed in the area of the left half of the second display screen. It should be understood that the example in Figure 21 is only for the convenience of understanding this solution and is not used to limit this solution.
[0181] In an embodiment of the present application, the user can adjust the position of the first application window to the left area or the right area of the current display screen by inputting a left sliding operation or a right sliding operation on the control of the first application window. Not only is the operation simple, but the above-mentioned implementation method is also very efficient.
[0182] In another embodiment, when the first operation includes a long press operation and a move gesture obtained through a control of a first application window, the second operation includes controlling the first application window to perform a move operation corresponding to the move gesture. Optionally, the direction of movement of the first application window can be consistent with the direction of the move gesture; and the distance of movement of the first application window can correspond to the distance of movement of the move gesture.
[0183] It should be noted that the above-mentioned "long press operation on the control of the first application window" can also be replaced by "double-click operation on the control of the first application window", or can also be replaced by "circle gesture input in the area occupied by the control of the first application window" or other other operations input for the first application window, etc., which can be flexibly set in combination with the actual application scenario, and is not limited in the embodiments of this application.
[0184] To more intuitively understand this solution, please refer to Figure 22, which is another schematic diagram of adjusting the position of the first application window provided in an embodiment of the present application. Figure 22 includes three sub-schematic diagrams: left, middle, and right. In the left sub-schematic diagram of Figure 22, after the user inputs a long press operation on the control of Application Window 1 (that is, an example of the first application window), it will trigger the entry into the middle sub-diagram of Figure 22, that is, triggering Application Window 1 to enter the drag mode; in the right sub-schematic diagram of Figure 22, the user maintains the pressing state of the control of Application Window 1 and moves to the left, then Application Window 1 will also move to the left, and the distance that Application Window 1 moves to the left corresponds to the distance that the user moves to the left. It should be understood that the example in Figure 22 is only for the convenience of understanding this solution and is not used to limit this solution.
[0185] In an embodiment of the present application, after long pressing the control of the first application window, the user only needs to input a drag gesture in the control of the first application window to control the movement of the first application window based on the drag gesture input by the user. The user can control the first application window to move to any position on the current display screen based on his or her own needs, which greatly improves the user's flexibility in moving the first application window.
[0186] In another application scenario, if only one application window can be displayed on the same display screen of the electronic device at the same time, the second operation can also be an operation to fix the display position of the first application window on the display screen. For example, when a first application window is displayed on the first display screen, and the first operation is a downward sliding operation obtained through the control of the aforementioned first application window, the second operation is to trigger the aforementioned first application window to be displayed on the first display screen in a fixed state. The display of the first application window on the first display screen in a fixed (pin) state means that when other application windows are displayed on the first display screen, the first application window will not be folded. Or,
[0187] When a first application window is displayed on a second display screen, and the first operation is an upward swipe operation obtained through a control of the first application window, the second operation is to trigger the first application window to be displayed in a fixed state on the second display screen. The first application window being displayed in a fixed state on the second display screen means that the first application window will not be retracted when other application windows are displayed on the second display screen.
[0188] Optionally, if you want to release the fixed state of a first application window, in one implementation, you can control the control of the first application window to switch from display to folding. When the first application window is folded, the fixed state of the first application window will be automatically released. In another implementation, you can also switch the display of the first application window on the first display screen to the second display screen through the control of the first application window, or switch the display of the first application window on the second display screen to the first display screen through the control of the first application window. When the display screen where the first application window is located changes, the fixed state of the first application window will be automatically released, and so on. Alternatively, you can also release the fixed state of a first application window in other ways. The examples here are only to prove the feasibility of this solution and are not used to limit this solution.
[0189] For a more intuitive understanding of this solution, please refer to Figure 23, which is another schematic diagram of adjusting the position of the first application window provided in an embodiment of the present application. Figure 23 includes three sub-schematic diagrams: left, center, and right. In the left sub-schematic diagram of Figure 23, application window 2 is displayed on the second display screen. If the user wants to display application window 2 in a fixed state on the second display screen and does not want application window 2 to be retracted when other application windows are displayed on the second display screen, the user can input an upward swipe operation on the control of application window 2 to trigger the middle sub-schematic diagram of Figure 23.
[0190] In the middle diagram of Figure 23 , application window 2 is displayed in a fixed state on the second display screen. When a user clicks on a control in application window 1, the right sub-diagram of Figure 23 is triggered. In the right sub-diagram of Figure 23 , when application window 1 is displayed on the second display screen in a top-up display mode, application window 2 in a fixed state is not retracted, but is displayed on the second display screen in a non-top-up display mode. It should be understood that the example in Figure 23 is merely for facilitating understanding of this solution and is not intended to limit this solution.
[0191] In the embodiment of the present application, through the above solution, multiple application windows can be displayed on the same display screen, avoiding the situation where only one application window can be displayed on the same display screen, that is, the user can control the application window more flexibly.
[0192] In another application scenario, the second operation is an operation for adjusting the size of the first application window. Optionally, when the first operation is any of the following operations: a double-click operation, a two-finger pinch operation, or a two-finger expand operation, the second operation includes controlling the first application window to switch between the following multiple display modes: maximizing the first application window on the current display screen, which is the display screen that displayed the first application window before the first operation was obtained; maximizing the first application window on both display screens of the electronic device; or displaying the first application window in a third display mode, which is the display mode of the first application window before the first operation was obtained.
[0193] For example, if the target application window (that is, any one of at least one first application window) is being displayed on the current display screen using the third display mode, the electronic device obtains a two-finger expansion operation input in the control of the target application window, which can trigger a switch to maximize the display of the target application window on the current display screen; when the electronic device again obtains a two-finger expansion operation input in the control of the target application window, it can trigger a switch to maximize the display of the target application window on the two display screens of the electronic device; when the electronic device again obtains a two-finger expansion operation input in the control of the target application window, it can trigger a switch to display the target application window using the third display mode on the aforementioned current display screen. It should be understood that the examples given here are only for the convenience of understanding this solution and are not used to limit this solution.
[0194] Optionally, when the first application window is displayed in a maximized manner on two display screens of the electronic device, at least one control of the first application window may be displayed on the second display screen in the second display state.
[0195] For a more intuitive understanding of this solution, please refer to FIG. 24 , which is a schematic diagram of adjusting the size of the first application window provided in an embodiment of the present application. FIG. 24 includes three sub-schematic diagrams: left, middle, and right. In the left sub-schematic diagram of FIG. 24 , application window 1 is displayed on the second display screen in a non-full-screen manner. When the user double-clicks the control of application window 1, the middle sub-schematic diagram of FIG. 24 is triggered, and application window 1 is maximized on the current display screen (the second display screen is used as an example in FIG. 24 ); when the user double-clicks the control of application window 1 again, the right sub-schematic diagram of FIG. 24 is triggered, and application window 1 is maximized on both displays of the electronic device; when the user double-clicks the control of application window 1 again, the left sub-schematic diagram of FIG. 24 is triggered again, and application window 1 is displayed on the second display screen in a non-full-screen manner, and application window 1 returns to its original size and position, and so on. It should be understood that the example in FIG. 24 is only for the convenience of understanding this solution and is not used to limit this solution.
[0196] In an embodiment of the present application, when the user inputs a double-click operation, a two-finger pinch operation, or a two-finger expand operation through the control of the first application window, it can trigger the first application window to switch between three different display sizes, thereby achieving quick and convenient adjustment of the size of the first application window.
[0197] Optionally, when the desktop of the electronic device is maximized and displayed on two display screens of the electronic device, and a control of at least one first application window is displayed on the first display screen, at least one icon included in the desktop is located in the second display screen.
[0198] Optionally, when the desktop of the electronic device is maximized on two display screens of the electronic device and the controls of the first application window and the input controls are not displayed on the first display screen; or, when the desktop of the electronic device is maximized on two display screens of the electronic device and the controls of the first application window are displayed in the first display screen in the second display form, at least one icon included in the desktop can fill the two display screens of the electronic device.
[0199] In an embodiment of the present application, at least one icon included in the desktop is only located in the second display screen, which avoids the situation where the controls of the first application window block the icons in the desktop, causing the icons to be unclickable, and ensures that the icons in the desktop and the controls of the first application window can be used normally.
[0200] The controls of each application window are displayed at the top of the first display screen. The user can input operations for the application window through the controls of the first application window located at the top of the first display screen. The user no longer needs to raise his hand to click the second display screen, which not only avoids user fatigue, but also avoids shaking or even tipping of the second display screen. In addition, since the controls of the application window are set at the top of the first display screen, the user does not need to lower his head to see the controls of the application window, which avoids burdening the user's cervical spine and is conducive to further improving the user stickiness of this solution.
[0201] On the basis of the embodiments corresponding to Figures 1 to 24, in order to better implement the above-mentioned solutions of the embodiments of the present application, the following also provides related devices for implementing the above-mentioned solutions. Please refer to Figure 25 in detail. Figure 25 is a structural schematic diagram of the application window processing device provided in the embodiment of the present application. The application window processing device 2500 includes: a display module 2501, which is used to display at least one control of a first application window at the top of a first display screen, where the top of the first display screen is the area of the first display screen close to the second display screen, and each first application window is in an open state in the first display screen or the second display screen; an acquisition module 2502, which is used to obtain a first operation through the control of the first application window; and a determination module 2503, which is used to determine a second operation for the first application window in response to the first operation.
[0202] Optionally, when controls of at least one first application window and input controls are displayed on the first display screen, the controls of at least one first application window are located above the input controls, and the input controls include a keyboard and / or a touchpad.
[0203] Optionally, factors that trigger adjustment of the area occupied by controls of at least one first application window include: input controls switching between a first display mode and a second display mode; wherein the first display mode is to display the keyboard and touchpad at the same time, and the touchpad is on the upper or lower side of the keyboard, and the second display mode is any one of the following display modes: displaying a thumbnail of the touchpad and the keyboard, displaying a thumbnail of the keyboard and the touchpad, or displaying the keyboard and touchpad at the same time, and the touchpad is on the left or right side of the keyboard.
[0204] Optionally, the modes of displaying input controls on the first display screen include any one or more of the following: displaying a thumbnail of the touchpad and the keyboard; displaying a thumbnail of the keyboard and the touchpad; displaying a thumbnail of the touchpad and a thumbnail of the keyboard; displaying the keyboard and the touchpad at the same time, with the touchpad on the left or right side of the keyboard; or displaying the keyboard and the touchpad at the same time, with the touchpad on the upper or lower side of the keyboard.
[0205] Optionally, when the control of at least one first application window is in the first display state, the control of the first application window includes a thumbnail of the first application window and / or a first icon of an application corresponding to the first application window.
[0206] Optionally, when the controls of at least one first application window are in the second display state, a second icon corresponding to the controls of at least one first application window is displayed on the first display screen, and the second icon is used to obtain a third operation, and the third operation is used to switch the controls of at least one first application window from the second display state to the first display state.
[0207] Optionally, when the first application window is displayed on the first display screen, the controls of the first application window adopt a first display mode; when the first application window is displayed on the second display screen, the controls of the first application window adopt a second display mode, and the first display mode and the second display mode are different.
[0208] Optionally, when at least one first application window is displayed on the first display screen, a thumbnail of an input control is displayed on the first display screen, and the input control includes a keyboard and / or a touchpad.
[0209] Optionally, the second operation is any one of the following operations: switching the first application window between folding and displaying; switching the first application window from being displayed on the first display screen to being displayed on the second display screen; switching the first application window from being displayed on the second display screen to being displayed on the first display screen; adjusting the display position of the first application window on the same display screen; or adjusting the size of the first application window.
[0210] Optionally, when the first application window is displayed on the second display screen and the first operation is a downward sliding operation obtained through the control of the first application window, the second operation is to switch the display of the first application window on the second display screen to the display on the first display screen; or, when the first application window is displayed on the first display screen and the first operation is an upward sliding operation obtained through the control of the first application window, the second operation is to switch the display of the first application window on the first display screen to the display on the second display screen.
[0211] Optionally, when the first operation is a left sliding operation obtained through the control of the first application window, the second operation is to display the first application window in the left area of the current display screen, and the current display screen is the display screen that displayed the first application window before obtaining the first operation; or, when the first operation is a right sliding operation obtained through the control of the first application window, the second operation is to display the first application window in the right area of the current display screen.
[0212] Optionally, when the first operation includes acquiring a long press operation and a move gesture through the control of the first application window, the second operation includes controlling the first application window to perform a move operation corresponding to the move gesture.
[0213] Optionally, when the first operation is any of the following operations: a double-click operation, a two-finger pinch operation, or a two-finger expand operation, the second operation includes controlling the first application window to switch between the following display modes: maximizing the display of the first application window on the current display screen, where the current display screen is the display screen on which the first application window was displayed before the first operation was obtained; maximizing the display of the first application window on two display screens of the electronic device; or displaying the first application window in a third display mode, where the third display mode is the display mode of the first application window before the first operation was obtained.
[0214] Optionally, when the first application window is displayed on the first display screen and the first operation is a downward sliding operation obtained through the control of the first application window, the second operation is to trigger the first application window to be displayed on the first display screen in a fixed state. Displaying the first application window in a fixed state on the first display screen means that when other application windows are displayed on the first display screen, the first application window will not be folded; or, when the first application window is displayed on the second display screen and the first operation is an upward sliding operation obtained through the control of the first application window, the second operation is to trigger the first application window to be displayed on the second display screen in a fixed state. Displaying the first application window in a fixed state on the second display screen means that when other application windows are displayed on the second display screen, the first application window will not be folded.
[0215] Optionally, when the desktop of the electronic device is maximized and displayed on two display screens of the electronic device, and a control of at least one first application window is displayed on the first display screen, at least one icon included in the desktop is located in the second display screen.
[0216] It should be noted that the information interaction, execution process, etc. between the modules / units in the processing device 2500 of the application window are based on the same concept as the various method embodiments corresponding to Figures 3 to 24 in this application. For specific contents, please refer to the description in the method embodiments shown above in this application, and will not be repeated here.
[0217] Next, an electronic device provided in an embodiment of the present application is introduced. Please refer to Figure 26, which is a schematic structural diagram of an electronic device provided in an embodiment of the present application. Specifically, the electronic device 2600 includes: a receiver 2601, a transmitter 2602, a processor 2603, and a memory 2604 (wherein the number of processors 2603 in the electronic device 2600 can be one or more, and Figure 26 takes one processor as an example), wherein the processor 2603 may include an application processor 26031 and a communication processor 26032. In some embodiments of the present application, the receiver 2601, the transmitter 2602, the processor 2603, and the memory 2604 may be connected via a bus or other means.
[0218] Memory 2604 may include read-only memory and random access memory, and provides instructions and data to processor 2603. A portion of memory 2604 may also include non-volatile random access memory (NVRAM). Memory 2604 stores processor and operation instructions, executable modules, or data structures, or subsets or extended sets thereof. The operation instructions may include various operation instructions for implementing various operations.
[0219] Processor 2603 controls the operation of the electronic device. In specific applications, the various components of the electronic device are coupled together via a bus system. In addition to a data bus, the bus system may also include a power bus, a control bus, and a status signal bus. However, for clarity, all bus systems are referred to as a bus system in the figure.
[0220] The methods disclosed in the above embodiments of the present application can be applied to or implemented by processor 2603. Processor 2603 can be an integrated circuit chip with signal processing capabilities. During implementation, each step of the above method can be completed by hardware integrated logic circuits in processor 2603 or software instructions. The above processor 2603 can be a general-purpose processor, a digital signal processor (DSP), a microprocessor, or a microcontroller, and can further include an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components. The processor 2603 can implement or execute the various methods, steps, and logic block diagrams disclosed in the embodiments of the present application. The general-purpose processor can be a microprocessor or any conventional processor. The steps of the methods disclosed in conjunction with the embodiments of the present application can be directly implemented and executed by a hardware decoding processor, or by a combination of hardware and software modules in the decoding processor. The software module can be located in a storage medium well-known in the art, such as random access memory, flash memory, read-only memory, programmable read-only memory, electrically erasable programmable memory, registers, etc. The storage medium is located in memory 2604, and processor 2603 reads the information in memory 2604 and, in conjunction with its hardware, completes the steps of the above method.
[0221] Receiver 2601 can be used to receive input digital or character information and generate signal input related to the relevant settings and function control of the electronic device. Transmitter 2602 can be used to output digital or character information through the first interface. Transmitter 2602 can also be used to send instructions to the disk pack through the first interface to modify the data in the disk pack. Transmitter 2602 can also include a display device such as a display screen.
[0222] In the embodiment of the present application, the processor 2603 is configured to execute the method for processing the application window executed by the electronic device in the embodiments corresponding to Figures 3 to 24. It should be noted that the specific manner in which the application processor 26031 in the processor 2603 executes the above-mentioned steps is based on the same concept as the various method embodiments corresponding to Figures 3 to 24 of the present application, and the technical effects brought about are the same as the various method embodiments corresponding to Figures 3 to 24 of the present application. For specific details, please refer to the description of the method embodiments shown above in the present application, and will not be repeated here.
[0223] A computer-readable storage medium is also provided in an embodiment of the present application, which stores a program for signal processing. When the computer-readable storage medium is run on a computer, it enables the computer to execute the steps performed by the electronic device in the method described in the embodiments shown in Figures 3 to 24 above.
[0224] An embodiment of the present application also provides a computer program product, which includes instructions. When the instructions are run on a computer, the computer executes the steps performed by the electronic device in the method described in the embodiments shown in Figures 3 to 24 above.
[0225] The electronic device provided in the embodiments of the present application may specifically be a chip, which includes: a processing unit and a communication unit. The processing unit may be, for example, a processor, and the communication unit may be, for example, an input / output interface, a pin, or a circuit. The processing unit may execute computer-executable instructions stored in the storage unit so that the chip performs the methods described in the embodiments shown in Figures 3 to 24 above. Optionally, the storage unit is a storage unit within the chip, such as a register, a cache, etc. The storage unit may also be a storage unit located outside the chip within the wireless access device, such as a read-only memory (ROM) or other type of static storage device that can store static information and instructions, a random access memory (RAM), etc.
[0226] The processor mentioned in any of the above places can be a general-purpose central processing unit, a microprocessor, an ASIC, or one or more integrated circuits for controlling the execution of the program of the above-mentioned first aspect method.
[0227] It should also be noted that the device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separate, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed across multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the present embodiment. In addition, in the drawings of the device embodiments provided in this application, the connection relationship between the modules indicates that there is a communication connection between them, which can be specifically implemented as one or more communication buses or signal lines.
[0228] Through the description of the above embodiments, those skilled in the art can clearly understand that the present application can be implemented by means of software plus necessary general hardware, and of course can also be implemented by special hardware including application-specific integrated circuits, special CPUs, special memories, special components, etc. In general, all functions performed by computer programs can be easily implemented with corresponding hardware, and the specific hardware structures used to implement the same function can also be diverse, such as analog circuits, digital circuits or special circuits, etc. However, for the present application, software program implementation is a better implementation method in most cases. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which is stored in a readable storage medium, such as a computer's floppy disk, USB flash drive, mobile hard disk, ROM, RAM, magnetic disk or optical disk, etc., and includes a number of instructions to enable a computer device (which can be a personal computer, training equipment, or network equipment, etc.) to execute the methods described in each embodiment of the present application.
[0229] In the above embodiments, all or part of the embodiments may be implemented by software, hardware, firmware, or any combination thereof. When implemented by software, all or part of the embodiments may be implemented in the form of a computer program product.
[0230] The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from a website, a computer, a training device or a data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) mode to another website, a computer, a training device or a data center. The computer-readable storage medium can be any available medium that a computer can store or a data storage device such as a training device, a data center, etc. that includes one or more available media integrations. The available medium can be a magnetic medium, (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid-state drive (SSD)).
Claims
1. A method for processing an application window, characterized in that: The method is applied to an electronic device, the electronic device includes a first display screen, and the method includes: Displaying at least one control of a first application window at the top of the first display screen, wherein the top of the first display screen is an area of the first display screen close to the second display screen, and each of the first application windows is in an open state in the first display screen or the second display screen; A first operation is acquired through a control of the first application window, and a second operation for the first application window is determined in response to the first operation.
2. The method according to claim 1, characterized in that When the controls of the at least one first application window and the input controls are displayed on the first display screen, the controls of the at least one first application window are located on the upper side of the input controls, and the input controls include a keyboard and / or a touchpad.
3. The method according to claim 2, characterized in that Factors triggering adjustment of the area occupied by the control of at least one first application window include: the input control switching between the first display mode and the second display mode; Among them, the first display mode is to display the keyboard and the touchpad at the same time, and the touchpad is on the upper side or the lower side of the keyboard, and the second display mode is any one of the following display modes: displaying a thumbnail of the touchpad and the keyboard, displaying a thumbnail of the keyboard and the touchpad, or displaying the keyboard and the touchpad at the same time, and the touchpad is on the left side or the right side of the keyboard.
4. The method according to claim 2 or 3, characterized in that: The modes of displaying the input control on the first display screen include any one or more of the following: Displaying a thumbnail of the touch panel and the keyboard; Displaying thumbnails of the keyboard and the touchpad; Displaying a thumbnail of the touchpad and a thumbnail of the keyboard; The keyboard and the touchpad are displayed simultaneously, and the touchpad is on the left or right side of the keyboard; or, The keyboard and the touchpad are displayed simultaneously, and the touchpad is located on the upper side or the lower side of the keyboard.
5. The method according to any one of claims 1 to 3, characterized in that: When the control of the at least one first application window is in the first display state, the control of the first application window includes a thumbnail of the first application window and / or a first icon of an application corresponding to the first application window.
6. The method according to claim 5, characterized in that When the controls of the at least one first application window are in the second display state, a second icon corresponding to the controls of the at least one first application window is displayed on the first display screen, and the second icon is used to obtain a third operation, and the third operation is used to switch the controls of the at least one first application window from the second display state to the first display state.
7. The method according to any one of claims 1 to 3, characterized in that: When the first application window is displayed on the first display screen, the controls of the first application window adopt a first display mode, and when the first application window is displayed on the second display screen, the controls of the first application window adopt a second display mode, and the first display mode and the second display mode are different.
8. The method according to any one of claims 1 to 3, characterized in that: In a case where at least one first application window is displayed on the first display screen, a thumbnail of an input control is displayed on the first display screen, and the input control includes a keyboard and / or a touch pad.
9. The method according to any one of claims 1 to 3, characterized in that: The second operation is any of the following operations: Switching operation of the first application window between folding and displaying; Switching the first application window from being displayed on the first display screen to being displayed on the second display screen; Switching the first application window from being displayed on the second display screen to being displayed on the first display screen; an operation of adjusting the display position of the first application window on the same display screen; or, An operation of adjusting the size of the first application window.
10. The method according to any one of claims 1 to 3, characterized in that: When the first application window is displayed on the second display screen, and the first operation is a downward sliding operation acquired through the control of the first application window, the second operation is to switch the first application window from being displayed on the second display screen to being displayed on the first display screen; or, When the first application window is displayed on the first display screen, and the first operation is an upward sliding operation obtained through the control of the first application window, the second operation is to switch the first application window from being displayed on the first display screen to being displayed on the second display screen.
11. The method according to any one of claims 1 to 3, characterized in that: When the first operation is a left sliding operation acquired through a control of the first application window, the second operation is displaying the first application window in a left area of a current display screen, and the current display screen is a display screen that displays the first application window before acquiring the first operation; or, When the first operation is a right sliding operation acquired through a control of the first application window, the second operation is to display the first application window in a right area of the current display screen.
12. The method according to any one of claims 1 to 3, characterized in that: When the first operation includes acquiring a long press operation and a move gesture through the control of the first application window, the second operation includes controlling the first application window to perform a move operation corresponding to the move gesture.
13. The method according to any one of claims 1 to 3, characterized in that: When the first operation is any of the following operations: a double-click operation, a two-finger pinch operation, or a two-finger expand operation, the second operation includes controlling the first application window to switch between the following multiple display modes: Displaying the first application window in a maximized manner on a current display screen, where the current display screen is a display screen that displays the first application window before acquiring the first operation; Maximizing and displaying the first application window on two display screens of the electronic device; or, The first application window is displayed in a third display mode, where the third display mode is a display mode of the first application window before the first operation is acquired.
14. The method according to any one of claims 1 to 3, characterized in that: When the first application window is displayed on the first display screen, and the first operation is a downward sliding operation obtained through a control of the first application window, the second operation is to trigger the first application window to be displayed on the first display screen in a fixed state, and the first application window being displayed on the first display screen in a fixed state means that when other application windows are displayed on the first display screen, the first application window will not be collapsed; or, When the first application window is displayed on the second display screen, and the first operation is an upward sliding operation obtained through the control of the first application window, the second operation is to trigger the first application window to be displayed on the second display screen in a fixed state. The first application window being displayed on the second display screen in a fixed state means that when other application windows are displayed on the second display screen, the first application window will not be folded.
15. The method according to any one of claims 1 to 3, characterized in that: When the desktop of the electronic device is maximized and displayed on two display screens of the electronic device, and the controls of the at least one first application window are displayed on the first display screen, at least one icon included in the desktop is located in the second display screen.
16. A device for processing an application window, characterized in that: The application window processing device is applied to an electronic device, the electronic device includes a first display screen, and the device includes: A display module, configured to display at least one control of a first application window at the top of the first display screen, wherein the top of the first display screen is an area of the first display screen close to the second display screen, and each of the first application windows is in an open state in the first display screen or the second display screen; An acquisition module, configured to acquire a first operation through a control of the first application window; The determining module is used to determine a second operation for the first application window in response to the first operation.
17. An electronic device, characterized in that: The method comprises a processor, wherein the processor is coupled to a memory, wherein the memory stores program instructions, and when the program instructions stored in the memory are executed by the processor, the method according to any one of claims 1 to 15 is implemented.
18. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a program, and when the program is executed on a computer, the computer is caused to execute the method according to any one of claims 1 to 15.
19. A computer program product, characterized in that The computer program product comprises instructions, and when the instructions are loaded and executed by an electronic device, the computer executes the method according to any one of claims 1 to 15.
Citation Information
Patent Citations
Touch information processing method and device, memory medium and electronic device
CN108646976A
Display method, device and equipment and storage medium
CN111880694A
Display window switching method and electronic equipment
CN113805743A
Virtual keyboard processing method and related equipment
CN114690889A
Screen control method and electronic equipment
CN115933923A
