CN114416227B - Window switching method, electronic device and readable storage medium - Google Patents

Window switching method, electronic device and readable storage medium Download PDF

Info

Publication number
CN114416227B
CN114416227B CN202111357820.2A CN202111357820A CN114416227B CN 114416227 B CN114416227 B CN 114416227B CN 202111357820 A CN202111357820 A CN 202111357820A CN 114416227 B CN114416227 B CN 114416227B
Authority
CN
China
Prior art keywords
window
screen
interface
application
electronic device
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202111357820.2A
Other languages
Chinese (zh)
Other versions
CN114416227A (en
Inventor
张亚男
王红军
樊志铭
张晶
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN202111357820.2A priority Critical patent/CN114416227B/en
Publication of CN114416227A publication Critical patent/CN114416227A/en
Priority to CN202280007997.6A priority patent/CN116635826A/en
Priority to PCT/CN2022/128266 priority patent/WO2023088068A1/en
Application granted granted Critical
Publication of CN114416227B publication Critical patent/CN114416227B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • 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/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/04842Selection of displayed objects or displayed text elements
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04847Interaction techniques to control parameter settings, e.g. interaction with sliders or dials
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/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/0486Drag-and-drop

Landscapes

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

Abstract

The application relates to the technical field of intelligent terminals, in particular to a window switching method, electronic equipment and a readable storage medium. Wherein the method comprises the following steps: detecting a first touch operation of a user, and displaying a first interface, wherein the first interface comprises a first identifier and at least one application window; the first identification is displayed in a first response area, the first response area is positioned in a display area corresponding to the first interface, and the at least one application window comprises a first application window which displays the interface of the first application; detecting a first dragging operation, and displaying a first application window in a first mode; the first dragging operation comprises the operation of dragging the first application window into the first response area; the first touch operation and the first drag operation are one continuous operation. According to the scheme provided by the application, one-step operation split screen or one-step operation small window can be realized, the operation steps of switching window display modes by a user are simplified, convenience and quickness are realized, and the user experience is improved.

Description

Window switching method, electronic device and readable storage medium
Technical Field
The application relates to the technical field of intelligent terminals, in particular to a window switching method, electronic equipment and a readable storage medium.
Background
With the development of intelligent terminal technology, more and more terminal electronic devices can meet the multi-window use requirements of users, and various multi-mode windows such as a split screen mode and a small window mode are provided for the users, wherein the split screen mode can enable the screen of the electronic device to display two windows for the users to operate, and the small window mode can enable the running application program interface to be displayed in a smaller window in a shrinking mode to run, so that the users can operate other application program interfaces to process emergency matters.
However, in the process of switching the window displayed by the electronic device from the full-screen mode window (the window of the interface of a certain application program displayed in a full screen manner) to the split-screen mode window or to the widget mode window, the user generally needs to perform multiple continuous operations, for example, first operating the application window displayed in the full-screen mode to enter the multi-task interface, and then clicking the application window in the multi-task interface to open the multi-mode window option button to select the split-screen mode from the multi-mode window option button, which results in that the user cannot quickly switch the interface window displayed by the electronic device between the full-screen mode and the split-screen mode or between the full-screen mode and the widget mode.
Disclosure of Invention
The embodiment of the application provides a window switching method, electronic equipment and a readable storage medium, which improve the operation efficiency of switching windows for users and are beneficial to improving user experience.
In a first aspect, an embodiment of the present application provides a window switching method, which is applied to an electronic device, and the method includes: detecting a first touch operation of a user, and displaying a first interface, wherein the first interface comprises a first identifier and at least one application window; the first identification is displayed in a first response area, the first response area is positioned in a display area corresponding to the first interface, and the at least one application window comprises a first application window which displays the interface of the first application; detecting a first dragging operation, and displaying a first application window in a first mode; the first dragging operation comprises the operation of dragging the first application window into the first response area; the first touch operation and the first drag operation are one continuous operation.
When the touch operation of the user for switching the window display mode is detected, a first mark for indicating the position of a preset first mode hot zone is displayed on a display interface of the electronic device, and if the touch operation of the user is continuously detected, the electronic device further drags a first application window on the display interface of the electronic device into the preset hot zone, then the electronic device triggers the first application window to be displayed through the first mode. The first identifier on the first interface may be, for example, a split-screen hot zone icon or a small window hot zone icon described in the following embodiments, or a hot zone mask corresponding to the preset hot zone described in the following embodiments, for example, a small window hot zone 320 or a split-screen hot zone 330 shown in fig. 3 c; the first response area may be, for example, the following The embodiment describes a split-screen hot zone or a small-window hot zone, wherein split-screen hot zone icons are correspondingly displayed in the split-screen hot zone, and small-window hot zone icons are correspondingly displayed in the small-window hot zone. The first application window may be, for example, a WeChat TM The window is an application window, which is also an object window of the user sliding operation described in the following embodiments, and the first mode may be a split-screen hot area or a widget hot area respectively.
The above-mentioned first touch operation and the first drag operation continuous with the same, for example, the operation described in the following embodiments of sliding up to the position of the split-screen hot area icon, or sliding up to the position of the small window hot area icon, or sliding right into the small window hot area or the split-screen hot area, etc., it can be understood that "continuous operation" in the present application, that is, the finger does not leave the screen of the electronic device during the process of executing the first touch operation and the first drag operation, the finger can continuously execute these two operations, and certainly, the finger pauses for a moment on the screen of the electronic device during the operation is also considered as the meaning expressed by the continuous operation. The operation object of the first touch operation and the operation object of the first drag operation are the same object, for example, are both the first application window.
In one possible implementation of the first aspect, dragging the first application window into the first response area includes: the display area of the first application window is located in the first response area; or the size of the overlapping area of the display area of the first application window and the first response area is larger than a preset size threshold value; or detecting that the touch position of the first drag operation is located within the first response area.
The first application window is an object window described in the following embodiments, and the first response area is a preset hot area described in the following embodiments. Thus, what has been described in the above implementation is that dragging the object window into the preset hotbox may include various situations, for example, a situation in which the entire content displayed by the object window display area and the border of the object window are located in the preset hotbox, it is considered that the object window has been dragged into the preset hotbox, or a situation in which the partial content displayed by the object window and the partial border of the object window are located in the preset hotbox and the size of the overlapping area of the object window and the preset hotbox is greater than the preset size threshold is considered that the object window has been dragged into the preset hotbox; or when the touch position of the first dragging operation acted on the object window is detected to be positioned in the preset hot zone, the object window is considered to be dragged into the preset hot zone. The preset size threshold may be set to a reasonable value smaller than the size of the display area of the object window, for example, without limitation.
It may be appreciated that, in the embodiment of the present application, as an example, whether the touch position is located in a preset hot zone may be determined by determining whether the height of the touch position meets a preset height threshold condition and/or determining the position of the touch position on the screen of the electronic device by detecting the coordinate information of the touch position of the first drag operation, which is specifically described with reference to a specific implementation procedure of the corresponding step in the flow shown in fig. 5 in the following embodiment, which is not described herein.
In a possible implementation of the first aspect, the continuous operation includes: the electronic device continuously detects the touch point in the course that the first touch operation and the first drag operation are performed.
That is, the finger does not leave the screen of the electronic device during the first touch operation and the first drag operation performed by the user, and the explanation about the "continuous operation" may be specifically referred to above, which is not described herein.
In a possible implementation of the first aspect, the method further includes: responding to the first dragging operation, displaying a second interface, wherein the second interface comprises a second window and a third window, and the third window is a window after the first application window is displayed in a first mode; the third window is displayed on the second window in a suspending way, the height of the third window is equal to that of the second window, and the width of the third window is smaller than that of the second window; or the third window is displayed on the second window in a suspending way, the width of the third window is equal to that of the second window, and the height of the third window is smaller than that of the second window; or the third window and the second window are displayed in a split screen mode, the height of the third window is equal to the height of the second window, or the width of the third window is equal to the width of the second window.
As shown above, the first drag operation of the user drags the first application window (i.e. the object window) into the first response hot zone (i.e. the preset hot zone), so that the electronic device may display the interface after the object window switches the display mode, i.e. the third interface, in response to the first drag operation of the user. For example, after the preset hot zone is a split-screen hot zone and the user operates to drag the object window to the split-screen hot zone, the electronic device may display a split-screen preparation interface shown in fig. 3j or fig. 3k, where the virtual split-screen window 361 on the split-screen preparation interface 360 shown in fig. 3j is, for example, the third window, and the pending window 362 is the second window; or the left window 371 on the split screen preparation interface 370 shown in fig. 3k is, for example, the third window, and the right window 372 is the second window.
In a possible implementation of the first aspect, the third window portion is displayed in a display screen of the electronic device.
For example, the third window may refer to the virtual split-screen window 361 on the split-screen preparation interface 360 shown in fig. 3j below, and a portion of the virtual split-screen window 361 is displayed on the screen of the electronic device, and the user may drag the control bar 363 on the right edge of the virtual split-screen window 361 to slide to the right, so that the virtual split-screen window 361 is displayed more.
In a possible implementation of the first aspect, before displaying the second interface, the method further includes: the third window is all displayed in a display screen of the electronic device; the third window is automatically moved such that the third window portion is displayed in the display screen.
That is, in response to a first drag operation by the user, the electronic device may display a dynamic interface change process to cause the user to perceive a switching process of the window display mode. For example, referring to the interfaces shown in fig. 3k and 3j below, in response to a user dragging an object window into the split-screen hot zone, the electronic device may display the split-screen preparation interface 370 shown in fig. 3k first, then the left window 371 in the split-screen preparation interface 370 automatically moves to the left, and finally the electronic device displays the split-screen preparation interface 360 shown in fig. 3 j.
In a possible implementation of the first aspect, the second window displays a desktop including at least one application icon or task card, and after displaying the second interface, the method further includes: responding to the operation of the icon or the task card of the second application in the desktop, opening the second application and displaying a second application window, wherein the second application window displays an interface of the second application; the second application window and the third window are displayed in a split screen mode; and when the third window and the second application window are displayed in a split screen mode, the third window is displayed in the display screen.
It can be understood that, in the split-screen mode, it is generally required to determine display contents of two or more windows, when a user operates to drag a first object window (i.e., the first application window) into the split-screen hot area, the electronic device may display the contents in the object window (i.e., the interface of the first application) through one window in the split-screen mode windows, and when the user selects the contents to be displayed in another window in the split-screen mode window (i.e., the interface of the second application), the split-screen mode window displayed by the electronic device displays the contents to be displayed by the user twice respectively, i.e., the two windows in the split-screen mode window display the interface of the first application and the interface of the second application respectively, where the window displaying the interface of the first application is the third window.
In a possible implementation of the first aspect, the method further includes: and responding to the first dragging operation, displaying a third interface, wherein the third interface comprises a second window and a fourth window, the fourth window is a window after the first application window is displayed in the first mode, the second window is displayed in a full screen mode by the electronic equipment, the fourth window is suspended above the second window, the height and the width of the fourth window are smaller than those of the second window, and the fourth window is all displayed in a display screen of the electronic equipment.
As shown above, the first drag operation of the user drags the first application window (i.e. the object window) into the first response hot zone (i.e. the preset hot zone), so that the electronic device may display the interface after the object window switches the display mode, i.e. the third interface, in response to the first drag operation of the user. For example, after the preset hot zone is the small window hot zone and the user operates to drag the object window to the small window hot zone, the electronic device may display an interface shown in fig. 3f, where the application window 310 displayed in suspension in fig. 3f is the fourth window, and the empty window 340 is the second window.
In a possible implementation of the first aspect, the second window displays a desktop including at least one application icon or task card.
Referring to the interface shown in fig. 3f below, the blank window 340 (i.e., the second window described above) may be a desktop of the electronic device, on which application icons or task cards, etc., are located.
In a possible implementation of the first aspect, after the electronic device displays the first interface, the method further includes: in the executing process of the first drag operation, if the distance between the touch position of the first drag operation and the display position of the first mark becomes smaller gradually, the size of the first mark becomes larger gradually.
The process that the user drags the first application window (i.e. the object window) to approach the position where the first identifier is located is the process that the object window approaches the preset hot zone, and in this process, the display size of the first identifier may be gradually increased. As above, the first identifier may be a hotspot icon of a preset hotspot, such as a widget hotspot icon 321 or a split screen hotspot icon 331 shown in fig. 3c below; the first identifier may also be a hot zone mask of the preset hot zone, such as a small window hot zone 320 or a split screen hot zone 330 shown in fig. 3c, or the first identifier includes a hot zone icon and a hot zone mask of the preset hot zone, and in a process that the user drags the object window to approach the preset hot zone, the display size of the hot zone icon and/or the hot zone mask of the preset hot zone may be correspondingly increased, where the size change amplitude of the hot zone mask may be greater than the size change amplitude of the corresponding hot zone icon.
In a possible implementation of the first aspect, before detecting the first touch operation of the user, the electronic device displays a fifth window in full screen, where the fifth window includes a target object acted on by the first touch operation; and the method comprises the following steps: and detecting a first touch operation of a user, and displaying a target object or an interface corresponding to the target object in a first application window on the first interface.
The object window operated by the user can be a window for displaying all or partial content (i.e., a target object) of the fifth window, and the operation of switching the window display mode by the user on the target object in the fifth window can trigger the electronic device to display the target object operated by the user or an interface corresponding to the target object through the target window (i.e., the first application window).
In a possible implementation of the first aspect, the target object includes: any one of an application window, an application icon, a service card, a task window displayed on an application interface, a link displayed on an application interface, an attachment displayed on an application interface, and a task window of a multi-task interface.
For example, when the fifth window is a desktop displayed by the electronic device, the target object may be an application icon, a service card, or a task card in the desktop window; if the fifth window is an application window, the target object may be the application window, or a link, an attachment, text, etc. displayed in the application window, which is not limited herein.
In one possible implementation of the first aspect, the first touch operation is an upward drag operation on the target object; and, in the case where the target object is the fifth window, the start point of the first touch operation is the screen bottom of the electronic device.
That is, as a result of the first touch operation (for example, the following up-sliding operation), the target object is dragged upwards, for example, to the preset hot zone, if the fifth window is an application window, the user up-sliding operation may start to slide upwards from the bottom of the screen of the electronic device, and act on the application window, so that the application window is displayed in a display mode corresponding to the preset hot zone when being dragged to the preset hot zone.
In one possible implementation of the first aspect, detecting a first touch operation by a user, displaying a first interface includes: in the process of dragging the target object to move upwards by the first touch operation, the electronic equipment displays a first interface under the condition that the touch position height of the first touch operation reaches a first preset height; or in the process of dragging the target object to move upwards by the first touch operation, the electronic equipment displays a first interface under the condition that the target object is a fifth window and the reduced scale of the display size of the fifth window reaches a first scale threshold.
The electronic device may trigger to display the first interface by detecting whether the height of the touch position of the user operation target object reaches a preset height threshold (i.e., the first preset height); or the electronic device may trigger to display the first interface by detecting whether the reduced scale of the object window displaying the target object or the interface corresponding to the target object reaches a preset scale threshold (for example, the first scale threshold) in the process of operating the target object by the user.
In a possible implementation of the first aspect, the first identifier is displayed at an upper left corner of the first interface, or the first identifier is displayed at an upper right corner of the first interface.
That is, the location displayed by the first logo may be the upper left or upper right corner on the first interface displayed by the electronic device, and in other embodiments, the first logo may be displayed at other locations other than the upper left or upper right corner of the first interface. For example, referring to FIG. 3c below, a widget hotspot icon 321 or widget hotspot 320 may be displayed in the upper right corner of the interface shown in FIG. 3c to indicate a preset widget hotspot location; a split hot zone icon 331 or a split hot zone 330 may be displayed in the upper left corner of the interface shown in fig. 3c to indicate a preset split hot zone location. In addition, in embodiment 2 below, as shown with reference to FIG. 17b, a small window hot zone 1720 may also be displayed at the right edge of the electronic device screen to indicate a preset small window hot zone location, without limitation.
In a second aspect, an embodiment of the present application provides a window switching method, which is applied to an electronic device, and includes: detecting a first touch operation of a user, and displaying a first interface, wherein the first interface comprises a first identifier, a second identifier and at least one application window; the at least one application window comprises a first application window, and the first application window displays an interface of the first application; under the condition that a first dragging operation is detected, displaying a first application window in a first mode, wherein the first dragging operation comprises an operation of dragging the first application window into a first response area corresponding to a first identifier, and the first response area is located in a display area corresponding to a first interface; and under the condition that the second dragging operation is detected, displaying the first application window in a second mode, wherein the second dragging operation comprises the operation of dragging the first application window into a second response area corresponding to the second identifier, the second response area is positioned in a display area corresponding to the first interface, and the second response area is not overlapped with the first response area.
The display modes of the corresponding triggers of the response areas are different, namely the first response area corresponds to the triggering of the first mode, and the second response area corresponds to the triggering of the second mode; when the first touch operation of the user is detected, the electronic device can display the first identifier and the second identifier respectively to indicate the positions of the two preset response areas. The first interface is, for example, the interface shown in fig. 3c below, the first response area is, for example, a split-screen hot zone, the second response area is, for example, a small-window hot zone, and accordingly, the first identifier is, for example, a split-screen hot zone icon 331 and/or a split-screen hot zone 330 shown in fig. 3c below, and the second identifier is, for example, a small-window hot zone icon 321 and/or a small-window hot zone 320 shown in fig. 3c below, so that the first drag operation is an operation of dragging a first application window (i.e., an object window) to the split-screen hot zone, and the second drag operation is an operation of dragging the object window to the small-window hot zone.
The first dragging operation of dragging the first application window to the first response area corresponding to the first identifier includes that all display areas of the first application window are located in the first response area; or the size of the overlapping area of the display area of the first application window and the first response area is larger than a preset size threshold value; or detecting that the touch position of the first dragging operation acting on the first application window is located in a preset hot zone. For example, the drag operation is an operation of causing all the contents displayed in the object window display area and all the borders of the object window to be located in a preset split-screen hot area, or an operation of causing part of the contents displayed in the object window and part of the borders of the object window to be located in a preset split-screen hot area and the size of the overlapping area of the object window and the split-screen hot area to be greater than a preset size threshold; or the touch position of the drag operation is located within a preset hot zone, etc. There is no limitation in this regard.
The second dragging operation of dragging the first application window to the second response area corresponding to the first identifier includes that all display areas of the first application window are located in the second response area; or the size of the overlapping area of the display area of the first application window and the second response area is larger than a preset size threshold value. For example, the drag operation is an operation of causing all of the content displayed in the object window display area and the border of the object window to be located in a preset widget hot area, or an operation of causing part of the content displayed in the object window and part of the border of the object window to be located in a preset widget hot area and the size of the overlapping area of the object window and the widget hot area to be larger than a preset size threshold; or the touch position of the drag operation is located within a preset hot zone, etc. There is no limitation in this regard.
In this embodiment of the present application, as an example, whether the touch position is located in a preset split screen hot zone or a small window hot zone may be determined by detecting coordinate information of the touch position of the first drag operation, determining whether the height of the touch position meets a preset height threshold condition, and/or determining that the touch position is located on the left side or the right side of the screen of the electronic device. The specific implementation process of the corresponding steps in the flow shown in fig. 5 in the following embodiments may be referred to, and will not be described herein.
In a possible implementation of the second aspect, the method further includes: responding to the first dragging operation, displaying a second interface, wherein the second interface comprises a second window and a third window, and the third window is a window after the first application window is displayed in a first mode; the third window is displayed on the second window in a suspending way, the height of the third window is equal to that of the second window, and the width of the third window is smaller than that of the second window; or the third window is displayed on the second window in a suspending way, the width of the third window is equal to that of the second window, and the height of the third window is smaller than that of the second window; or the third window and the second window are displayed in a split screen mode, the height of the third window is equal to the height of the second window, or the width of the third window is equal to the width of the second window.
That is, in response to a user dragging the object window to the split-screen hot zone, a relevant interface corresponding to the split-screen mode, such as the interface shown in fig. 3j or fig. 3k below, is displayed. Reference may be made specifically to the above related description, and no further description is given here.
In a possible implementation of the second aspect, the third window portion is displayed in a display screen of the electronic device.
In a possible implementation of the second aspect, before displaying the second interface, the method further includes: the third window is all displayed in a display screen of the electronic device; the third window is automatically moved such that the third window portion is displayed in the display screen.
That is, in response to the first drag operation of the user, the electronic device may display a dynamic interface change process, so that the user perceives a switching process of the window display mode, for example, a process that the electronic device displays the interface shown in fig. 3k below and then changes to the interface shown in fig. 3j below, which may be specifically described in the related description, and will not be repeated herein.
In a possible implementation of the second aspect, the second window displays a desktop including at least one application icon or task card, and after displaying the second interface, the method further includes: responding to the operation of the icon or the task card of the second application in the desktop, opening the second application and displaying a second application window, wherein the second application window displays an interface of the second application; the second application window and the third window are displayed in a split screen mode; and when the third window and the second application window are displayed in a split screen mode, the third window is displayed in the display screen.
As described above, the split screen mode generally needs to determine display contents of two or more windows, and in the process that the display mode of the operation object window is switched to the split screen mode, the user selects the contents displayed in two or more windows of the split screen mode window successively, which may be specifically referred to the above related description and will not be repeated herein.
In a possible implementation of the second aspect, the method further includes: and responding to the second dragging operation, displaying a third interface, wherein the third interface comprises a second window and a fourth window, the fourth window is a window after the first application window is displayed in a second mode, the second window is displayed in a full screen mode by the electronic equipment, the fourth window is suspended above the second window, the height and the width of the fourth window are smaller than those of the second window, and the fourth window is all displayed in a display screen of the electronic equipment.
In a possible implementation of the second aspect, the second window displays a desktop including at least one application icon or task card.
That is, in response to a user dragging the object window to the widget hot area, a relevant interface corresponding to the split screen mode, such as the interface shown in fig. 3f below, is displayed. Reference may be made specifically to the above related description, and no further description is given here.
In a possible implementation of the second aspect, after the electronic device displays the first interface, the method further includes: in the executing process of the first dragging operation, if the distance between the touch position of the first dragging operation and the display position of the first mark is gradually reduced, the size of the first mark is gradually increased; or in the execution process of the second dragging operation, if the distance between the touch position of the second dragging operation and the display position of the second mark is gradually reduced, the size of the second mark is gradually increased.
The process that the user drags the first application window (i.e. the object window) to approach the position where the first identifier is located or the position where the second identifier is located is the process that the object window approaches the preset hot zone, and the display size of the first identifier or the second identifier in the preset hot zone where the object window approaches in the process can be gradually increased. For specific reference, the description related to the gradually enlarged display size of the first identifier may be omitted herein.
In one possible implementation of the second aspect, before detecting the first touch operation of the user, the electronic device displays a fifth window in full screen, where the fifth window includes a target object acted on by the first touch operation; and the method comprises the following steps: and detecting a first touch operation of a user, and displaying a target object or an interface corresponding to the target object in a first application window on the first interface.
In a possible implementation of the second aspect, the target object includes: any one of an application window, an application icon, a service card, a task window displayed on an application interface, a link displayed on an application interface, an attachment displayed on an application interface, and a task window of a multi-task interface.
The object window operated by the user can be a window for displaying all or partial content (i.e., a target object) of the fifth window, and the operation of switching the window display mode by the user on the target object in the fifth window can trigger the electronic device to display the target object operated by the user or an interface corresponding to the target object through the target window (i.e., the first application window). Reference may be made specifically to the above related description, and no further description is given here.
In one possible implementation of the above second aspect, the first touch operation is an upward drag operation on the target object; and, in the case where the target object is the fifth window, the start point of the first touch operation is the screen bottom of the electronic device.
In one possible implementation manner of the second aspect, detecting a first touch operation of the user, displaying a first interface includes: in the process of dragging the target object to move upwards by the first touch operation, the electronic equipment displays a first interface under the condition that the touch position height of the first touch operation reaches a first preset height; or in the process of dragging the target object to move upwards by the first touch operation, the electronic equipment displays a first interface under the condition that the target object is a fifth window and the reduced scale of the display size of the fifth window reaches a first scale threshold.
The electronic equipment can trigger and display the first interface by detecting whether the height of the touch position of the user operation target object reaches a first preset height; or triggering to display the first interface by detecting whether the reduced proportion of the object window of the display target object or the interface corresponding to the target object reaches a first proportion threshold value in the process of operating the target object by a user to move. Reference may be made specifically to the above related description, and no further description is given here.
It can be appreciated that in some embodiments, in a process that the user operates the target object to continuously drag to the preset split-screen hot zone, the electronic device may further trigger to display the split-screen effect simulation interface by determining whether the height of the touch position reaches the second preset height; wherein the second preset height is greater than the first preset height.
In other embodiments, in the process that the user operates the target object to continuously drag to the preset split screen hot zone, the electronic device may further trigger to display the split screen effect simulation interface by judging whether the reduced proportion of the target object or the object window of the interface corresponding to the target object reaches the second proportion threshold; wherein the second proportional threshold is greater than the first proportional threshold.
In one possible implementation of the second aspect, the first drag operation and the first touch operation are one continuous operation; or the second drag operation and the first touch operation are one continuous operation.
The continuous operation indicates that the finger does not leave the screen of the electronic device in the process of executing the first touch operation and the first drag operation by the user; or the finger does not leave the screen of the electronic device during the first touch operation and the second drag operation performed by the user.
In a possible implementation of the above second aspect, the first identifier is displayed in an upper left corner of the first interface, and the second identifier is displayed in an upper right corner of the first interface; or the first logo is displayed in the upper right hand corner of the first interface and the second logo is displayed in the upper left hand corner of the first interface.
For example, the widget hotspot 320 and widget hotspot icon 321 shown in fig. 3c below are displayed in the upper right hand corner of the screen, and the split-screen hotspot 330 and split-screen hotspot icon 331 are displayed in the upper left hand corner of the screen. In other embodiments, the widget hot zone 320 and/or widget hot zone icon 321 may also be displayed in the upper left corner of the electronic device screen, and the split-screen hot zone 330 and/or split-screen hot zone icon 331 may also be displayed in the upper right corner of the electronic device screen, without limitation.
In a third aspect, an embodiment of the present application provides an electronic device, including: one or more processors; one or more memories; the one or more memories store one or more programs that, when executed by the one or more processors, cause the electronic device to perform the window switching method described above.
In a fourth aspect, embodiments of the present application provide a computer-readable storage medium having instructions stored thereon, which when executed on a computer, cause the computer to perform the above-described window switching method.
In a fifth aspect, embodiments of the present application provide a computer program product comprising a computer program/instruction which, when executed by a processor, implements the above-described window switching method.
Drawings
Fig. 1a to 1d are schematic views of an operation procedure interface for switching window display modes in the prior art.
Fig. 2a to 2c are schematic views of another conventional operation procedure interface for switching window display modes.
Fig. 3a to 3m are schematic interface diagrams illustrating some window switching processes according to embodiments of the present application.
Fig. 3n to 3p are schematic interface diagrams illustrating some adjustment of the layout of the split-screen mode window according to the embodiments of the present application.
Fig. 4 is a schematic hardware structure of an electronic device 300 according to an embodiment of the present application.
Fig. 5 is a schematic flow chart of an implementation of a window switching method provided in embodiment 1 of the present application.
Fig. 6a to fig. 6c are schematic diagrams illustrating touch positions corresponding to a user operation provided in embodiment 1 of the present application.
Fig. 7a to 7f are schematic interface diagrams illustrating some window switching processes according to embodiment 1 of the present application.
Fig. 8a to 8d are schematic interface views of another window switching process according to embodiment 1 of the present application.
Fig. 9a to 9b are schematic interface views of other window switching processes according to embodiment 1 of the present application.
Fig. 10a to 10d are schematic interface views of another window switching process according to embodiment 1 of the present application.
Fig. 11a to 11d are schematic interface views of other window switching processes according to embodiment 1 of the present application. Fig. 12a to 12d are schematic interface views of other window switching processes according to embodiment 1 of the present application. Fig. 13a to 13d are schematic interface views of other window switching processes according to embodiment 1 of the present application.
Fig. 14 is a schematic diagram of an interface corresponding to a window switching operation provided in embodiment 1 of the present application.
Fig. 15a to 15b are schematic views of some split-screen window layout style interfaces provided in embodiment 1 of the present application.
Fig. 16 is a schematic flow chart of another implementation of the window switching method provided in embodiment 2 of the present application.
Fig. 17a to 17e are schematic interface diagrams illustrating some window switching procedures according to embodiment 2 of the present application.
Fig. 18 is a block diagram of a software structure of an electronic device 300 according to an embodiment of the present application.
Fig. 19 is a schematic diagram of an interaction process between a user behavior and a system behavior of an electronic device 300 according to an embodiment of the present application.
Detailed Description
As an example, fig. 1a to 1c show a schematic diagram of an operation procedure interface of a conventional switching window.
As shown in fig. 1a, the folding screen mobile phone 100 displays a WeChat in full screen mode TM An interface 101 of an application; when the user wants to send and receive messages on the WeChat while watching video, he/she can operate the folding screen mobile phone 100 to cutInstead, the split-screen mode window shown in fig. 1b is displayed, where the folded-screen mobile phone 100 displays WeChat in two windows in the split-screen mode respectively TM The interface 101 of the application and the interface 102 of the video application. When a user wants to temporarily collapse the interface 102 of a video application, the WeChat is processed first TM When in message, the folding screen mobile phone 100 can be operated to switch the interface 102 of the video application to the small window mode window display shown in fig. 1c, i.e. the folding screen mobile phone 100 displays the interface 102 of the video application in the small window mode window, and the WeChat TM The interface 101 of the application is then displayed full screen below the widget mode window. It is understood that in the description of the embodiments of the present application, full screen display refers to that the screen display area of the electronic device 300 is used to display the content of a desktop or a certain application window, or that the screen display area of the electronic device is the display area of the desktop or the certain application window.
Specifically, in the process of switching the folding screen mobile phone 100 from the full-screen mode window shown in fig. 1a to the split-screen mode window shown in fig. 1b, the user needs to slide up from the bottom of the screen shown in fig. 1a (refer to operation (1) shown in fig. 1 a), enter the multi-task interface 103 shown in fig. 1d, and click on the WeChat in the multi-task interface 103 TM The interface 101' of the application opens the multi-mode window option button 104, then clicks the split-screen mode button 105 from the multi-mode window option button 104 to make the folding-screen mobile phone 100 enter the split-screen mode, and finally selects the interface of the video application as the interface displayed in another window in the split-screen mode to enter the split-screen mode window shown in fig. 1 b. Therefore, the operation process of switching the window display mode is complex, so that the operation efficiency of switching the window display mode by the user is low and the experience is poor.
Fig. 2a to 2c show a schematic diagram of another prior art operation procedure interface for switching window display modes.
As shown in fig. 2a, the tablet 200 displays an application window, which may be, for example, a WeChat TM Window 201, in WeChat TM The top of the window 201 displays a touch pad 202 for switching window display modes, and a user clicking on the touch pad 202 opens the mode option 203 shown in fig. 2b。
As shown in fig. 2b, the mode options 203 include a full screen mode button 031, a split screen mode button 032, and a small window mode button 033, it will be appreciated that in other embodiments, the small window mode may also be referred to as a floating window mode. Clicking the split mode button 032 by the user in the mode option 203 shown in fig. 2b may enter the split mode window shown in fig. 2c, as shown in fig. 2c, one window of the split mode window displays a WeChat TM The content in window 201, another window, may display an interface of another application that was recently opened, such as video application interface 204.
However, when the user operates the tablet pc 200 to switch from the full-screen mode window shown in fig. 2a to the split-screen mode window shown in fig. 2c, multiple operations are also required, so that the operation efficiency is low, and the user experience is poor.
In order to solve the problems of complex operation steps and low operation efficiency of a user in the current window display mode switching, the embodiment of the application provides a window switching method, which is characterized in that a hot zone (hereinafter referred to as a small window hot zone) for triggering a small window mode and/or a hot zone (hereinafter referred to as a split screen hot zone) for triggering a split screen mode are arranged on electronic equipment, when a user is detected to drag an object window into a preset hot zone, the electronic equipment is triggered to switch the display mode of the object window into a display mode corresponding to the preset hot zone, for example, when the user is detected to drag the object window into the preset split screen hot zone, the electronic equipment is triggered to switch the display mode of the object window into the split screen mode. The operation of dragging the object window into the preset hot zone by the user may be, for example, a preset sliding operation gesture, such as a sliding operation of pressing and dragging long on the screen of the electronic device or sliding upwards from the bottom of the screen to drag the window upwards. According to the window switching scheme provided by the embodiment of the application, the display mode of the object window displayed by the electronic equipment can be switched to the split screen mode (namely, the one-step split screen operation process) or to the small window mode (namely, the one-step small window operation process) through one-step operation, so that the operation steps of switching the window display mode by a user are simplified, convenience and quickness are realized, the operation efficiency of switching the window by the user is improved, and further the user experience is improved.
It is to be understood that the object window may be an application window displaying an application interface, or a video task window, an access link, a text, an attachment, etc. displayed on the application interface, or may be an application icon displayed on a desktop of the electronic device, a service card, or a task card displayed on a multitasking interface of the electronic device, etc., which is not limited herein. The operation of dragging the object window into the preset hot zone includes dragging the object window to make all display areas, border portions, and the like of the object window in the preset hot zone, or making the size of an overlapping area of the display area of the object window and the preset hot zone be greater than a preset size threshold, for example, the area of the overlapping area is greater than a preset area threshold, or detecting that a touch position of the operation of dragging the object window into the preset hot zone is located in the preset hot zone, and the like, which is not limited herein.
For example, fig. 3a to 3m show some interface diagrams during a window switching method implemented by the electronic device 300 according to an embodiment of the present application.
Fig. 3a to 3c show a scenario of triggering and displaying the position of the small window hot zone and/or the position of the split screen hot zone.
Referring to operation (2) shown in fig. 3a, the user may slide up (i.e., up operation) from the bottom of the screen of the electronic device 300 that displays a certain application interface in full screen, and referring to fig. 3b, the application window 310 of the electronic device 300 that displays the application interface may become smaller gradually during the up operation of the user. With further reference to fig. 3c, when the application window 310 is reduced to a certain extent during the user sliding operation, the electronic device 300 may display a hot zone mask on a small window hot zone and/or a split screen hot zone preset on the screen to indicate the position of the preset hot zone, and it is understood that the hot zone size set on the screen of the electronic device 300 may be fixed, while the hot zone mask size displayed on the hot zone may be variable in size, so as to guide the user to drag the application window 310 to a corresponding preset hot zone range, where the maximum size of the hot zone mask may be equal to or smaller than the preset hot zone size. For ease of description, the porthole hot zone 320 shown in fig. 3c may be understood as a hot zone mask over the porthole hot zone, and the split screen hot zone 330 may be understood as a hot zone mask over the split screen hot zone, and unless specifically stated otherwise in the following description, the description of the porthole hot zone or the split screen hot zone with the corresponding hot zone mask is generally not distinguished.
In other embodiments, the size of the hot zone may also be varied, for example, the hot zone size may be set to be varied in proportion to the corresponding hot zone mask size, etc., without limitation.
It should be understood that, in some embodiments, the operation of dragging the application window 310 (i.e., the object window) to the corresponding preset hot zone range may be the operation of dragging the object window to the hot zone mask displayed above the preset hot zone, including dragging the object window to make all the display area of the object window and the window frame and so on all the display area of the object window to be within the range covered by the hot zone mask displayed above the preset hot zone, or to make the size of the overlapping area of the display area of the object window and the hot zone mask displayed above the preset hot zone be greater than the preset size threshold, for example, the area of the overlapping area is greater than the preset area threshold, or the touch position of the operation of detecting that the object window is dragged to the preset hot zone is within the range covered by the hot zone mask displayed above the preset hot zone, which is not limited herein. In some embodiments of the present application, whether the touch position is within a range covered by a hot zone mask displayed on a preset hot zone may be determined by detecting the obtained coordinate information of the touch position of the dragged object window to determine whether the height of the touch position meets a preset height threshold condition, and/or determining the position of the touch position on the screen of the electronic device, which may be specifically described with reference to a specific implementation procedure of the corresponding steps in the flow shown in fig. 5 in the following embodiments, which is not described herein.
With continued reference to FIG. 3c, a trigger widget hot zone 320 and a split screen hot zone 330 are shown. The user may continue to drag the application window 310 to slide upward and rightward until the hand is released in the widget hot area 320, triggering the widget mode; the user may also drag the application window 310 to slide up and left until the hands are loosened in the split-screen hot zone 330, and the split-screen mode is triggered, which will be described in detail below, and will not be repeated here. As also shown in FIG. 3c, a widget hot zone icon 321 may be displayed in the widget hot zone 320, and a split screen hot zone icon 331 may be displayed in the split screen hot zone 330 for indicating the widget hot zone and the split screen hot zone. The display sizes of the small window hot zone 320 and the split screen hot zone 330 may be larger than the display size of the preset hot zone icon.
It will be appreciated that in other embodiments, only the small window hot zone 320 or the split screen hot zone 330 may be disposed on the screen of the electronic device 300, and in this case, when the user performs the above-mentioned sliding operation on the application window 310 on the screen of the electronic device 300, the interface shown in fig. 3c may display only the small window hot zone icon 321 or the split screen hot zone icon 331, respectively. In other embodiments, the positions of the widget hot zone icon 321 and the corresponding widget hot zone 320, the split-screen hot zone icon 331 and the corresponding split-screen hot zone 330 shown in fig. 3c may be interchanged, that is, the widget hot zone icon 321 is displayed at the upper left side of the screen of the electronic device 300 to indicate the position of the widget hot zone 320, the split-screen hot zone icon 331 is displayed at the upper right side of the screen of the electronic device 300 to indicate the position of the split-screen hot zone 330, and other application windows at two sides of the application window 310 may be hidden on the interface shown in fig. 3c, which is not limited herein.
Fig. 3d to 3f show operation scenarios for switching to the widget mode window.
Referring to operation (3) shown in fig. 3d, the display size of the widget hot area 320 may be gradually increased while the user drags the application window 310 to slide into the widget hot area 320 at the upper right of the screen of the electronic device 300. Alternatively, the widget hotspot icon 321 within the widget hotspot 320 may also be correspondingly larger, wherein the rate of change of the display size of the widget hotspot icon 321 may be smaller than the rate of change of the display size of the widget hotspot 320. Meanwhile, as shown in fig. 3d, the size of the application window 310 may be further reduced, and at this time, the split-screen hot zone and the split-screen hot zone icon at the upper left side of the screen of the electronic device 300 may be hidden and not displayed, which is not limited herein.
Referring to operation (4) shown in fig. 3e, the user may drag the application window 310 completely into the widget hot zone 320, for example, the whole display area of the application window 310 is completely within the area covered by the widget hot zone 320 displayed by the electronic device 300, the display size of the widget hot zone 320 (i.e. the size of the area covered by the widget hot zone 320) may be further enlarged during the movement of the application window 310 into the widget hot zone 320, and meanwhile, the application window 310 may also gradually cover the widget hot zone icon displayed in the widget hot zone 320, and the border of the widget hot zone icon may be displayed in bold or in other striking changes, which may be understood that, in fig. 3e, the effect of the border of the widget hot zone icon 321 is not shown in bold due to the shielding of the application window 310. When the user releases a finger within the widget hotspot 320, releasing the application window 310 located within the widget hotspot 320 may trigger the display of the application window 310 as a widget mode window, i.e., the electronic device 300 may be triggered to display the interface shown in fig. 3 f.
Referring to fig. 3f, after the user releases the application window 310 by releasing his/her hand in the widget hot area 320, the application window 310 in the widget mode may be displayed on the right upper side of the electronic device 300, and at this time, a desktop or another interface of an application program may be displayed in the screen blank window 340 of the electronic device 300, that is, the application window 310 in the widget mode is displayed in a floating manner on the desktop or another interface of the application program displayed in the blank window 340.
It will be appreciated that the application window 310 shown in fig. 3a to 3f may be a window displaying an interface of any application installed on the electronic device 300, for example, the application window 310 may be a WeChat TM The application window, or video application window, etc., is not limited herein.
It will be appreciated that the interface changing process corresponding to the operation (3) shown in fig. 3d and the operation (4) shown in fig. 3e is reversible, that is, after the user performs the operation (3) shown in fig. 3d or the operation (4) shown in fig. 3e, the user may perform the reverse sliding operation corresponding to the operation (3) or the operation (4) to return to the interface before the widget mode is triggered, for example, the user performs the reverse sliding operation corresponding to the operation (3) shown in fig. 3d, for example, the operation of sliding down to return to the bottom of the screen of the electronic device 300, so that the interface shown in fig. 3d is gradually converted into the interface shown in fig. 3c, the interface shown in fig. 3b, and up to the interface shown in fig. 3a, which is not limited.
Fig. 3g to 3j show a scene of switching to the split screen mode window.
Referring to operation (5) shown in fig. 3g, in the process that the user drags the application window 310 to slide in the split-screen hot-zone 330 at the upper left side of the screen of the electronic device 300, the display size of the split-screen hot-zone 330 may be gradually increased, and optionally, the split-screen hot-zone icon 331 in the split-screen hot-zone 330 may be correspondingly increased, where the rate of change of the display size of the split-screen hot-zone icon 331 may be smaller than the rate of change of the display size of the split-screen hot-zone 330. Meanwhile, as shown in fig. 3g, the size of the application window 310 may be further reduced, and the small window hot zone icon at the upper right side of the screen of the electronic device 300 may be hidden and not displayed, which is not limited herein.
Referring to operation (6) shown in fig. 3h, the user may drag the application window 310 completely into the split-screen hot zone 330, for example, the whole display area of the application window 310 is completely within the area covered by the split-screen hot zone 330 displayed by the electronic device 300, the display size of the split-screen hot zone 330 (i.e. the size of the area covered by the split-screen hot zone 330) may be further enlarged during the movement of the application window 310 towards the split-screen hot zone 330, and meanwhile, the application window 310 may gradually cover the split-screen hot zone icon displayed in the split-screen hot zone 330, and the frame of the split-screen hot zone icon may be displayed in bold or in other striking changes, which may be understood that the effect of the bold display of the frame 321 of the split-screen hot zone icon is not shown due to the shielding of the application window 310 in fig. 3 h.
In other embodiments, the electronic device 300 may also display the simulated split screen interface shown in FIG. 3i when the application window 310 is dragged entirely within the split screen hot zone 330.
Referring to fig. 3i, in the analog split screen interface 350 displayed on the electronic device 300, the display content in the application window 310 may be displayed through the left window 351 of the analog split screen interface 350, where the left window 351 may, for example, highlight in a dark background a selected state in which the left window 351 is the corresponding display application window 310 content; the right window 352 of the analog split screen interface 350 may be displayed as a window interface state to which display content is to be added. It will be appreciated that when the electronic device 300 displays the analog split screen interface 350, the status bar at the top of the electronic device 300 may be overlaid by the displayed analog split screen interface 350, which is not limited herein. In other embodiments, the style of the analog split screen window displayed by the electronic device 300 may be other styles, which are not limited herein.
Further, when the user releases a finger within the split-screen hot zone 330, releasing the application window 310 located within the split-screen hot zone 330 may trigger the display of the application window 310 as a split-screen mode window. It will be appreciated that the split-screen interface displayed by the electronic device 300 generally includes two or more split-screen windows for displaying application interfaces, where the application interfaces displayed in each split-screen window may be different interfaces of the same application or interfaces of different applications, and is not limited herein. It will be appreciated that when the user first completes releasing the finger release application window 310 within the split-screen hot zone 330, the electronic device 300 may display a preliminary interface in split-screen mode, such as the interface shown in FIG. 3j, before displaying the final split-screen interface.
Referring to fig. 3j, when the user first completes the operation of releasing the finger release application window 310 in the split-screen hot zone 330, the electronic device 300 may display a split-screen preparation interface 360, which split-screen preparation interface 360 may be understood as a preparation interface before entering the split-screen interface. As shown in fig. 3j, the split-screen preparation interface 360 includes a virtual split-screen window 361 at the left edge and a pending window 362, wherein the virtual split-screen window 361 may be displayed in a floating manner above the pending window 362. Virtual split screen window 361 is used to display content in application window 310, such as displaying WeChat displayed in example application window 310 described above TM An interface of the application. The pending window 362 may then be used to display a desktop or another application interface selected by the user, such as displaying the above-described examples with WeChat TM The interface of the application forms a split-screen video playing interface, which is not limited herein.
In other embodiments, the virtual split window 361 shown in fig. 3j may also be displayed on the right edge of the split preparation interface 360, or on the top of the split preparation interface 360, etc., such as the interface style shown in fig. 9a below, without limitation.
It will be appreciated that the virtual split window 361 shown in fig. 3j may be retracted toward the left side of the screen of the electronic device 300, and the user may expand the virtual split window 361 to the right by, for example, dragging the control bar 363 at the right edge of the virtual split window 361 to slide to the right, thereby expanding the display size of the virtual split window 361. It will be appreciated that in other embodiments, the user may drag the right edge position of the control bar 363 to the right to stretch the virtual split screen window 361 to the right, which is not limited herein.
It will be appreciated that the user may release the finger release application window 310 within the left side window 351 of the simulated split screen interface 350 shown in fig. 3i described above to trigger the electronic device 300 to display the split screen preparation interface 360 shown in fig. 3 j; the user may also release the finger release application window 310 in the split-screen hot zone 330 shown in fig. 3h to trigger the electronic device 300 to display the split-screen preparation interface 360 shown in fig. 3j, which is not limited herein.
In other embodiments, the operation of releasing the application window 310 by the user triggers the split-screen preparation interface displayed by the electronic device 300, which may be different from the form of the split-screen preparation interface shown in fig. 3j and described above, for example, may be the form of the split-screen preparation interface shown in fig. 3k and 3l, which is not limited herein.
Referring to fig. 3k, in the split-screen preparation interface 370 displayed by the electronic device 300, a left window 371 may be used to display contents in the application window 310, a right window 372 may be used to display a desktop or another application interface selected by a user, and since the display contents in the right window 372 shown in fig. 3k are pending, the right window 372 may also be referred to as a pending window 372 in the following description.
It will be appreciated that in some embodiments, when the user may release the application window 310 by releasing his hands in the split-screen hot zone 330 shown in fig. 3h or in the left window 351 of the analog split-screen interface 350 shown in fig. 3i, the electronic device 300 may display an interface change procedure from the interface shown in fig. 3k to the interface shown in fig. 3j, i.e. the electronic device 300 may also display the split-screen preparation interface 370 shown in fig. 3k first, and then the left window 371 in the split-screen preparation interface 370 displayed by the electronic device 300 automatically moves to the left until the electronic device 300 displays the split-screen preparation interface 360 shown in fig. 3j, which is not limited herein.
Referring to fig. 3l, in the split screen preparation interface 380 displayed on the electronic device 300, a split screen effect window 381 displayed at the upper left position of the screen is included, and the split screen preparation interface 380 further includes a pending window 382 that may be used to display a desktop or another application interface, where a dark mode window 383 in the split screen effect window 381 is, for example, a window selected by the user to display the content of the application window 310, and a blank window 384 in the split screen effect window 381 may be used to display another application interface that is correspondingly selected by the operation of the user to trigger the split screen mode next. It will be appreciated that, when the user performs the operation of triggering the split screen mode again, that is, the operations of fig. 3a to 3c and fig. 3g to 3h or fig. 3i, and selects another application interface as the content displayed together with the content displayed in the application window 310 through the split screen interface, the electronic device 300 may display a final split screen interface, for example, the split screen interface 390 shown in fig. 3m, where the left window 391 and the right window 392 are split screen displayed.
In addition, on the split screen preparation interface 380 shown in fig. 3l, the user may also perform a sliding operation in the split screen effect window 381 displayed at the upper left side of the screen to adjust the layout style of the split screen window.
Fig. 3n to 3p are schematic interface diagrams illustrating a sliding operation performed in a split-screen effect window displayed by the electronic device 300 to adjust a split-screen mode window layout according to an embodiment of the present application. It can be understood that, after the user performs the sliding operation in the split-screen effect window 381 to adjust the layout of the split-screen mode window, the split-screen interface that is finally displayed by the electronic device 300 after the subsequent user completes the operation of triggering the split-screen mode correspondingly for multiple times is displayed in the adjusted layout style of the split-screen mode window.
Referring to fig. 3n, for example, the user can slide left and right in the split effect window 381, and can switch the left and right display positions of the dark mode window 383 and the blank window 384.
Referring to fig. 3o, for example, the user may slide right and up in the left dark color mode window 383 of the split screen effect window 381, and may switch the window layout of the dark color mode window 383 and the blank window 384 in the left-right direction to the window layout in the up-down direction, for example, the dark color mode window 383 is switched to the display above the blank window 384, which is not limited herein. It will be appreciated that the split effect window 381 shown in fig. 3n and 3o having two windows may be referred to as a split effect window, and if there are three or more windows in the split effect window 381 displayed by the electronic device 300, it may be referred to as a three-split effect window or a multi-split effect window, referring specifically to the interface shown in fig. 3p below.
Referring to fig. 3p, for example, the user may slide up in the left dark color mode window 383 of the split-screen effect window 381, and may move up the dark color mode window 383 and add a blank window 385 again, and form a triple-split-screen effect window together with the blank window 384. In other embodiments, the user may also switch the split effect window 381 to other forms of two-split effect window, three-split effect window, and multiple-split effect window by sliding within the split effect window 381, which is not limited herein.
It will be appreciated that, when the user only completes the operation of switching the first application window to the split screen mode window, in the split screen preparation interface shown in fig. 3j to 3l, after the user completes the selection of the content to be displayed in the other pending window 362, 372 or 382 in the split screen mode window, for example, after the user may select another application from the desktop application icons displayed in the pending window 382, the user selects, for example, a video application, and when the user clicks the selected video application icon, the split screen preparation interface displayed by the electronic device 300 is automatically switched to the mode of the split screen interface, wherein the mode of the split screen interface may refer to the split screen interface 390 shown in fig. 3m, wherein the left side window 391 of the split screen interface 390 shown in fig. 3m displays the content in the first application window operated by the user, for example, a WeChat TM The interface, shown in FIG. 3m as a right window of split screen interface 390, displays the user's selectionsInterface of video application for displaying WeChat TM The left side window 391 of the interface is split screen displayed with the right side window 392 of the interface displaying the video application. In other embodiments, after the electronic device 300 displays the split-screen preparation interface, when the user clicks another application on the desktop, the split-screen interface displayed by the electronic device 300 may also have other styles, which are not limited herein.
It is understood that the electronic device 300 implementing the window switching scheme in the embodiments of the present application includes, but is not limited to, various types of electronic devices such as mobile phones (including folding screen mobile phones), tablet computers, laptop computers, desktop computers, servers, wearable devices, head mounted displays, mobile email devices, car set devices, portable game consoles, portable music players, reader devices, televisions with one or more processors embedded or coupled therein, and the like.
Illustratively, fig. 4 shows a hardware architecture diagram of an electronic device 300.
As shown in fig. 4, the electronic device 300 may include a processor 110, an external memory interface 120, an internal memory 121, a sensor module 180, a display screen 190, and the like. The sensor modules 180 may include, among other things, a pressure sensor 180A, an acceleration sensor 180E, a proximity light sensor 180G, a touch sensor 180K, an ambient light sensor 180L, and the like.
It is to be understood that the structure illustrated in the embodiments of the present application does not constitute a specific limitation on the electronic device 300. In other embodiments of the present application, electronic device 300 may include more or fewer components than shown, or certain components may be combined, or certain components may be split, or different arrangements of components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
The processor 110 may include one or more processing units, such as: the processor 110 may include an application processor (application processor, AP), a modem processor, a graphics processor (graphics processing unit, GPU), an image signal processor (image signal processor, ISP), a controller, a video codec, a digital signal processor (digital signal processor, DSP), a baseband processor, and/or a neural network processor (neural-network processing unit, NPU), etc. Wherein the different processing units may be separate devices or may be integrated in one or more processors. The controller can generate operation control signals according to the instruction operation codes and the time sequence signals to finish the control of instruction fetching and instruction execution. A memory may also be provided in the processor 110 for storing instructions and data. In the embodiment of the present application, relevant instructions and data for executing the window switching method of the present application may be stored in the memory for the processor 110 to call, and the processor 110 may control the execution of each step of implementing the window switching method by the controller, and the specific implementation process will be described in detail below, which will not be repeated herein.
In some embodiments, the processor 110 may include one or more interfaces. The interfaces may include an integrated circuit (inter-integrated circuit, I2C) interface, a mobile industry processor interface (mobile industry processor interface, MIPI), a general-purpose input/output (GPIO) interface, a subscriber identity module (subscriber identity module, SIM) interface, and/or a universal serial bus (universal serial bus, USB) interface, among others.
The I2C interface is a bi-directional synchronous serial bus comprising a serial data line (SDA) and a serial clock line (derail clock line, SCL). In some embodiments, the processor 110 may contain multiple sets of I2C buses. The processor 110 may be coupled to the touch sensor 180K, etc. through different I2C bus interfaces, respectively. For example: the processor 110 may be coupled to the touch sensor 180K through an I2C interface, such that the processor 110 communicates with the touch sensor 180K through an I2C bus interface to implement a touch function of the electronic device 300.
The MIPI interface may be used to connect the processor 110 to peripheral devices such as the display screen 190. The MIPI interfaces include camera serial interfaces (camera serial interface, CSI), display serial interfaces (display serial interface, DSI), and the like. Processor 110 and display screen 190 communicate via a DSI interface to implement the display functionality of electronic device 300.
The GPIO interface may be configured by software. The GPIO interface may be configured as a control signal or as a data signal. In some embodiments, a GPIO interface may be used to connect the processor 110 display screen 190, the sensor module 180, etc. The GPIO interface may also be configured as an I2C interface, MIPI interface, etc.
It should be understood that the interfacing relationship between the modules illustrated in the embodiments of the present application is only illustrative, and does not limit the structure of the electronic device 300. In other embodiments of the present application, the electronic device 300 may also use different interfacing manners, or a combination of multiple interfacing manners in the foregoing embodiments.
The electronic device 300 implements display functions through a GPU, a display screen 190, an application processor, and the like. The GPU is a microprocessor for image processing, and is connected to the display screen 190 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. Processor 110 may include one or more GPUs that execute program instructions to generate or change display information.
The display screen 190 is used to display images, videos, and the like. The display screen 190 includes a display panel. The display panel may employ a liquid crystal display (liquid crystal display, LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode (AMOLED) or an active-matrix organic light-emitting diode (matrix organic light emitting diode), a flexible light-emitting diode (flex), a Mini-LED, a Micro-OLED, a quantum dot light-emitting diode (quantum dot light emitting diodes, QLED), or the like. In some embodiments, the electronic device 300 may include 1 or N display screens 190, N being a positive integer greater than 1. In embodiments of the present application, a split-screen hot zone and/or a small window hot zone may be provided on the display screen 190 in response to a user's finger sliding into the split-screen hot zone or the small window hot zone. For example, a split-screen hot zone is disposed in an upper left region of the display screen 190, and a small window hot zone is disposed in an upper right region of the display screen 190; alternatively, the split-screen thermal zone may be disposed in an upper right region of the display screen 190, and the widget thermal zone may be disposed in an upper left region of the display screen 190. Reference is made specifically to the following detailed description, and no further details are given here.
The external memory interface 120 may be used to connect an external memory card, such as a Micro SD card, to enable expansion of the memory capabilities of the electronic device 300. The external memory card communicates with the processor 110 through an external memory interface 120 to implement data storage functions. For example, files such as music, video, etc. are stored in an external memory card.
The internal memory 121 may be used to store computer executable program code that includes instructions. The internal memory 121 may include a storage program area and a storage data area. The storage program area may store an application program (such as a sound playing function, an image playing function, etc.) required for at least one function of the operating system, etc. The storage data area may store data created during use of the electronic device 300 (e.g., audio data, phonebook, etc.), and so on. In addition, the internal memory 121 may include a high-speed random access memory, and may further include a nonvolatile memory such as at least one magnetic disk storage device, a flash memory device, a universal flash memory (universal flash storage, UFS), and the like. The processor 110 performs various functional applications of the electronic device 300 and data processing by executing instructions stored in the internal memory 121 and/or instructions stored in a memory provided in the processor.
In the embodiment of the present application, the internal memory 121 may store an execution instruction for implementing the window switching method of the present application, so that the processor 110 may call the execution instruction to implement the window switching method of the present application, so that the electronic device 300 implements a function of rapidly switching the window display mode.
The pressure sensor 180A is used to sense a pressure signal, and may convert the pressure signal into an electrical signal. In some embodiments, the pressure sensor 180A may be disposed on the display screen 190. The pressure sensor 180A is of various types, such as a resistive pressure sensor, an inductive pressure sensor, a capacitive pressure sensor, and the like. The capacitive pressure sensor may be a capacitive pressure sensor comprising at least two parallel plates with conductive material. The capacitance between the electrodes changes when a force is applied to the pressure sensor 180A. The electronic device 300 determines the strength of the pressure from the change in capacitance. When a touch operation is applied to the display screen 190, the electronic apparatus 300 detects the intensity of the touch operation according to the pressure sensor 180A. The electronic device 300 may also calculate the location of the touch based on the detection signal of the pressure sensor 180A. In some embodiments, touch operations that act on the same touch location, but at different touch operation strengths, may correspond to different operation instructions. For example: and executing an instruction for checking the short message when the touch operation with the touch operation intensity smaller than the first pressure threshold acts on the short message application icon. And executing an instruction for newly creating the short message when the touch operation with the touch operation intensity being greater than or equal to the first pressure threshold acts on the short message application icon.
The acceleration sensor 180E may detect the magnitude of acceleration of the electronic device 300 in various directions (typically three axes). The magnitude and direction of gravity may be detected when the electronic device 300 is stationary. The electronic equipment gesture recognition method can also be used for recognizing the gesture of the electronic equipment, and is applied to horizontal and vertical screen switching, pedometers and other applications.
The proximity light sensor 180G may include, for example, a Light Emitting Diode (LED) and a light detector, such as a photodiode. The light emitting diode may be an infrared light emitting diode. The electronic device 300 emits infrared light outward through the light emitting diode. The electronic device 300 uses a photodiode to detect infrared reflected light from nearby objects. When sufficient reflected light is detected, it may be determined that an object is in the vicinity of the electronic device 300. When insufficient reflected light is detected, the electronic device 300 may determine that there is no object in the vicinity of the electronic device 300. The proximity light sensor 180G may also be used in holster mode, pocket mode to automatically unlock and lock the screen.
The ambient light sensor 180L is used to sense ambient light level. The electronic device 300 may adaptively adjust the brightness of the display screen 190 based on the perceived ambient light level. The ambient light sensor 180L may also be used to automatically adjust white balance when taking a photograph. Ambient light sensor 180L may also cooperate with proximity light sensor 180G to detect whether electronic device 300 is in a pocket to prevent false touches.
The touch sensor 180K, also referred to as a "touch device". The touch sensor 180K may be disposed on the display screen 190, and the touch sensor 180K and the display screen 190 form a touch screen, which is also referred to as a "touch screen". The touch sensor 180K is for detecting a touch operation acting thereon or thereabout. The touch sensor may communicate the detected touch operation to the application processor to determine the touch event type. Visual output related to the touch operation may be provided through the display screen 190. In this embodiment of the present application, for example, a touch screen formed by the touch sensor 180K and the display screen 190 may detect a sliding operation of a user, and along with the sliding operation of the user, the touch screen may display a corresponding interface change, for example, a split-screen hot zone icon is displayed in a split-screen hot zone, and a widget hot zone icon is displayed in a widget hot zone, etc., for example, the sliding operation of the user slides to the split-screen hot zone on the display screen 190 or the widget hot zone to loosen the hand, and then the touch screen may display an object window of the sliding operation of the user in the split-screen mode window or in the widget mode window, which will be specifically described in detail below, and will not be described herein. In other embodiments, the touch sensor 180K may also be disposed on the surface of the electronic device 300 at a different location than the display 190.
Based on the structure of the electronic device 300 shown in fig. 4, the implementation procedure of the window switching scheme according to the embodiment of the present application will be described in detail below with reference to the accompanying drawings. In the following, by way of example, a specific procedure for implementing the window switching method of the embodiment of the present application by the electronic device 300 will be described when the split-screen hot zone and the small-window hot zone of the electronic device 300 are disposed at the upper left and upper right of the screen.
Example 1
As described above, in other embodiments, the location of the small window hot zone and/or the split-screen hot zone on the screen of the electronic device 300 may be any reasonable distribution, which is not limited herein. As an example, on the electronic device 300 provided in the embodiment of the present application, a split-screen hot zone for triggering and displaying a split-screen mode window and a widget hot zone for triggering and displaying a widget mode window may be respectively disposed at the upper left and upper right of the screen. The following describes in detail the specific process of implementing the window switching method of the embodiment of the present application by the electronic device 300 in conjunction with the flowchart and the related interface schematic diagrams.
Fig. 5 is a schematic diagram of an implementation flow chart of a window switching method according to an embodiment of the present application, and it can be understood that an execution subject of each step of the flow shown in fig. 5 is the electronic device 300, and the execution subject will not be described repeatedly in each step.
As shown in fig. 5, the flow includes the steps of:
501: a user operation for switching the window display mode is detected, and an object window of the operation is identified.
For example, the user may perform an operation of sliding up and down or sliding left and right on the screen of the electronic device 300, and the electronic device 300 may consider that the user operation for switching the window display mode is detected when detecting an operation of dragging the object window into a small window hot zone or a split screen hot zone preset on the screen of the electronic device 300 by the user. The electronic device 300 may collect coordinate data of a touch location corresponding to a sliding operation of a user on a screen, object window information corresponding to the touch location, and the like, so as to determine whether the user drags the object window to a preset hot zone. It is understood that, the determination of the case where the user drags the object window to the preset hot zone may include a case where all of the display area and the frame portion of the object window are located in the preset hot zone, a case where the size of the overlapping area of the display area of the object window and the preset hot zone is greater than a preset size threshold, a case where the touch position of the drag operation acting on the object window is detected to be located in the preset hot zone, and the like, which is not limited herein.
It will be appreciated that the sliding operation performed by the user on the screen of the electronic device 300 may be, for example, the operation (2) shown in fig. 3a described above, that is, the operation of sliding the currently displayed application window upward from the bottom of the screen of the electronic device 300. In other embodiments, the sliding operation performed by the user on the screen of the electronic device 300 may be an operation of sliding up by long pressing a desktop application icon displayed on the electronic device 300, or an operation of sliding up by long pressing a certain video task window or document in an application interface displayed on the electronic device 300 by the user, which is not limited herein. The above operation of sliding the application icon on the desktop of the long-press electronic device 300 upwards, and the interface change corresponding to the operation of sliding a video task window or a document on the application interface displayed by the long-press electronic device 300 upwards will be described in conjunction with the interface schematic diagram below, and will not be described herein.
It will be appreciated that, when the electronic device 300 detects a user operation for switching the window display mode, a corresponding operation object, that is, the above-described object window, may be determined based on the touch position coordinate data of the user touching the screen of the electronic device 300. For example, the application window 310 in the interface shown in fig. 3a to 3c is an object window of the user sliding up on the screen of the electronic device 300, and it can be understood that the window size of the object window may be gradually reduced in the process of moving the object window upwards by the user, which may be specifically described with reference to fig. 3a to 3c, and will not be repeated herein.
In other embodiments, the electronic device 300 may also determine whether the user operation for switching the window display mode is detected by detecting a sliding path of the user sliding operation on the screen, that is, detecting a moving track of the touch position, and matching the sliding path with a preset sliding path for switching the window display mode, which is not limited herein. The sliding path of the sliding operation of the user can be a straight line, an arc line, a curve line or the like.
502: and judging whether the reduction ratio of the object window is smaller than or equal to a preset ratio threshold value. If the judgment result is yes, that is, when the reduction ratio of the object window is less than or equal to the preset ratio threshold, executing step 503, and displaying a hot zone mask and/or a hot zone icon corresponding to the preset hot zone on the screen; if the judgment result is no, that is, the reduction ratio of the object window is greater than the preset ratio threshold, the judgment process of the step 502 is continuously executed.
Illustratively, the reduction scale of the object window may be determined by calculating a ratio between the real-time window size of the object window and the object window size under full screen display. After the electronic device 300 identifies the sliding operation of the user as the up-sliding operation and identifies the object window of the sliding operation of the user (i.e., the up-sliding operation) in step 501, the electronic device 300 may calculate the reduced scale of the object window based on the real-time window size of the object window, and compare with the preset scale threshold on the electronic device 300, where the preset scale threshold may be, for example, set to 70%, 75% or other reasonable values, which is not limited herein.
In other embodiments, when the electronic device 300 executes the step 502, it may also determine whether the change corresponding to the object window reaches the condition for triggering and displaying the hot zone mask and/or the hot zone icon corresponding to the preset hot zone by determining whether the real-time height of the touch position of the user or the real-time height of the object window meets the preset height threshold condition, for example, and the condition for triggering and displaying is not limited herein.
503: and displaying a hot zone mask and/or a hot zone icon corresponding to the preset hot zone.
For example, if the electronic device 300 determines that the reduction ratio of the object window is less than or equal to the preset ratio threshold in the step 502, a hot zone mask and/or a hot zone icon corresponding to the preset hot zone may be displayed on the screen of the electronic device 300, where the preset hot zone on the screen of the electronic device 300 may be, for example, the split-screen hot zone and/or the small window hot zone, and when the split-screen hot zone is preset on the screen of the electronic device 300, if the determination result of the step 502 is yes, the electronic device 300 may display the split-screen hot zone 330 and/or the split-screen hot zone icon 331; if the result of the determination in step 502 is no, the electronic device 300 may display the widget hot area 320 and/or the widget hot area icon 321. In some embodiments, the split-screen hot zone and the small-window hot zone may be set on the screen of the electronic device 300 at the same time, and if the result of the determination in the step 502 is yes, the electronic device 300 may display the interface shown in fig. 3c, which is not limited herein.
As an example, taking the case that the split-screen hot zone and the small window hot zone are set on the screen of the electronic device 300 at the same time, for example, the preset ratio threshold in the electronic device 300 is 75%, when the reduction ratio of the electronic device 300 in the judging object window (i.e. the application window 310) reaches 75%, the split-screen hot zone icon 331 and the small window hot zone icon 321 shown in fig. 3c are displayed on the screen of the electronic device 300, where the split-screen hot zone icon 331 may be displayed in the split-screen hot zone 330 shown in fig. 3c, and the small window hot zone icon 321 may be displayed in the small window hot zone 320 shown in fig. 3 c.
Referring to FIG. 3c above, in some embodiments, split-screen hotspot 330 and/or split-screen hotspot icon 331 may be displayed at the top left of the screen of electronic device 300, and widget hotspot 320 and/or widget hotspot icon 321 may be displayed at the top right of the screen of electronic device 300. In other embodiments, the widget hotspot 320 and/or widget hotspot icon 321 may also be displayed at the upper left of the screen of the electronic device 300, and the split-screen hotspot 330 and/or split-screen hotspot icon 331 may be displayed at the upper right of the screen of the electronic device 300. In other embodiments, the hot zone mask and/or the hot zone icon corresponding to the preset hot zone may be displayed on a screen of the electronic device 300 at other positions convenient for the user to operate, which is not limited herein.
It is further understood that, when the electronic device 300 is in the landscape mode, the display positions of the small window hot zone, the split-screen hot zone, the small window hot zone icons, and the split-screen hot zone icons may be correspondingly adjusted to be in the upper left area, the upper right area, or other areas convenient for the user to operate in the landscape mode, which is not limited herein.
It will be appreciated that the size of the display size of the hotspot mask and/or the hotspot icon displayed by the electronic device 300 may be reasonably preset, and the range of variation of the display size may be preset, so that when the object window approaches the preset hotspot range, the variation of the object window approach distance can be indicated by the variation of the display size of the hotspot mask and/or the variation of the display size of the hotspot icon. The details will be described in detail below, and are not described in detail herein.
504: and judging whether the height of the touch position corresponding to the user operation reaches a first preset height. If the height of the touch position corresponding to the user operation object window reaches the first preset height, that is, if the judgment result is yes, executing the following step 505 to further judge whether the touch position corresponding to the user operation object window is located at the left side of the screen of the electronic device 300 or at the right side of the screen of the electronic device 300; if the height of the touch position corresponding to the user operation object window does not reach the first preset height, that is, if the determination result is no, the step 504 is continuously executed, and whether the height of the touch position corresponding to the user operation object window reaches the first preset height is continuously determined.
For example, the electronic device 300 may acquire, in real time, coordinate data of a touch location of a sliding operation of a user in a process of detecting that the window of the user operation object continues to move upwards, and determine whether the height of the touch location reaches a first preset height. For example, referring to fig. 6a, for example, 1/2 of the screen height H of the electronic device 300 may be set as a first preset height, the electronic device 300 may acquire coordinate data corresponding to the touch position 601 of the user operation object window 610 in real time, and further may determine the height H of the touch position 601. As shown in fig. 6a, the height H of the touch position 601 and the reference line of the screen height H of the electronic device 300 may be the same as the straight line 602 where the lower edge of the screen of the electronic device 300 is located. In this way, when the electronic device 300 determines that the height H of the touch position 601 is greater than or equal to H/2, it may be determined that the height of the touch position corresponding to the user operation object window 610 reaches the first preset height, that is, the determination result is yes; when the height H of the touch position 601 is less than H/2, it may be determined that the height of the touch position corresponding to the user operation object window 610 does not reach the first preset height, i.e., the determination result is no.
In other embodiments, the electronic device 300 may also determine whether the real-time height of the object window reaches the first preset height by detecting the real-time position of the object window, where the real-time height of the object window may be, for example, the height of the geometric center point of the object window, and the electronic device 300 may determine the position of the object window based on the coordinate information of the touch position where the user sliding up operation is detected, the relative positional relationship between the object window and the touch position where the user sliding up operation is detected, and so on. It will be appreciated that in other embodiments, the height of the object window may also be determined with reference to the height of other points within the object window, such as the height of the midpoint of the upper edge of the object window as the height of the object window, etc.; in addition, in other embodiments, the first preset height may be set to other values, for example, may be set to 2H/3, or set to 30mm, etc., which is not limited herein.
It should be understood that the determining process performed in the present step 504 and the determining process performed in the following step 505 are both for determining whether the electronic device 300 needs to switch the currently displayed interface, and in other embodiments, the electronic device 300 may determine whether the currently displayed interface needs to be switched by determining other threshold conditions when performing the present step 504, for example, the electronic device 300 may determine whether the currently displayed interface needs to be switched by determining whether the contact ratio between the display area of the object window and the preset hot area on the screen meets the preset contact ratio threshold, or whether the display size reduction ratio of the object window during the user's sliding operation reaches another ratio threshold different from the preset ratio threshold in the above step 502, which is not limited herein.
505: and judging whether the touch control position corresponding to the user operation is positioned in the left area or the right area of the screen so as to determine the window display mode corresponding to the switching of the user operation. If it is determined that the touch position corresponding to the user operation object window is located in the left area of the screen of the electronic device 300, it may be determined that the user operation is an operation of switching the display mode of the object window to the split screen mode, and the electronic device 300 further executes step 506 described below to display a guide interface switched to the split screen mode window; if it is determined that the touch location corresponding to the user operation object window is located in the right area of the screen of the electronic device 300, it may be determined that the user operation is an operation of switching the display mode of the object window to the widget mode window, and then the following step 510 is executed to display a guide interface switched to the widget mode window.
For example, the electronic device 300 may determine whether the touch position is located in the left area or the right area of the screen based on the touch position coordinate data of the user operation object window. Wherein, for the division of the screen left area and the screen right area of the electronic device 300, for example, a left screen display area of the screen vertical symmetry axis of the electronic device 300 may be defined as a screen left area; the screen display area on the right side of the screen vertical symmetry axis of the electronic device 300 is defined as the screen right-side area. Referring to fig. 6b, the left screen display area of the screen vertical symmetry axis 603 of the electronic device 300 is the screen left area 620 of the electronic device 300; the right screen display area of the screen vertical symmetry axis 603 of the electronic device 300 is the screen right area 630 of the electronic device 300. If the electronic device 300 determines that the touch position of the user operation object window is located in the left area 620 of the screen shown in fig. 6b, it may be determined that the user operation is an operation of switching the display mode of the object window to the split screen mode; if the electronic apparatus 300 determines that the touch position of the user operation object window is located within the screen right area 630 shown in fig. 6b, it may be determined that the user operation is an operation of switching the display mode of the object window to the widget mode.
It will be appreciated that, in other embodiments, the case where the touch position of the object window is located in the left area 620 of the screen may also be determined as an operation of switching the display mode of the object window to the widget mode; and the case where the touch position of the user operation object window is located in the screen right area 630 is determined as an operation of switching the display mode of the object window to the split screen mode, which is not limited herein. The operation of the electronic device 300 to determine whether the touch position is located in the left area or the right area of the screen as to switch the display mode of the object window to the split screen mode or the small window mode should correspond to the hot zone mask and/or the hot zone icon corresponding to the preset hot zone displayed in step 503.
In other embodiments, the electronic device 300 may also determine whether the object window is located in the left area or the right area of the screen based on the coordinate data of the touch position of the object window operated by the user and the relative position relationship between the object window operated by the user and the touch position, and further determine whether to continue to perform step 506 or step 510 described below, which is not limited herein.
506: and displaying a guide interface switched to the split screen mode window.
For example, in the above step 505, if the electronic device 300 determines that the touch location corresponding to the user operation object window is located in the left area of the screen of the electronic device 300, the electronic device 300 may display a guiding interface for switching to the split screen mode window. Referring to fig. 3g, when the user operation object window (i.e., the application window 310 shown in fig. 3 g) moves to the left area of the screen of the electronic device 300 and the height H of the user touch position is 1/2 of the screen height H of the electronic device 300, the display size of the split-screen hot zone 330 may be increased to the size shown in fig. 3g, the display size of the split-screen hot zone icon 331 may be correspondingly increased to the size shown in fig. 3g, and the display size of the application window 310 operated by the user may be decreased to the size shown in fig. 3g, i.e., the interface shown in fig. 3g may be used to guide the user operation object window to move into the split-screen hot zone 330. Reference may be made specifically to the above description and the above description of fig. 3g, and this is not repeated here.
It can be understood that, in the process of moving the user operation object window into the split-screen hot zone 330, the display size of the split-screen hot zone 330 shown in fig. 3g may also be continuously increased to the display size of the split-screen hot zone 330 shown in fig. 3h, and when the touch position corresponding to the user operation object window is located in the split-screen hot zone 330, all or part of the display area of the object window is located in the range of the split-screen hot zone 330, at this time, the display mode of the split-screen hot zone icon 331 may be switched to guide the user to select the display position of the object window in the split-screen interface to be displayed, which is not repeated herein.
507: and judging whether the height of the touch position corresponding to the user operation reaches a second preset height. If the height of the touch position corresponding to the user operation object window reaches the second preset height, that is, if the judgment result is yes, executing the following step 508, and displaying an analog split screen interface corresponding to the split screen mode; if the height of the touch position corresponding to the user operation object window does not reach the second preset height, that is, if the judgment result is no, the step 507 is continuously executed, and whether the height of the touch position corresponding to the user operation object window reaches the second preset height is continuously judged.
For example, during the process that the user continues to move the operation object window into the preset hot zone, the electronic device 300 may further determine whether the height of the touch position corresponding to the operation object window reaches a second preset height, where the second preset height may be, for example, 3/4 of the screen height H of the electronic device 300, and the second preset height is greater than the first preset height. Referring to fig. 6c, in the process that the user operation object window 610 moves up to the preset hot zone, the height H of the touch position 601 becomes gradually larger correspondingly, and when H is greater than or equal to 3H/4, the electronic device 300 may determine that the height of the touch position corresponding to the user operation object window reaches the second preset height; if H is less than 3H/4, the electronic device 300 determines that the height of the touch position corresponding to the user operation object window does not reach the second preset height.
In other embodiments, the electronic device 300 may also determine whether the real-time height of the object window reaches the second preset height by detecting the real-time position of the object window, where the real-time height of the object window may be, for example, the height of the geometric center point of the object window, the height of other position points on the object window, and the like, which is not limited herein; in addition, in other embodiments, the second preset height may also be set to other values greater than the first preset height, for example, may be set to 3H/5, or set to 60mm, etc., which is not limited herein.
It will be appreciated that the determining process performed in this step 507 and the determining process performed in the following step 511 are both for determining whether the electronic device 300 switches the display mode of the object window to the display mode corresponding to the preset hot zone, and in other embodiments, the electronic device 300 may determine whether to switch the display mode of the object window to the display mode corresponding to the preset hot zone by determining other threshold conditions when performing this step 507 or the following step 511, for example, the electronic device 300 may determine whether the display mode of the object window is switched to the display mode corresponding to the preset hot zone by determining whether the overlap ratio between the display area of the object window and the preset hot zone area on the screen meets another overlap ratio threshold, or whether the display size reduction ratio of the object window reaches another ratio threshold different from the preset ratio threshold in the foregoing steps 502 and 504 during the user's sliding operation, which is not limited.
It will be appreciated that, the location of the area of the preset hot zone on the screen of the electronic device 300 is generally fixed after setting, so that the height of the preset hot zone and the location coordinate information of the preset hot zone on the screen are both fixed, so that the second height threshold referred to in the determining process of this step 507 may be set reasonably, for example, based on the height of the preset hot zone, and in the determining process of step 505, the determining conditions corresponding to the left side and the right side of the screen may be set reasonably based on the location coordinate information of the preset hot zone on the screen, where the determining conditions corresponding to the left side and the right side of the screen may be, for example, the preset coordinate data range, and the like, and are not limited herein. As an example, after the second height threshold value and the corresponding judgment conditions of the left side and the right side of the screen are reasonably set based on the height and position coordinate information of the preset hot zone, when the height of the touch position of the operation of dragging the object window is detected to reach the second height threshold value, and the touch position is determined to be positioned at the left side of the screen in the step 505, it may be determined that the object window has been dragged into the preset hot zone, for example, the preset hot zone may be a split-screen hot zone; when the height of the touch position of the operation of dragging the object window is detected to reach the second height threshold, and it is determined in the above step 505 that the touch position is located on the right side of the screen, it may be determined that the object window has been dragged into a preset hot zone, for example, the preset hot zone may be a small window hot zone.
In addition, it is understood that the process of determining whether to drag the object window into the preset hot zone according to the preset height determination condition and the touch position on the left side of the screen or the right side of the screen in this step 507 is not limited to the specific limitation of "drag the object window into the preset hot zone", and in other embodiments, it may also be determined whether to drag the object window into the preset hot zone according to other preset conditions.
508: displaying an analog split screen interface with a split screen mode window effect.
In the above step 507, when the electronic device 300 determines that the height of the touch position corresponding to the user operation object window reaches the second preset height, for example, the height H of the touch position 601 corresponding to the user operation object window is equal to or greater than 3H/4, the electronic device 300 may display an analog split screen interface, which may refer to the analog split screen interface 350 shown in fig. 3i, and the left window 351 may be highlighted, for example, by a dark-mode interface, to indicate that the left window 351 is a window selected by the user for displaying the content of the object window (i.e., the application window 310 shown in fig. 3 i), and at this time, the object window may also be located in the display range of the left window 351, and particularly may refer to the display range shown in fig. 3i and related description, which will not be repeated herein.
509: and detecting the operation of releasing the object window in the split-screen hot area by the user, and displaying a split-screen mode window.
Illustratively, in the analog split screen interface displayed by the electronic device 300, for example, in the analog split screen interface 350 shown in fig. 3i, if the electronic device 300 detects that the user is released from the left window 351 of the analog split screen interface 350, the electronic device 300 may display the object window through the split screen mode window, that is, complete the process of switching the display mode of the object window to the split screen mode. In other embodiments, the electronic device 300 may also display the object window through the split-screen mode window when detecting that the user slides up to operate the object window in the split-screen hot zone 330 shown in fig. 3h to release the object window, so as to complete the process of switching the display mode of the object window to the split-screen mode, which is not limited herein.
So far, the user finishes switching the object window to the split screen mode window through one-step continuous up-sliding operation, and the user operation is simple and quick.
For example, the split-screen mode window displayed by the electronic device 300 may refer to several interface styles shown in fig. 3j to 3l, and the related descriptions of fig. 3j to 3l are not repeated here.
510: and displaying a guide interface for switching to the small window mode window.
For example, in the above step 505, if the electronic device 300 determines that the touch location corresponding to the user operation object window is located in the right area of the screen of the electronic device 300, the electronic device 300 may display a switch to the widget mode guidance interface. Referring to fig. 3d, when the user operation object window (i.e., the application window 310 shown in fig. 3 d) moves to the right area of the screen of the electronic device 300 and the height H of the user touch position is 1/2 of the screen height H of the electronic device 300, the display size of the widget region 320 may be increased to the size shown in fig. 3d, and the display size of the widget region icon 321 may be correspondingly increased to the size shown in fig. 3d, and the display size of the application window 310 operated by the user may be reduced to the size shown in fig. 3d, i.e., the interface shown in fig. 3d may be used to guide the user operation application window 310 to move into the widget region 320. Reference may be made specifically to the above description and the above description of fig. 3d, and no further details are given here.
It can be understood that, in the process of moving the user operation object window into the widget hot area 320, the display size of the widget hot area 320 shown in fig. 3d may be further increased to the display size of the widget hot area 320 shown in fig. 3e, and when the touch position corresponding to the user operation object window is located in the widget hot area 320, all or part of the display area of the object window is located in the range of the widget hot area 320, at this time, the display mode of the object window may be switched to the widget mode by switching the display style of the widget hot area icon 321 to prompt the user to release the object window at the position, which may be specifically referred to as shown in fig. 3h and described in the related description.
511: and judging whether the height of the touch position corresponding to the user operation reaches a second preset height. If the height of the touch position corresponding to the user operation object window reaches the second preset height, that is, if the judgment result is yes, executing the following step 512, and continuing to detect the further operation of the user; if the height of the touch position corresponding to the user operation object window does not reach the second preset height, that is, if the determination result is no, the step 511 is continuously executed, and whether the height of the touch position corresponding to the user operation object window reaches the second preset height is continuously determined.
For a specific process of determining whether the height of the touch position corresponding to the user operation object window reaches the second preset height by the electronic device 300, reference may be made to the description related to step 507, which is not repeated herein.
512: and detecting the operation of releasing the object window in the widget hot area by a user, and displaying the widget mode window.
In the above step 511, when the electronic device 300 determines that the height of the touch position corresponding to the user operation object window reaches the second preset height, for example, the height H of the touch position corresponding to the user operation object window is equal to or greater than 3H/4, the electronic device 300 may display the interface shown in fig. 3e, and if the electronic device 300 detects that the user is released from the user in the widget hot zone 320 shown in fig. 3e to release the object window (i.e. the application window 310 shown in fig. 3 e), the electronic device 300 may display the application window 310 through the widget mode window, i.e. the process of switching the object window to the widget mode window is completed.
So far, the user finishes switching the object window to the small window mode window through one-step continuous up-sliding operation, and the user operation is simple and quick.
For example, the widget mode window displayed by the electronic device 300 may refer to the interface style shown in fig. 3f and the related description about fig. 3f, which are not described herein.
In addition, it can be appreciated that the interface layout effects after the object window displayed by the different electronic devices 300 is switched to the widget mode window or switched to the split screen mode window may be different, and the interface layout effects after the application window of the same electronic device 300 is switched to the widget mode window or switched to the split screen mode window may be different. As an example, based on the implementation flow shown in fig. 5, several different types of electronic devices 300 are described below with reference to the accompanying drawings, and the switching effect achieved by the window switching scheme of the present application is exemplarily described with reference to application windows of different applications as object windows operated by a user.
Fig. 7a to 7f are schematic interface diagrams illustrating an electronic device 300 switching to a widget mode window or a split screen mode window displaying a corresponding interface in response to a user operation according to an embodiment of the present application.
As shown in fig. 7a, after the user operates the electronic device 300 and the interface changes shown in fig. 3a to 3e, a widget mode interface 710 shown in fig. 7a may be displayed, where a widget mode application window 711 is displayed on the upper right side of the widget mode interface 710, and the widget mode interface 710 further includes a desktop window 712, that is, a case where a desktop is displayed in the blank window 340 shown in fig. 3 f; wherein the widget mode application window 711 may be displayed in floating manner over the desktop window 712. It will be appreciated that, on the widget mode interface 710 shown in fig. 7a, the user may perform a sliding operation in the widget mode application window 711 and the desktop window 712, for example, sliding a switching page left and right; illustratively, displayed in, for example, widget mode application window 711 is WeChat TM The user can slide up and down in the small window mode application window 711 to view information and slide left and right to switch WeChat TM Pages in the application, clicking the head portrait of a certain contact person to enter a chat interface, and the like; in the desktop window 712, the user may slide the toggle page left and right, and the user may also click on an application icon, e.g., click on Hua Cheng TM Video icon 701 causes electronic device 300 to run the video application, etc., so that the interface displayed by desktop window 712 switches to appear as TM And (3) an interface of the video.
It will be appreciated that, on the widget mode interface 710 shown in fig. 7a, the user may also drag the widget mode application window 711 to any position on the desktop window 712, and may also adjust the size of the widget mode application window 711, or click a full screen button on the widget mode application window 711, so that the electronic device 300 displays the content in the widget mode application window 711 in full screen. In other embodiments, the user may adjust the display position, the size of the display size, etc. of the widget mode application window 711 through other reasonable operation manners, which are not limited herein.
As shown in fig. 7b, for example, when the electronic device 300 is an electronic device, after the user operates the electronic device 300 to change the interfaces shown in fig. 3a to 3c and fig. 3g to 3i, a split screen preparation interface 720 shown in fig. 7b may be displayed, where a split screen mode application window 721 is displayed on the left side edge of the split screen preparation interface 720, and the split screen preparation interface 720 further includes a desktop window 722, that is, in the case of displaying a desktop in the pending window 362 shown in fig. 3 j; wherein the split-screen mode application window 721 may be displayed in a floating manner above the desktop window 722, in other embodiments, the relative position of the split-screen mode application window 721 and the desktop window 722 may be other types, which are not limited herein.
As shown in FIG. 7b, the display size of the split-screen mode application window 721 at the left edge of the split-screen preparation interface 720 is smaller, which can cause the split-screen mode application window 721 to interfere with the display of the desktop window 722 to a smaller extent, if the user wishes to operate the content displayed by the split-screen mode application window 721, for example, weChat TM The right edge of the split screen mode application window 721 may be dragged to slide rightward (refer to operation (7) shown in fig. 7 b), or the display size of the split screen mode application window 721 may be enlarged with reference to the operation of dragging the control bar 363 to slide rightward shown in fig. 3j, and the electronic device 300 may display the split screen preparation interface 730 shown in fig. 7 c. In some embodiments, the user may also drag the right edge of the split mode application window 721 to either the right edge of the split preparation interface 720 or the right edge of the desktop window 722 to cause the electronic device 300 to display the WeChat full screen TM The interface of the application is not limited herein.
As shown in fig. 7c, in the left window 731 of the split screen preparation interface 730 displayed on the electronic device 300, the content in the split screen mode application window 721 may be displayed, and the right window 732 of the split screen preparation interface 730 may display a desktop.
In other embodiments, the split-screen preparation interface 730 displayed by the electronic device 300 may also be the interface style shown in fig. 7d, which is not limited herein. Unlike fig. 7c, the desktop displayed in the right window 732 in the split-screen preparation interface 730 shown in fig. 7d may automatically arrange the positions of the application icons from top to bottom according to the initial letters of the names of the installed application programs, and the right window 732 may display the area 733 of the application icons, and may also display the search box 734, if more application programs are installed on the electronic device 300, the user may input the application names or keywords that want to be opened in the search box 734, quickly search the application icons and click to run the application, which will not be described herein. In other embodiments, the desktop layout style displayed in the window for displaying the desktop in the split-screen preparation interface displayed by the electronic device 300 may be other style, such as the desktop layout style displayed in the right window 732 shown in fig. 7e, which is not limited herein.
It will be appreciated that, on the split-screen preparation interface 720 shown in fig. 7b, the user may perform a sliding operation in the split-screen mode application window 721 and the desktop window 722, respectively, or on the split-screen preparation interface 730 shown in fig. 7c, the user may perform a sliding operation in the left window 731 and the right window 732, respectively, such as sliding a switching page left and right, respectively.
Illustratively, in the desktop window 722 shown in FIG. 7b, the user may slide the toggle page left and right, or click on an application icon, e.g., huazhi TM The video icon 701 enables the electronic device 300 to run the video application, etc., so that the electronic device 300 may display a final split screen interface, for example, with reference to the split screen interface 390 shown in fig. 3m and described above, without limitation.
In addition, on the split screen preparation interface 720 shown in fig. 7b, the user may drag the right edge of the split screen mode application window 721 to slide left, so that the electronic device 300 displays the desktop in full screen; in addition, when the user displays the split-screen preparation interface 720 shown in fig. 7b on the electronic device 300, the electronic device 300 may exit the split-screen preparation interface 720 by folding up the screen of the electronic device 300, and the content in the split-screen mode application window 721 is displayed in full screen, referring to the full-screen displayed WeChat shown in fig. 7f TM An interface of the application.
Fig. 8a to 8d are schematic interface diagrams illustrating another electronic device 300 switching to a split-screen mode window to display a corresponding interface in response to a user operation according to an embodiment of the present application.
The interface shown in fig. 8a is different from the interface shown in fig. 7b only in that the horizontal-vertical ratio of the screen of the electronic device 300 displaying the split-screen preparation interface is different, and will not be described herein.
The interface shown in fig. 8b is different from the interface shown in fig. 7c only in that the horizontal and vertical ratios of the screen of the electronic device 300 displaying the split-screen preparation interface are different, and will not be described herein.
The interface shown in fig. 8c is different from the interface shown in fig. 7d only in that the horizontal and vertical ratios of the screen of the electronic device 300 displaying the split-screen preparation interface are different, and will not be described herein.
The interface shown in fig. 8d is different from the interface shown in fig. 7e only in that the horizontal and vertical ratios of the screen of the electronic device 300 displaying the split-screen preparation interface are different, and will not be described herein.
Fig. 9a to 9b are schematic interface diagrams illustrating another electronic device 300 switching to a split-screen mode window to display a corresponding interface in response to a user operation according to an embodiment of the present application.
The interface shown in fig. 9a is different from the interface shown in fig. 7b only in that the horizontal and vertical ratios of the screen of the electronic device 300 displaying the split-screen preparation interface are different, so that the display positions of the split-screen mode application windows are different, which is not described herein.
The interface shown in fig. 9b is different from the interface shown in fig. 7e only in that the horizontal and vertical ratios of the screen of the electronic device 300 displaying the split-screen preparation interface are different, so that the display positions of the split-screen mode application windows are different, which is not described herein.
In the following description of the above step 501 with reference to the drawings, exemplary description will be given of a process of quickly switching to a split-screen mode window or a small-window mode window to display corresponding content by a user pressing an application icon on the desktop of the electronic device 300 for a long time, or pressing contents such as documents, videos, task cards, links, accessories, etc. on an interface displayed by the electronic device 300 for a long time, performing a sliding operation, etc.
Fig. 10a to fig. 10d are schematic interface diagrams corresponding to a process of quickly switching to a split-screen mode window or a small-window mode window to display a corresponding application interface when a user long presses an application icon on a desktop of the electronic device 300 to perform a sliding operation according to an embodiment of the present application.
As shown in fig. 10a, an application picture may be included on a desktop 010 of the electronic device 300. Optionally, desktop 010 may also include folder and/or feature capability (FA) card 011, etc. Wherein the folder 1011 may provide some functions for facilitating the user to manage or run the application, for example, the electronic device 300 may store and display a plurality of application icons 012 recently used by the user through the folder 1011 for the user to quickly click on to run the corresponding application, etc., the electronic device 300 may display real-time detection data in a certain application through the FA card 1012, for example, display the same as the FA card 1012 TM Step number data in exercise, etc., are not limited herein.
On the desktop 010 shown in fig. 10a, the user can press the FA card 1013 for a long time (refer to operation (8) shown in fig. 10 a) or press the application icon 012 for a long time (refer to operation (9) shown in fig. 10 a), so that the FA card 1013 or the application icon 012 is converted into a FA card or an application icon that can be moved with the hand, refer to the FA card 1013 shown in fig. 10b, and at this time the FA card 1013 can be displayed in enlargement.
As shown in fig. 10b, when the electronic device 300 detects that the user's finger is slid into the split-screen hot zone or the widget hot zone range during the upward sliding (i.e., the upward sliding operation) of the FA card 1013, the electronic device 300 may display the split-screen hot zone icon 020 at the upper left side of the screen and the widget hot zone icon 030 at the upper right side of the screen. When the user drags the FA card 1013 to loose his hand in the split-screen hotzone below the split-screen hotzone icon 020, the electronic device 300 may run the application corresponding to the FA card 1013 and display through the window selected by the user in the split-screen mode window (e.g., the left window in the split-screen mode window shown in fig. 10 c). It will be appreciated that the user dragging the FA card 1013 to the split-screen hot zone below the split-screen hot zone icon 020 may include, but is not limited to, releasing the hands when the size of the overlapping area of the FA card 1013 and the split-screen hot zone reaches the preset size threshold, or detecting that the touch position of the FA card 1013 dragged by the user is located in the split-screen hot zone below the split-screen hot zone icon 020, by positioning the entire coverage area of the FA card 1013 (including the border of the card) in the split-screen hot zone Shi Song hand below the split-screen hot zone icon 020, or positioning 75% of the coverage area of the FA card 1013 in the split-screen hot zone below the split-screen hot zone icon 020.
As shown in fig. 10c, in response to a one-step sliding operation of the FA card 1013 switching to the split-screen mode window, the electronic device 300 may display a split-screen preparation interface 040, where the split-screen preparation interface 040 displays a split-screen mode window 041 on the left side, that is, a window for displaying the content corresponding to the FA card 1013 is selected by the user; desktop 010 may also continue to be displayed on split screen preparation interface 040, and split screen mode window 041 may be displayed overlaid on top of desktop 010. When the user presses another card in the FA card 011 for a long time or presses a certain application icon in the application icons 012 for a long time, the sliding operation is repeated and the selected card or application icon is dragged to loose in the split-screen hot zone below the split-screen hot zone icon, the electronic device 300 displays the application window corresponding to the FA card 1013 and the split-screen mode window formed between the application windows corresponding to the other card or application icon selected by the user, and the display style of the split-screen window may be shown in fig. 3i and described in the related description.
As shown in fig. 10b, when the user drags the FA card 1013 to loose his/her hands in the small window hot zone below the small window hot zone icon 030, the electronic device 300 may run the application program corresponding to the FA card 1013 and display the application program through the small window mode window, and referring to fig. 10d, the electronic device 300 displays the application window corresponding to the FA card 1013 through the small window mode window 050, at this time, the desktop 010 may be further displayed on the screen of the electronic device 300, where the small window mode window 050 may be displayed above the desktop of the desktop in a floating manner.
It will be appreciated that in other embodiments, the electronic device 300 may also convert the application icon operated by the user into the FA card that can be moved with the hand when detecting the operation of pressing the application icon 012 by the user, and then continue to respond to the user's sliding operation to display the display interface changing process shown in fig. 10b to 10d, which is not limited herein.
Fig. 11a to 11d are corresponding interface schematic diagrams illustrating a process of performing a sliding operation by a user to quickly switch to a split screen mode window or a small window mode window to display corresponding video content by pressing a video task window on an interface displayed by the electronic device 300 for a long time according to an embodiment of the present application.
As shown in fig. 11a, the electronic device 300 displays a video application interface 111, where a recommended video task window 112 may be displayed on the video application interface 111, an image of a corresponding video may be displayed on the video task window 112, a brief introduction of the corresponding video may be displayed under the video task window 112, and the like, which is not limited herein.
As shown in fig. 11b, when the user presses the video task window 112 for a long time (refer to the operation (r) shown in fig. 11 b), the video task window 112 may be converted into a hover window 112 'moving with the hand, the above of the video application interface 111 is displayed in hover, and the image of the video task window 112 displayed through the hover window 112' may be displayed in a corresponding enlarged manner; at this time, the split-screen hot zone icon 113 and the small-window hot zone icon 114 may be displayed above the screen of the electronic device 300, for example, the split-screen hot zone icon 113 may be displayed above the left of the screen of the electronic device 300, and the small-window hot zone icon 114 may be displayed above the right of the screen of the electronic device 300, which is not limited herein.
With continued reference to fig. 11b, when the user swipes the hover window 112' to loose his hand in the split-screen hotbox below the split-screen hotbox icon 113, the electronic device 300 may display the split-screen preparation interface 115 shown in fig. 11 c.
As shown in fig. 11c, a split-screen mode window 116 is displayed on the left side of the split-screen preparation interface 115 displayed by the electronic device 300, a video playing interface corresponding to the video task window 112 is displayed in the split-screen mode window 116, the split-screen preparation interface 115 may further display the video application interface 111, and the split-screen mode window 116 may be displayed above the video application interface 111 in a floating manner. When the user presses another video task window on the video application interface 111 for a long time, the operation of sliding to the split-screen hot zone below the split-screen hot zone icon 113 and releasing the video task window by releasing the hands is repeated, the electronic device 300 may display two split-screen windows, and play videos corresponding to the two selected video task windows respectively, where the display style of the two split-screen windows may be shown in fig. 3i and described in the related description, and will not be repeated here.
As shown in fig. 11b, when the user slides up the floating window 112' and moves to the inside of the small window hotbox below the small window hotbox icon 114, the electronic device 300 may display the video playing interface corresponding to the video task window 112 through the small window mode window, and referring to fig. 11d, the electronic device 300 may display the video playing interface corresponding to the video task window 112 through the small window mode window 117. The video application interface 111 may also continue to be displayed on the screen of the electronic device 300 at this time, where the small window mode window 117 may be displayed in suspension above the video application interface 111.
Fig. 12a to 12d are schematic interface diagrams corresponding to a process of quickly switching to a split-screen mode window or a widget mode window to display the content of a document when a user performs a sliding operation by pressing the document on the interface displayed by the electronic device 300 for a long time according to an embodiment of the present application.
As shown in fig. 12a, the electronic device 300 displays a Document application interface 122, and a plurality of documents 123 are displayed on the Document application interface 122, wherein the types of the documents 123 may be a presentation Document format (PPT), a Document format (DOC), a portable Document format (Portable Document Format, PDF), or the like, which is not limited herein.
As shown in fig. 12b, when the user presses the document 123 for a long time, the electronic device 300 may display a floating window 124 corresponding to the document 123, the floating window 124 may move with the hand, and the name of the document 123, part of the document content, etc. may be displayed in the floating window 124, which is not limited herein; at this time, the split-screen hot zone icon 125 and the small-window hot zone icon 126 may be displayed above the screen of the electronic device 300, for example, the split-screen hot zone icon 125 may be displayed above the left of the screen of the electronic device 300, and the small-window hot zone icon 126 may be displayed above the right of the screen of the electronic device 300, which is not limited herein.
Continuing with FIG. 12b, when the user swipes the hover window 124 to loose his hand in the split-screen hotbox below the split-screen hotbox icon 125, the electronic device 300 may display the split-screen interface 127 shown in FIG. 12 c.
As shown in fig. 12c, the content of the document 123 is displayed in the left window of the split screen interface 127 and the document application interface 122 is displayed in the right window of the split screen interface 127, which is displayed by the electronic device 300. At this time, if the user clicks another document in the right window of the split screen interface 127 shown in fig. 12c, the right window of the split screen interface 127 may display the content of the other document, which is not limited herein.
As further shown in fig. 12b, when the user slides up the floating window 124 to loose his/her hand in the small window hotbox under the small window hotbox icon 126, the electronic device 300 may display the content of the document 123 through the small window mode window, and, referring to fig. 12d, the electronic device 300 may display the content of the document 123 through the small window mode window 128 at this time. The document application interface 122 may also continue to be displayed on the screen of the electronic device 300 at this time, wherein the widget mode window 128 may be hoveringly displayed above the document application interface 122.
Referring to the above-mentioned interface changing process shown in fig. 11a to 11d or fig. 12a to 12d, it may be understood that, in other embodiments, the user may further press the access link, or press the accessory, etc. on the interface displayed by the electronic device 300, trigger the electronic device 300 to display the split-screen hot zone icon and the widget hot zone icon, and the user further completes the process of switching the access link, or the accessory, etc. to display in the split-screen mode window or the widget mode window through the one-step up-sliding operation according to the guidance of the icon displayed by the electronic device 300, which will not be described herein.
It can be understood that when the electronic device 300 displays the multi-task interface, the user may also perform a sliding operation by long-pressing the task card on the multi-task interface, and move the task card into the split-screen hot area or the small-window hot area, so as to complete the process of switching the corresponding content in the task card to display in the split-screen mode window or the small-window mode window. The task card on the multitasking interface displayed by the electronic device 300 may be a single-screen task card displaying one window or a split-screen task card displaying two or more windows, which is not limited herein.
Fig. 13a to 13d are schematic interface diagrams corresponding to a process of enabling a user to slide up a task card on a multi-task interface displayed by an electronic device 300, and rapidly switch to a split-screen mode window or a small-window mode window to display corresponding contents of the corresponding task card according to an embodiment of the present application.
As shown in fig. 13a, when the user performs a sliding operation on the multi-task interface 131 displayed on the electronic device 300 by pressing the single-screen task card 132 for a long time, a split-screen hot zone icon 133 may be displayed on the upper left side of the screen of the electronic device 300, and a small window hot zone icon 134 may be displayed on the upper right side of the screen. After the user drags the single-screen task card 132 to slide to the split-screen hot zone indicated by the split-screen hot zone icon 133, the electronic device 300 may display the split-screen preparation interface 040 shown in fig. 10c, which is specifically described with reference to fig. 10c and the related description, and will not be repeated here.
Continuing to refer to fig. 13a, if the user drags the single-screen task card 132 to slide to the corresponding small window hot zone below the small window hot zone icon 134, the electronic device 300 may display the small window mode window 050 shown in fig. 10d, where the small window mode window 050 may be displayed in a floating manner above the desktop 010, and detailed description thereof will be omitted herein.
As shown in fig. 13b, when the user performs a sliding operation on the multitasking interface 131 displayed on the electronic device 300 by pressing the split-screen task card 135 for a long time, the split-screen hot zone icon 133 may still be displayed on the upper left side of the screen of the electronic device 300, and the widget hot zone icon 134 may be displayed on the upper right side of the screen. When the user drags the single-screen task card 135 to slide to the corresponding split-screen hot zone where the split-screen hot zone icon 133 is located, the electronic device 300 may display the interface shown in fig. 13 c.
As shown in fig. 13c, a tri-screen effect window 136 may be displayed on the upper left side of the screen of the electronic device 300, two split-screen windows in the split-screen task card 135 may be displayed on the left side of the tri-screen effect window 136, where two split-screen windows in the split-screen task card 135 may be distributed up and down, and another application window that the user is about to select may be displayed on the right side of the tri-screen effect window 136, which may be understood that in other embodiments, the tri-screen effect window 136 may be displayed in other forms of window distribution patterns, which is not limited herein.
As shown in fig. 13b, after the user drags the single-screen task card 135 to slide into the corresponding small window hot zone below the small window hot zone icon 134, the electronic device 300 may display the small window mode split-screen window 137 shown in fig. 13 d.
As shown in fig. 13d, in the small window mode split window 137 displayed on the upper right side of the screen of the electronic device 300, the window distribution of two split windows in the split task card 135 may be unchanged, and the two split windows in the split task card 135 are scaled down to be displayed in the small window mode split window 137. It will further be appreciated that referring to fig. 13d, the widget mode split screen window 137 may be, for example, displayed in hover over a desktop or other application interface of the electronic device 300.
It will be appreciated that in other embodiments, if the user performs a sliding operation on one of the split-screen windows in the split-screen task card 135 for a long time on the multi-task interface 131 shown in fig. 13b, for example, the user performs a sliding operation for a long time on the right-side window in the split-screen task card 135 and moves to a loose hand within the split-screen hot zone indicated by the split-screen hot zone icon 133, the electronic device 300 may display the interface shown in fig. 14.
As shown in fig. 14, a two-screen effect window 143 is displayed on the upper left side of the screen of the electronic device 300, for example, when the user operates the right side window in the two-screen task card 135 to move to the open hand in the two-screen hot zone indicated by the two-screen hot zone icon 133, the two-screen effect window 143 shown in fig. 14 is selected to be displayed in the left side window, and at this time, the content in the right side window in the two-screen task card 135 operated by the user may be correspondingly displayed. It will be appreciated that in other embodiments, the right window of the two-screen effect window 143 shown in fig. 14 may also display the content in any window of the two-screen task cards 135 operated by the user, which is not limited herein.
It will be appreciated that, in other embodiments, the user may perform a sliding operation on the split screen interface displayed by the electronic device 300 from the bottom of the electronic device 300, so that the electronic device 300 implements the window switching method described in the above steps 501 to 512, so that the two-split screen window displayed by the electronic device 300 is switched to the three-split screen window, the three-split screen window is switched to the four-split screen window, or the electronic device 300 is caused to display the two-split screen window or the three-split screen window in the small window mode, which is not limited herein.
The window layout pattern of the tri-screen window displayed by the electronic device 300 may be shown with reference to fig. 15a or 15b, and in other embodiments, the window layout pattern of the tri-screen window or the multi-screen window displayed by the electronic device 300 may be other reasonable layout patterns, which is not limited herein.
It can be understood that, in the electronic device 300 implementing the window switching method in the embodiment of the present application, the user can quickly switch the window display mode through one-step sliding operation, so that the window/interface currently displayed by the electronic device 300 or the window/interface selected by the user is quickly switched to the split-screen mode window or the small-window mode window for display, which is simple and convenient to operate, and the user experience is better.
In the following, a specific procedure of implementing the window switching method of the present application by the electronic device 300 when the split-screen hot zone and the small-window hot zone of the electronic device 300 are disposed at the left side edge and the right side edge of the screen will be described through another embodiment.
Example two
As an example, in the electronic device 300 of the embodiment of the present application, the split-screen hot zone and/or the widget hot zone may also be disposed at the left edge and/or the right edge of the screen, and when in operation, a user needs to drag the object window to the split-screen hot zone or the widget hot zone preset at the left edge or the right edge of the screen of the electronic device 300, so that the one-step split-screen operation process or the one-step widget operation process may be completed. The dragging the object window into the preset split-screen hot zone or the small-window hot zone at the left edge or the right edge of the screen of the electronic device 300 includes making all the display area and the frame part of the object window in the preset split-screen hot zone or the small-window hot zone at the left edge or the right edge of the screen of the electronic device 300, or making the size of the overlapping area between the display area of the object window and the preset split-screen hot zone or the small-window hot zone at the left edge or the right edge of the screen of the electronic device 300 be greater than the preset size threshold, or detecting that the touch position of the operation of dragging the object window is in the preset split-screen hot zone or the small-window hot zone at the left edge or the right edge of the screen of the electronic device 300, and the like, which is not limited herein.
The following describes in detail the specific process of implementing the window switching method of the present application by the electronic device 300 in conjunction with the flowchart and the related interface schematic diagrams.
Fig. 16 shows another flow chart of the electronic device 300 implementing the window switching method of the present application, and it can be understood that the execution subject of each step of the flow chart shown in fig. 16 is the electronic device 300, and the execution subject will not be repeated in the following steps.
As shown in fig. 16, the flow includes the steps of:
1601: a user operation for switching the window display mode is detected, and an object window of the operation is identified. The implementation process of step 1601 is the same as that of step 501 in the first embodiment, and will not be repeated here.
1602: and judging whether the reduction ratio of the object window is smaller than or equal to a preset ratio threshold value. If the judgment result is yes, that is, when the reduction ratio of the object window is less than or equal to the preset ratio threshold value, executing step 1603, and displaying a small window hot zone icon and a split screen hot zone icon on the screen; if the determination result is no, that is, the reduction ratio of the object window is greater than the preset ratio threshold, the determination process in step 1602 is continued.
The implementation process of step 1602 is the same as that of step 502 in the first embodiment, and will not be repeated here.
1603: and displaying a hot zone mask and/or a hot zone icon corresponding to the preset hot zone.
The implementation process of step 1603 is the same as that of step 503 in the first embodiment, and will not be repeated here.
For example, in step 1602, if the electronic device 300 determines that the reduction ratio of the object window is less than or equal to the preset ratio threshold, for example, when the electronic device 300 determines that the reduction ratio of the object window reaches 75%, the electronic device 300 may display the split-screen hot zone on the left edge of the screen, or display the small-window hot zone on the right edge of the screen, or display the split-screen hot zone and the small-window hot zone on the left edge and the right edge of the screen, respectively, where the more striking manner may be, for example, by displaying the mask position and the size of the hot zone on the split-screen hot zone or the small-window hot zone, or displaying the corresponding hot zone icon, which is not limited herein.
As an example, fig. 17 a-17 d show related interface diagrams of some window switching processes according to embodiments of the present application.
As shown in fig. 17a, the electronic device 300 displays the application window 1710 in full screen, and the user performs a sliding operation on the application window 1710 from the bottom of the screen of the electronic device 300, so that the application window 1710 moves upward, and at this time, the application window 1710 is the object window of the sliding operation by the user.
With continued reference to fig. 17b, when the application window 1710 is reduced to within 75% of the size of the application window 1710 shown in fig. 17a, a small window hot zone 1720 may be displayed on the right edge of the screen of the electronic device 300, and it may be understood that the small window hot zone 1720 is a hot zone mask corresponding to a preset small window hot zone on the screen of the electronic device 300, which is not described herein. As shown in fig. 17b, the widget hot section 1720 displayed at this time by the electronic device 300 may be highlighted, for example, with a different background color than the interface 1730 of the electronic device 300 displaying the plurality of application task windows to show the location and size of the widget hot section 1720 to the user. In this manner, the user continues to operate the application window 1710 to slide into the widget hot region 1720, and the electronic device 300 may further display the relevant interfaces shown in fig. 17c to 17e, to implement a one-step widget operation process. The relevant interfaces shown in fig. 17c to 17e will be described in the following corresponding steps.
It will be appreciated that, in other embodiments, the location of the small window hot zone 1720 shown in fig. 17b may also be used to display a split-screen hot zone (i.e., a hot zone mask corresponding to a preset split-screen hot zone of a screen) for a user to implement a one-step split-screen operation process on the electronic device 300, which is not limited herein.
1604: and judging whether the user operation drags the object window into a preset hotzone indicated by the hotzone mask and/or the hotzone icon. If the judgment result is yes, indicating that the user operates to switch the window display mode, executing step 1605, and displaying a window display mode switching guide interface corresponding to the preset hot zone; if the determination is negative, the present step 1604 may be repeated to continue detecting user operations.
For example, the electronic device 300 continues to detect the user operation, if the user operation is dragging the object window into the preset hotbox indicated by the displayed hotbox mask and/or the hotbox icon, the electronic device 300 may determine the direction in which the user performs the sliding operation according to the detected touch position coordinate information, for example, determine whether the user drags the object window to slide on the hotbox mask displayed on the right side edge, and then the electronic device 300 may further display a window display mode switching guide interface corresponding to the preset hotbox, that is, continue to execute step 1605 described below.
As an example, in the process of operating the drag application window 1710 to slide to the position of the widget hot zone 1720 displayed on the screen of the electronic device 300 on the interface shown in fig. 17b, the electronic device 300 may further display a guiding interface for switching to the widget mode window shown in fig. 17c described below.
It can be appreciated that in other embodiments, a plurality of hotspots are preset on the screen of the electronic device 300, and the user can operate the object window to move to the position indicated by the hotspot mask or the hotspot icon corresponding to any one of the plurality of preset hotspots, so as to trigger the electronic device 300 to display the window display mode switching guide interface corresponding to the preset hotspots. And will not be described in detail herein.
1605: and displaying a window display mode switching guide interface corresponding to the preset hot zone.
For example, if the preset hot zone on the screen of the electronic device 300 is a small window hot zone, the electronic device 300 may display a guiding interface for switching to the small window mode window when detecting that the user drags the object window into the small window hot zone displayed on the screen, for example, in the guiding interface displayed on the electronic device 300, other application task windows on the left side of the object window move out of the screen of the electronic device 300 to the left, that is, the electronic device 300 does not display other application task windows on the left side of the object window, and in addition, the size of the object window may be further reduced, for example, reduced to within 35% of the initial size.
As an example, referring to the guidance interface shown in fig. 17c for switching to the widget mode window, when the user slides the application window 1710 rightward into the widget hot section 1720, for example, the user presses the touch position of the application window 1710 to move into the widget hot section 1720, it may be determined that the application window 1710 has moved into the widget hot section 1720, at which time the user loosens the hand electronic device 300 may display the interface shown in fig. 17d, i.e., another task window 1740 on the left side of the application window 1710 may be moved leftward out and not displayed, and the application window 1710 may be further reduced, for example, to 35% of the size of the application window 1710 shown in fig. 17a, and in the process, the display area of the widget hot section 1720 may be further enlarged. On the interface shown in fig. 17d, if the user further operates to release the application window 1710, the electronic device 300 may continue to execute the following step 1606 to display the application window 1710 switched to the widget mode window display, and detailed descriptions thereof will be omitted herein with reference to the following corresponding steps and drawings.
In other embodiments, the guiding interface displayed by the electronic device 300 may guide the user's further operations through other interface forms, which are not limited herein.
1606: and detecting the operation of releasing the object window in the preset hot zone by the user, and displaying a small window mode window.
In an exemplary embodiment, when detecting the operation of releasing the object window in the preset hot zone, the electronic device 300 may display the interface after the object window is switched to the window display mode corresponding to the preset hot zone, so as to complete the process of switching the object window to the mode window corresponding to the preset hot zone.
As an example, in the guide interface for switching to the widget mode window illustrated in fig. 17d, when the electronic device 300 detects the user's operation of releasing the application window 1710 by loosening the hand in the widget hotbox 1720, the application window 1710 may be displayed through the widget mode window, that is, the widget mode interface illustrated in fig. 17 e.
As shown in fig. 17e, the electronic device 300 screen may display a desktop 1750 or other interface for an application, with the application window 1710 being displayed in a widget mode window hovering in the upper right corner of the desktop 1750.
It will be understood that, in the above-described interface changing process shown in fig. 17a to 17d, if the user can reverse the operation to cause the electronic device to sequentially display the interface shown in fig. 17d to 17c to 17b to 17a before the user leaves the screen (i.e., loosens his or her hand), i.e., the user's sliding operation direction is opposite to the operation direction corresponding to fig. 17a to 17d, the operation of one-step switching of the window display mode can be reversed, that is, the above-described interface changing process shown in fig. 17a to 17d is reversible.
It can be understood that, in the electronic device 300 implementing the window switching method in the embodiment of the present application, the user can quickly switch the window display mode through one-step sliding operation, so that the window/interface currently displayed by the electronic device 300 or the window/interface selected by the user is quickly switched to the split-screen mode window or the small-window mode window for display.
Fig. 18 shows a software architecture block diagram of an electronic device 300 according to an embodiment of the present application.
The software system of the electronic device 300 may employ a layered architecture, an event driven architecture, a microkernel architecture, a microservice architecture, or a cloud architecture. In this embodiment, taking an Android system with a layered architecture as an example, a software structure of the electronic device 300 is illustrated.
Fig. 18 is a software configuration block diagram of the electronic device 300 of the embodiment of the present application.
The layered architecture divides the software into several layers, each with distinct roles and branches. The layers communicate with each other through a software interface. In some embodiments, the Android system is divided into four layers, from top to bottom, an application layer, an application framework layer, an Zhuoyun row (Android run) and system libraries, and a kernel layer, respectively.
The application layer may include a series of application packages.
As shown in fig. 18, the application package may include applications for cameras, gallery, calendar, phone calls, maps, navigation, WLAN, bluetooth, music, video, short messages, etc.
The application framework layer provides an application programming interface (application programming interface, API) and programming framework for application programs of the application layer. The application framework layer includes a number of predefined functions.
As shown in FIG. 18, the application framework layer may include a window manager, a task manager, a telephony manager, a resource manager, a notification manager, a view system, and the like.
The window manager is used for managing window programs. The window manager can acquire the size of the display screen, judge whether a status bar exists, lock the screen, intercept the screen and the like. In this embodiment of the present application, the window manager may obtain a sliding event corresponding to a sliding operation gesture of a user, and a position and a size of a preset split-screen hot zone and/or a small-window hot zone, etc. to match a corresponding display task and display a corresponding interface, for example, display a small-window hot zone icon and a split-screen task icon described in step 503, or display a guiding interface for switching to a split-screen mode window described in step 506, etc., which are specifically described in step 503 or step 506 and are not described herein.
The task manager is configured to cooperate with the window manager to invoke task content corresponding to the sliding operation of the user, for example, a display task that needs to be controlled by the window manager to be executed, and the task manager invokes the content of the corresponding display task and sends the content to the window manager to be executed, so as to implement a process of displaying the corresponding interface by the electronic device 300.
The content provider is used to store and retrieve data and make such data accessible to applications. Such data may include video, images, audio, calls made and received, browsing history and bookmarks, phonebooks, etc.
The resource manager provides various resources for the application program, such as localization strings, icons, pictures, layout files, video files, and the like.
The notification manager allows the application to display notification information in a status bar, can be used to communicate notification type messages, can automatically disappear after a short dwell, and does not require user interaction. Such as notification manager is used to inform that the download is complete, message alerts, etc. The notification manager may also be a notification in the form of a chart or scroll bar text that appears on the system top status bar, such as a notification of a background running application, or a notification that appears on the screen in the form of a dialog window. For example, a text message is prompted in a status bar, a prompt tone is emitted, the electronic device vibrates, and an indicator light blinks, etc.
The view system includes visual controls, such as controls to display text, controls to display pictures, and the like. The view system may be used to build applications. The display interface may be composed of one or more views. For example, a display interface including a text message notification icon may include a view displaying text and a view displaying a picture.
Android run time includes a core library and virtual machines. Android run time is responsible for scheduling and management of the Android system.
The core library consists of two parts: one part is a function which needs to be called by java language, and the other part is a core library of android.
The application layer and the application framework layer run in a virtual machine. The virtual machine executes java files of the application program layer and the application program framework layer as binary files. The virtual machine is used for executing the functions of object life cycle management, stack management, thread management, security and exception management, garbage collection and the like.
The system library may include a plurality of functional modules. For example: surface manager (surface manager), media Libraries (Media Libraries), three-dimensional graphics processing Libraries (e.g., openGL ES), 2D graphics engines (e.g., SGL), etc.
The surface manager is used to manage the display subsystem and provides a fusion of 2D and 3D layers for multiple applications.
Media libraries support a variety of commonly used audio, video format playback and recording, still image files, and the like. The media library may support a variety of audio and video encoding formats, such as MPEG4, h.264, MP3, AAC, AMR, JPG, PNG, etc.
The three-dimensional graphic processing library is used for realizing three-dimensional graphic drawing, image rendering, synthesis, layer processing and the like.
The 2D graphics engine is a drawing engine for 2D drawing.
The kernel layer is a layer between hardware and software. The kernel layer at least comprises a display driver, a touch driver and a sensor driver.
The workflow of the electronic device 300 software and hardware is illustrated below in connection with capturing a scene of a slide up operation switching to a split screen mode window.
When touch sensor 180K receives a touch operation, a corresponding hardware interrupt is issued to the kernel layer. The kernel layer processes the touch operation into the original input event (including information such as touch coordinates, time stamp of touch operation, etc.). The original input event is stored at the kernel layer. The application framework layer acquires an original input event from the kernel layer, and identifies a control corresponding to the input event. Taking the touch operation as a touch up operation, taking the object window corresponding to the up operation as a video application window as an example, the video application calls an interface of an application framework layer to start the video application, and then starts a display driver by calling a kernel layer, and displays the video application window in a split screen mode through the display screen 190.
Based on the system architecture shown in fig. 18, fig. 19 shows a schematic diagram of an interaction process between user behavior and system behavior of the electronic device 300 according to an embodiment of the present application.
As shown in fig. 19, the user behavior includes: a user performs a specific operation gesture on the electronic apparatus 300, such as a sliding operation (i.e., a sliding-up operation) from the bottom of the screen of the electronic apparatus 300 described in the above embodiment 1, or the like; and the user drags the object window to loose hands in the split-screen hot area or the small-window hot area.
The system behavior of the electronic device 300 is performed in response to the user behavior. As shown in fig. 19, for example, a touch screen of the electronic device 300 may detect a characteristic gesture operation performed by a user and generate a corresponding touch operation event, a window manager of the electronic device 300 may acquire an event corresponding to a user behavior, acquire information such as a hot zone position, a hot zone size, and the like on the touch screen, and match a display task corresponding to a sliding operation of the user, for example, when the window manager determines that the event corresponding to the user behavior meets a condition for triggering to display a hot zone icon and/or a hot zone bottom plate, the window manager may control to display the hot zone icon, including a split-screen hot zone icon and/or a small window hot zone icon; or control display of a hot zone floor, such as the small window hot zone floor highlighted in fig. 17b above.
Continuing to refer to fig. 19, for example, the touch screen of the electronic device 300 detects an operation of releasing the object window by loosening hands in the hot area performed by the user, and generates a corresponding touch operation event, and the window manager of the electronic device 300 may acquire an event corresponding to the user behavior, acquire information such as a position, a size, and the like of the hot area on the touch screen, match a display task corresponding to the operation of loosening hands of the user, and notify the task manager of the matched display task; the task manager invokes the corresponding display task content and then sends the display task content to the window manager, and the window manager controls and displays the interface corresponding to the small window mode window or the split screen mode window.
It will be appreciated that the interaction process between the user behavior and the system of the electronic device 300 shown in fig. 19 is by way of example only, and in other embodiments, the process by which the electronic device 300 performs a corresponding task in response to a user operation may go through more or less than that shown in fig. 19, or another process different from that shown in fig. 19, without limitation.
Reference in the specification to "one embodiment" or "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment is included in at least one example implementation or technique according to the disclosure. The appearances of the phrase "in one embodiment" in various places in the specification are not necessarily all referring to the same embodiment.
The present disclosure also relates to an operating device for performing the method. The apparatus may be specially constructed for the required purposes, or it may comprise a general-purpose computer selectively activated or reconfigured by a computer program stored in the computer. Such a computer program may be stored in a computer readable medium, such as, but is not limited to, any type of disk including floppy disks, optical disks, CD-ROMs, magnetic-optical disks, read-only memories (ROMs), random Access Memories (RAMs), EPROMs, EEPROMs, magnetic or optical cards, application Specific Integrated Circuits (ASICs), or any type of media suitable for storing electronic instructions, and each may be coupled to a computer system bus. Furthermore, the computers referred to in the specification may include a single processor or may be architectures employing multiple processors for increased computing power.
Additionally, the language used in the specification has been principally selected for readability and instructional purposes, and may not have been selected to delineate or circumscribe the disclosed subject matter. Accordingly, the present disclosure is intended to be illustrative, but not limiting, of the scope of the concepts discussed herein.

Claims (15)

1. A window switching method applied to an electronic device, comprising:
Detecting a first touch operation of a user, and displaying a first interface, wherein the first interface comprises a first identifier, a second identifier and at least one application window; the first identifier and the second identifier are respectively used for indicating the display modes corresponding to the response areas where the first identifier and the second identifier are located, the at least one application window comprises a first application window, and the first application window displays an interface of a first application;
displaying the first application window in a first mode under the condition that a first dragging operation is detected, wherein the first dragging operation comprises an operation of dragging the first application window into a first response area corresponding to the first identifier, and the first response area is located in a display area corresponding to the first interface; the first touch operation and the first drag operation are one continuous operation;
displaying the first application window in a second mode under the condition that a second dragging operation is detected, wherein the second dragging operation comprises an operation of dragging the first application window into a second response area corresponding to the second identifier, the second response area is located in a display area corresponding to the first interface, and the second response area is not overlapped with the first response area; the first touch operation and the second drag operation are one continuous operation;
Wherein the first mode display and the second mode display are different.
2. The method according to claim 1, wherein the method further comprises:
responding to the first dragging operation, displaying a second interface, wherein the second interface comprises a second window and a third window, and the third window is a window after the first application window is displayed in the first mode; wherein,,
the third window is displayed above the second window in a suspending way, the height of the third window is equal to the height of the second window, and the width of the third window is smaller than the width of the second window; or,
the third window is displayed above the second window in a suspending way, the width of the third window is equal to that of the second window, and the height of the third window is smaller than that of the second window; or,
and the third window and the second window are displayed in a split screen mode, and the height of the third window is equal to the height of the second window or the width of the third window is equal to the width of the second window.
3. The method of claim 2, wherein the third window portion is displayed in a display screen of the electronic device.
4. A method according to claim 3, wherein prior to displaying the second interface, the method further comprises:
the third window is all displayed in the display screen of the electronic device;
the third window automatically moves such that the third window portion is displayed in the display screen.
5. The method of any of claims 2 to 4, wherein the second window displays a desktop including at least one application icon or task card, the method further comprising, after displaying the second interface:
responding to the operation of an icon or a task card of a second application in the desktop, opening the second application and displaying a second application window, wherein the second application window displays an interface of the second application;
the second application window and the third window are displayed in a split screen mode; and when the third window and the second application window are displayed in a split screen mode, the third window is all displayed in a display screen of the electronic device.
6. The method according to claim 1, wherein the method further comprises:
responding to the second dragging operation, displaying a third interface, wherein the third interface comprises a second window and a fourth window, the fourth window is a window after the first application window is displayed in the second mode, wherein,
The second window is displayed by the electronic equipment in a full screen mode, the fourth window is suspended above the second window, the height and the width of the fourth window are smaller than those of the second window, and the fourth window is displayed in the display screen of the electronic equipment in a full screen mode.
7. The method of claim 6, wherein the second window displays a desktop including at least one application icon or task card.
8. The method of any of claims 1-7, wherein after the electronic device displays the first interface, the method further comprises:
in the executing process of the first dragging operation, if the distance between the touch position of the first dragging operation and the display position of the first mark is gradually reduced, the size of the first mark is gradually increased; or,
and in the execution process of the second dragging operation, if the distance between the touch position of the second dragging operation and the display position of the second mark is gradually reduced, the size of the second mark is gradually increased.
9. The method of any one of claims 1 to 8, wherein prior to the detecting a first touch operation by a user, the electronic device displays a fifth window full screen, the fifth window comprising a target object acted upon by the first touch operation; and is also provided with
The method comprises the following steps:
and detecting a first touch operation of a user, wherein the target object or an interface corresponding to the target object is displayed in the first application window on the first interface.
10. The method of claim 9, wherein the target object comprises: any one of an application window, an application icon, a service card, a task window displayed on an application interface, a link displayed on an application interface, an attachment displayed on an application interface, and a task window of a multi-task interface.
11. The method of claim 9, wherein the first touch operation is an upward drag operation on the target object; and, in addition, the processing unit,
and in the case that the target object is the fifth window, the starting point of the first touch operation is the bottom of the screen of the electronic equipment.
12. The method according to any one of claims 9 to 11, wherein the detecting the first touch operation of the user, displaying the first interface, comprises:
in the process that the target object is dragged to move upwards by the first touch operation, the electronic equipment displays the first interface under the condition that the touch position height of the first touch operation reaches a first preset height; or,
And in the process of dragging the target object to move upwards by the first touch operation, the electronic equipment displays the first interface under the condition that the target object is the fifth window and the reduced scale of the display size of the fifth window reaches a first scale threshold.
13. The method according to any one of claims 1 to 12, wherein,
the first mark is displayed at the left upper corner of the first interface, and the second mark is displayed at the right upper corner of the first interface; or,
the first logo is displayed in the upper right corner of the first interface and the second logo is displayed in the upper left corner of the first interface.
14. An electronic device, comprising: one or more processors; one or more memories; the one or more memories stores one or more programs that, when executed by the one or more processors, cause the electronic device to perform the window switching method of any of claims 1-13.
15. A computer readable storage medium having stored thereon instructions which, when executed on a computer, cause the computer to perform the window switching method of any of claims 1 to 13.
CN202111357820.2A 2021-11-16 2021-11-16 Window switching method, electronic device and readable storage medium Active CN114416227B (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
CN202111357820.2A CN114416227B (en) 2021-11-16 2021-11-16 Window switching method, electronic device and readable storage medium
CN202280007997.6A CN116635826A (en) 2021-11-16 2022-10-28 Window switching method, electronic device and readable storage medium
PCT/CN2022/128266 WO2023088068A1 (en) 2021-11-16 2022-10-28 Window switching method, electronic device, and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111357820.2A CN114416227B (en) 2021-11-16 2021-11-16 Window switching method, electronic device and readable storage medium

Publications (2)

Publication Number Publication Date
CN114416227A CN114416227A (en) 2022-04-29
CN114416227B true CN114416227B (en) 2023-06-23

Family

ID=81265757

Family Applications (2)

Application Number Title Priority Date Filing Date
CN202111357820.2A Active CN114416227B (en) 2021-11-16 2021-11-16 Window switching method, electronic device and readable storage medium
CN202280007997.6A Pending CN116635826A (en) 2021-11-16 2022-10-28 Window switching method, electronic device and readable storage medium

Family Applications After (1)

Application Number Title Priority Date Filing Date
CN202280007997.6A Pending CN116635826A (en) 2021-11-16 2022-10-28 Window switching method, electronic device and readable storage medium

Country Status (2)

Country Link
CN (2) CN114416227B (en)
WO (1) WO2023088068A1 (en)

Families Citing this family (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114416227B (en) * 2021-11-16 2023-06-23 华为技术有限公司 Window switching method, electronic device and readable storage medium
CN114706521A (en) * 2022-06-07 2022-07-05 芯行纪科技有限公司 Method for managing windows in EDA (electronic design automation) software interface and related equipment
WO2023245310A1 (en) * 2022-06-20 2023-12-28 北京小米移动软件有限公司 Window adjustment method and apparatus, and terminal and storage medium
CN116048311B (en) * 2022-06-24 2024-04-19 荣耀终端有限公司 Window display method, electronic device, and computer-readable storage medium
CN114840114B (en) * 2022-07-05 2023-01-03 荣耀终端有限公司 Display control method, device and storage medium
CN115033333B (en) * 2022-07-19 2022-12-16 荣耀终端有限公司 Suspended window display method, electronic equipment and storage medium
CN115185446A (en) * 2022-07-21 2022-10-14 Oppo广东移动通信有限公司 Method and device for executing system-level operation in application program and electronic equipment
CN114968018B (en) * 2022-07-26 2022-12-16 荣耀终端有限公司 Card display method and terminal equipment
CN117519540A (en) * 2022-07-28 2024-02-06 北京小米移动软件有限公司 Method and device for adjusting split screen window, electronic equipment and storage medium
CN115617225A (en) * 2022-10-28 2023-01-17 维沃移动通信有限公司 Application interface display method and device, electronic equipment and storage medium
CN115967831B (en) * 2022-10-28 2023-08-22 北京优酷科技有限公司 Video display method, device, electronic equipment and storage medium
CN118068993A (en) * 2022-11-23 2024-05-24 Oppo广东移动通信有限公司 Multi-window switching method and device, electronic equipment and storage medium
CN118259795A (en) * 2022-12-28 2024-06-28 Oppo广东移动通信有限公司 Window control method, device, terminal equipment and storage medium
CN116540918B (en) * 2023-06-30 2023-12-01 深圳市欧度利方科技有限公司 Panel computer split screen control system and method

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111966252A (en) * 2020-05-14 2020-11-20 华为技术有限公司 Application window display method and electronic equipment
CN112130742A (en) * 2019-06-25 2020-12-25 华为技术有限公司 Full screen display method and device of mobile terminal

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9588674B2 (en) * 2012-11-30 2017-03-07 Qualcomm Incorporated Methods and systems for providing an automated split-screen user interface on a device
CN106775313B (en) * 2016-12-07 2020-05-01 北京安云世纪科技有限公司 Split screen operation control method and mobile terminal
CN107357668A (en) * 2017-06-29 2017-11-17 深圳天珑无线科技有限公司 The method and its system of multiwindow file operation
CN108984065A (en) * 2018-07-10 2018-12-11 Oppo广东移动通信有限公司 Processing method, device, storage medium and the electronic equipment of split screen display available
CN110471725A (en) * 2019-07-02 2019-11-19 华为技术有限公司 A kind of split screen method and electronic equipment
CN113342248B (en) * 2021-06-24 2024-07-19 广州博冠信息科技有限公司 Live broadcast display method and device, storage medium and electronic equipment
CN114416227B (en) * 2021-11-16 2023-06-23 华为技术有限公司 Window switching method, electronic device and readable storage medium

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112130742A (en) * 2019-06-25 2020-12-25 华为技术有限公司 Full screen display method and device of mobile terminal
CN111966252A (en) * 2020-05-14 2020-11-20 华为技术有限公司 Application window display method and electronic equipment

Also Published As

Publication number Publication date
CN114416227A (en) 2022-04-29
WO2023088068A1 (en) 2023-05-25
CN116635826A (en) 2023-08-22

Similar Documents

Publication Publication Date Title
CN114416227B (en) Window switching method, electronic device and readable storage medium
US10599316B2 (en) Systems and methods for adjusting appearance of a control based on detected changes in underlying content
KR102042169B1 (en) User termincal device for displaying contents and methods thereof
CN105683895B (en) User terminal device for providing user interaction and method thereof
WO2021120914A1 (en) Interface element display method and electronic device
EP4116813A1 (en) Method for execution of hand gesture commands, apparatus, system, and storage medium
CN113805743B (en) Method for switching display window and electronic equipment
CN113805745B (en) Control method of suspension window and electronic equipment
US20220391158A1 (en) Systems and Methods for Interacting with Multiple Display Devices
WO2021213449A1 (en) Touch operation method and device
EP4177722A1 (en) Keyboard display method, foldable screen device, and computer-readable storage medium
CN113805744A (en) Window display method and electronic equipment
KR20190064633A (en) Method and apparatus for displaying pages, graphical user interface, and mobile terminal
CN114461312B (en) Display method, electronic device and storage medium
EP4296852A1 (en) Display control method, electronic device, and readable storage medium
WO2024078114A1 (en) Window display method, electronic device, and computer-readable storage medium
CN116048373B (en) Display method of suspension ball control, electronic equipment and storage medium
CN116450066A (en) Split screen display method, electronic device and readable storage medium
CN118113181A (en) Single-hand operation method and electronic equipment
CN118426892A (en) Interface switching method, electronic equipment and storage medium
CN115877939A (en) Input method, electronic device and storage medium
CN117724783A (en) Dynamic effect display method and electronic equipment
CN111580706B (en) Electronic device providing user interaction and method thereof
CN115808999A (en) Window display method, terminal device and computer readable storage medium
CN115495002A (en) Control method and electronic equipment

Legal Events

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