WO2022002188A1 - 一种分屏显示多个窗口的方法及电子设备 - Google Patents

一种分屏显示多个窗口的方法及电子设备 Download PDF

Info

Publication number
WO2022002188A1
WO2022002188A1 PCT/CN2021/103949 CN2021103949W WO2022002188A1 WO 2022002188 A1 WO2022002188 A1 WO 2022002188A1 CN 2021103949 W CN2021103949 W CN 2021103949W WO 2022002188 A1 WO2022002188 A1 WO 2022002188A1
Authority
WO
WIPO (PCT)
Prior art keywords
window
screen
split
display
user
Prior art date
Application number
PCT/CN2021/103949
Other languages
English (en)
French (fr)
Inventor
徐杰
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Priority to US18/004,010 priority Critical patent/US12039162B2/en
Priority to EP21832558.7A priority patent/EP4163773A4/en
Publication of WO2022002188A1 publication Critical patent/WO2022002188A1/zh
Priority to US18/739,020 priority patent/US20240329831A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04886Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures by partitioning the display area of the touch-screen or the surface of the digitising tablet into independently controllable areas, e.g. virtual keyboards or menus
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04883Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures for inputting data by handwriting, e.g. gesture or text
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/04817Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance using icons
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/0485Scrolling or panning
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2203/00Indexing scheme relating to G06F3/00 - G06F3/048
    • G06F2203/048Indexing scheme relating to G06F3/048
    • G06F2203/04803Split screen, i.e. subdividing the display area or the window area into separate subareas
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2203/00Indexing scheme relating to G06F3/00 - G06F3/048
    • G06F2203/048Indexing scheme relating to G06F3/048
    • G06F2203/04808Several contacts: gestures triggering a specific function, e.g. scrolling, zooming, right-click, when the user establishes several contacts with the surface simultaneously; e.g. using several fingers or a combination of fingers and pen

Definitions

  • the present application relates to the technical field of terminals, and in particular, to a method and electronic device for displaying multiple windows on a split screen.
  • the present application provides a method and an electronic device for displaying multiple windows on a split screen, so as to not affect the user's browsing of the currently displayed windows during the split-screen operation, thereby improving the user experience.
  • an embodiment of the present invention provides a method for displaying multiple windows on a split screen, the method comprising: displaying a first window in full screen; detecting a split screen operation performed by a user on the first window, the split screen
  • the screen operation is a continuous sliding operation, and the sliding distance of the split-screen operation is greater than or equal to the first distance threshold, or the sliding duration of the split-screen operation is greater than or equal to the first duration threshold; in response to the split-screen operation, in the A second window is displayed on one side of the first window, wherein the second window is a full-screen window or an operable window including at least one sub-window; the first window and the second window are displayed on a split screen .
  • a new window can be displayed by continuous sliding operation without introducing other auxiliary tools, so as to realize the display effect of displaying multiple windows on a split screen, and the user will not be affected during the split screen operation.
  • the use of the first window, and the continuous sliding operation can be distinguished from existing operations such as clicking, which reduces the error rate of operation type judgment and improves the response accuracy of the electronic device to the split-screen operation.
  • the responding to the split-screen operation includes: during the split-screen operation, the display positions and display sizes of the first window and the second window vary with the split-screen operation. Variety.
  • the responding to the split-screen operation includes: during the split-screen operation, the display position and display size of the first window remain unchanged; after the split-screen operation ends, The first window and the second window are directly displayed in a split screen and on the display screen.
  • the responding to the split-screen operation includes: during the split-screen operation, the display positions and display sizes of the first window and the second window vary with the split-screen operation. changes, and the format of the display content of the first window changes with the split-screen operation, so that the format of the display content of the first window always adapts to the display size of the first window.
  • the second window can be directly displayed on the display screen in various ways, so as to realize the effect of displaying the second window and the first window on a split screen without any assistance such as a window bar, thereby simplifying the split-screen display application operation of the program.
  • the first window and the second window are displayed on the display screen in a split-screen manner according to a preset screen occupation ratio.
  • an appropriate window size can be selected according to actual needs to meet the requirements of the integrity and clarity of the displayed content.
  • the displayed content of the second window is the content that the user browsed the last time, the desktop of the operating system, and the content that the user browsed most frequently in a recent period of time.
  • an application a collection of application icons that can be used for split-screen display, or the display content of the first window;
  • the display content of the sub-window included in the second window is the content last browsed by the user, the desktop of the operating system, One or more of the applications that the user browses most frequently in a recent period of time, the set of application icons that can be used for split-screen display, or the display content of the first window.
  • a second window including multiple types of sub-windows can be provided according to user requirements, so as to improve the user's experience.
  • the icon corresponding to the application program that cannot be displayed in the split screen is displayed in gray.
  • the arrangement of the sub-windows is a single-row arrangement, a single-column arrangement, or a multi-row and multi-column arrangement.
  • the total display size of each sub-window of the second window is smaller than the display size of the third window.
  • the responding to the split-screen operation includes: detecting whether a window split-screen mode corresponding to the split-screen operation matches the format of the display content of the first window, and the window split-screen mode is all Describes the arrangement of the windows displayed in the split screen of the display screen; if it does not match, the user is prompted to change the split screen operation to change the corresponding window split screen mode.
  • the responding to the split-screen operation includes: if the display content of the first window cannot be displayed in a split-screen, not responding to the split-screen operation.
  • the screen splitting operation is a single-finger continuous sliding operation or a multi-finger continuous sliding operation.
  • the electronic device can accurately identify the sliding operations performed by the user in various forms, thereby effectively avoiding the problem of unrecognized operations.
  • the method further includes: detecting that the user is on the first window. multi-finger continuous sliding operation on the first window; determine a virtual contact point, the virtual contact point is the geometric center point of the contact point between the multi-finger and the display screen; generate a multi-finger sliding track, the multi-finger sliding track is The motion trajectory of the virtual contact point.
  • the method further includes: detecting that the user has two images on the second window. A second screen splitting operation; in response to the second screen splitting operation, the second window is replaced with a third window, where the third window is a full-screen window or an operable window including at least one sub-window.
  • the window after the split screen can be further replaced with an operable window, thereby providing the user with more selectable split-screen display windows.
  • the display content of the sub-window included in the third window is the content last browsed by the user, the desktop of the operating system, the application program most frequently browsed by the user in a recent period of time, and can be used for split screen One or more of the displayed set of application icons, or the displayed content of the first window.
  • a third window including multiple types of sub-windows can be provided according to user requirements, so as to improve the user's experience.
  • the display content of the sub-window included in the third window further includes the display content of the second window.
  • the secondary screen splitting operation is a continuous sliding operation, wherein the sum of the sliding distances of the secondary screen splitting operation is greater than or equal to a second distance threshold, or the secondary screen splitting operation The sum of the sliding durations is greater than or equal to the second duration threshold.
  • the second window can be replaced by an operable window through a continuous sliding operation, and the continuous sliding operation can be distinguished from the existing operations such as clicking, thereby reducing the error rate of the operation type judgment and improving the response accuracy of the electronic device to the split-screen operation.
  • the secondary screen splitting operation is a continuous sliding operation, wherein the secondary screen splitting operation and the splitting screen operation are continuous operations, and the splitting screen operation and the secondary screen splitting operation are continuous operations.
  • the sum of the sliding distances of the operation is greater than or equal to the third distance threshold, or the sum of the sliding durations of the split-screen operation and the second split-screen operation is greater than or equal to the third duration threshold.
  • the split-screen operation and the second split-screen operation can be implemented by one sliding operation, which can simplify the user's operation steps.
  • the secondary screen splitting operation is sliding from any corner of the second window to the inside of the second window.
  • the secondary screen splitting operation is that at least two fingers slide toward the inside of the second window at the same time.
  • the secondary screen splitting operation is to slide up from a designated area at the bottom of the second window, or slide down from a designated area at the top of the third window.
  • the method further includes: detecting to the user's first selection operation on the second window; in response to the first selection operation, select a fourth window in each sub-window of the second window;
  • the first window and the fourth window are displayed in a split screen.
  • the user can select the fourth window to be finally displayed in a split screen from the second window.
  • the first selection operation includes a first sub-operation and a second sub-operation
  • the first sub-operation is used to display the sub-windows in the second window one by one on the The main display area of the second window
  • the second sub-operation is used to select the fourth window from each of the sub-windows
  • the responding to the first selection operation includes: responding to the first sub-operation, making Each of the sub-windows in the second window is displayed one by one in the main display area of the second window; in response to the second sub-operation, the fourth window and the first window.
  • the first selection operation is a continuous sliding operation
  • the responding to the selection operation includes: detecting a sub-window displayed in the main display area of the second window when the selection operation is terminated, and obtaining a fourth window; displaying the fourth window and the first window in a split screen on the display screen.
  • the The method further includes: detecting a second selection operation by the user on the third window; selecting a fifth window in each sub-window of the third window in response to the second selection operation; splitting the screen The first window and the fifth window are displayed.
  • the user can select the fifth window to be displayed in a split screen from the third window.
  • the second selection operation includes a third sub-operation and a fourth sub-operation
  • the third sub-operation is used to display the sub-windows in the third window one by one on the The main display area of the third window
  • the fourth sub-operation is used to select the fifth window from each of the sub-windows
  • the responding to the second selection operation includes: responding to the third sub-operation, making Each of the sub-windows in the third window is displayed one by one in the main display area of the third window; in response to the fourth sub-operation, the fifth window and the first window.
  • the second selection operation is a continuous sliding operation
  • the responding to the second selection operation includes: detecting that the second selection operation is terminated and displayed in the main display area of the third window. sub-window to obtain a fifth window; and displaying the fifth window and the first window in a split screen on the display screen.
  • the method before the detecting a user's split-screen operation on the first window, the method further includes: detecting a triggering operation by the user on the first window, the The triggering operation is a continuous sliding operation, and the sliding distance of the triggering operation is greater than or equal to a fourth distance threshold, or the sliding duration of the triggering operation is greater than or equal to a fourth duration threshold, wherein the fourth distance threshold is less than the a first distance threshold, the fourth duration threshold is smaller than the first duration threshold; in response to the trigger operation, the split-screen display function of the electronic device is enabled.
  • operations such as clicks can be distinguished from existing operations, the error rate of operation type judgment can be reduced, and the response accuracy of the electronic device to the trigger operation can be improved.
  • the method further includes: detecting whether a failure operation exists between the trigger operation and the split-screen operation, where the failure operation is used to turn off the split-screen display function of the electronic device; The failure operation is performed to turn off the split-screen display function of the electronic device.
  • the user can flexibly turn off the split-screen display function of the electronic device.
  • the present invention provides a method for displaying multiple windows on a split screen, the method comprising: displaying a first window in full screen; detecting a split screen operation performed by a user on the first window; screen operation, a second window is displayed on one side of the first window, wherein the second windows displayed on different sides of the first window correspond to different display contents; the first window and all the displayed contents are displayed on a split screen. the second window.
  • the second window is a full-screen window or an operable window including at least one sub-window.
  • the split-screen operation is a continuous sliding operation, and the sliding distance of the split-screen operation is greater than or equal to a first distance threshold, or the sliding duration of the split-screen operation is greater than or equal to the first duration threshold .
  • an embodiment of the present invention further provides a method for displaying multiple windows on a split screen, which is applied to a folding screen electronic device in a folded state, the method comprising: a displayable display of the folding screen electronic device in the folded state Displaying the first window in full screen on the side, detecting a user's split-screen operation on the first window, and in response to the split-screen operation, replacing the first window with a second window, the second window containing at least An operable window for a sub-window that displays a second window.
  • the user when using the electronic device with a folding screen in a folded state, the user can perform a split-screen operation on the window, so as to obtain an operable window that can freely select the final display window.
  • the responding to the split screen operation further includes: detecting a selection operation by the user, where the selection operation is used to select a third window from each sub-window of the second window; In response to the selection operation, the second window is replaced with a third window, and the third window is displayed.
  • the present invention provides an electronic device, comprising: a display screen, a processor and a memory; the display screen, the processor and the memory are coupled; the processor invokes the The program instructions in the memory enable the electronic device to execute the following method: display a first window in full screen; detect a user's screen split operation on the first window, the split screen operation is a continuous sliding operation, and the The sliding distance of the split-screen operation is greater than or equal to the first distance threshold, or the sliding duration of the split-screen operation is greater than or equal to the first duration threshold; in response to the split-screen operation, the first window is displayed on one side of the first window. Two windows, wherein the second window is a full-screen window or an operable window including at least one sub-window; the first window and the second window are displayed on a split screen.
  • the display positions of the first window and the second window move according to the sliding direction of the split-screen operation, and the display size of the first window is decreases, the display size of the second window increases; or, during the split-screen operation, the format of the displayed content of the first window changes with the split-screen operation, so that the first The format of the displayed content of the window is adapted to the display size of the first window; or, during the split-screen operation, the display position and display size of the first window remain unchanged; during the split-screen operation After the end, the second window is directly displayed on one side of the first window.
  • the displayed content of the second window is one of the following: the content browsed by the user most recently, the desktop of the operating system, the user The application with the highest browsing frequency, the set of application icons that can be used for split-screen display, and the display content of the first window; or, if the second window is an operable window including at least one sub-window, all The display content of the sub-window included in the second window is at least one of the following: the content browsed by the user last time, the desktop of the operating system, the application program most frequently browsed by the user in a recent period of time, and the application that can be used for split-screen display A set of program icons and the display content of the first window.
  • the icon corresponding to the application program that cannot be displayed in the split screen is displayed in gray.
  • the arrangement of the sub-windows is a single-row arrangement, a single-column arrangement, or a multi-row and multi-column arrangement.
  • the method performed by the electronic device further includes: detecting whether the window split screen mode corresponding to the split screen operation matches the format of the display content of the first window, and the window split screen mode
  • the mode is the arrangement of the first window and the second window when they are displayed in a split screen; if they do not match, the user is prompted to change the split screen operation to change the corresponding window split screen mode.
  • the method performed by the electronic device further includes: if the second window is a full-screen window, detecting a second screen splitting operation performed by the user on the second window; responding to In the second split screen operation, the second window is replaced with a third window, and the third window is a full-screen window or an operable window including at least one sub-window.
  • the secondary screen splitting operation is a continuous sliding operation, wherein the sum of the sliding distances of the secondary screen splitting operation is greater than or equal to a second distance threshold, or the secondary screen splitting operation The sum of the sliding durations is greater than or equal to the second duration threshold; or, the secondary split-screen operation is a continuous sliding operation, wherein the secondary split-screen operation and the split-screen operation are continuous operations, and the split-screen operation is a continuous operation.
  • the sum of the sliding distance of the screen operation and the secondary split-screen operation is greater than or equal to the third distance threshold, or the sum of the sliding duration of the split-screen operation and the secondary split-screen operation is greater than or equal to the third duration threshold; or, the secondary screen splitting operation is sliding from any corner of the second window to the inside of the second window; or, the secondary screen splitting operation is at least two fingers moving towards the second window simultaneously The interior of the window slides; or, the secondary screen splitting operation is to slide up from a designated area at the bottom of the second window, or slide down from a designated area at the top of the third window.
  • the method performed by the electronic device further includes: detecting a triggering operation of the user on the first window, the triggering operation is a continuous sliding operation, and the sliding of the triggering operation The distance is greater than or equal to a fourth distance threshold, or the sliding duration of the trigger operation is greater than or equal to a fourth duration threshold, where the fourth distance threshold is less than the first distance threshold, and the fourth duration threshold is less than the A first duration threshold; in response to the trigger operation, the split-screen display function of the electronic device is enabled.
  • the present invention provides an electronic device, comprising: a display screen, a processor and a memory; the display screen, the processor and the memory are coupled; the processor invokes the Program instructions in the memory, so that the electronic device executes the following method: displaying a first window in full screen; detecting a user's screen splitting operation on the first window; in response to the splitting operation, in the first window A second window is displayed on one side of the window, wherein the second windows displayed on different sides of the first window correspond to different display contents; the first window and the second window are displayed on a split screen.
  • the present invention further provides a folding screen electronic device, comprising: a display screen, a processor and a memory; the display screen, the processor and the memory are coupled; the processor is based on the operation signal Invoke the program instructions in the memory, so that the folding screen electronic device executes the following method: when the folding screen electronic device is in a folded state, display the first window in full screen on the displayable side of the folding screen electronic device; a user's split-screen operation on the first window; in response to the split-screen operation, replace the first window with a second window, the second window being an operable window including at least one sub-window; displaying Second window.
  • the present invention further provides a computer storage medium, comprising computer instructions, when the computer instructions are executed on an electronic device, the electronic device causes the electronic device to execute a corresponding method for displaying multiple windows on a split screen.
  • the present invention also provides a chip system, the chip system includes a processor, and is used to support the above-mentioned apparatus or device to implement the functions involved in the above-mentioned aspects and implementation manners, such as detecting user operations, Respond to user actions, etc.
  • FIG. 1 is a schematic diagram of a split-screen display of multiple windows on an electronic device
  • Fig. 2 is a kind of schematic flow chart that realizes split-screen display of multiple windows through a window bar provided by the present invention
  • FIG. 3 is a schematic structural diagram of an electronic device provided by the present invention.
  • FIG. 4 is a schematic flowchart of a first kind of split-screen display of multiple windows according to an embodiment of the present invention
  • FIG. 5 is a schematic flowchart of a second split-screen display of multiple windows according to an embodiment of the present invention.
  • FIG. 6 is a schematic flowchart of a third type of split-screen display of multiple windows according to an embodiment of the present invention.
  • FIG. 7 is a schematic flowchart of a fourth kind of split-screen display of multiple windows according to an embodiment of the present invention.
  • FIG. 8 is a schematic flowchart of a fifth kind of split-screen display of multiple windows according to an embodiment of the present invention.
  • FIG. 9 is a schematic diagram of a sliding trajectory of a single-finger continuous sliding operation according to an embodiment of the present invention.
  • FIG. 10 is a schematic diagram of a sliding trajectory of a multi-finger continuous sliding operation according to an embodiment of the present invention
  • FIG. 11 is a schematic diagram of an icon of a system desktop window according to an embodiment of the present invention.
  • FIG. 12 is a schematic flowchart of a horizontal split-screen display provided by an embodiment of the present invention.
  • FIG. 13 is a schematic structural diagram of a first second window according to an embodiment of the present invention.
  • FIG. 14 is a schematic structural diagram of a second type of second window provided by an embodiment of the present invention.
  • FIG. 15 is a schematic structural diagram of a third type of second window provided by an embodiment of the present invention.
  • 16 is a schematic flowchart of a sixth type of split-screen display of multiple windows according to an embodiment of the present invention.
  • 17 is a schematic flowchart of a seventh type of split-screen display of multiple windows according to an embodiment of the present invention.
  • FIG. 18 is a schematic flowchart of an eighth kind of split-screen display of multiple windows according to an embodiment of the present invention.
  • FIG. 19 is a schematic flowchart of a ninth type of split-screen display of multiple windows according to an embodiment of the present invention.
  • 20 is a schematic flowchart of a tenth type of split-screen display of multiple windows according to an embodiment of the present invention
  • 21 is a schematic flowchart of an eleventh kind of split-screen display of multiple windows according to an embodiment of the present invention.
  • 22 is a schematic flowchart of a twelfth type of split-screen display of multiple windows according to an embodiment of the present invention
  • 23 is a schematic flowchart of a thirteenth kind of split-screen display of multiple windows according to an embodiment of the present invention.
  • FIG. 24 is a schematic flowchart of a fourteenth split-screen display of multiple windows according to an embodiment of the present invention.
  • 25 is a schematic flowchart of a fifteenth split-screen display of multiple windows according to an embodiment of the present invention.
  • 26 is a schematic flowchart of a sixteenth type of split-screen display of multiple windows according to an embodiment of the present invention.
  • FIG. 27 is a schematic flowchart of a seventeenth type of split-screen display of multiple windows according to an embodiment of the present invention.
  • 28a is a schematic flowchart of an eighteenth kind of split-screen display of multiple windows according to an embodiment of the present invention
  • FIG. 28b is an enlarged schematic diagram of the third window in FIG. 28a according to an embodiment of the present invention.
  • 29a is a schematic flowchart of a nineteenth type of split-screen display of multiple windows according to an embodiment of the present invention.
  • Fig. 29b is an enlarged schematic diagram of the third window and the second window in Fig. 29a 3 according to an embodiment of the present invention
  • 30a is a schematic flowchart of a twentieth type of split-screen display of multiple windows according to an embodiment of the present invention.
  • FIG. 30b is an enlarged schematic diagram of the third window and the second window in FIG. 30a 3 according to an embodiment of the present invention.
  • 31 is a schematic flowchart of a twenty-first kind of split-screen display of multiple windows according to an embodiment of the present invention.
  • 32a is a schematic flowchart of an application switching method for a folding screen electronic device in a folded state according to an embodiment of the present invention
  • FIG. 32b is an enlarged schematic diagram of FIG. 32a and 3 according to an embodiment of the present invention.
  • folding screen electronic Devices are also gradually being put on the market, and these electronic devices with larger display sizes provide the basis for users to display multiple windows on a split screen. For example, FIG.
  • FIG. 1 is a schematic diagram of multiple windows being displayed in a split screen on an electronic device, wherein window a and window b are simultaneously displayed on the display screen of the electronic device, showing a split-screen display state, and the display content of window a is a gallery , the display content of window b is notes, so that if the user needs to browse the gallery and notes at the same time, there is no need to switch between window a and window b, but can display window a and window b on the display screen at the same time to browse Gallery and Notes.
  • Fig. 2 is a kind of schematic flow chart of realizing the split-screen display of multiple windows through the window bar provided by the present invention.
  • the process of split-screen display of multiple windows by an electronic device can be obtained through user gestures in conjunction with the window bar, as shown in 1 in Fig. 2,
  • the display screen displays the display content of the user's current window, such as notes. If the user needs to browse another application at the same time, such as the gallery, it needs to be displayed through another window.
  • An example is shown in 1 in Figure 2.
  • the user quickly swipes from the right edge of the display screen to the inner side of the display screen for a short distance to pull out the window bar.
  • the icon of an application program that can be displayed in a split screen including the icon of the gallery, the user selects the icon of the gallery to create a window to display the contents of the gallery, and obtains the split-screen display of two windows as shown in 2 in Figure 2 to simultaneously Display galleries and notes.
  • the present invention provides the following method for displaying multiple windows on a split screen:
  • FIG. 3 is a schematic structural diagram of an electronic device provided by the present invention.
  • the electronic device 001 mainly includes a display screen 002 , a touch panel 003 , a processor 004 and a memory 005 , wherein the display screen 002 and the touch panel 003 , processor 004 and memory 005 are coupled.
  • the electronic device 001 may be a mobile phone, a computer, a tablet computer, or the like.
  • the display screen 002 may include an optical module layer, an adhesive layer and an outer screen layer, wherein the optical module layer may be a flexible optical module layer for providing the display screen 002 with light-emitting and display functions, and an OLED (Organic Light -Emitting Diode, organic light-emitting diode), etc.; the outer screen layer is used to protect the internal components of the display screen 002, and can use inorganic glass or colorless polyimide (Colorless Polyimide, CPI) film, etc.
  • the optical module layer may be a flexible optical module layer for providing the display screen 002 with light-emitting and display functions, and an OLED (Organic Light -Emitting Diode, organic light-emitting diode), etc.
  • the outer screen layer is used to protect the internal components of the display screen 002, and can use inorganic glass or colorless polyimide (Colorless Polyimide, CPI) film, etc.
  • a touch panel (touch panel) 003 is attached to the display screen 002, or as shown in FIG.
  • the processor 004 can detect the user's operation signal, and call the program instructions in the memory 004 to make the electronic device 001 execute related methods, such as triggering the function of displaying multiple windows on a split screen, introducing a window, replacing a window, selecting a window, and displaying a split screen. windows, etc.
  • the processor 004 may include one or more processing units, such as a system on a chip (SoC), a central processing unit (CPU), a microcontroller (MCU), a memory controller, etc. . Wherein, different processing units may be independent devices, or may be integrated in one or more processors.
  • the memory 005 may include one or more storage units, for example, may include volatile memory (volatile memory), such as: dynamic random access memory (dynamic random access memory, DRAM), static random access memory (static random access memory, SRAM), etc.; may also include non-volatile memory (non-volatile memory, NVM), such as: read-only memory (read-only memory, ROM), flash memory (flash memory), and the like.
  • volatile memory volatile memory
  • DRAM dynamic random access memory
  • static random access memory static random access memory
  • SRAM static random access memory
  • NVM non-volatile memory
  • different storage units may be independent devices, or may be integrated or packaged in one or more processors or communication interfaces, and become part of the processors or communication interfaces.
  • the full-screen display may fill the display interface of the window with its corresponding displayable area on the display screen 002, or may include an operation interface such as a status bar in the display interface of the window.
  • the first window and the second window are displayed on the display screen in split screens.
  • the split-screen operation is a continuous sliding operation, and the sliding distance of the split-screen operation is greater than or equal to the first distance threshold, or the sliding duration of the split-screen operation is greater than or equal to the first duration threshold.
  • the second window will be displayed on one side of the first window.
  • FIG. 4 is a schematic flowchart of the first split-screen display of multiple windows according to an embodiment of the present invention.
  • the electronic device 001 may be an electronic device with a folding screen, a tablet computer, a mobile phone, etc. in an unfolded state.
  • the first window It refers to the window currently displayed on the display screen 002 when the user is operating, wherein the first window may be the display interface of an app, or the desktop of the operating system.
  • the full screen of the display screen 002 displays a first window, for example, the displayed content of the first window is a note.
  • the user performs a gesture operation on the first window, wherein, if the touch panel 003 detects the user's gesture operation, and analyzed by the processor 004, the gesture operation is obtained as a split-screen operation (continuous sliding operation, and the sliding distance is greater than or equal to the first The distance threshold, or the sliding duration is greater than or equal to the first duration threshold), the processor 004 will respond to the split-screen operation and display the second window on one side of the first window. Take the second window as an example, in this way, the content of the gallery and notes can be displayed on a split screen.
  • the user can display a new window through continuous sliding operation without introducing other auxiliary tools, so as to realize the display effect of displaying multiple windows on a split screen.
  • the continuous sliding operation can be distinguished from the existing operations such as clicking, which reduces the error rate of the operation type judgment and improves the response accuracy of the electronic device to the split-screen operation.
  • the split screen operation can be a variety of operations, for example, the continuous sliding operation mentioned in the first embodiment to display the second window, or long-pressing on one side edge of the first window to display the first window Second window, etc.
  • a second window is displayed on one side of the first window, and a second window displayed on a different side of the first window is displayed Corresponding to different display contents.
  • FIG. 5 is a schematic flowchart of a second type of split-screen display of multiple windows according to an embodiment of the present invention.
  • a second window is displayed on the right side of the first window, and the second window is displayed on the right side of the first window.
  • the displayed content of the window is the desktop interface of the operating system. It can be seen that the display contents of the second window displayed from different sides of the first window are different.
  • the display contents of the second window displayed from the top of the first window or from the bottom of the second window are also different, which will not be repeated here.
  • the specific operation modes of other forms of split-screen operation will not be repeated here, but no matter which split-screen operation is adopted, the display contents of the second window displayed on different sides of the first window are different.
  • the split-screen operation may have the following features:
  • the split-screen operation is a continuous sliding operation by the user in the designated area of the first window, and the sliding distance of the split-screen operation is greater than or equal to the first distance threshold, or the sliding duration of the split-screen operation is greater than or equal to the first duration threshold.
  • the user performs a continuous sliding operation on the designated area on the first window (such as the bottom area of the first window), the initial position of the continuous sliding operation is at the first position, and after continuous sliding Reaching the second position, wherein the distance between the first position and the second position is greater than or equal to the first distance threshold, at this time, the continuous sliding operation can be detected by the touch panel 003 and determined by the processor 004 as a split screen operate.
  • the first distance threshold is 20 mm
  • the continuous sliding operation performed by the user this time is a split-screen operation.
  • the user performs a continuous sliding operation on a designated area on the first window (eg, the bottom area of the first window), the initial position of the continuous sliding operation is at the first position, and after continuous sliding Reaching the second position, wherein the sliding duration corresponding to the first position to the second position is greater than or equal to the first duration threshold, at this time, the continuous sliding operation can be detected by the touch panel 003 and determined by the processor 004 as Split screen operation.
  • the first duration threshold is 3s, and if the duration corresponding to sliding from the first position to the second position is 3s, the user's continuous sliding operation this time is a split-screen operation.
  • the continuous sliding operation refers to the operation whose sliding distance is greater than 0, that is, the distance between the first position and the second position must be greater than 0, so that the split-screen operation can be displayed with the user.
  • the same position on the screen 002 is touched for a long time to trigger the corresponding feedback to distinguish other operations.
  • the operation area corresponding to the split-screen operation needs to be distinguished from the operation area corresponding to the existing function realized by the continuous sliding operation, that is, the split-screen operation can be performed in a designated area ( The operation is performed in the area other than the area corresponding to the existing gesture operation on the first window).
  • the existing gesture operation is a click operation.
  • the selection function of the electronic device 001 can be triggered;
  • the existing gesture operation is a left and right fast sliding operation, which can trigger the window switching function of the electronic device 001 and the like.
  • the operation mode of the split screen operation is set as continuous sliding operation, so that it can be distinguished from the click operation; at the same time, the sliding distance of the continuous sliding operation is greater than or the first distance threshold, Or the sliding duration of the continuous sliding operation is greater than or equal to the first duration threshold, so that it can be distinguished from the left and right fast sliding operation.
  • the split screen operation can be distinguished from the existing gesture operation even if the operation area corresponding to the existing gesture operation is the same, which can effectively avoid feedback conflicts.
  • the split-screen operation provided by this implementation can be effectively distinguished from the existing gesture operations, thereby improving the accuracy of the electronic device 001 in responding to the split-screen operation and improving the effectiveness of the user's split-screen operation.
  • the split-screen operation corresponds to one operation performed by the user on the display screen. Therefore, the user only needs to perform a sliding operation once to realize the effect of displaying multiple windows on the split screen, which can improve the efficiency of the user operation and further improve the user experience.
  • the sliding direction of the split screen operation provided in this implementation manner may be shown in FIG. 4 , continuously sliding from the left side of the first window to the right side of the first window, so that the second window shown in FIG.
  • a split-screen display effect on the left side of a window also as shown in Figure 5, sliding continuously from the right side of the first window to the left side of the first window, the second window shown in Figure 5(3) is on the right side of the first window.
  • the split-screen display effect on the side also as shown in Figure 6, slide continuously from the top of the first window to the bottom of the first window to obtain the split-screen display effect of the second window above the first window as shown in Figure 63 ; Also as shown in FIG.
  • the display states (display position, display size, format of display content, etc.) of the first window and the second window can be set to different changes, as follows:
  • the display position of the first window is gradually moved to the right from the center position in the display screen 002, the display size of the first window is gradually reduced, and the The format of the displayed content of a window has not changed, so there will be some occlusion on the right side of the displayed content.
  • the second window also changes the display state in response to the split screen operation, the display position of the second window in the display screen 002 gradually moves to the right, the display size of the second window gradually increases, and the left side of the display content of the second window is blocked.
  • the split-screen operation ends, the first window and the second window are displayed on both sides of the display screen 002 respectively.
  • the second window is a full-screen window, as shown in Figure 4(3), a full-screen window refers to a window in the corresponding area
  • a full-screen window refers to a window in the corresponding area
  • the display sizes of the first window and the second window in FIG. 4 are equal.
  • the format of the display content of the first window has been adjusted accordingly according to the display size. For example, in order to ensure the legibility of the text, on the basis of keeping the font size unchanged, the text displayed on a single line in Figure 41 is adjusted to Two lines are displayed.
  • the format of the displayed content of the second window is also adjusted according to the display size, and the user interface of the gallery can be completely displayed by adjusting the format of the gallery, such as the display ratio.
  • the format of the display content of the first window and the second window will not be adjusted during the split-screen operation, so the display contents corresponding to the first window and the second window are not adjusted during the split-screen operation.
  • the duration of the split-screen operation is often relatively short, so it will not have a great impact on the integrity of the user's browsing of the first window.
  • the display content of the second window is not the content that the user should pay attention to when performing the split-screen operation. Therefore, even if the display content of the second window is blocked, it will not affect the user's use, and the processor 004 only needs to update the first window and the second window.
  • the display contents of the two windows are adjusted at one time, which can effectively reduce the computational burden of the processor 004 .
  • the format of the display content of the first window is always adjusted according to the display size of the first window to ensure that the display content of the first window is always fully displayed.
  • the browsing effect of the user during the split-screen operation may not be affected at all.
  • the format of the display content of the second window may not adopt this variation. Since the display size of the second window during the introduction process is small, if the complete display content is forcibly displayed, the user's browsing effect will not be improved. , but will increase the computational burden of the processor 004 .
  • the format of the display content of the second window can be adjusted at any time following the split-screen operation according to this variation, so that the user can more timely Browse the full display of the second window.
  • FIG. 8 is a schematic flowchart of a fifth type of split-screen display of multiple windows according to an embodiment of the present invention.
  • the display state of the first window does not follow The split screen operation is changed.
  • the first window and the second window are directly displayed on the display screen 002 in split screen, and the format of the display content of the first window and the second window has been displayed according to the corresponding display.
  • the size is adjusted. It can be seen that in this variation, the user's browsing of the first window will not be affected in the process of split-screen operation and in the process of jumping to the split-screen display of the first window and the second window.
  • the processor 004 may only perform one format adjustment for the display contents of the first window and the second window, which may reduce the computational burden of the processor 004.
  • the display size of the first window and the second window can also adopt different display screen ratios according to the user's needs, for example, they are displayed on the display screen 002 on average, or the first window occupies the display screen.
  • the screen 002 occupies 40% of the display area
  • the second window occupies 60% of the display area of the display screen 002, and so on.
  • the window size of the split-screen display can be set by the system before the user performs the split-screen operation, or the first window and the second window are defaulted to equally divide the display area of the display screen, or the user can adjust the display size after the split-screen operation, etc. .
  • the above-mentioned split-screen operation may be a single-finger continuous sliding operation, or may be a multi-finger continuous sliding operation.
  • FIG. 9 is a schematic diagram of a sliding trajectory of a single-finger continuous sliding operation provided by an embodiment of the present invention.
  • a continuous sliding operation is performed by one finger.
  • the contact point between the finger and the display screen 002 is At point 1
  • the touch panel 003 detects the contact between the user and the display screen 002, and transmits the corresponding operation signal to the processor 004, and the processor 004 determines that there is a single contact point point 1 between the user and the display screen 002 according to the operation signal.
  • the processor 004 calculates the position information of the point 1 on the display screen 002 according to the operation signal continuously fed back by the touch panel 003, and depicts the sliding trajectory of the point 1 according to the position information.
  • the sliding trajectory of the point 1 is shown as the dotted line in Figure 9, At this time, the processor 004 can detect whether the single-finger continuous sliding operation is a split-screen operation according to the sliding track.
  • FIG. 10 is a schematic diagram of a sliding trajectory of a multi-finger continuous sliding operation provided by an embodiment of the present invention.
  • the continuous sliding operation is performed by three fingers at the same time.
  • the three fingers are in contact with the display screen 002 respectively.
  • Points are points 1, 2, 3.
  • the sensor 003 detects the contact between the user and the display screen 002, it transmits a corresponding operation signal to the processor 004, and the processor 004 determines that there are multiple contact points between the user and the display screen 002 according to the operation signal.
  • the processor 004 will calculate a virtual contact point associated with the multiple contact points according to a certain calculation rule.
  • the virtual contact point may be the geometry of the geometric figure formed by the multiple contact points.
  • the center point, the position of the virtual contact point on the display screen 002 can be used to replace the positions of the plurality of contact points on the display screen 002 .
  • the processor 004 dynamically calculates the position information on the display screen 002 of the virtual contact points corresponding to each group of operation signals according to the operation signals continuously fed back by the touch panel 003, and depicts the sliding track of the virtual contact points according to the position information, as shown in Figure 10
  • point 4 is the virtual contact point of points 1, 2, and 3
  • the sliding trajectory of point 4 is shown as the dotted line in Figure 10, which is a virtual sliding trajectory, which can be used to replace points 1, 2, and 3.
  • the burden of split-screen operation detection based on the sliding trajectory.
  • the single-finger continuous sliding operation and the multi-finger continuous sliding operation are combined with the limitation on the designated area above, and the single-finger continuous sliding operation and the multi-finger continuous sliding operation can correspond to the same designated area, or can correspond to different designated areas. area.
  • the single-finger continuous sliding operation can set the bottom area of the display screen 002 as the designated area; the multi-finger continuous sliding operation can set the entire display screen 002 area as the designated area.
  • the displayed second window may be a full-screen window or a selectable window containing at least one sub-window.
  • the display content can be set according to the actual needs of the user, as follows:
  • the displayed content can be the content browsed by the user last time, and the content browsed by the user last time can be an application or the desktop of the operating system. For example, as shown in Figure 43, if the gallery is the content browsed by the user most recently, The second window will display the gallery.
  • the displayed content can be the desktop of the operating system, so that the user can simultaneously display the first window and the desktop of the operating system through a split-screen operation, and further select the application to be opened from the desktop of the operating system.
  • prompt processing such as graying processing, shadow processing, etc., may be performed to prompt the user not to select.
  • FIG. 11 is an example provided by an embodiment of the present invention.
  • Figure 11 shows a schematic diagram of the icon of the desktop window of the system, wherein the icon corresponding to the application program-music is grayed out and displayed in gray, indicating that the music is an application program that cannot be used for split-screen display.
  • the displayed content can be the application that the user has browsed the most frequently in the recent period of time.
  • the application that the user has browsed the most frequently in the recent period of time is the gallery, as shown in Figure 4 3
  • the interface of the gallery is displayed in the second window .
  • the application program with higher browsing frequency is also the application program with higher probability of being used by users in the future.
  • the second window adopts the setting method 3 the content displayed in the second window can be closer to the user's Preferences can also effectively reduce the time for users to find applications that need to be displayed, and improve the user experience.
  • the displayed content can be a collection of some or all application icons that can be used for split-screen display, so that the user can directly select the application to be browsed from the collection without first distinguishing whether each application can be displayed in a split-screen, Thus saving time.
  • the display contents of the second window obtained through different split-screen operations may be the same. Then the user can get the display content of the second window that he needs no matter which sliding direction he uses, especially when the user's actions are limited by the way of holding, etc., he can also obtain the display content of the second window in a more comfortable way. .
  • the display contents of the second window obtained through different split-screen operations may also be different.
  • the second window obtained through different split-screen operations The display content must be different. Based on the above two situations, the split-screen operation can be set corresponding to the display content according to the actual needs of the user.
  • the display content of the second window corresponding to the continuous left sliding operation is set to the operating system.
  • the display content of the second window corresponding to the continuous sliding operation to the right is set as the content last browsed by the user, etc.
  • the user can make settings before performing the split-screen operation, so that the user can obtain a second window with different display contents through different split-screen operations according to their own settings, thereby improving the fit between the split-screen operation and user needs.
  • the display contents of the second window and the first window may be the same, so that the user can browse and operate the same application.
  • the first window and the second window both display the gallery, and the first window displays the gallery
  • the second window displays the picture A in the gallery.
  • the user can browse or edit the picture A and the picture B.
  • the display content of the second window and the first window can be different, so that the user can browse different applications and further interact with each other.
  • the first window displays the content of the notes, describing the morning to the park When it comes to exercising, at this time, the second window displays the contents of the gallery, including various screen capture information.
  • FIG. 12 is a schematic flowchart of a horizontal split-screen display provided by an embodiment of the present invention. As shown in FIG. 121, the content displayed in the first window is a polyline that needs to be displayed horizontally.
  • the user can directly select the continuous sliding operation from the upper part of the display screen 002 to the lower part of the display screen 002, so as to obtain as shown in Fig. 12 2, the first window is at the bottom and the second window
  • the user can use a split-screen operation in any sliding direction, wherein, if the processor 004 detects that the format requirement of the display content of the first window does not match the sliding direction of the split-screen operation, for example, the user adopts the split screen operation from the display screen.
  • the right side of 002 is continuously slid to the left side of the display screen 002.
  • the split screen operation selected by the user is followed, the first window and the second window will be displayed in a left and right split screen mode, and the first window will be retained.
  • the vertical size is sacrificed to the horizontal size of the first window, so that the horizontal display requirements of the line graph cannot be met.
  • the processor 004 can generate an operation prompt, such as a pop-up text “Do you need to adapt the window display position to the displayed content?” to prompt the user Select an appropriate split screen mode. If the user selects Yes, the processor 004 can display the first window and the second window that should be displayed in the left and right split screens, after detecting the user's split screen operation.
  • an operation prompt such as a pop-up text “Do you need to adapt the window display position to the displayed content?” to prompt the user Select an appropriate split screen mode. If the user selects Yes, the processor 004 can display the first window and the second window that should be displayed in the left and right split screens, after detecting the user's split screen operation.
  • the display content of the first window is the display content that can be displayed in a split screen. If the display content of the first window is the display content that cannot be displayed in a split screen, the electronic device 001 will not Respond to the above split screen operation. At this time, the user can be reminded that the display content of the first window cannot be displayed by means of no response, pop-up prompt box, such as "the current application cannot be displayed in a split screen", coloring the edge of the first window, graying the first window, etc. Do a split screen display.
  • the display contents of the sub-windows contained in the second window are all different, and the display contents of these sub-windows can be the applications recently browsed by the user, the desktop of the operating system, and the frequently used applications.
  • the displayed content of each sub-window can be the default interface of each application (for example, the default interface of the browser is the browser homepage), or screenshots of the corresponding user interface when the user stops using each application. It can be seen that this implementation can first generate a selectable window for the user to select the display content through the split screen operation, and then the user continues to determine the final window to be displayed on the split screen, providing a more flexible selection space for the user.
  • the sub-windows in the second window can be arranged in different ways to provide users with more flexible selection methods, as follows:
  • FIG. 13 is a schematic structural diagram of a first second window provided by an embodiment of the present invention. As shown in FIG. 13 , each sub-window is arranged in a single row, and the sub-window b occupying the main display position of the second window blocks the sub-window b. The right part of the window a and the left part of the sub-window c are blocked, so that a larger display area can be provided for the sub-window b, so that the user can clearly identify the displayed content of the sub-window b.
  • the sub-windows when the sub-windows are arranged in a single row, the sub-windows may be arranged in an unobstructed manner.
  • FIG. 14 is a schematic structural diagram of a second type of second window provided by an embodiment of the present invention.
  • each sub-window is arranged in a single column, and the sub-window b occupying the main display position of the second window blocks the sub-window b.
  • the lower part of the window a and the upper part of the sub-window c are blocked. In this way, a larger display area is provided for the sub-window b, so that the user can clearly identify the display content of the sub-window b.
  • the sub-windows when the sub-windows are arranged in a single column, the sub-windows may be arranged in an unobstructed manner.
  • FIG. 15 is a schematic structural diagram of a third type of second window provided by an embodiment of the present invention.
  • each sub-window is arranged in multiple rows and multiple columns, and each sub-window is evenly distributed in the second window.
  • the second window can be turned up and down, or left and right, and the user can browse each sub-window and select the desired sub-window by sliding up and down on the corresponding area of the second window, or sliding left and right to turn the page.
  • each sub-window can be arranged according to the user's setting or the system setting.
  • the display content of b is information, then as shown in Figure 13, sub-window b can be displayed preferentially on the main display area of the second window; or if the desktop interface of the operating system is prioritized, since the display content of sub-window a is As the desktop interface of the operating system, as shown in FIG. 15 , the sub-window a can be arranged in the first position, so that the user can choose preferentially.
  • the total display size of each sub-window being displayed in the second window can be slightly smaller than the display size of the second window (there is a black area), so there is no need to force the change.
  • the window ratio of each sub-window is to fill the second window, so as to avoid the deformation of the display content of the sub-window.
  • this display method can effectively remind the user that the current window is the second window (optional window), and reduce the user's perception of it as a second window. Probability of misoperation of ordinary windows.
  • the sub-window in the second window may include a sub-window that displays the same display content as the first window.
  • the user can select the sub-window to achieve the effect of browsing different contents in the same application at the same time.
  • the display content of the second window is the same as the display content of the first window, and details are not repeated here.
  • the split-screen operation is a continuous sliding operation
  • the display states of the first window and the second window change as follows:
  • the first window does not need to change the display state during the process of responding to the split-screen operation. window and the first window.
  • FIG. 17 is a schematic flowchart of the seventh kind of split-screen display of multiple windows provided by the embodiment of the present invention.
  • the first window changes the display state in the process of responding to the split-screen operation,
  • a window is displayed on the left side of the first window, which is a sub-window of the second window, such as information.
  • the window gradually moves to the right following the split screen operation, and when the sliding distance reaches the first distance threshold, or when the sliding duration reaches the first duration threshold, as shown in Figure 173, it is converted to the second window.
  • the sub-window to be displayed preferentially in the second window may be the window displayed above, for example, the sub-window whose display content is information, or may be the first sub-window located in the arrangement of sub-windows in the second window according to the above. child windows.
  • the first window and the second window are displayed in a split screen on the display screen 002, and the split screen display mode of the first window and the second window is as follows:
  • the first window and the second window can be directly displayed on the display screen 002 in a split screen.
  • the secondary split-screen operation can also be continued, as follows:
  • the secondary split screen operation can be in the following ways:
  • the secondary split screen operation may be a continuous sliding operation, wherein the sliding distance of the secondary split screen operation is greater than or equal to the second distance threshold, or the sliding duration of the secondary split screen operation is greater than or equal to the second duration threshold.
  • the third window obtained after the second screen splitting operation is a full-screen window.
  • FIG. 18 is a schematic flowchart of an eighth type of split-screen display of multiple windows according to an embodiment of the present invention.
  • the display screen 002 splits the screen to display the first window and the second window , as shown in Fig. 18 2, when the processor 004 responds to the secondary screen splitting operation, the first window and the second window are used as a whole window to change the display state, the first window and the second window move to the right at the same time, and the first window and the second window are moved to the right simultaneously.
  • the three windows are displayed from the left side of the second window, as shown in Fig. 18 (3), after the second split screen operation is completed, the second window is replaced by the third window, and the third window and the first window are displayed in a split screen on the display screen 002 .
  • FIG. 19 is a schematic flowchart of a ninth type of split-screen display of multiple windows according to an embodiment of the present invention. As shown in 1 in FIG. 19 , when the user performs a second split-screen operation, the display screen 002 displays the first window and the second split-screen on the screen.
  • FIG. 20 is a schematic flowchart of a tenth type of split-screen display of multiple windows according to an embodiment of the present invention.
  • the display screen 002 splits the screen to display the first window and the second window
  • the display states of the first window and the second window do not change.
  • the split screen operation ends, as shown in Figure 20 2, the second window is directly replaced with the third window.
  • the third window obtained after the second screen splitting operation is an operable window including at least one sub-window.
  • FIG. 21 is a schematic flowchart of an eleventh type of split-screen display of multiple windows according to an embodiment of the present invention.
  • the display screen 002 splits the screen to display the first window and the second screen.
  • Window as shown in Fig. 21 2, when the processor 004 responds to the secondary split screen operation, the first window and the second window are used as a whole window to change the display state, the first window and the second window move to the right at the same time, and the first window and the second window are moved to the right at the same time.
  • a sub-window in the three windows is introduced from the left side of the second window, as shown in Figure 21 (3), after the second split-screen operation ends, the second window is replaced by the third window, and the third window is displayed on the display screen 002 as a split screen. window and the first window.
  • FIG. 22 is a schematic flowchart of a twelfth embodiment of the present invention for displaying multiple windows on a split screen.
  • the display screen 002 splits the screen to display the first window and the second screen.
  • Window as shown in Figure 22 2
  • the processor 004 responds to the second split screen operation, the display state of the first window does not change, and the display status of the second window changes, when the second split screen operation ends, as shown in Figure 22 3
  • the first window and the third window are displayed in a split screen.
  • FIG. 23 is a schematic flowchart of a thirteenth embodiment of the present invention for displaying multiple windows on a split screen.
  • the display screen 002 splits the screen to display the first window and the second screen.
  • Window as shown in Figure 23 (2), when the processor 004 responds to the second split screen operation, the display states of the first window and the second window will not change.
  • the split screen operation ends, as shown in Figure 23 (3), the second window is directly The window is replaced with a third window.
  • the secondary split screen operation may be a continuous sliding operation, the secondary split screen operation and the split screen operation are continuous operations, and the sum of the sliding distances of the split screen operation and the secondary split screen operation is greater than or equal to the third distance The threshold, or the sum of the sliding duration of the split screen operation and the second split screen operation is greater than or equal to the third duration threshold.
  • the secondary split-screen operation and the split-screen operation can be two independent sliding operations, so that the user can replace the second window through two consecutive sliding operations.
  • the secondary split screen function can also be realized.
  • the secondary split-screen operation and the split-screen operation may also be a continuous operation.
  • the user can realize the secondary split-screen function by only one continuous sliding operation, thereby simplifying the user operation.
  • the secondary screen splitting operation may be sliding from any corner of the second window to the inside of the second window.
  • FIG. 24 is a schematic flowchart of a fourteenth embodiment of the present invention for displaying multiple windows on a split screen.
  • the split screen operation is from any corner of the third window to the inside of the third window. Sliding, before the user performs the split-screen operation, the first window and the third window are displayed in split-screen on the display screen 002, and the situation where the response object of the split-screen operation is the third window is analyzed.
  • the split-screen operation is an operation of sliding from any corner of the third window (the lower left corner of the third window in this example) to the inside of the third window. At this time, there is no limit to the sliding time and distance.
  • the display state of the first window does not change, as shown in Figure 24 2, after the split screen operation ends, the third window is replaced by the second window, and the second window is a selectable window containing at least one sub-window. Operation window.
  • the processor 004 can easily recognize the operation as an operation of editing on the canvas, rather than a split-screen operation.
  • the split-screen operation provided by this implementation can be distinguished from the operations in these specific application programs, thereby improving the correct rate of responding to the split-screen operation. User-friendly operation.
  • the secondary screen splitting operation may be at least two fingers sliding toward the inside of the second window at the same time.
  • FIG. 25 is a schematic flowchart of a fifteenth split-screen display of multiple windows according to an embodiment of the present invention.
  • the split-screen operation is that at least two fingers act on the third window, and simultaneously display multiple windows to the third window.
  • the interior of the third window slides, and before the user performs the split screen operation, the first window and the third window are displayed on the display screen 002 in split screens, and the situation where the response object of the split screen operation is the third window is analyzed.
  • the split-screen operation is a gathering and sliding operation of at least two fingers on the third window, as shown in 1 in Figure 25.
  • the three fingers slide from the position shown in the figure in the direction of the arrow, and the distance between the fingers decreases, resulting in gathering effect.
  • the display state of the first window does not change.
  • the third window is replaced with a second window, and the second window contains at least An actionable window for a child window.
  • the secondary screen splitting operation may be sliding up from a designated area at the bottom of the second window, or sliding down from a designated area at the top of the third window.
  • FIG. 26 is a schematic flowchart of a sixteenth type of split-screen display of multiple windows according to an embodiment of the present invention.
  • the split-screen operation is to slide up from the designated area at the bottom of the third window, or from the The top designated area of the third window slides down.
  • the first window and the third window are displayed on the display screen 002 in split screens, and the situation where the response object of the split screen operation is the third window is analyzed.
  • the split-screen operation is an operation of sliding from the designated area at the top or the designated area at the bottom of the third window to the inside of the third window. At this time, the sliding duration and distance are not limited.
  • the display state of the first window does not change.
  • the third window is replaced with a second window, and the second window contains at least An actionable window for a child window.
  • the top designated area and the bottom designated area need to be distinguished from the operation area corresponding to the existing gesture operation.
  • the existing gesture operation is to slide down from the top of the display screen 002 to drag out the shortcut menu bar.
  • the existing gesture operation is the top middle area of the display screen 002. Therefore, in order to distinguish it, the designated operation area of the split screen operation can be set to an area other than the top middle area of the display screen 002, as shown in Fig. 261,
  • the designated operation area is the top left area (dotted line frame area) of the third window.
  • the secondary split screen operation provided by the above (1) (2) (3) (4) (5) can effectively simplify the user's operation, and can improve the accuracy of the processor 004 responding to the secondary split screen operation.
  • the relationship between the second window and the third window may be:
  • the second window can be used as a sub-window of the third window, wherein the second window can be directly and preferentially displayed in the main display position of the third window.
  • the display content of the second window is a gallery
  • the replaced The main display position of the three windows first displays the sub-window whose display content is the gallery; or the second window is located in the predetermined sub-window arrangement order of the third window, and the main display position of the replaced third window first displays the sub-window in the middle of the arrangement order.
  • the display content of the second window is screen capture.
  • the set of frequently used applications is the first sub-window.
  • the collection is first in the main display of the third window. It can be seen that when the second window is used as a sub-window of the third window, the user can still select the sub-window corresponding to the second window as the window displayed in the split screen, so that once the user mistakenly replaces the second window with the third window , the sub-window corresponding to the second window may be re-selected for display through a further selection process.
  • the second window is no longer available as a sub-window of the third window for the user to select.
  • the user chooses to replace the second window with the third window for further selection on the basis of having already displayed the second window, It means that the user prefers to browse the windows other than the second window, and does not continue to convert the second window into a sub-window in the third window for display, which can effectively reduce the time for the user to browse and identify the displayed content of the sub-window, thereby improving the User selection efficiency.
  • the secondary split screen operation is a continuous sliding operation, and the secondary split screen operation and the split screen operation are two independent operations, the sliding distance of the secondary split screen operation is greater than or equal to the second distance threshold, or the secondary split screen operation
  • the sliding duration of is greater than or equal to the second duration threshold.
  • the secondary split-screen operation is a continuous sliding operation, and the secondary split-screen operation and the split-screen operation are one continuous operation, and the sum of the sliding distances of the secondary split-screen operation and the split-screen operation is greater than or equal to the third distance threshold, Or the sum value of the second split screen operation and the sliding duration of the split screen operation is greater than or equal to the third duration threshold.
  • the third distance threshold and third duration threshold in this implementation are unrelated to the third distance threshold and third duration threshold in the previous implementation.
  • a third window is displayed on one side of the second window, and the specific display mode is as follows:
  • both the first window and the second window respond to the secondary screen splitting operation, that is, after the secondary screen splitting operation, the display states of the first window and the second window both change.
  • FIG. 27 is a schematic flowchart of a seventeenth type of split-screen display of multiple windows provided by an embodiment of the present invention.
  • the second window and the first window are displayed on the display screen 002 on a split screen, as shown in FIG. 272
  • the third window is displayed on the left side of the second window, and after the second split screen operation, as shown in Figure 27 3, the third window, the second window and the first window are displayed on the display screen 002 split screen, at this time , the third window is a full-screen window.
  • FIG. 28a is a schematic flowchart of an eighteenth kind of split-screen display of multiple windows according to an embodiment of the present invention.
  • the second window and the first window are displayed on the display screen 002 on a split screen, as shown in FIG. 28a2
  • the third window is displayed on the left side of the second window, after the second split screen operation, as shown in Figure 28a 3, the third window, the second window and the first window are displayed on the display screen 002 split screen, at this time , the third window is an operable window including at least one sub-window.
  • only one of the first window or the second window responds to the second split screen operation.
  • the second window responding to the second split screen operation as an example, after the second split screen operation, only the second window responds to the second split screen operation.
  • the display state of the window changes, while the display state of the first window does not change.
  • FIG. 29a is a schematic flowchart of the nineteenth kind of split-screen display of multiple windows provided by the embodiment of the present invention, as shown in FIG.
  • the third window is displayed on the left side of the second window, but the display state of the first window remains unchanged.
  • the third window is displayed on the display screen 002 split screen , the second window and the first window.
  • the third window is a full-screen window, wherein the third window and the second window are equivalent to split-screen display in the area corresponding to the original second window.
  • FIG. 30a is a schematic flowchart of the twentieth type of split-screen display of multiple windows provided by the embodiment of the present invention.
  • the second window and the first window are displayed on the display screen 002 in split screens, as shown in FIG. 30a2
  • the third window is displayed on the left side of the second window, but the display state of the first window remains unchanged.
  • the third window is displayed on the display screen 002 split screen , the second window, and the first window.
  • the third window is an operable window containing at least one sub-window, wherein the third window and the second window are equivalent to split-screen display in the area corresponding to the original second window.
  • the corresponding split screen mode may be consistent with the split screen mode of the window currently displayed on the display screen 002, or may not be consistent.
  • the split-screen mode refers to the distribution mode of windows on the display screen 002, such as left-right distribution, top-bottom distribution, and the like.
  • the split screen mode corresponding to the user's split screen operation is consistent with the split screen mode of the first window and the second window, and both are split screen modes in which the windows are distributed left and right.
  • FIG. 31 is a schematic flowchart of a twenty-first kind of split-screen display of multiple windows according to an embodiment of the present invention.
  • the display screen 002 displays the first window and The second window, and the first window and the second window present a split screen mode of left and right split screens.
  • a split-screen operation is performed on the second window, and the split-screen mode corresponding to the split-screen operation is a split-screen mode in which the windows are distributed up and down.
  • a third window is displayed below the second window.
  • the second window and the third window are displayed in a split screen in the area corresponding to the original second window, and the second window and the third window are in a split screen mode in which they are distributed up and down.
  • the display content of the second window is the content that needs to retain the horizontal size, such as a line graph
  • this split-screen method can effectively ensure the display integrity of the display content of the second window, and further Reduce the impact on user browsing.
  • the The secondary screen splitting operation provided in the above two implementation manners is used as a splitting screen operation to perform screen splitting on the first window and the second window. It should be noted that the above process is explained by taking the second screen split for the second window as an example. Similarly, the second screen split operation can also be performed for the first window. The process is the same as above, and will not be repeated here.
  • the user can continue to select the operation , select the final sub-window displayed in the split screen from the second window or the third window.
  • the specific process is as follows:
  • the first selection operation includes a first sub-operation and a second sub-operation, wherein the first sub-operation may be a sliding operation, for example, the user slides on the area corresponding to the second window to display different sub-windows In the main display area of the second window, the user can carefully identify the display contents of different sub-windows.
  • the second window shown in Fig. 16 2 is obtained. It can be seen that the second window is an operable window that displays multiple sub-windows in a single line, and the one currently located in the main display position of the second window.
  • the display content of the sub-window is the icon collection interface of the application program that can be displayed on the split screen, and the display content of the sub-window located on the left side of the sub-window can be the desktop interface of the operating system (if there are multiple desktop interfaces of the operating system, you can Any one of them, or one preset by the user), the display content of the sub-window located on the right side of the sub-window may be a screenshot of the interface of the application program browsed by the user last time. In this way, the user can slide left and right on the area corresponding to the second window to display these sub-windows in the main display area of the second window.
  • the second sub-operation may be a click operation, and the user selects the sub-window finally displayed in the split screen by clicking, as the fourth window.
  • the user selects the sub-window of the icon set interface of the application program whose display content can be displayed on the split screen by clicking, and then it is displayed as the fourth window and the first window on the split screen.
  • the first selection operation is a continuous sliding operation. For example, when the user slides on the second window, when the sliding operation stops, the sub-window that stays in the main display area of the second window is the fourth window.
  • the sub-window of the icon collection interface of the application program whose content is displayed in 16 2 is the sub-window that stays in the main display area of the second window when the sliding operation stops, then as shown in FIG. 16 3, the sub-window will be used as The fourth window and the first window are displayed in a split screen.
  • the first selection operation and the screen splitting operation provided in (2) may be one continuous operation or two independent operations.
  • the split-screen operation and the first selection operation are one continuous operation, the user can achieve the effect of displaying multiple windows on the split-screen through a minimum number of operations, thereby simplifying the user's operation mode.
  • the split-screen operation and the first selection operation are two independent operations, it can be adapted to a display screen with a smaller size.
  • the size of the display screen 002 is difficult to meet the operations required to treat the split-screen operation and the first selection operation as one continuous operation.
  • distance, or when it is difficult for the user to continuously slide a relatively long distance when holding the electronic device 001 the effect of displaying multiple windows on a split screen can still be achieved by means of multiple independent operations.
  • the second selection operation may also include two operation modes.
  • the second selection operation includes a third sub-operation and a fourth sub-operation.
  • the specific operation modes of the third sub-operation and the fourth sub-operation can refer to the first sub-operation. operation and the second sub-operation.
  • the second selection operation is a continuous sliding operation.
  • the specific operation method of the second selection operation can refer to the operation method when the first selection operation is a continuous sliding operation.
  • the difference is that the second selection operation can be the same as
  • the secondary split screen operation is a continuous operation or two independent operations.
  • a trigger operation may also be included before the above-mentioned split screen operation.
  • the triggering operation may be a continuous sliding operation, and the sliding distance of the triggering operation is greater than or equal to the fourth distance threshold, or the sliding duration of the triggering operation is greater than or equal to the fourth duration threshold, wherein the fourth distance threshold is less than the the first distance threshold, and the fourth duration threshold is smaller than the first duration threshold.
  • the processor 004 responds to the trigger operation to trigger the electronic device 001 to enable the function of displaying multiple windows on a split screen.
  • the display state of the first window will not change, and after the triggering operation is completed, the electronic device 001 will correspondingly enable the function of displaying multiple windows on a split screen.
  • the first window is in a state that can be displayed in a split screen, that is, the display size, the display position, and the format of the displayed content can be changed following the user's subsequent split screen operation.
  • the end position of the trigger operation and the initial position of the split screen operation can be the same position on the display screen 002 or different positions; the sliding direction of the trigger operation and the sliding direction of the split screen operation can be the same direction or different directions. That is to say, the trigger operation and the split-screen operation may be one continuous operation, or may be two independent operations.
  • the sliding operation corresponding to the initial position of the operation to the middle position where the sliding distance satisfies the fourth distance threshold may be the trigger operation by default in the continuous operation.
  • the sliding operation corresponding to the middle position to the end position of the continuous operation can be the split screen operation by default.
  • the processor 004 analyzes the operation signal transmitted by the touch panel 003, if it is detected that the sliding distance of the user from the initial position of the continuous sliding operation to an intermediate position is equal to the fourth The distance threshold, or the sliding duration from the initial position of the continuous sliding operation to the middle position is equal to the fourth duration threshold, then the continuous sliding operation corresponding to the user from the initial position to the middle position is equivalent to a trigger operation, and the electronic device can be successfully triggered 001 points
  • the screen displays the function of multiple windows.
  • the processor 004 continues to analyze the operation signal transmitted by the touch panel 003.
  • the continuous sliding operation corresponding to the user from the middle position to the end position is equivalent to a split-screen operation, and it can be successful Realize the effect of displaying multiple windows on a split screen.
  • the user's operation steps can be effectively simplified, and the user's operation efficiency can be improved.
  • the trigger operation and the split-screen operation are two independent operations
  • the size of the display screen is small, it is difficult to meet the operating distance required for the trigger operation and the split-screen operation as one continuous operation, or the user is holding the
  • the effect of displaying multiple windows on a split screen can still be achieved by means of multiple independent operations.
  • the premise that the split-screen operation can be realized is that the trigger operation is established, and there is no other operation between the split-screen operation and the trigger operation. If the user continues to perform a split-screen operation, the effect of displaying multiple windows on a split-screen will be achieved. However, if there are other operations between the trigger operation and the split-screen operation, such as a click operation, the trigger operation will be invalid.
  • the electronic device 001 will continue to be in a ready state to respond to the split screen operation, so corresponding power consumption will be generated.
  • a certain failure time can be set, that is, if the trigger operation After the operation is successful, on the basis that there is no other operation other than the split-screen operation, and the user has not performed the split-screen operation within the preset duration, the electronic device 001 can turn off the function of displaying multiple windows on the split-screen, so that this time.
  • the trigger operation is invalid. If the user needs to display multiple windows on a split screen, the user needs to start the corresponding operation from the trigger operation again.
  • This embodiment is directed to a folding screen electronic device in a folded state.
  • Fig. 32a is a schematic flowchart of a method for switching applications of a foldable electronic device with a folded screen according to an embodiment of the present invention.
  • the figure shows a display screen on one side of the electronic device with a foldable screen that is working.
  • the split-screen operation is performed on this side display.
  • the split-screen operation is used to replace the first window with a second window, the second window is an operable window including at least one sub-window, and the user continues to perform the selection operation, which is used to start from the first window.
  • the third window is selected from each sub-window of the second window, and the third window is displayed on the side display screen.
  • the first window is the window displayed on the side display screen before the user performs the split-screen operation.
  • the first window changes its display state following the split screen operation, and the second window is displayed from the left, as shown in Figure 32a3, the first window is replaced with the second window, as shown in Figure 32a4, the user continues By selecting the operation, a third window can be selected from each sub-window to be displayed on the side display.
  • the above process takes the split-screen operation as a continuous sliding operation as an example, the sliding distance of the continuous sliding operation is greater than or equal to the first distance threshold, or the sliding duration of the continuous sliding operation is greater than or equal to the first duration threshold.
  • the first distance threshold and the first duration threshold in the example are not related to the first distance threshold and the first duration threshold in the first and second embodiments.
  • the split-screen operation and the corresponding split-screen effect may also be the same as the split-screen operations and corresponding split-screen effects provided in Embodiments 1 and 2.
  • the split-screen operations and corresponding split-screen effects provided in Embodiments 1 and 2.
  • Embodiments 1 and 2 for details. description, which will not be repeated here.

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

本发明提供了一种分屏显示多个窗口的方法,应用于电子设备,电子设备全屏显示第一窗口,检测到用户在第一窗口上的分屏操作,响应于所述分屏操作,在第一窗口的一侧显示第二窗口,以分屏显示第一窗口和第二窗口。本发明所提供的分屏显示多个窗口的方法,在进行分屏操作的同时,不会影响第一窗口的显示,从而提高用户的体验感。

Description

一种分屏显示多个窗口的方法及电子设备
本申请要求在2020年7月3日提交中国专利局、申请号为202010632219.9、发明名称为“一种分屏显示多个窗口的方法及电子设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及终端技术领域,尤其涉及一种分屏显示多个窗口的方法及电子设备。
背景技术
用户在使用电子设备浏览各种应用程序时,经常需要对两个或者更多的应用程序所展示的内容进行对比,例如,用户需要对比应用程序a和应用程序b对同一件商品的展示信息,因此,用户需要在应用程序a和应用程序b之间来回切换以对比该商品的展示信息,这种通过切换应用程序以实现同时浏览多个应用程序的方式,会显著增加用户的操作频率,浪费用户的操作时间,同时也会降低用户对浏览信息的获取准确度,降低用户的体验感。
发明内容
本申请提供了一种分屏显示多个窗口的方法及电子设备,用以在进行分屏操作的过程中,不影响用户浏览当前所显示的窗口,从而提升用户体验。
第一方面,本发明实施例提供了一种分屏显示多个窗口的方法,所述方法包括:全屏显示第一窗口;检测到用户在所述第一窗口上的分屏操作,所述分屏操作为连续滑动操作,且所述分屏操作的滑动距离大于或者等于第一距离阈值,或者所述分屏操作的滑动时长大于或者等于第一时长阈值;响应于所述分屏操作,在所述第一窗口的一侧显示第二窗口,其中,所述第二窗口为一个全屏窗口或者为包含至少一个子窗口的可操作窗口;分屏显示所述第一窗口和所述第二窗口。
这样,可以在无需引入其它辅助工具的操作下,通过连续滑动操作,就可以显示新的窗口,从而实现分屏显示多个窗口的显示效果,在分屏操作的过程中,也不会影响用户对第一窗口的使用,而且,连续滑动操作可以与现有的点击等操作加以区分,降低操作类型判断的错误率,提高电子设备对分屏操作的响应准确度。
在一种实现方式中,所述响应所述分屏操作包括:在所述分屏操作的过程中,所述第一窗口和所述第二窗口的显示位置、显示尺寸随所述分屏操作变化。
在一种实现方式中,所述响应所述分屏操作包括:在所述分屏操作的过程中,所述第一窗口的显示位置、显示尺寸不变;在所述分屏操作结束后,所述第一窗口和所述第二窗口直接分屏显示与所述显示屏上。
在一种实现方式中,所述响应所述分屏操作包括:在所述分屏操作的过程中,所述第一窗口和所述第二窗口的显示位置、显示尺寸随所述分屏操作变化,且所述第一窗口的显示内容的格式随所述分屏操作变化,以使所述第一窗口的显示内容的格式始终与所述第一窗口的显示尺寸相适应。
这样,可以通过多种方式在显示屏上直接显示第二窗口的方式,实现分屏显示第二窗口和第一窗口的效果,无需借助其它,如窗口栏等的辅助,从而简化分屏显示应用程序的操作。
在一种实现方式中,所述第一窗口与所述第二窗口按照预设屏幕占用比例分屏显示于所述显示屏上。
这样,可以按照实际需求选择合适的窗口尺寸,以满足显示内容的完整性、清晰度等要求。
在一种实现方式中,如果所述第二窗口为一个全屏窗口,则所述第二窗口的显示内容为用户最近一次浏览的内容、操作系统的桌面、用户在最近一段时间内浏览频次最高的应用程序、可以用于分屏显示的应用程序图标的集合、或者所述第一窗口的显示内容;
在一种实现方式中,如果所述第二窗口为包含至少一个子窗口的可操作窗口,则所述第二窗口包括的子窗口的显示内容为用户最近一次浏览的内容、操作系统的桌面、用户在最近一段时间内浏览频次最高的应用程序、可以用于分屏显示的应用程序图标的集合、或者所述第一窗口的显示内容中的一种或者几种。
这样,可以根据用户需求提供包含多种类型的子窗口的第二窗口,以提高用户的体验感。
在一种实现方式中,如果所述操作系统的桌面中所包含的图标对应的应用程序不可以分屏显示,则不可以分屏显示的应用程序对应的图标显示灰色。
这样,可以有效提示用户不可以进行分屏显示的应用程序,以免用户误点。
在一种实现方式中,各所述子窗口的排列方式为单行排列方式、单列排列方式、或者多行多列排列。
在一种实现方式中,所述第二窗口的各子窗口的总显示尺寸小于所述第三窗口的显示尺寸。
这样,可以有效提醒用户该第二窗口为可操作窗口,正在进行分屏操作,以免用户进行误操作。
在一种实现方式中,所述响应分屏操作包括:检测所述分屏操作对应的窗口分屏模式是否与所述第一窗口的显示内容的格式相匹配,所述窗口分屏模式为所述显示屏分屏显示的窗口的排列方式;如果不匹配,则提示用户更改分屏操作,以更改相应的窗口分屏模式。
这样,可以保证窗口显示内容的完整性和比例,以提供更好的展示效果。
在一种实现方式中,所述响应分屏操作包括:如果所述第一窗口的显示内容不可以分屏显示,则不响应所述分屏操作。
在一种实现方式中,所述分屏操作为单指连续滑动操作或者多指连续滑动操作。
这样,电子设备可以准确识别出用户以多种形式进行的滑动操作,有效避免操作无法识别的问题。
在一种实现方式中,如果所述连续滑动操作为多指连续滑动操作,则在所述检测到用户在所述第一窗口上的分屏操作之前,所述方法还包括:检测用户在所述第一窗口上的多指连续滑动操作;确定虚拟接触点,所述虚拟接触点为多指与所述显示屏接触点的几何中心点;生成多指滑动轨迹,所述多指滑动轨迹为所述虚拟接触点的运动轨迹。
这样,可以有效简化电子设备所要检测的路线,从而减轻电子设备的计算负担。
在一种实现方式中,如果所述第二窗口为一个全屏窗口,则所述响应于所述分屏操作之后,所述方法还包括:检测到所述用户在所述第二窗口上的二次分屏操作;响应于所述二次分屏操作,将所述第二窗口替换为第三窗口,所述第三窗口为一个全屏窗口或者为包含至少一个子窗口的可操作窗口。
这样,可以进一步将分屏之后的窗口替换为可操作窗口,从而为用户提供更多可选择的分屏显示窗口。
在一种实现方式中,所述第三窗口包括的子窗口的显示内容为用户最近一次浏览的内容、操作系统的桌面、用户在最近一段时间内浏览频次最高的应用程序、可以用于分屏显示的应用程序图标的集合、或者所述第一窗口的显示内容中的一种或者几种。
这样,可以根据用户需求提供包含多种类型的子窗口的第三窗口,以提高用户的体验感。
在一种实现方式中,所述第三窗口包括的子窗口的显示内容还包括所述第二窗口的显示内容。
这样,用户仍然可以再次选择第二窗口的显示内容。
在一种实现方式中,所述二次分屏操作为连续滑动操作,其中,所述二次分屏操作的滑动距离的和值大于或者等于第二距离阈值,或者所述二次分屏操作的滑动时长的和值大于或者等于第二时长阈值。
这样,可以通过连续滑动操作将第二窗口替换为可操作窗口,连续滑动操作可以与现有的点击等操作加以区分,降低操作类型判断的错误率,提高电子设备对分屏操作的响应准确度。
在一种实现方式中,所述二次分屏操作为连续滑动操作,其中,所述二次分屏操作与所述分屏操作为连续操作,所述分屏操作与所述二次分屏操作的滑动距离的和值 大于或者等于第三距离阈值,或者所述分屏操作与所述二次分屏操作的滑动时长的和值大于或者等于第三时长阈值。
这样,分屏操作与二次分屏操作可以通过一次滑动操作实现,可以简化用户的操作步骤。
在一种实现方式中,所述二次分屏操作为从所述第二窗口的任意一角向所述第二窗口的内部滑动。
在一种实现方式中,所述二次分屏操作为至少两指同时向所述第二窗口的内部滑动。
在一种实现方式中,所述二次分屏操作为从所述第二窗口的底部指定区域向上滑动,或者从所述第三窗口的顶部指定区域向下滑动。
这样,可以为用户提供更简便的二次分屏操作,以提高二次分屏操作的有效性。
在一种实现方式中,如果所述第二窗口为包含至少一个子窗口的可操作窗口,则所述分屏显示所述第一窗口和所述第二窗口之后,所述方法还包括:检测到所述用户在所述第二窗口上的第一选中操作;响应于所述第一选中操作,在所述第二窗口的各子窗口中选中第四窗口;
分屏显示所述第一窗口和所述第四窗口。
这样,用户可以从第二窗口中选择最终所要分屏显示的第四窗口。
在一种实现方式中,所述第一选中操作包括第一子操作和第二子操作,所述第一子操作用于令所述第二窗口中的各所述子窗口逐个显示于所述第二窗口的主要展示区域,所述第二子操作用于从各所述子窗口中选择所述第四窗口,所述响应所述第一选中操作包括:响应所述第一子操作,令所述第二窗口中的各所述子窗口逐个显示于所述第二窗口的主要展示区域;响应所述第二子操作,在所述显示屏上分屏显示所述第四窗口和所述第一窗口。
在一种实现方式中,所述第一选中操作为连续滑动操作,所述响应所述选中操作包括:检测所述选中操作终止时在所述第二窗口的主要展示区域显示的子窗口,得到第四窗口;在所述显示屏上分屏显示所述第四窗口和所述第一窗口。
这样,用户可以通过多种方式来选择最终分屏显示的窗口。
在一种实现方式中,如果所述第三窗口为包含至少一个子窗口的可操作窗口,则在响应于所述二次分屏操作,将所述第二窗口替换为第三窗口之后,所述方法还包括:检测到所述用户在所述第三窗口上的第二选中操作;响应于所述第二选中操作,在所述第三窗口的各子窗口中选中第五窗口;分屏显示所述第一窗口和所述第五窗口。
这样,用户可以从第三窗口中选择所要分屏显示的第五窗口。
在一种实现方式中,所述第二选中操作包括第三子操作和第四子操作,所述第三子操作用于令所述第三窗口中的各所述子窗口逐个显示于所述第三窗口的主要展示区 域,所述第四子操作用于从各所述子窗口中选择所述第五窗口,所述响应所述第二选中操作包括:响应所述第三子操作,令所述第三窗口中的各所述子窗口逐个显示于所述第三窗口的主要展示区域;响应所述第四子操作,在所述显示屏上分屏显示所述第五窗口和所述第一窗口。
在一种实现方式中,所述第二选中操作为连续滑动操作,所述响应所述第二选中操作包括:检测所述第二选中操作终止时在所述第三窗口的主要展示区域显示的子窗口,得到第五窗口;在所述显示屏上分屏显示所述第五窗口和所述第一窗口。
这样,用户可以通过多种方式来选择最终分屏显示的窗口。
在一种实现方式中,在所述检测到用户在所述第一窗口上的分屏操作之前,所述方法还包括:检测到所述用户在所述第一窗口上的触发操作,所述触发操作为连续滑动操作,且所述触发操作的滑动距离大于或者等于第四距离阈值,或者所述触发操作的滑动时长大于或者等于第四时长阈值,其中,所述第四距离阈值小于所述第一距离阈值,所述第四时长阈值小于所述第一时长阈值;响应于所述触发操作,开启所述电子设备的分屏显示功能。这样,可以与现有的点击等操作加以区分,降低操作类型判断的错误率,提高电子设备对触发操作的响应准确度。
在一种实现方式中,所述方法还包括:检测所述触发操作与所述分屏操作之间是否存在失效操作,所述失效操作用于关闭所述电子设备的分屏显示功能;响应所述失效操作,以关闭所述电子设备的分屏显示功能。
这样,用户可以灵活关闭电子设备的分屏显示功能。
第二方面,本发明提供了一种分屏显示多个窗口的方法,所述方法包括:全屏显示第一窗口;检测到用户在所述第一窗口上的分屏操作;响应于所述分屏操作,在所述第一窗口的一侧显示第二窗口,其中,在所述第一窗口的不同侧所显示的第二窗口对应不同的显示内容;分屏显示所述第一窗口和所述第二窗口。
这样,用户可以通过不同的分屏操作,得到不同的第二窗口,以满足不同的显示需求。
在一种实现方式中,所述第二窗口为一个全屏窗口或者为包含至少一个子窗口的可操作窗口。
在一种实现方式中,所述分屏操作为连续滑动操作,且所述分屏操作的滑动距离大于或者等于第一距离阈值,或者所述分屏操作的滑动时长大于或者等于第一时长阈值。
第三方面,本发明实施例还提供了一种分屏显示多个窗口的方法,应用于折叠状态的折叠屏电子设备,所述方法包括:在所述折叠状态的折叠屏电子设备的可显示侧全屏显示第一窗口,检测到用户在所述第一窗口上的分屏操作,响应于所述分屏操作,将所述第一窗口替换为第二窗口,所述第二窗口为包含至少一个子窗口的可操作窗口, 显示第二窗口。
这样,用户可以在使用折叠状态的折叠屏电子设备时,对窗口进行分屏操作,以获得可以自由选择最终显示窗口的可操作窗口。
在一种实现方式中,所述响应所述分屏操作之后还包括:检测到所述用户的选中操作,所述选中操作用于从所述第二窗口的各子窗口中选择第三窗口;响应所述选中操作,将第二窗口替换为第三窗口,显示所述第三窗口。
这样,用户可以从多个子窗口中选择最终用于分屏显示的窗口。
第四方面,本发明提供了一种电子设备,包括:显示屏、处理器和存储器;所述显示屏、所述处理器和所述存储器耦合;所述处理器根据所述操作信号调用所述存储器中的程序指令,以使所述电子设备执行如下方法:全屏显示第一窗口;检测到用户在所述第一窗口上的分屏操作,所述分屏操作为连续滑动操作,且所述分屏操作的滑动距离大于或者等于第一距离阈值,或者所述分屏操作的滑动时长大于或者等于第一时长阈值;响应于所述分屏操作,在所述第一窗口的一侧显示第二窗口,其中,所述第二窗口为一个全屏窗口或者为包含至少一个子窗口的可操作窗口;分屏显示所述第一窗口和所述第二窗口。
在一种实现方式中,在所述分屏操作的过程中,所述第一窗口和所述第二窗口的显示位置按照所述分屏操作的滑动方向移动,所述第一窗口的显示尺寸减小,所述第二窗口的显示尺寸增大;或者,在所述分屏操作的过程中,所述第一窗口的显示内容的格式随所述分屏操作变化,以使所述第一窗口的显示内容的格式与所述第一窗口的显示尺寸相适应;或者,在所述分屏操作的过程中,所述第一窗口的显示位置和显示尺寸不变;在所述分屏操作结束后,直接在所述第一窗口的一侧显示所述第二窗口。
在一种实现方式中,如果所述第二窗口为一个全屏窗口,则所述第二窗口的显示内容为以下中一个:用户最近一次浏览的内容、操作系统的桌面、用户在最近一段时间内浏览频次最高的应用程序、可以用于分屏显示的应用程序图标的集合、所述第一窗口的显示内容;或者,如果所述第二窗口为包含至少一个子窗口的可操作窗口,则所述第二窗口包括的子窗口的显示内容为以下中至少一个:用户最近一次浏览的内容、操作系统的桌面、用户在最近一段时间内浏览频次最高的应用程序、可以用于分屏显示的应用程序图标的集合、所述第一窗口的显示内容。
在一种实现方式中,如果所述操作系统的桌面中所包含的图标对应的应用程序不可以分屏显示,则不可以分屏显示的应用程序对应的图标显示灰色。
在一种实现方式中,各所述子窗口的排列方式为单行排列方式、单列排列方式、或者多行多列排列。
在一种实现方式中,所述电子设备所执行的方法还包括:检测所述分屏操作对应的窗口分屏模式是否与所述第一窗口的显示内容的格式相匹配,所述窗口分屏模式为 所述第一窗口和所述第二窗口分屏显示时的排列方式;如果不匹配,则提示用户更改分屏操作,以更改相应的窗口分屏模式。
在一种实现方式中,所述电子设备所执行的方法还包括:如果所述第二窗口为一个全屏窗口,则检测到所述用户在所述第二窗口上的二次分屏操作;响应于所述二次分屏操作,将所述第二窗口替换为第三窗口,所述第三窗口为一个全屏窗口或者为包含至少一个子窗口的可操作窗口。
在一种实现方式中,所述二次分屏操作为连续滑动操作,其中,所述二次分屏操作的滑动距离的和值大于或者等于第二距离阈值,或者所述二次分屏操作的滑动时长的和值大于或者等于第二时长阈值;或者,所述二次分屏操作为连续滑动操作,其中,所述二次分屏操作与所述分屏操作为连续操作,所述分屏操作与所述二次分屏操作的滑动距离的和值大于或者等于第三距离阈值,或者所述分屏操作与所述二次分屏操作的滑动时长的和值大于或者等于第三时长阈值;或者,所述二次分屏操作为从所述第二窗口的任意一角向所述第二窗口的内部滑动;或者,所述二次分屏操作为至少两指同时向所述第二窗口的内部滑动;或者,所述二次分屏操作为从所述第二窗口的底部指定区域向上滑动,或者从所述第三窗口的顶部指定区域向下滑动。
在一种实现方式中,所述电子设备所执行的方法还包括:检测到所述用户在所述第一窗口上的触发操作,所述触发操作为连续滑动操作,且所述触发操作的滑动距离大于或者等于第四距离阈值,或者所述触发操作的滑动时长大于或者等于第四时长阈值,其中,所述第四距离阈值小于所述第一距离阈值,所述第四时长阈值小于所述第一时长阈值;响应于所述触发操作,开启所述电子设备的分屏显示功能。
第五方面,本发明提供了一种电子设备,包括:显示屏、处理器和存储器;所述显示屏、所述处理器和所述存储器耦合;所述处理器根据所述操作信号调用所述存储器中的程序指令,以使所述电子设备执行如下方法:全屏显示第一窗口;检测到用户在所述第一窗口上的分屏操作;响应于所述分屏操作,在所述第一窗口的一侧显示第二窗口,其中,在所述第一窗口的不同侧所显示的第二窗口对应不同的显示内容;分屏显示所述第一窗口和所述第二窗口。
第六方面,本发明还提供了一种折叠屏电子设备,包括:显示屏、处理器和存储器;所述显示屏、所述处理器和所述存储器耦合;所述处理器根据所述操作信号调用所述存储器中的程序指令,以使所述折叠屏电子设备执行如下方法:当折叠屏电子设备处于折叠状态时,在所述折叠屏电子设备的可显示侧全屏显示第一窗口;检测到用户在所述第一窗口上的分屏操作;响应于所述分屏操作,将所述第一窗口替换为第二窗口,所述第二窗口为包含至少一个子窗口的可操作窗口;显示第二窗口。
第七方面,本发明还提供了一种计算机存储介质,包括计算机指令,当所述计算机指令在电子设备上运行时,使得所述电子设备执行相应的分屏显示多个窗口的方法。
第八方面,本发明还提供了一种芯片系统,所述芯片系统包括处理器,用于支持上述装置或者设备实现上述各方面及其实现方式中所涉及的功能,例如,检测用户的操作,响应用户的操作等。
附图说明
为了更清楚地说明本申请的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,显而易见地,对于本领域普通技术人员而言,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。
图1为多个窗口在电子设备上分屏显示的示意图;
图2为本发明提供的一种通过窗口栏实现分屏显示多个窗口的流程示意图;
图3为本发明提供的一种电子设备的结构示意图;
图4为本发明实施例提供的第一种分屏显示多个窗口的流程示意图;
图5为本发明实施例提供的第二种分屏显示多个窗口的流程示意图;
图6为本发明实施例提供的第三种分屏显示多个窗口的流程示意图;
图7为本发明实施例提供的第四种分屏显示多个窗口的流程示意图;
图8为本发明实施例提供的第五种分屏显示多个窗口的流程示意图;
图9为本发明实施例提供的一种单指连续滑动操作的滑动轨迹的示意图;
图10为本发明实施例提供的一种多指连续滑动操作的滑动轨迹的示意图
图11为本发明实施例提供的一种系统桌面窗口的图标示意图;
图12为本发明实施例提供的横向分屏显示的流程示意图;
图13为本发明实施例提供的第一种第二窗口的结构示意图;
图14为本发明实施例提供的第二种第二窗口的结构示意图;
图15为本发明实施例提供的第三种第二窗口的结构示意图;
图16为本发明实施例提供的第六种分屏显示多个窗口的流程示意图;
图17为本发明实施例提供的第七种分屏显示多个窗口的流程示意图;
图18为本发明实施例提供的第八种分屏显示多个窗口的流程示意图;
图19为本发明实施例提供的第九种分屏显示多个窗口的流程示意图;
图20为本发明实施例提供的第十种分屏显示多个窗口的流程示意图;
图21为本发明实施例提供的第十一种分屏显示多个窗口的流程示意图;
图22为本发明实施例提供的第十二种分屏显示多个窗口的流程示意图;
图23为本发明实施例提供的第十三种分屏显示多个窗口的流程示意图;
图24为本发明实施例提供的第十四种分屏显示多个窗口的流程示意图;
图25为本发明实施例提供的第十五种分屏显示多个窗口的流程示意图;
图26为本发明实施例提供的第十六种分屏显示多个窗口的流程示意图;
图27为本发明实施例提供的第十七种分屏显示多个窗口的流程示意图;
图28a为本发明实施例提供的第十八种分屏显示多个窗口的流程示意图;
图28b为本发明实施例提供的图28a中第三窗口的放大示意图;
图29a为本发明实施例提供的第十九种分屏显示多个窗口的流程示意图;
图29b为本发明实施例提供的图29a③中第三窗口和第二窗口的放大示意图;
图30a为本发明实施例提供的第二十种分屏显示多个窗口的流程示意图;
图30b为本发明实施例提供的图30a③中第三窗口和第二窗口的放大示意图;
图31为本发明实施例提供的第二十一种分屏显示多个窗口的流程示意图;
图32a为本发明实施例提供的一种折叠状态的折叠屏电子设备的应用程序切换方法的流程示意图;
图32b为本发明实施例提供的图32a③的放大示意图。
具体实施方式
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整的描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。
为了提高用户同时浏览和操作多个窗口的体验感,电子设备的显示屏尺寸逐渐增大,例如大尺寸显示屏的手机、平板电脑等,同时,随着柔性屏技术的逐渐成熟,折叠屏电子设备也逐渐上市使用,而这些显示屏尺寸较大的电子设备,均为用户分屏展示多个窗口提供了基础。例如,图1为多个窗口在电子设备上分屏显示的示意图,其中,窗口a和窗口b同时显示于电子设备的显示屏上,呈现一种分屏显示状态,窗口a的显示内容为图库,窗口b的显示内容为笔记,这样,如果用户需要同时浏览图库和笔记,就无需在窗口a和窗口b之间切换,而是可以在显示屏上同时显示窗口a和窗口b,以同时浏览图库和笔记。
图2为本发明提供的一种通过窗口栏实现分屏显示多个窗口的流程示意图,电子设备分屏显示多个窗口的过程可以通过用户手势配合窗口栏获得,如图2中①所示,显示屏上显示用户当前窗口的显示内容,例如笔记,如果用户需要同时浏览另一个应用程序,例如图库,就需要通过另一个窗口来显示,此时,用户通过从显示屏的边缘向显示屏的内侧短距离快速滑动以拉出窗口栏,图2中①给出一种示例,用户从显示屏的右侧边缘向显示屏的内侧短距离快速滑动以拉出窗口栏,该窗口栏上展示多个可以分屏显示的应用程序的图标,包括图库的图标,用户通过选择图库的图标,来建立一个窗口显示图库的内容,得到如图2中②所示的分屏显示两个窗口,以同时显示图库和笔记。
如果将上述分屏显示多个窗口的方法应用于显示屏尺寸较大的电子设备,则会存 在如下问题,基于用户手持电子设备的习惯,如果只可以从右侧拉出窗口栏,或者只可以从左侧滑动得到子窗口,则会限制反手用户的使用体验;同时,上述两种滑动方式均容易与现有的系统返回功能相冲突;并且如果通过窗口栏方式进行分屏显示,由于窗口栏一次可以展示的应用图标数量有限,无法满足用户的选择需求,同时,窗口栏多为悬浮状态,会遮挡当前浏览的窗口,影响用户对当前显示内容的浏览效果。
为了防止这些操作给用户带来操作不变、与其它现有操作相冲突、影响当前应用程序显示等问题,本发明提供了如下分屏显示多个窗口的方法:
图3为本发明提供的一种电子设备的结构示意图,如图3所示,电子设备001主要包括显示屏002、触摸面板003、处理器004和存储器005,其中,显示屏002、触摸面板003、处理器004和存储器005耦合。
电子设备001可以为手机、电脑、平板电脑等。
显示屏002可以包括光学模组层、胶接层和外屏幕层,其中,光学模组层可以为柔性光学模组层,用于为显示屏002提供发光和显示功能,可以采用OLED(Organic Light-Emitting Diode,有机发光二极管)等;外屏幕层用于保护显示屏002的内部组件,可以采用无机玻璃或者无色聚酰亚胺(Colorless Polyimide,CPI)膜等。
触摸面板(touch panel)003与显示屏002贴合,或者如图3所示,设置于显示屏002的内部,用于感应用户在显示屏002上的操作。
处理器004可以检测用户的操作信号,并调用存储器004中的程序指令,使电子设备001执行相关的方法,例如触发分屏显示多窗口的功能,引入窗口、替换窗口、选中窗口、分屏显示窗口等。其中,处理器004可以包括一个或者多个处理单元,例如系统芯片(system on a chip,SoC)、中央处理器(central processing unit,CPU)、微控制器(microcontroller,MCU)、存储控制器等。其中,不同的处理单元可以是独立的器件,也可以集成在一个或多个处理器中。
存储器005可以包括一个或者多个存储单元,例如可以包括易失性存储器(volatile memory),如:动态随机存取存储器(dynamic random access memory,DRAM)、静态随机存取存储器(static random access memory,SRAM)等;还可以包括非易失性存储器(non-volatile memory,NVM),如:只读存储器(read-only memory,ROM)、闪存(flash memory)等。其中,不同的存储单元可以是独立的器件,也可以集成或者封装在一个或者多个处理器或者通信接口中,成为处理器或者通信接口的一部分。
通过分屏操作实现分屏显示多个窗口的效果,具体方法如下:
S1、全屏显示第一窗口。
全屏显示可以为窗口的显示界面填充其在显示屏002上对应的可显示区域,也可以在窗口的显示界面中带有状态栏等操作界面。
S2、检测到用户在所述第一窗口上的分屏操作。
S3、响应于所述分屏操作,以使所述显示屏上分屏显示第一窗口和第二窗口。
实施例一
分屏操作为连续滑动操作,且所述分屏操作的滑动距离大于或者等于第一距离阈值,或者所述分屏操作的滑动时长大于或者等于第一时长阈值。响应于上述分屏操作,将在第一窗口的一侧显示第二窗口。
图4为本发明实施例提供的第一种分屏显示多个窗口的流程示意图,在本实施例中的电子设备001可以是展开状态的折叠屏电子设备、平板电脑、手机等,第一窗口是指用户在进行操作时,显示屏002当前所显示的窗口,其中,第一窗口可以为某一app的展示界面,也可以为操作系统的桌面等。
如图4①所示,电子设备001检测到用户的分屏操作时显示屏002的全屏显示第一窗口,示例的,第一窗口的显示内容为笔记。
用户在第一窗口上进行手势操作,其中,如果触摸面板003检测到用户的手势操作,并通过处理器004分析得到该手势操作为分屏操作(连续滑动操作,且滑动距离大于或者等于第一距离阈值,或者滑动时长大于或者等于第一时长阈值),处理器004将会响应该分屏操作,在第一窗口的一侧显示第二窗口,图4以在第一窗口的左侧显示第二窗口为例,这样,就可以分屏显示图库和笔记的内容。
用户可以在无需引入其它辅助工具的操作下,通过连续滑动操作显示新的窗口,从而实现分屏显示多个窗口的显示效果,在分屏操作的过程中,也不会影响用户对第一窗口的使用,而且,连续滑动操作可以与现有的点击等操作加以区分,降低操作类型判断的错误率,提高电子设备对分屏操作的响应准确度。
实施例二
在本实施例中,分屏操作可以为多种操作,例如为实施例一中提到的连续滑动操作,以显示第二窗口,或者,为长按第一窗口的一侧边缘,以显示第二窗口等。在检测到用户在第一窗口上的分屏操作之后,响应于所述分屏操作,在第一窗口的一侧显示第二窗口,并且,在第一窗口的不同侧所显示的第二窗口对应不同的显示内容。
以分屏操作为连续滑动操作为例,如图4所示,当用户在第一窗口上向右连续滑动时,在第一窗口的左侧显示第二窗口,且第二窗口的显示内容为图库。图5为本发明实施例提供的第二种分屏显示多个窗口的流程示意图,当用户在第一窗口上向左连续滑动时,在第一窗口的右侧显示第二窗口,且第二窗口的显示内容为操作系统的桌面界面。可见,从第一窗口的不同侧显示的第二窗口的显示内容不同,当然,从第一窗口的上方或者从第二窗口的下方显示的第二窗口的显示内容也不同,此处不再赘述。其它形式的分屏操作的具体操作方式,此处也不再赘述,但是无论采用哪一种分屏操作,其在第一窗口不同侧显示的第二窗口的显示内容均不同。
这样,可以令不同的分屏操作对应不同的第二窗口,用户可以根据所需要显示的显示内容,选择不同的分屏操作,例如,当用户想要分屏显示图库时,就可以选择向右连续滑动;当用户想要分屏显示操作系统的桌面界面时,就可以选择向左连续滑动。这就可以降低当不同的分屏操作均对应显示相同显示内容的第二窗口时,给用户带来的选择性上的限制。
基于实施例一和实施例二,当实施例一与实施例二中的分屏操作均为连续滑动操作时,该分屏操作可以具有如下特征:
分屏操作为用户在第一窗口的指定区域内的连续滑动操作,而且,所述分屏操作的滑动距离大于或者第一距离阈值,或者所述分屏操作的滑动时长大于或者等于第一时长阈值。
(1)如图4①-③所示,用户在第一窗口上的指定区域(如:第一窗口的底部区域)进行连续滑动操作,该连续滑动操作的初始位置在第一位置,经过连续滑动到达第二位置,其中,第一位置与第二位置之间的距离大于或者等于第一距离阈值,此时,该连续滑动操作可以被触摸面板003检测到,并由处理器004判定为分屏操作。例如,第一距离阈值为20mm,如果第一位置与第二位置之间的距离等于21mm,那么用户此次的连续滑动操作即为分屏操作。
(2)如图4①-③所示,用户在第一窗口上的指定区域(如:第一窗口的底部区域)进行连续滑动操作,该连续滑动操作的初始位置在第一位置,经过连续滑动到达第二位置,其中,从第一位置到第二位置所对应的滑动时长大于或者等于第一时长阈值,此时,该连续滑动操作可以被触摸面板003检测到,并由处理器004判定为分屏操作。例如,第一时长阈值为3s,如果从第一位置滑动至第二位置所对应的时长为3s,那么用户此次的连续滑动操作即为分屏操作。需要注意的是,在(2)中,连续滑动操作是指滑动距离大于0的操作,即第一位置与第二位置之间的距离必须大于0,这样,分屏操作才能够与用户在显示屏002上同一位置长时间接触以触发相应反馈的其它操作加以区分。
对于分屏操作的设计思路可以参照下述解释:
对于相同的手势操作,根据其在第一窗口上的操作区域不同,可以触发不同的功能,例如,从第一窗口的底部区域向上连续滑动,会触发显示快捷设置的菜单栏,例如包括蓝牙图标、手电筒图标、音量图标等的展示界面;从第一窗口的顶部区域向下连续滑动,会触发显示通知栏,例如包括各个应用程序对应的消息通知的展示界面等。因此,为了避免与现有触发效果发生冲突,分屏操作所对应的操作区域需要与现有通过连续滑动操作所实现的功能所对应的操作区域加以区分,即分屏操作可以是在指定区域(第一窗口上现有手势操作对应的区域以外的区域)内进行操作。
相应的,对于某些现有手势操作,其可以作用于第一窗口的任何区域,这样,这 些手势操作的操作区域就会覆盖上文中提到的指定区域,例如,现有手势操作为点击操作,可以触发电子设备001的选中功能;现有手势操作为左右快速滑动操作,可以触发电子设备001的窗口切换功能等。因此,为了避免与这些现有手势操作发生冲突,设定分屏操作的操作方式为连续滑动操作,这样,可以与点击操作加以区分;同时,连续滑动操作的滑动距离大于或者第一距离阈值,或者该连续滑动操作的滑动时长大于或者等于第一时长阈值,这样,可以与左右快速滑动操作加以区分。如上所述,分屏操作即使与现有手势操作对应的操作区域相同,也能够与现有手势操作进行区分,可以有效避免发生反馈冲突。
可见,本实现方式所提供的分屏操作,可以与现有手势操作有效区分,从而提高电子设备001响应分屏操作的准确性,提高用户分屏操作的有效性,而且本实现方式所提供的分屏操作对应用户在显示屏上的一次操作,因此,用户仅需进行一次滑动操作,即可实现分屏显示多个窗口的效果,可以提高用户操作的效率,进而提高用户的体验感。
在本实现方式中所提供的分屏操作的滑动方向可以如图4所示,从第一窗口的左侧向第一窗口的右侧连续滑动,得到如图4③所示的第二窗口在第一窗口左侧的分屏显示效果;也可以如图5所示,从第一窗口的右侧向第一窗口的左侧连续滑动,得到如图5③所示的第二窗口在第一窗口右侧的分屏显示效果;也可以如图6所示,从第一窗口的上方向第一窗口的下方连续滑动,得到如图6③所示的第二窗口在第一窗口上方的分屏显示效果;也可以如图7所示,从第一窗口的下方向第一窗口的上方连续滑动,得到如图7③所示的第二窗口在第一窗口下方的分屏显示效果。其中,上述提到的滑动方位均是相对于分屏操作初始位置和结束位置的相对概念。
在分屏操作的过程中,第一窗口与第二窗口的显示状态(显示位置、显示尺寸、显示内容的格式等)可以设定为不同的变化方式,具体如下:
第一种变化方式,以图4为例,响应分屏操作的过程中,第一窗口的显示位置由在显示屏002中的居中位置逐渐右移,第一窗口的显示尺寸逐渐减小,第一窗口的显示内容的格式并没有发生变化,因此,显示内容的右侧会存在一些遮挡。同时,第二窗口也响应分屏操作改变显示状态,第二窗口在显示屏002中的显示位置逐渐右移,第二窗口的显示尺寸逐渐增大,第二窗口的显示内容左侧存在遮挡。当分屏操作结束后,第一窗口与第二窗口分别显示于显示屏002的两侧,此时,第二窗口为一个全屏窗口,如图4③所示,全屏窗口是指某个窗口在对应区域以填充该区域的方式进行显示的窗口,图4中第一窗口与第二窗口的显示尺寸相等。此时,第一窗口的显示内容的格式已经根据显示尺寸进行相应的调整,例如,为了保证文字的可辨识度,在保证字号不变的基础上,将图4①中单行显示的文字,调整为两行显示。同时,第二窗口的显示内容的格式也根据显示尺寸进行了相应的调整,可以通过调整图库的格式,如 显示比例,以完整显示图库的用户界面。
在本变化方式中,第一窗口和第二窗口的显示内容的格式在分屏操作的过程中并不会做出调整,因此,第一窗口和第二窗口所对应的显示内容在分屏操作的过程中,会有遮挡的情况,但是,分屏操作的时长往往比较短,因此对用户浏览第一窗口的完整性不会造成过大的影响,同时在分屏操作的过程中,由于第二窗口的显示内容不是用户在进行分屏操作时所要关注的内容,因此,即使第二窗口的显示内容有遮挡,也不会影响用户的使用,而且处理器004仅需要对第一窗口和第二窗口的显示内容进行一次性调整,这样可以有效减轻处理器004的计算负担。
第二种变化方式,分屏操作进行的过程中,第一窗口的显示内容的格式始终跟随第一窗口的显示尺寸进行调整,以保证始终完整显示第一窗口的显示内容,这样,对于一些需要始终浏览无遮挡画面的显示内容来说,可以完全不影响用户在进行分屏操作过程中的浏览效果。第二窗口的显示内容的格式可以不采用本变化方式,由于第二窗口在引入的过程中的显示尺寸较小,因此,如果强行显示完整的显示内容,并不会改善用户的浏览效果,同时,反而会加剧处理器004的计算负担。但是,当第二窗口的显示尺寸满足显示第二窗口的完整显示内容的最小尺寸时,可以按照本变化方式,跟随分屏操作随时调整第二窗口的显示内容的格式,这样用户可以更加及时地浏览第二窗口的完整显示内容。
第三变化方式,图8为本发明实施例提供的第五种分屏显示多个窗口的流程示意图,如图8所示,在进行分屏操作时,第一窗口的显示状态并不会跟随分屏操作进行改变,在分屏操作结束后,直接在显示屏002上分屏显示第一窗口和第二窗口,而且此时第一窗口和第二窗口的显示内容的格式已经根据相应的显示尺寸完成调整。可见,在本变化方式中,在分屏操作的工程中,以及跳转到分屏显示第一窗口和第二窗口的过程中,均不会影响用户对第一窗口的浏览,同时,处理器004可以仅针对第一窗口和第二窗口的显示内容进行一次格式调整,可以减轻处理器004的计算负担。
在得到第一窗口与第二窗口之后,第一窗口与第二窗口的显示尺寸也可以根据用户需要采用不同的显示屏占比,例如,平均显示于显示屏002上,或者第一窗口占显示屏002显示区域的40%,第二窗口占显示屏002显示区域的60%等。分屏显示的窗口尺寸可以在用户进行分屏操作前进行系统设置,或者默认第一窗口与第二窗口均分显示屏的显示区域,或者在分屏操作之后,用户再进行显示尺寸的调整等。
上述分屏操作可以为单指连续滑动操作,也可以为多指连续滑动操作。
图9为本发明实施例提供的一种单指连续滑动操作的滑动轨迹的示意图,如图9所示,由一根手指进行连续滑动操作,此时,该手指与显示屏002的接触点为点1,触摸面板003检测到用户与显示屏002的接触,将对应的操作信号传递至处理器004,由处理器004根据该操作信号确定该用户与显示屏002之间具有单个接触点点1。处 理器004根据触摸面板003不断反馈的操作信号,计算点1在显示屏002上的位置信息,并根据这些位置信息描绘点1的滑动轨迹,点1的滑动轨迹如图9中虚线所示,此时,处理器004可以根据该滑动轨迹检测该单指连续滑动操作是否为分屏操作。
图10为本发明实施例提供的一种多指连续滑动操作的滑动轨迹的示意图,如图10所示,由三根手指同时进行连续滑动操作,此时,三个手指分别与显示屏002的接触点为点1、2、3。当感应器003检测到用户与显示屏002的接触,将对应的操作信号传递至处理器004,由处理器004根据该操作信号确定该用户与显示屏002之间具有多个接触点。此时,处理器004会根据一定的计算规则计算出一个与所述多个接触点相关联的虚拟接触点,例如,该虚拟接触点可以为所述多个接触点所形成的几何图形的几何中心点,该虚拟接触点在显示屏002上的位置可以用于代替所述多个接触点在显示屏002上的位置。处理器004根据触摸面板003不断反馈的操作信号,动态计算每一组操作信号对应的虚拟接触点在显示屏002上的位置信息,并根据这些位置信息描绘虚拟接触点的滑动轨迹,如图10所示,点4为点1、2、3的虚拟接触点,点4的滑动轨迹如图10中虚线所示,为一条虚拟滑动轨迹,该虚拟滑动轨迹可以用于代替点1、2、3在显示屏002上的实际滑动轨迹,这样,就可以将多指连续滑动操作转换为单指连续滑动操作,通过将多根手指对应的多条实际滑动轨迹简化为一条虚拟滑动轨迹,减轻处理器004根据滑动轨迹进行分屏操作检测的负担。
进一步地,将单指连续滑动操作和多指连续滑动操作与上文中对指定区域的限定相结合,单指连续滑动操作与多指连续滑动操作可以对应相同的指定区域,也可以对应不同的指定区域。例如,单指连续滑动操作可以将显示屏002的底部区域等设定为指定区域;多指连续滑动操作可以将整个显示屏002区域作为指定区域。
所显示的第二窗口可以为一个全屏窗口,也可以为包含至少一个子窗口的可选择窗口。
第一种实现方式
当第二窗口为一个全屏窗口时,对于所显示的第二窗口,可以根据用户的实际需要设定显示内容,具体如下:
①显示内容可以为用户最近一次浏览的内容,用户最近一次浏览的内容可以为某一应用程序,或者操作系统的桌面等,例如,如图4③所示,如果图库为用户最近一次浏览的内容,则第二窗口将展示图库。
②显示内容可以为操作系统的桌面,这样,用户可以通过分屏操作同时显示第一窗口和操作系统的桌面,并进一步从操作系统的桌面上选择需要打开的应用程序。其中,对于操作系统的桌面上无法进行多窗口展示的应用程序的图标,可以进行提示处理,例如,变灰处理、阴影处理等,以提示用户不要选择,图11为本发明实施例提供的一种系统桌面窗口的图标示意图,如图11所示,其中,应用程序-音乐对应的图标 经过变灰处理,显示灰色,为无法操作状态,说明音乐为无法用于分屏显示的应用程序。
③显示内容可以为用户在最近一段时间内浏览频次最高的应用程序,例如,用户在最近一段时间内浏览频次最高的应用程序为图库,则如图4③所示,在第二窗口显示图库的界面,一般来说,浏览频次较高的应用程序相应的也是未来被用户使用的概率较高的应用程序,如果第二窗口采用设定方式③,那么第二窗口所显示的内容可以更加贴近用户的偏好,也可以有效减少用户查找需要展示的应用程序的时间,提高用户的使用体验感。
④显示内容可以为可以用于分屏显示的部分或者全部应用程序图标的集合,这样,用户可以直接从该集合中选择需要浏览的应用程序,而无需首先区分各个应用程序是否可以分屏显示,从而节约时间。
对于实施例一中公开的分屏方法,通过不同的分屏操作得到的第二窗口的显示内容可以相同,此时,如果用户每次想要得到的第二窗口的显示内容的几乎无变化,那么用户无论从使用哪一滑动方向,均可得到自己需要的第二窗口的显示内容,尤其当用户的动作受到持握方式等限制时,也可以采用较舒适的方式得到第二窗口的显示内容。实施例一中公开的分屏方法,通过不同的分屏操作得到的第二窗口的显示内容也可以不同,对于实施例二中公开的分屏方法,通过不同的分屏操作得到的第二窗口的显示内容必须不同,基于上述两种情况,可以根据用户的实际需求,将分屏操作与显示内容对应设置,例如,将向左连续滑动操作对应的第二窗口的显示内容设定为操作系统的桌面界面,将向右连续滑动操作对应的第二窗口的显示内容设定为用户最近一次浏览的内容等。用户可以在进行分屏操作之前进行设定,这样,用户可以根据自己的设定,通过不同的分屏操作得到不同显示内容的第二窗口,从而提高分屏操作与用户需求的贴合度。
除上述公开的设定方式,还可以采用其它方式来设定第二窗口的显示内容,此处不再一一列举。
进一步地,第二窗口和第一窗口的显示内容可以相同,这样,用户可以对同一应用程序进行浏览和操作,例如,第一窗口和第二窗口均显示图库,其中,第一窗口显示图库中的图片A,第二窗口显示图库中的图片B,此时,用户可以对图片A与图片B进行浏览或者编辑。第二窗口和第一窗口的显示内容可以不同,这样,用户可以对不同应用程序进行浏览以及进一步的交互操作,例如,如图4③所示,第一窗口显示笔记的内容,描述了清晨到公园锻炼身体的事情,此时,第二窗口显示图库的内容,包括各种截屏录屏的信息。用户不仅可以继续编辑笔记,或者浏览、编辑图片,用户还可以进一步从这些截屏录屏的信息中选取与笔记内容相对应的图片或者视频,通过复制粘贴,或者直接从第二窗口向第一窗口拖拽的方式,将选中的图片或者视频插入笔 记内容中,完成对笔记的编辑。
由于分屏操作之后,第一窗口和第二窗口需要分享显示屏002的显示区域,因此,每个窗口所对应的显示尺寸就会相对缩小,但是不同的滑动方向所造成的显示尺寸的变化是不同的。例如,以显示屏002横向尺寸小于纵向尺寸为例,图12为本发明实施例提供的横向分屏显示的流程示意图,如图12①所示,第一窗口所显示的内容为需要横向展示的折线图,那么,为了保证用户的浏览效果,一方面,用户可以直接选择从显示屏002的上方向显示屏002的下方连续滑动操作,以得到如图12②所示,第一窗口在下、第二窗口在上显示的上下分屏模式;或者从显示屏002的下方向显示屏002的上方连续滑动操作,得到第一窗口在上、第二窗口在下显示的上下分屏模式,这两种分屏操作均保留第一窗口的横向尺寸,从而满足展示该折线图的需求。另一方面,用户可以采用任一滑动方向的分屏操作,其中,如果处理器004检测到第一窗口的显示内容的格式要求与分屏操作的滑动方向不匹配时,如用户采用从显示屏002的右侧向显示屏002的左侧连续滑动操作,此时,如果按照用户选择的分屏操作,则会令第一窗口与第二窗口呈现左右分屏显示的模式,保留第一窗口的纵向尺寸,而牺牲第一窗口的横向尺寸,从而无法满足折线图的横向展示需求,那么,处理器004可以生成操作提示,例如弹出文字“是否需要令窗口显示位置适应显示内容”,以提示用户选择合适的分屏模式,如果用户选择是,则处理器004可以在检测到用户的分屏操作之后,将本应左右分屏显示的第一窗口和第二窗口,进行上下分屏显示。
需要注意的是,本实施例中认为第一窗口的显示内容为可以进行分屏显示的显示内容,如果第一窗口的显示内容为不可以进行分屏显示的显示内容,则电子设备001不会响应上述分屏操作。此时,可以通过操作无响应、弹出提示框,例如“当前应用程序无法分屏显示”、将第一窗口的边缘加以颜色、将第一窗口变灰等方式提示用户第一窗口的显示内容无法进行分屏显示。
第二种实现方式
当第二窗口为包含至少一个子窗口的可选择窗口时,其所包含的子窗口的显示内容均不同,这些子窗口的显示内容可以为用户最近浏览的应用程序、操作系统的桌面、常用应用程序的图标合集、用户最近一段时间内浏览频次最高的应用程序中的一种或者几种,其中,各子窗口的显示内容可以为各个应用程序的默认界面(例如浏览器的默认界面为浏览器的首页),也可以为用户停止使用各个应用程序时对应用户界面的截图等。可见,本实现方式可以通过分屏操作首先生成一个可供用户选择显示内容的可选择窗口,再由用户继续确定最终所要分屏显示的窗口,为用户提供更加灵活的选择空间。
第二窗口中的各个子窗口可以采用不同的排列方式,为用户提供更灵活的选择方式,具体如下:
(1)图13为本发明实施例提供的第一种第二窗口的结构示意图,如图13所示,各子窗口呈现单行排列的形式,占据第二窗口主要展示位置的子窗口b遮挡子窗口a的右侧部分,以及遮挡子窗口c的左侧部分,这样,可以为子窗口b提供更大的展示区域,以供用户清晰辨识子窗口b的显示内容,进而用户可以通过在第二窗口对应的区域上进行左右滑动,以使各子窗口滚动,令每个子窗口逐个位于第二窗口主要展示位置,供用户清晰辨识每个子窗口的显示内容,从而选择需要的子窗口。
当然,各子窗口呈现单行排列的形式时,各子窗口之间可以采用无遮挡的排列方式。
(2)图14为本发明实施例提供的第二种第二窗口的结构示意图,如图14所示,各子窗口呈现单列排列的形式,占据第二窗口主要展示位置的子窗口b遮挡子窗口a的下方部分,以及遮挡子窗口c的上方部分,这样,为子窗口b提供更大的展示区域,以供用户清晰辨识子窗口b的显示内容,进而用户可以通过在第二窗口对应的区域上进行上下滑动,以使各子窗口滚动,令每个子窗口逐个位于第二窗口主要展示位置,供用户清晰辨识每个子窗口的显示内容,从而选择需要的子窗口。
当然,各子窗口呈现单列排列的形式时,各子窗口之间可以采用无遮挡的排列方式。
(3)图15为本发明实施例提供的第三种第二窗口的结构示意图,如图15所示,各子窗口呈现多行多列排列的形式,各子窗口均布于第二窗口的显示区域内,当子窗口的数量大于第二窗口当前页面所能够一次性展示的最大数量时,将多出的子窗口放入第二窗口的下一页面进行展示。第二窗口可以采取上下翻页,或者左右翻页的方式,用户可以通过在第二窗口对应的区域上进行上下滑动,或者左右滑动翻页,从而浏览各个子窗口并选择需要的子窗口。
在上述三种第二窗口的结构中,各子窗口的排列顺序可以按照用户的设定,或者系统设定进行排列,例如,如果优先排列用户最近一次浏览的应用程序,例如信息,由于子窗口b的显示内容即为信息,那么如图13所示,可以将子窗口b优先展示于第二窗口的主要展示区域上;或者如果优先排列操作系统的桌面界面,由于子窗口a的显示内容即为操作系统的桌面界面,那么如图15所示,可以将子窗口a排列在第一个位置,以令用户可以优先选择。
进一步地,如图13、图14和图15所示,正在展示于第二窗口的各子窗口的总显示尺寸可以略小于第二窗口的显示尺寸(存在黑色区域),这样,可以无需强行改变各子窗口的窗口比例以填充第二窗口,避免子窗口的显示内容的变形,同时,这样的显示方式,可以有效提示用户当前窗口是第二窗口(可选择窗口),降低用户将其当作普通窗口进行误操作的概率。
需要注意的是,第二窗口中的子窗口中可以包括与第一窗口显示相同显示内容的 子窗口,这样,用户可以通过选择该子窗口,实现同时浏览同一应用程序中不同内容的效果,具体描述参见上文关于第二窗口的显示内容与第一窗口的显示内容相同的描述,此处不再赘述。
如果分屏操作为连续滑动操作,在进行分屏操作时,第一窗口与第二窗口的显示状态的变化如下:
第一种变化方式,以图16为例,第一窗口在响应分屏操作的过程中,无需改变显示状态,在分屏操作结束后,直接得到如图16②所示的分屏显示的第二窗口和第一窗口。
第二种变化方式,图17为本发明实施例提供的第七种分屏显示多个窗口的流程示意图,如图17②所示,第一窗口在响应分屏操作的过程中,改变显示状态,同时,在第一窗口的左侧显示一个窗口,该窗口为第二窗口中的一个子窗口,例如信息。该窗口跟随分屏操作逐渐右移,并在滑动距离到达第一距离阈值,或者滑动时长到达第一时长阈值时,如图17③所示,转换为第二窗口。其中,第二窗口中优先展示的子窗口可以为所上文中所显示的窗口,例如显示内容为信息的子窗口,也可以为位于按照上文对第二窗口中子窗口排列方式中的第一个子窗口。
除上述所提供的从第一窗口的左侧显示第二窗口的情况,还可以根据第一窗口的显示内容的格式需求,选择其它显示第二窗口的滑动方向,例如,从第一窗口的右侧、上方、下方显示第二窗口。
在第一窗口的一侧显示第二窗口之后,在显示屏002上分屏显示第一窗口和第二窗口,第一窗口与第二窗口的分屏显示方式具体如下:
第一种实现方式
当第二窗口为一个全屏窗口时,可以如图4③中所示,直接在显示屏002上分屏显示第一窗口和第二窗口。
进一步地,基于这种实现方式,还可以继续进行二次分屏操作,具体如下:
在一种实现方式中
S4、检测到所述用户在所述第二窗口上的二次分屏操作。
S5、响应于所述二次分屏操作,将所述第二窗口替换为第三窗口,所述第三窗口为一个全屏窗口或者为包含至少一个子窗口的可操作窗口。
二次分屏操作可以为如下几种方式:
(1)二次分屏操作可以为连续滑动操作,其中,二次分屏操作的滑动距离大于或者等于第二距离阈值,或者二次分屏操作的滑动时长大于或者等于第二时长阈值。
在一种实现方式中,二次分屏操作之后得到的第三窗口为一个全屏窗口。
图18为本发明实施例提供的第八种分屏显示多个窗口的流程示意图,如图18①所示,用户进行二次分屏操作时,显示屏002分屏显示第一窗口和第二窗口,如图18 ②所示,处理器004响应二次分屏操作时,将第一窗口与第二窗口作为一个整体窗口进行显示状态的改变,第一窗口与第二窗口同时向右移动,第三窗口从第二窗口的左侧显示,如图18③所示,当二次分屏操作结束之后,第二窗口被第三窗口替换,在显示屏002上分屏显示第三窗口和第一窗口。
图19为本发明实施例提供的第九种分屏显示多个窗口的流程示意图,如图19①所示,用户进行二次分屏操作时,显示屏002上分屏显示第一窗口和第二窗口,以分屏操作为从左至右的连续滑动操作为例,当处理器004检测到用户的二次分屏操作时,如图19②所示,第二窗口跟随分屏操作向右移动,并在第二窗口的左侧逐渐引入第三窗口,第一窗口的显示状态不变,如图19③所示,分屏操作结束后,第三窗口完全展示于显示屏002的左侧,第二窗口完全滑出显示屏002的左侧,不再显示,此时,显示屏002分屏显示第三窗口与第一窗口。
图20为本发明实施例提供的第十种分屏显示多个窗口的流程示意图,如图20①所示,用户进行二次分屏操作时,显示屏002分屏显示第一窗口和第二窗口,当用户进行二次分屏操作时,第一窗口与第二窗口的显示状态均不发生变化,当分屏操作结束时,如图20②所示,直接将第二窗口替换为第三窗口。
在另一种实现方式中,二次分屏操作之后得到的第三窗口为包含至少一个子窗口的可操作窗口。
图21为本发明实施例提供的第十一种分屏显示多个窗口的流程示意图,如图21①所示,用户进行二次分屏操作时,显示屏002分屏显示第一窗口和第二窗口,如图21②所示,处理器004响应二次分屏操作时,将第一窗口与第二窗口作为一个整体窗口进行显示状态的改变,第一窗口与第二窗口同时向右移动,第三窗口中的一个子窗口从第二窗口的左侧引入,如图21③所示,当二次分屏操作结束之后,第二窗口被第三窗口替换,在显示屏002上分屏显示第三窗口和第一窗口。
图22为本发明实施例提供第十二种的分屏显示多个窗口的流程示意图,如图22①所示,用户进行二次分屏操作时,显示屏002分屏显示第一窗口和第二窗口,如图22②所示,处理器004响应二次分屏操作时,第一窗口的显示状态不发生变化,第二窗口的显示状态发生变化,当二次分屏操作结束时,如图22③所示,分屏显示第一窗口和第三窗口。
图23为本发明实施例提供第十三种的分屏显示多个窗口的流程示意图,如图23①所示,用户进行二次分屏操作时,显示屏002分屏显示第一窗口和第二窗口,如图23②所示,处理器004响应二次分屏操作时,第一窗口与第二窗口的显示状态均不发生变化,当分屏操作结束时,如图23③所示,直接将第二窗口替换为第三窗口。
(2)二次分屏操作可以为连续滑动操作,二次分屏操作与分屏操作为连续操作,所述分屏操作与二次分屏操作的滑动距离的和值大于或者等于第三距离阈值,或者所 述分屏操作与二次分屏操作的滑动时长的和值大于或者等于第三时长阈值。
二次分屏操作与分屏操作可以为两个独立的滑动操作,这样,用户可以通过两次连续滑动操作对第二窗口进行替换,当显示屏002的尺寸较小,不满足较长的滑动距离时,也可以实现二次分屏功能。
二次分屏操作与分屏操作也可以为一个连续操作,此时,用户可以仅通过一次连续滑动操作就可以实现二次分屏功能,从而简化用户操作。
(3)二次分屏操作可以为从所述第二窗口的任意一角向所述第二窗口的内部滑动。
图24为本发明实施例提供的第十四种分屏显示多个窗口的流程示意图,如图24①所示,分屏操作为从所述第三窗口的任意一角向所述第三窗口的内部滑动,用户进行分屏操作之前,显示屏002上分屏显示第一窗口和第三窗口,对分屏操作的响应对象为第三窗口的情况进行分析。分屏操作为从第三窗口的任意一角(本例为第三窗口的左下角)向第三窗口的内部滑动的操作,此时,对滑动的时长及距离不做限制,在响应分屏操作的过程中,第一窗口的显示状态不发生变化,如图24②所示,在分屏操作结束后,第三窗口被替换为第二窗口,所述第二窗口为包含至少一个子窗口的可操作窗口。对于一些应用程序,可能会对滑动操作产生一些错误响应,例如,如果第三窗口的显示内容为画图,此时,如果在第三窗口上进行连续滑动操作以触发分屏效果,由于操作区域位于画布上,因此,处理器004容易将该操作识别为在画布上进行编辑的操作,而非分屏操作。而采用本实现方式所提供的分屏操作,可以与这些特定应用程序中的操作进行区分,进而提高响应分屏操作的正确率,同时,由于该分屏操作的动作幅度较小,因此,更便于用户操作。
(4)二次分屏操作可以为至少两指同时向所述第二窗口的内部滑动。
图25为本发明实施例提供的第十五种分屏显示多个窗口的流程示意图,如图25①所示,分屏操作为至少两指作用于所述第三窗口上,且同时向所述第三窗口的内部滑动,用户进行分屏操作之前,显示屏002上分屏显示第一窗口和第三窗口,对分屏操作的响应对象为第三窗口的情况进行分析。分屏操作为至少两指在第三窗口上的聚拢滑动操作,如图25①所示,以三指为例,三指从图示位置按照箭头方向滑动,各手指之间的距离减小,产生聚拢的效果。在响应分屏操作的过程中,第一窗口的显示状态不发生变化,如图25②所示,在分屏操作结束后,第三窗口被替换为第二窗口,所述第二窗口为包含至少一个子窗口的可操作窗口。
(5)二次分屏操作可以为从所述第二窗口的底部指定区域向上滑动,或者从所述第三窗口的顶部指定区域向下滑动。
图26为本发明实施例提供的第十六种分屏显示多个窗口的流程示意图,如图26①所示,分屏操作为由所述第三窗口的底部指定区域向上滑动,或者由所述第三窗口 的顶部指定区域向下滑动,用户进行分屏操作之前,显示屏002上分屏显示第一窗口和第三窗口,对分屏操作的响应对象为第三窗口的情况进行分析。分屏操作为从第三窗口的顶部指定区域或者底部指定区域向第三窗口的内部滑动的操作,此时,滑动的时长及距离不做限制。在响应分屏操作的过程中,第一窗口的显示状态不发生变化,如图26②所示,在分屏操作结束后,第三窗口被替换为第二窗口,所述第二窗口为包含至少一个子窗口的可操作窗口。其中,顶部指定区域与底部指定区域需要与现有手势操作对应的操作区域区分,例如,现有手势操作为从显示屏002的顶部向下滑动以拖出快捷菜单栏,通常,该现有手势操作对应的操作区域为显示屏002的顶部中间区域,因此,为了加以区分,就可以将分屏操作的指定操作区域设定为显示屏002的顶部中间区域以外的区域,如图26①所示,指定操作区域为第三窗口的顶部左侧区域(虚线框区域)。
上述(1)(2)(3)(4)(5)所提供的二次分屏操作,可以有效简化用户的操作,并且可以提高处理器004响应二次分屏操作的准确性。
对于二次分屏操作得到的第三窗口为包含至少一个子窗口的可操作窗口的情况,第二窗口与第三窗口的关系可以为:
(1)第二窗口可以作为第三窗口的一个子窗口,其中,第二窗口可以直接优先展示于第三窗口的主要展示位置,例如,如果第二窗口的显示内容为图库,替换后的第三窗口的主要展示位置首先展示显示内容为图库的子窗口;或者第二窗口位于第三窗口的既定子窗口排列顺序中,替换后的第三窗口的主要展示位置首先展示子窗口排列顺序中位列第一的子窗口。如图21所示,第二窗口的显示内容为截屏录屏,但是,第三窗口的既定子窗口排列顺序中,常用应用程序的集合为位列第一的子窗口,因此,常用应用程序的集合首先位于第三窗口的主要展示位置。可见,当第二窗口作为第三窗口的一个子窗口时,用户仍然可以选择第二窗口所对应的子窗口作为分屏显示的窗口,这样,一旦用户误将第二窗口替换为第三窗口时,还可以通过进一步的选择过程,重新选择第二窗口对应的子窗口进行显示。
(2)第二窗口不再作为第三窗口的子窗口供用户选择,通常可以认为如果用户在已经展示第二窗口的基础上,仍然选择将第二窗口替换为第三窗口进行进一步地选择,说明用户更想要浏览第二窗口以外的窗口,不再继续将第二窗口转化为第三窗口中的一个子窗口进行展示,可以有效减少用户浏览和辨识子窗口的显示内容的时间,从而提高用户的选择效率。
在另一种实现方式中
S6、检测到所述用户在所述第二窗口上的二次分屏操作;
S7、响应于所述二次分屏操作,在所述第二窗口的一侧显示第三窗口,所述第三窗口为一个全屏窗口或者为包含至少一个子窗口的可操作窗口。
其中,二次分屏操作为连续滑动操作,且二次分屏操作与分屏操作为两个独立操作,二次分屏操作的滑动距离大于或者等于第二距离阈值,或者二次分屏操作的滑动时长大于或者等于第二时长阈值。(在这种实现方式中的第二距离阈值和第二时长阈值与上一种实现方式中的第二距离阈值和第二时长阈值无关联。)
或者,二次分屏操作为连续滑动操作,且二次分屏操作与分屏操作为一个连续操作,二次分屏操作与分屏操作的滑动距离的和值大于或者等于第三距离阈值,或者二次分屏操作与分屏操作的滑动时长的和值大于或者等于第三时长阈值。(在这种实现方式中的第三距离阈值和第三时长阈值与上一种实现方式中的第三距离阈值和第三时长阈值无关联。)
当处理器003响应上述二次分屏操作时,在第二窗口的一侧显示第三窗口,具体的显示方式如下:
在一种情况中,第一窗口与第二窗口均响应二次分屏操作,即在二次分屏操作之后,第一窗口与第二窗口的显示状态均发生变化。
(1)图27为本发明实施例提供的第十七种分屏显示多个窗口的流程示意图,如图27①所示,显示屏002上分屏显示第二窗口和第一窗口,如图27②所示,在第二窗口的左侧显示第三窗口,在二次分屏操作之后,如图27③所示,在显示屏002分屏显示第三窗口、第二窗口和第一窗口,此时,第三窗口为一个全屏窗口。
(2)图28a为本发明实施例提供的第十八种分屏显示多个窗口的流程示意图,如图28a①所示,显示屏002上分屏显示第二窗口和第一窗口,如图28a②所示,在第二窗口的左侧显示第三窗口,在二次分屏操作之后,如图28a③所示,在显示屏002分屏显示第三窗口、第二窗口和第一窗口,此时,第三窗口为包含至少一个子窗口的可操作窗口。
在另一种情况中,只有第一窗口或者第二窗口中的一个窗口响应二次分屏操作,以第二窗口响应二次分屏操作为例,在二次分屏操作之后,只有第二窗口的显示状态发生变化,而第一窗口的显示状态不变。
(3)图29a为本发明实施例提供的第十九种分屏显示多个窗口的流程示意图,如图29a①所示,显示屏002上分屏显示第二窗口和第一窗口,如图29a②所示,在第二窗口的左侧显示第三窗口,但是,第一窗口的显示状态不变,在二次分屏操作之后,如图29a③所示,在显示屏002分屏显示第三窗口、第二窗口和第一窗口,此时,第三窗口为一个全屏窗口,其中,第三窗口和第二窗口相当于在原第二窗口对应的区域分屏显示。
(4)图30a为本发明实施例提供的第二十种分屏显示多个窗口的流程示意图,如图30a①所示,显示屏002上分屏显示第二窗口和第一窗口,如图30a②所示,在第二窗口的左侧显示第三窗口,但是,第一窗口的显示状态不变,在二次分屏操作之后, 如图30a③所示,在显示屏002分屏显示第三窗口、第二窗口和第一窗口,此时,第三窗口为包含至少一个子窗口的可操作窗口,其中,第三窗口和第二窗口相当于在原第二窗口对应的区域分屏显示。
可选地,用户在执行S6-S7所述的二次分屏操作时,所对应的分屏模式可以与显示屏002当前显示的窗口的分屏模式一致,也可以不一致。其中,分屏模式是指窗口在显示屏002上的分布方式,例如左右分布、上下分布等。
例如,如图27-图30中用户的分屏操作所对应的分屏模式与第一窗口和第二窗口的分屏模式一致,均是令窗口呈现左右分布的分屏模式。
图31为本发明实施例提供的第二十一种分屏显示多个窗口的流程示意图,其中,用户进行分屏操作之前,如图31①所示,显示屏002上分屏显示第一窗口和第二窗口,且第一窗口和第二窗口呈现左右分屏的分屏模式。针对第二窗口进行分屏操作,且该分屏操作对应的分屏模式为窗口上下分布的分屏模式,如图31②所示,在分屏操作之后,在第二窗口的下方显示第三窗口,即在原第二窗口对应的区域分屏显示第二窗口和第三窗口,且第二窗口与第三窗口呈现上下分布的分屏模式。这样,如图31所示,如果第二窗口的显示内容为需要保留横向尺寸的内容,例如折线图,那么采用这种分屏方式,可以有效保证第二窗口的显示内容的显示完整性,进而降低对用户浏览的影响。
在一种实现方式中,如果用户首次进行分屏操作时显示屏002上已经分屏显示第一窗口和第二窗口,其中,第一窗口和第二窗口均为全屏窗口,此时,可以将上述两种实现方式中所提供的二次分屏操作作为分屏操作,对第一窗口和第二窗口进行分屏。需要注意的是,上述过程均以针对第二窗口的二次分屏作为示例进行阐释,同样的,二次分屏操作也可以针对第一窗口,过程同上,此处不再赘述。
通过上述分屏操作得到第二窗口(包含至少一个子窗口的可操作窗口),以及二次分屏操作得到第三窗口(包含至少一个子窗口的可操作窗口)之后,用户可以继续通过选中操作,从第二窗口或者第三窗口中选择最终分屏显示的子窗口,具体过程如下:
(1)针对第二窗口(包含至少一个子窗口的可操作窗口)
S8、检测到所述用户在所述第二窗口上的第一选中操作;
S9、响应于所述第一选中操作,在所述第二窗口的各子窗口中选中第四窗口;
S10、分屏显示所述第一窗口和所述第四窗口。
(2)针对第三窗口(包含至少一个子窗口的可操作窗口)
S11、检测到所述用户在所述第三窗口上的第二选中操作;
S12、响应于所述第二选中操作,在所述第三窗口的各子窗口中选中第五窗口;
S13、分屏显示所述第一窗口和所述第五窗口。
下面以第一选中操作为例进行说明:
(1)第一选中操作包括第一子操作和第二子操作,其中,第一子操作可以为滑动操作,例如,用户在第二窗口对应的区域上进行滑动,以使不同的子窗口展示于第二窗口的主要展示区域,这样,用户可以仔细辨识不同的子窗口的显示内容。以图16为例,经过分屏操作,得到如图16②中所示的第二窗口,可见,该第二窗口为单行显示多个子窗口的可操作窗口,当前位于第二窗口的主要显示位置的子窗口的显示内容为可分屏显示的应用程序的图标集合界面,位于该子窗口左侧的子窗口的显示内容可以为操作系统的桌面界面(如果操作系统的桌面界面具有多个,则可以为其中的任意一个,或者为用户预先设定的一个),位于该子窗口右侧的子窗口的显示内容可以为用户最近一次浏览的应用程序的界面的截图。这样,用户可以通过在第二窗口对应的区域上左右滑动,以使这些子窗口展示于第二窗口的主要展示区域。
第二子操作可以为点击操作,用户通过点击选中最终分屏显示的子窗口,作为第四窗口。接上例,如图16③所示,用户通过点击选中显示内容为可分屏显示的应用程序的图标集合界面的子窗口,则将其作为第四窗口与第一窗口分屏显示。
(2)第一选中操作为连续滑动操作,例如,用户在第二窗口上的进行滑动,当滑动操作停止时,停留在第二窗口的主要展示区域的子窗口即为第四窗口,如果图16②中显示内容为可分屏显示的应用程序的图标集合界面的子窗口是滑动操作停止时,停留在第二窗口的主要展示区域的子窗口,则如图16③所示,该子窗口将作为第四窗口与第一窗口分屏显示。
(2)中所提供的第一选中操作与分屏操作可以为一个连续操作,也可以为两个独立操作。当分屏操作与第一选中操作为一个连续操作时,用户可以通过最少的操作次数实现分屏显示多个窗口的效果,从而简化用户的操作方式。当分屏操作与第一选中操作为两个独立操作时,可以适应尺寸较小的显示屏,例如,显示屏002的尺寸难以满足将分屏操作与第一选中操作作为一个连续操作所需要的操作距离,或者,用户在持握电子设备001时,难以进行相对较长距离的连续滑动时,仍然可以通过多个独立操作的方式实现分屏显示多个窗口的效果。
第二选中操作也可以包括两种操作方式,(1)第二选中操作包括第三子操作和第四子操作,其中,第三子操作与第四子操作的具体操作方式可以参照第一子操作和第二子操作。(2)第二选中操作为连续滑动操作,在这种情况中,第二选中操作的具体操作方式可以参照第一选中操作为连续滑动操作时的操作方式,区别在于,第二选中操作可以与二次分屏操作为一个连续操作,也可以为两个独立操作。
可选地,在上述分屏操作之前还可以包括触发操作。触发操作可以为连续滑动操作,而且所述触发操作的滑动距离大于或者等于第四距离阈值,或者所述触发操作的滑动时长大于或者等于第四时长阈值,其中,所述第四距离阈值小于所述第一距离阈 值,所述第四时长阈值小于所述第一时长阈值。
处理器004响应触发操作,以触发电子设备001开启分屏显示多个窗口的功能。在触发操作进行的过程中,第一窗口的显示状态不会发生变化,在触发操作完成后,电子设备001会相应开启分屏显示多个窗口的功能。此时,第一窗口处于可以分屏显示状态,即可以跟随用户后续的分屏操作改变显示尺寸、显示位置以及显示内容的格式等。
触发操作的结束位置与分屏操作的初始位置可以是显示屏002上的相同位置,也可以是不同位置;触发操作的滑动方向与分屏操作的滑动方向可以是相同方向也可以是不同方向。也就是说,触发操作与分屏操作可以为一个连续操作,也可以为两个独立操作。
需要解释的是,当触发操作与分屏操作为一个连续操作时,可以将该连续操作中,操作的初始位置到滑动距离满足第四距离阈值的中间位置所对应的滑动操作默认为触发操作,可以将中间位置到连续操作的结束位置所对应的滑动操作默认为分屏操作。也就是说,用户在显示屏002上进行连续滑动操作,处理器004通过分析触摸面板003传递的操作信号,如果检测到用户从连续滑动操作的初始位置开始到一个中间位置的滑动距离等于第四距离阈值,或者从连续滑动操作的初始位置到中间位置的滑动时长等于第四时长阈值,那么用户从初始位置到中间位置对应的连续滑动操作就相当于触发操作,就可以成功触发电子设备001分屏显示多个窗口的功能,此时,处理器004继续分析触摸面板003传递的操作信号,如果检测到用户从上述中间位置开始到连续滑动操作的结束位置之间的距离大于或者等于第一距离阈值,或者从上述中间位置开始到连续滑动操作的结束位置之间的时长大于或者等于第一时长阈值,那么用户从中间位置到结束位置对应的连续滑动操作就相当于分屏操作,就可以成功实现分屏显示多个窗口的效果。
对于触发操作与分屏操作为一个连续操作的方式来说,可以有效简化用户的操作步骤,提高用户的操作效率。
对于触发操作与分屏操作为两个独立操作的方式来说,如果显示屏的尺寸较小,难以满足将触发操作与分屏操作作为一个连续操作所需要的操作距离,或者,用户在持握电子设备时,难以进行相对较长距离的连续滑动时,仍然可以通过多个独立操作的方式实现分屏显示多个窗口的效果。
在本实现方式中,分屏操作可以实现的前提是触发操作成立,并且,分屏操作与触发操作之间不存在其它操作,也就是说,只要经过触发操作令电子设备001开启分屏显示多个窗口的功能,那么如果用户继续做出分屏操作,就会实现分屏显示多个窗口的效果。但是,如果触发操作与分屏操作之间存在其它操作,例如点击操作等,就会令触发操作失效。
进一步地,由于触发操作成功开启之后,电子设备001会持续处于响应分屏操作的准备状态,因此,会产生相应的功耗,为了降低这种功耗,可以设置一定的失效时间,即如果触发操作成功之后,在不存在分屏操作以外的其它操作的基础上,用户在预设时长范围内始终没有做出分屏操作,电子设备001可以关闭分屏显示多个窗口的功能,令本次触发操作失效,如果用户需要分屏显示多个窗口,则用户需要重新从触发操作开始进行相应的操作。
实施例三
本实施例针对折叠状态的折叠屏电子设备。
图32a为本发明实施例提供的一种折叠状态的折叠屏电子设备的应用程序切换方法的流程示意图,如图32a①所示,图中展示了折叠屏电子设备进行工作的一侧显示屏,用户的分屏操作在该侧显示屏上进行。在本实施例中,分屏操作用于将第一窗口替换为第二窗口,所述第二窗口为包含至少一个子窗口的可操作窗口,用户继续进行选中操作,该选中操作用于从第二窗口的各个子窗口中选择第三窗口,并在该侧显示屏上显示第三窗口。如图32a①所示,第一窗口为用户进行分屏操作之前,该侧显示屏上显示的窗口。如图32a②所示,第一窗口跟随分屏操作改变显示状态,从左侧显示第二窗口,如图32a③所示,第一窗口被替换为第二窗口,如图32a④所示,用户继续进行选中操作,可以从各个子窗口中选择第三窗口显示于该侧显示屏上。上述过程以分屏操作为连续滑动操作为例,所述连续滑动操作的滑动距离大于或者等于第一距离阈值,或者所述连续滑动操作的滑动时长大于或者等于第一时长阈值,其中,本实施例中的第一距离阈值与第一时长阈值与实施例一和实施例二中的第一距离阈值与第一时长阈值无关联。
在本实施例中,分屏操作及对应的分屏效果还可以为与实施例一及实施例二中提供的分屏操作及对应的分屏效果相同,详见实施例一及实施例二中的描述,此处不再赘述。
以上的具体实施方式,对本发明的目的、技术方案和有益效果进行了进一步详细说明,所应理解的是,以上仅为本发明的具体实施方式而已,并不用于限定本发明的保护范围,凡在本发明的技术方案的基础之上,所做的任何修改、等同替换、改进等,均应包括在本发明的保护范围之内。

Claims (18)

  1. 一种分屏显示多个窗口的方法,其特征在于,所述方法包括:
    全屏显示第一窗口;
    检测到用户在所述第一窗口上的分屏操作,所述分屏操作为连续滑动操作,且所述分屏操作的滑动距离大于或者等于第一距离阈值,或者所述分屏操作的滑动时长大于或者等于第一时长阈值;
    响应于所述分屏操作,在所述第一窗口的一侧显示第二窗口,其中,所述第二窗口为一个全屏窗口或者为包含至少一个子窗口的可操作窗口;
    分屏显示所述第一窗口和所述第二窗口。
  2. 根据权利要求1所述的方法,其特征在于,所述在所述第一窗口的一侧显示第二窗口的过程中,所述第一窗口与所述第二窗口的显示状态的变化为:
    在所述分屏操作的过程中,所述第一窗口和所述第二窗口的显示位置按照所述分屏操作的滑动方向移动,所述第一窗口的显示尺寸减小,所述第二窗口的显示尺寸增大;
    或者,
    在所述分屏操作的过程中,所述第一窗口的显示内容的格式随所述分屏操作变化,以使所述第一窗口的显示内容的格式与所述第一窗口的显示尺寸相适应;
    或者,
    在所述分屏操作的过程中,所述第一窗口的显示位置和显示尺寸不变;
    在所述分屏操作结束后,直接在所述第一窗口的一侧显示所述第二窗口。
  3. 根据权利要求1或2所述的方法,其特征在于,如果所述第二窗口为一个全屏窗口,则所述第二窗口的显示内容为以下中一个:用户最近一次浏览的内容、操作系统的桌面、用户在最近一段时间内浏览频次最高的应用程序、可以用于分屏显示的应用程序图标的集合、所述第一窗口的显示内容;
    或者,如果所述第二窗口为包含至少一个子窗口的可操作窗口,则所述第二窗口包括的子窗口的显示内容为以下中至少一个:用户最近一次浏览的内容、操作系统的桌面、用户在最近一段时间内浏览频次最高的应用程序、可以用于分屏显示的应用程序图标的集合、所述第一窗口的显示内容。
  4. 根据权利要求3所述的方法,其特征在于,如果所述操作系统的桌面中所包含的图标对应的应用程序不可以分屏显示,则不可以分屏显示的应用程序对应的图标显示灰色。
  5. 根据权利要求1-4中任一所述的方法,其特征在于,各所述子窗口的排列方式为单行排列方式、单列排列方式、或者多行多列排列。
  6. 根据权利要求1-5中任一所述的方法,其特征在于,所述响应于分屏操作包括:
    检测所述分屏操作对应的窗口分屏模式是否与所述第一窗口的显示内容的格式相匹配,所述窗口分屏模式为所述第一窗口和所述第二窗口分屏显示时的排列方式;
    如果不匹配,则提示用户更改分屏操作,以更改相应的窗口分屏模式。
  7. 根据权利要求1-4、6中任一所述的方法,其特征在于,如果所述第二窗口为一个全屏窗口,则所述响应于所述分屏操作之后,所述方法还包括:
    检测到所述用户在所述第二窗口上的二次分屏操作;
    响应于所述二次分屏操作,将所述第二窗口替换为第三窗口,所述第三窗口为一个全屏窗口或者为包含至少一个子窗口的可操作窗口。
  8. 根据权利要求7所述的方法,其特征在于,所述二次分屏操作为连续滑动操作,其中,所述二次分屏操作的滑动距离的和值大于或者等于第二距离阈值,或者所述二次分屏操作的滑动时长的和值大于或者等于第二时长阈值;
    或者,所述二次分屏操作为连续滑动操作,其中,所述二次分屏操作与所述分屏操作为连续操作,所述分屏操作与所述二次分屏操作的滑动距离的和值大于或者等于第三距离阈值,或者所述分屏操作与所述二次分屏操作的滑动时长的和值大于或者等于第三时长阈值;
    或者,所述二次分屏操作为从所述第二窗口的任意一角向所述第二窗口的内部滑动;
    或者,所述二次分屏操作为至少两指同时向所述第二窗口的内部滑动;
    或者,所述二次分屏操作为从所述第二窗口的底部指定区域向上滑动,或者从所述第三窗口的顶部指定区域向下滑动。
  9. 根据权利要求1-8中任一所述的方法,其特征在于,在所述检测到用户在所述第一窗口上的分屏操作之前,所述方法还包括:
    检测到所述用户在所述第一窗口上的触发操作,所述触发操作为连续滑动操作,且所述触发操作的滑动距离大于或者等于第四距离阈值,或者所述触发操作的滑动时长大于或者等于第四时长阈值,其中,所述第四距离阈值小于所述第一距离阈值,所述第四时长阈值小于所述第一时长阈值;
    响应于所述触发操作,开启所述电子设备的分屏显示功能。
  10. 一种电子设备,其特征在于,包括:显示屏、处理器和存储器;所述显示屏、所述处理器和所述存储器耦合;所述处理器根据所述操作信号调用所述存储器中的程序指令,以使所述电子设备执行如下方法:
    全屏显示第一窗口;
    检测到用户在所述第一窗口上的分屏操作,所述分屏操作为连续滑动操作,且所 述分屏操作的滑动距离大于或者等于第一距离阈值,或者所述分屏操作的滑动时长大于或者等于第一时长阈值;
    响应于所述分屏操作,在所述第一窗口的一侧显示第二窗口,其中,所述第二窗口为一个全屏窗口或者为包含至少一个子窗口的可操作窗口;
    分屏显示所述第一窗口和所述第二窗口。
  11. 根据权利要求10所述的电子设备,其特征在于,
    在所述分屏操作的过程中,所述第一窗口和所述第二窗口的显示位置按照所述分屏操作的滑动方向移动,所述第一窗口的显示尺寸减小,所述第二窗口的显示尺寸增大;
    或者,在所述分屏操作的过程中,所述第一窗口的显示内容的格式随所述分屏操作变化,以使所述第一窗口的显示内容的格式与所述第一窗口的显示尺寸相适应;
    或者,在所述分屏操作的过程中,所述第一窗口的显示位置和显示尺寸不变;在所述分屏操作结束后,直接在所述第一窗口的一侧显示所述第二窗口。
  12. 根据权利要求10或11所述的电子设备,其特征在于,如果所述第二窗口为一个全屏窗口,则所述第二窗口的显示内容为以下中一个:用户最近一次浏览的内容、操作系统的桌面、用户在最近一段时间内浏览频次最高的应用程序、可以用于分屏显示的应用程序图标的集合、所述第一窗口的显示内容;
    或者,如果所述第二窗口为包含至少一个子窗口的可操作窗口,则所述第二窗口包括的子窗口的显示内容为以下中至少一个:用户最近一次浏览的内容、操作系统的桌面、用户在最近一段时间内浏览频次最高的应用程序、可以用于分屏显示的应用程序图标的集合、所述第一窗口的显示内容。
  13. 根据权利要求12所述的电子设备,其特征在于,如果所述操作系统的桌面中所包含的图标对应的应用程序不可以分屏显示,则不可以分屏显示的应用程序对应的图标显示灰色。
  14. 根据权利要求10-13中任一所述的电子设备,其特征在于,各所述子窗口的排列方式为单行排列方式、单列排列方式、或者多行多列排列。
  15. 根据权利要求10-14中任一所述的电子设备,其特征在于,所述电子设备所执行的方法还包括:
    检测所述分屏操作对应的窗口分屏模式是否与所述第一窗口的显示内容的格式相匹配,所述窗口分屏模式为所述第一窗口和所述第二窗口分屏显示时的排列方式;
    如果不匹配,则提示用户更改分屏操作,以更改相应的窗口分屏模式。
  16. 根据权利要求10-13、15中任一所述的电子设备,其特征在于,所述电子设备所执行的方法还包括:
    如果所述第二窗口为一个全屏窗口,则检测到所述用户在所述第二窗口上的二次 分屏操作;
    响应于所述二次分屏操作,将所述第二窗口替换为第三窗口,所述第三窗口为一个全屏窗口或者为包含至少一个子窗口的可操作窗口。
  17. 根据权利要求16所述的电子设备,其特征在于,所述二次分屏操作为连续滑动操作,其中,所述二次分屏操作的滑动距离的和值大于或者等于第二距离阈值,或者所述二次分屏操作的滑动时长的和值大于或者等于第二时长阈值;
    或者,所述二次分屏操作为连续滑动操作,其中,所述二次分屏操作与所述分屏操作为连续操作,所述分屏操作与所述二次分屏操作的滑动距离的和值大于或者等于第三距离阈值,或者所述分屏操作与所述二次分屏操作的滑动时长的和值大于或者等于第三时长阈值;
    或者,所述二次分屏操作为从所述第二窗口的任意一角向所述第二窗口的内部滑动;
    或者,所述二次分屏操作为至少两指同时向所述第二窗口的内部滑动;
    或者,所述二次分屏操作为从所述第二窗口的底部指定区域向上滑动,或者从所述第三窗口的顶部指定区域向下滑动。
  18. 根据权利要求10-17中任一所述的电子设备,其特征在于,所述电子设备所执行的方法还包括:
    检测到所述用户在所述第一窗口上的触发操作,所述触发操作为连续滑动操作,且所述触发操作的滑动距离大于或者等于第四距离阈值,或者所述触发操作的滑动时长大于或者等于第四时长阈值,其中,所述第四距离阈值小于所述第一距离阈值,所述第四时长阈值小于所述第一时长阈值;
    响应于所述触发操作,开启所述电子设备的分屏显示功能。
PCT/CN2021/103949 2020-07-03 2021-07-01 一种分屏显示多个窗口的方法及电子设备 WO2022002188A1 (zh)

Priority Applications (3)

Application Number Priority Date Filing Date Title
US18/004,010 US12039162B2 (en) 2020-07-03 2021-07-01 Method for displaying a plurality of windows in split-screen manner, and electronic device
EP21832558.7A EP4163773A4 (en) 2020-07-03 2021-07-01 METHOD FOR DISPLAYING MULTIPLE WINDOWS ON SPLIT SCREENES AND ELECTRONIC DEVICE
US18/739,020 US20240329831A1 (en) 2020-07-03 2024-06-10 Method for displaying a plurality of windows in split-screen manner, and electronic device

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010632219.9 2020-07-03
CN202010632219.9A CN114089882A (zh) 2020-07-03 2020-07-03 一种分屏显示多个窗口的方法及电子设备

Related Child Applications (2)

Application Number Title Priority Date Filing Date
US18/004,010 A-371-Of-International US12039162B2 (en) 2020-07-03 2021-07-01 Method for displaying a plurality of windows in split-screen manner, and electronic device
US18/739,020 Continuation US20240329831A1 (en) 2020-07-03 2024-06-10 Method for displaying a plurality of windows in split-screen manner, and electronic device

Publications (1)

Publication Number Publication Date
WO2022002188A1 true WO2022002188A1 (zh) 2022-01-06

Family

ID=79315096

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/103949 WO2022002188A1 (zh) 2020-07-03 2021-07-01 一种分屏显示多个窗口的方法及电子设备

Country Status (4)

Country Link
US (2) US12039162B2 (zh)
EP (1) EP4163773A4 (zh)
CN (1) CN114089882A (zh)
WO (1) WO2022002188A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US12001672B2 (en) * 2021-03-26 2024-06-04 Beijing Xiaomi Mobile Software Co., Ltd. Interface display method and apparatus for controlling interactability of simultaneously displayed user interfaces of an application

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116685940A (zh) * 2020-12-22 2023-09-01 苹果公司 用于启动和替换应用程序的系统和方法
WO2023231879A1 (zh) * 2022-05-30 2023-12-07 北京字跳网络技术有限公司 信息处理方法、会话处理方法、装置、设备及介质
CN115119031B (zh) * 2022-06-07 2024-07-19 深圳康佳电子科技有限公司 一种基于无限屏拼窗组合的播放控制方法及相关设备
CN114706521A (zh) * 2022-06-07 2022-07-05 芯行纪科技有限公司 在eda软件界面中管理窗口的方法及相关设备
CN114764365B (zh) * 2022-06-15 2022-09-27 统信软件技术有限公司 一种窗口呈现方法、计算设备及可读存储介质
CN118192913A (zh) * 2022-12-14 2024-06-14 Oppo广东移动通信有限公司 分屏显示方法、装置、终端、存储介质及程序产品
CN117407873A (zh) * 2023-09-11 2024-01-16 华能会理风力发电有限公司 一种移动存储介质存储文件病毒隔离系统
CN117453085B (zh) * 2023-12-22 2024-06-25 荣耀终端有限公司 显示方法、电子设备及存储介质

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104503682A (zh) * 2014-11-07 2015-04-08 联发科技(新加坡)私人有限公司 一种屏幕显示窗口的处理方法以及移动终端
CN104750405A (zh) * 2013-12-31 2015-07-01 研祥智能科技股份有限公司 一种分屏显示方法及其装置
CN106843637A (zh) * 2016-12-22 2017-06-13 深圳众思科技有限公司 分屏方法、终端的用户界面和终端
US20180095809A1 (en) * 2014-01-02 2018-04-05 Samsung Electronics Co., Ltd. Multi-window control method and electronic device supporting the same
CN109032484A (zh) * 2018-07-10 2018-12-18 Oppo广东移动通信有限公司 分屏显示的处理方法、装置、存储介质及电子设备
CN109062469A (zh) * 2018-07-03 2018-12-21 Oppo广东移动通信有限公司 分屏显示方法、装置、存储介质和电子设备
CN109062467A (zh) * 2018-07-03 2018-12-21 Oppo广东移动通信有限公司 分屏应用切换方法、装置、存储介质和电子设备
CN112578982A (zh) * 2019-09-29 2021-03-30 华为技术有限公司 一种对电子设备的操作方法及电子设备

Family Cites Families (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06242760A (ja) 1993-02-18 1994-09-02 Hitachi Ltd マルチウィンドウ切り換え方式
JPH09146750A (ja) 1995-11-24 1997-06-06 Fujitsu Ltd マルチウィンドウ表示装置及びその表示方法
CN103324435B (zh) * 2013-05-24 2017-02-08 华为技术有限公司 分屏显示的方法、装置及其电子设备
US9971500B2 (en) * 2014-06-01 2018-05-15 Apple Inc. Displaying options, assigning notification, ignoring messages, and simultaneous user interface displays in a messaging application
CN105824495B (zh) 2015-11-30 2019-08-20 维沃移动通信有限公司 一种单手操作移动终端的方法以及移动终端
CN105843535B (zh) * 2016-03-18 2019-10-01 深圳市万普拉斯科技有限公司 一种控制面板的控制方法及终端
CN107305462A (zh) 2016-04-18 2017-10-31 滴滴(中国)科技有限公司 一种界面切换方法及装置
US10635299B2 (en) * 2016-06-10 2020-04-28 Apple Inc. Device, method, and graphical user interface for manipulating windows in split screen mode
CN106648420A (zh) 2016-11-21 2017-05-10 北京技德网络技术有限公司 一种切换分屏模式和多窗口模式的方法
CN107690612B (zh) * 2016-12-31 2021-08-10 深圳配天智能技术研究院有限公司 一种显示控制方法及电子设备
CN108958633B (zh) * 2018-07-11 2021-04-13 Oppo广东移动通信有限公司 分屏显示方法、装置、存储介质及电子设备
CN111045578A (zh) * 2018-10-12 2020-04-21 阿里巴巴集团控股有限公司 显示控制方法、显示控制装置、终端设备和电子设备
CN109684024A (zh) 2018-12-29 2019-04-26 深圳Tcl数字技术有限公司 多窗口的显示方法、智能终端及计算机可读存储介质
CN110244893B (zh) * 2019-05-05 2022-02-25 华为技术有限公司 一种分屏显示的操作方法及电子设备
CN110489043B (zh) 2019-07-31 2023-03-24 华为技术有限公司 一种悬浮窗口的管理方法及相关装置
CN110442293A (zh) * 2019-08-02 2019-11-12 Oppo广东移动通信有限公司 分屏应用切换方法、装置以及计算机可读存储介质
CN110727382A (zh) * 2019-09-06 2020-01-24 华为技术有限公司 一种分屏显示方法及电子设备
CN117311869A (zh) * 2020-01-03 2023-12-29 华为技术有限公司 多应用下进行分屏的方法、装置以及电子设备

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104750405A (zh) * 2013-12-31 2015-07-01 研祥智能科技股份有限公司 一种分屏显示方法及其装置
US20180095809A1 (en) * 2014-01-02 2018-04-05 Samsung Electronics Co., Ltd. Multi-window control method and electronic device supporting the same
CN104503682A (zh) * 2014-11-07 2015-04-08 联发科技(新加坡)私人有限公司 一种屏幕显示窗口的处理方法以及移动终端
CN106843637A (zh) * 2016-12-22 2017-06-13 深圳众思科技有限公司 分屏方法、终端的用户界面和终端
CN109062469A (zh) * 2018-07-03 2018-12-21 Oppo广东移动通信有限公司 分屏显示方法、装置、存储介质和电子设备
CN109062467A (zh) * 2018-07-03 2018-12-21 Oppo广东移动通信有限公司 分屏应用切换方法、装置、存储介质和电子设备
CN109032484A (zh) * 2018-07-10 2018-12-18 Oppo广东移动通信有限公司 分屏显示的处理方法、装置、存储介质及电子设备
CN112578982A (zh) * 2019-09-29 2021-03-30 华为技术有限公司 一种对电子设备的操作方法及电子设备

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP4163773A4

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US12001672B2 (en) * 2021-03-26 2024-06-04 Beijing Xiaomi Mobile Software Co., Ltd. Interface display method and apparatus for controlling interactability of simultaneously displayed user interfaces of an application

Also Published As

Publication number Publication date
EP4163773A1 (en) 2023-04-12
US20240329831A1 (en) 2024-10-03
US12039162B2 (en) 2024-07-16
CN114089882A (zh) 2022-02-25
US20230259272A1 (en) 2023-08-17
EP4163773A4 (en) 2023-11-29

Similar Documents

Publication Publication Date Title
WO2022002188A1 (zh) 一种分屏显示多个窗口的方法及电子设备
US11709560B2 (en) Device, method, and graphical user interface for navigating through a user interface using a dynamic object selection indicator
US9645663B2 (en) Electronic display with a virtual bezel
US10168868B2 (en) Method and apparatus for multitasking
TWI507965B (zh) 多螢幕的視窗管理方法、裝置與電腦程式產品
US8019390B2 (en) Statically oriented on-screen transluscent keyboard
KR101810884B1 (ko) 디바이스에서 제스처를 이용한 웹브라우저 인터페이스 제공 장치 및 방법
US9600090B2 (en) Multi-touch integrated desktop environment
US20120096393A1 (en) Method and apparatus for controlling touch screen in mobile terminal responsive to multi-touch inputs
US8988366B2 (en) Multi-touch integrated desktop environment
WO2011084855A1 (en) Device, method, and graphical user interface with interactive popup views
WO2023155811A1 (zh) 页面布局调整方法、装置
CN107066171A (zh) 触屏终端的多窗口切换方法和系统
KR20150095540A (ko) 사용자 단말 장치 및 이의 디스플레이 방법
US12079294B2 (en) Navigation tab control organization and management for web browsers
US9262005B2 (en) Multi-touch integrated desktop environment
EP2661671B1 (en) Multi-touch integrated desktop environment
JP5954936B2 (ja) 携帯端末装置
WO2019061052A1 (zh) 一种用于智能终端的分屏显示控制方法
US20230409187A1 (en) Automatic browsing method, terminal, and computer-readable storage medium
US10489042B2 (en) Display device and computer-readable non-transitory recording medium with display control program stored thereon

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21832558

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2021832558

Country of ref document: EP

Effective date: 20230105

NENP Non-entry into the national phase

Ref country code: DE