WO2023241013A1 - 界面操作方法、装置、电子设备及存储介质 - Google Patents

界面操作方法、装置、电子设备及存储介质 Download PDF

Info

Publication number
WO2023241013A1
WO2023241013A1 PCT/CN2022/143820 CN2022143820W WO2023241013A1 WO 2023241013 A1 WO2023241013 A1 WO 2023241013A1 CN 2022143820 W CN2022143820 W CN 2022143820W WO 2023241013 A1 WO2023241013 A1 WO 2023241013A1
Authority
WO
WIPO (PCT)
Prior art keywords
application
display
screen
interface
interfaces
Prior art date
Application number
PCT/CN2022/143820
Other languages
English (en)
French (fr)
Inventor
莫博宇
韦家柏
Original Assignee
Oppo广东移动通信有限公司
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 Oppo广东移动通信有限公司 filed Critical Oppo广东移动通信有限公司
Publication of WO2023241013A1 publication Critical patent/WO2023241013A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/0485Scrolling or panning
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04883Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures for inputting data by handwriting, e.g. gesture or text
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04886Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures by partitioning the display area of the touch-screen or the surface of the digitising tablet into independently controllable areas, e.g. virtual keyboards or menus

Definitions

  • the present application relates to the field of terminal technology, and more specifically, to an interface operation method, device, electronic equipment and storage medium.
  • electronic devices can display multiple application interfaces based on split-screen mode.
  • the electronic device displays multiple application interfaces in a split-screen manner, and the multiple application interfaces include two or more interfaces
  • the multiple application interfaces displayed based on the split-screen method need to be
  • the application interface in the application world is closed, which causes the electronic device to be unable to better display the real-time status of the closed application interface.
  • this application proposes an interface operation method, device, electronic device and storage medium to improve the above problems.
  • the present application provides an interface operation method, which is applied to an electronic device.
  • the method includes: displaying multiple application interfaces on a split screen, and the multiple application interfaces include two or more interfaces; and a response function.
  • the first operation of the screen at least two application interfaces among the plurality of application interfaces are switched to floating window display.
  • this application provides an interface operation device, which runs on electronic equipment.
  • the device includes: an interface display unit for displaying multiple application interfaces on a split screen.
  • the multiple application interfaces include two and two The above interface; an interface operation unit, configured to switch at least two application interfaces among the plurality of application interfaces to a floating window display in response to a first operation acting on the screen.
  • the present application provides an electronic device, including one or more processors and a memory; one or more programs are stored in the memory and configured to be executed by the one or more processors, The one or more programs are configured to perform the above method.
  • the present application provides a computer-readable storage medium storing a program code executable by a processor.
  • the computer-readable storage medium includes the stored program code, wherein the above-mentioned steps are executed when the program code is run. Methods.
  • Figure 1 shows a schematic diagram of an application scenario of an interface operation method proposed by an embodiment of the present application
  • Figure 2 shows a schematic diagram of another application scenario of an interface operation method proposed by the embodiment of the present application
  • Figure 3 shows a flow chart of an interface operation method proposed by the embodiment of the present application
  • Figure 4 shows a schematic diagram of multiple application interfaces displayed in a split-screen manner in an embodiment of the present application
  • Figure 5 shows a schematic diagram of the application interface being cut and displayed in suspension in the embodiment of the present application
  • Figure 6 shows a schematic diagram of three application interfaces displayed in a split-screen manner in this embodiment of the present application
  • Figure 7 shows a schematic diagram of the passing position of the first operation in the embodiment of the present application.
  • Figure 8 shows a schematic diagram of the split-screen application interface reducing the display area in response to the first operation in the embodiment of the present application
  • Figure 11 shows a schematic diagram of operating a suspended display application interface to increase the display area in an embodiment of the present application
  • Figure 12 shows a schematic diagram of the suspended display application interface after the display area is increased in the embodiment of the present application
  • Figure 14 shows a schematic diagram of the third operation in the embodiment of the present application.
  • Figure 16 shows a schematic diagram of the arrangement of multiple application interfaces in a split-screen display state in an embodiment of the present application
  • Figure 19 is a storage unit used to save or carry the program code for implementing the interface operation method according to the embodiment of the present application.
  • the application interface 10 and the application interface 11 are displayed in a split-screen manner.
  • the split-screen application interface 10 and the application interface 11 are respectively displayed in different areas on the screen of the electronic device 100 .
  • the electronic device shown in FIG. 2 may include a display area 20 and a display area 30 (the display area 20 and the display area 30 are separated by a dotted line in FIG. 2 ), and the display area 20 and The display area 30 can be relatively folded.
  • the display area 20 and the display area 30 are folded to the state shown in FIG. 2 , the display area 20 and the display area 30 may be on the same plane.
  • the application interface 21 can be displayed in the display area 20 and the application interface 31 displayed in the display area 30 is in a split-screen display state.
  • This application provides an interface operation method, which is applied to electronic equipment.
  • the method includes:
  • S110 Display multiple application interfaces in split screen, and the multiple application interfaces include two or more interfaces.
  • the other opened application interfaces can be directly stacked and displayed below the at least two application interfaces, or it can be understood that the at least two application interfaces displayed as suspended can be directly suspended above other application interfaces further opened by the electronic device, so that When the electronic device opens other application interfaces, the user can still directly see the real-time status of the originally split-screen application interface.
  • the real-time status of the application interface may include real-time changes in content displayed in the application interface. For example, if the application interface is a chat interface, and the content displayed on the chat interface is the chat content, then the real-time changes in the chat interface will be the real-time changes in the chat content. As another example, take the application interface as a video interface, and the content displayed in the video interface is video content, then the real-time changes in the video interface are changes in the video content.
  • the first operation for triggering switching of at least two application interfaces among the plurality of application interfaces to floating display may be implemented in a variety of ways.
  • the first operation may be a sliding operation, a clicking operation, a long press operation, etc.
  • the specific operation of the first operation can be set in various ways. As a way, this first action can be pre-configured by the developer.
  • the first operation may be configured by the user of the electronic device according to his or her own operating habits. In this way, the electronic device can be configured with a setting interface for the first operation. In the setting interface for the first operation, the user can set the specific operation mode of the first operation according to his own needs.
  • the electronic device switches both application interfaces displayed in split screen to floating display. For example, as shown in FIG. 4 , the application interface 40 and the application interface 41 are displayed on the screen of the electronic device in a split-screen manner. After the first operation is performed on the screen, as shown in FIG. 5 , the application interface 40 and the application interface 41 will be suspended and displayed on the screen. In the case shown in FIG. 5 , the application interface 40 and the application interface 41 are displayed suspended on the desktop.
  • the electronic device can determine based on the default configuration that the application interface displayed in split screen will switch to Interface for floating display. For example, the electronic device can switch the two application interfaces arranged on the left side of the screen to floating display by default, and can also switch the two application interfaces arranged on the right side of the screen to floating display by default. Furthermore, optionally, the electronic device may also determine the application interface that needs to be switched to the floating display based on the first operation.
  • the application interface includes application interface 42 and In the case of application interface 43, application interface 42 and application interface 43 will be switched to floating display.
  • the application interface that is in contact with the first operation can be switched to floating display.
  • the first operation can be a sliding operation.
  • the location of the sliding operation will be recorded, and then the area occupied by the split-screen application interface will be compared with the sliding operation.
  • the operation path position is compared. If the area occupied by the application interface overlaps with the sliding operation path position, the application interface is determined to be the application interface to be switched to a floating display.
  • the application interface 42, the application interface 43 and the application interface 44 are displayed on the screen of the electronic device in a split-screen manner, where the circular area 45 is the starting position of the sliding operation, and the circular area 46 This is the end position of the sliding operation, and the sliding operation starts from the circular area 45 in the direction indicated by the dotted arrow and ends at the circular area 46 .
  • the path position of the sliding operation overlaps with the areas occupied by the application interface 42, the application interface 43 and the application interface 44.
  • the electronic device will all use the application interface 42, the application interface 43 and the application interface 44. As an application interface that needs to be switched to floating display.
  • the application interface affected by the first operation may be determined as the application interface to be switched to floating display.
  • the application interface affected by the first operation can be understood as the touched application interface. For example, when the multi-finger touch gesture is a two-finger swipe, if the electronic device detects a two-finger swipe, it will determine the touched application interface as the application interface to be switched to a floating display.
  • a floating window can be configured for each application interface, so that the application interface can be displayed in the corresponding floating window. in to switch the application interface to a floating display.
  • a process animation can be corresponding between the states.
  • the first operation is a sliding operation starting from a specified position.
  • the electronic device may trigger at least two of the multiple application interfaces to reduce the display area in response to a sliding operation starting from a designated position. If the touch object acting on the sliding operation ends touching the screen, the at least two application interfaces will be The application interface is switched to floating display.
  • At least two application interfaces among the multiple application interfaces can be caused to gradually reduce the display area following the progress of the sliding operation. It is also possible to directly reduce the display area of at least two of the multiple application interfaces to a preset size after the sliding operation starting from the designated position is triggered. For example, as shown in Figure 8, if the user uses a finger (a touch object) to slide upward from the bottom of the screen (a specified position) and slides to a specified height, it can trigger the need to switch to floating.
  • the displayed application interface reduces the display area (from the display area shown in the left image in Figure 8 to the display area shown in the right image), and the touch object (for example, finger) that performs the sliding operation ends in contact with the screen. After contact, the application interface 40 and the application interface 41 are triggered to switch to the suspended display state shown in FIG. 5 .
  • the electronic device may resume split-screen display of the multiple application interfaces in response to the second operation on the suspended-displayed application interface.
  • the second operation is an operation that triggers switching to the floating display application interface due to the first operation and restoring it to the original split-screen display state.
  • the second operation may be implemented in various ways.
  • the second operation may include an operation of increasing the size of the application interface. In this case, in response to the operation of increasing the size of the application interface acting on the suspended-displayed application interface, the size of the suspended-displayed application interface is increased, if If the size of the suspended-displayed application interface is greater than the size threshold, split-screen display of the multiple application interfaces is resumed.
  • both the first operation and the second operation can be configured by the user.
  • the first operation and the second operation need to be different operations, so that the electronic device can distinguish the user's current operation purpose.
  • This embodiment provides an interface operation method.
  • the multiple application interfaces are displayed on a split screen and the multiple application interfaces include two or more interfaces
  • the At least two application interfaces among the plurality of application interfaces are switched to floating window display. Therefore, through the above method, when there are multiple application interfaces displayed based on the split-screen mode, at least two application interfaces among the multiple application interfaces can be switched to floating display by triggering the first operation, so that the at least two application interfaces can be displayed in a split-screen manner.
  • Two application interfaces can be suspended on the newly opened application interface, so that the electronic device can still display the real-time status of the at least two application interfaces in real time when displaying the newly opened interface.
  • This application provides an interface operation method applied to electronic equipment.
  • the method includes:
  • the electronic device can generate the first display container based on the TaskPair class (inherited from the native Task object) .
  • the multiple application interfaces displayed in split screen each correspond to an Activity component.
  • the multiple application interfaces displayed in split screen are configured in the first display container, as shown in Figure 10, then It can be understood that multiple application interfaces each have Tasks corresponding to Activity components and are saved to the TaskPair class.
  • switching the multiple application interfaces to floating window display includes: responding to the first operation acting on the screen, obtaining the information related to the multiple application interfaces.
  • the respective corresponding floating windows enable the plurality of application interfaces to be displayed in respective corresponding floating windows.
  • the multiple application interfaces are understood as a split-screen combination. That is, the multiple application interfaces are displayed based on combination.
  • the multiple floating windows can be understood as a floating window combination.
  • the floating windows corresponding to the multiple application interfaces are in a combined relationship.
  • the method provided by the embodiment of the present application also includes: responding to a touch operation acting on any floating window, obtaining a control operation corresponding to the touch operation, and executing the above-mentioned method for each floating window corresponding to the multiple application interfaces.
  • control operations For example, as shown in Figure 11, if there is a drag operation whose starting position is shown in the circular area 50 in Figure 11, it can be clearly understood that the drag operation affects the floating window corresponding to the application interface 40.
  • the control operation of the floating window is to increase the display area of the floating window where the application interface 40 is located to simultaneously increase the display area of the application interface 40.
  • the electronic device will also synchronously increase the floating window where the application interface 41 is located.
  • the display area of the application interface 41 is increased synchronously, so that the application interface 40 and the application interface 41 can be synchronously increased to the style shown in FIG. 12 .
  • At least two application interfaces switched from multiple application interfaces displayed in split screen to suspended display may be associated in the suspended display state.
  • application interfaces that are related to each other can be synchronously transformed in terms of display position and display area. For example, when an application interface with a floating display increases or decreases its display area in response to a user's operation, other application interfaces associated with the application interface operated by the user will also increase or decrease synchronously. Small display area.
  • an application interface with a floating display moves its display position in response to a user's operation, other application interfaces associated with the application interface operated by the user will also move synchronously.
  • a corresponding floating window can be configured for the application interface in this embodiment to establish an association between multiple application interfaces of the floating display.
  • the correspondence relationship includes the correspondence between application A and application B, the correspondence between application C and application D, and the correspondence between application E and application F.
  • the application program to which the application interface determined to be displayed in a floating state belongs includes application A and application C, then it is determined that the application interface to which the application interface determined to be displayed in a floating state belongs is If the program has no corresponding relationship, the application interface determined to be suspended will be set to be suspended at a certain distance.
  • the electronic device when it is determined that the application interfaces are set to be suspended side by side, the electronic device may further determine the floating position according to the action position of the first operation. In this way, the position where the first operation ends can be determined as the position where the application interface is suspended.
  • S330 In response to the third operation acting on the screen, determine the interface on which the third operation acts as the target interface from the plurality of application interfaces.
  • the split-screen waiting state represents a state of waiting for the user to further select an application to trigger split-screen display of the application interface.
  • the application interface in the split-screen waiting state will be displayed in split-screen mode with the application interface of the application further selected by the user.
  • some areas will be hidden to reduce screen occupation and to facilitate the user to further select applications for split-screen display.
  • the third operation can be a sliding operation starting from the top corner of the screen, as shown in Figure 14.
  • S350 In response to selecting an application program for split-screen display, perform split-screen display on the application interface of the application program for split-screen display and the application interface in the split-screen waiting state.
  • the application interface that is switched to floating display can also be set to be suspended before Above the application interface in split-screen waiting state.
  • the application selected by the user for split-screen display is the application that the user is currently more concerned about, so in order to avoid causing the application interface that was previously switched to floating display to be more concerned about the application that the user is currently more concerned about If the content displayed in the screen causes interference, you can set the application interface that is switched to floating display to float above the application interface that was previously in the split-screen waiting state.
  • the application interface M and the application interface N are displayed in a split-screen manner
  • the electronic device switches the application interface M to a floating display in response to the third operation
  • the application interface N is then Will be in split-screen waiting state.
  • the application interface of application L and the application interface N will be displayed in split-screen mode.
  • the floating-displayed application interface M will be set to floating.
  • the application interface N will be set to floating.
  • the fourth operation can also be triggered by triggering the suspended-displayed application interface. Restore the suspended application interface to its previous split-screen display state.
  • the fourth operation may be implemented in various ways.
  • the fourth operation may be a sliding operation, a clicking operation, a long press operation, etc.
  • the specific operation of the fourth operation can be set in various ways. As a way, this fourth operation can be pre-configured by the developer.
  • the fourth operation can be configured by the user of the electronic device according to his or her own operating habits. In this way, the electronic device can be configured with a setting interface for the fourth operation, and in the setting interface for the fourth operation, the user can set the specific operation mode of the fourth operation.
  • both the third operation and the fourth operation can be configured by the user.
  • the third operation and the fourth operation need to be different operations, so that the electronic device can distinguish the user's current operation purpose.
  • This embodiment provides an interface operation method, so that when there are multiple application interfaces displayed based on the split-screen mode, at least two of the multiple application interfaces can be triggered by triggering the first operation.
  • the application interface is switched to floating display, so that the at least two application interfaces can be suspended on the newly opened application interface, so that the electronic device can still display the real-time status of the at least two application interfaces in real time while displaying the newly opened interface. display.
  • the electronic device can also respond to the third operation to suspend only the target interface among the multiple application interfaces displayed in split screen, and trigger other application interfaces to switch to split screen waiting. status, so that users can more conveniently switch the application interface for split-screen display, and at the same time, they can simultaneously see the real-time status of the original split-screen application interface (the application interface that is currently switched to floating display).
  • an application interface when an application interface is in a floating display, some content in the application interface requires the user to perform a page turning operation before it is presented to the user. Usually, the user triggers the application interface to turn pages by performing a sliding operation on the application interface. However, when the application interface is in a suspended display, triggering a sliding operation on the application interface can also drag the suspended application interface. Change the display position of the application interface.
  • the application interface that switches from the split-screen display state to the floating display state, operations related to the interface content are prohibited. If the user wishes to perform content-related operations on the application interface switched to floating display, he or she can trigger the switching of the floating-displaying application interface back to split-screen display or full-screen display before performing content-related operations on the interface.
  • the operations related to the interface content include page turning operations on the application interface, clicking on the content (text content or image content) in the application interface, changing the content in the interface, and inputting content in the interface.
  • multiple application interfaces may be arranged in various ways.
  • the application interface 42, the application interface 43, and the application interface 44 may be arranged as shown in FIG. 16, or may be arranged as shown in the aforementioned FIGS. 6 and 7.
  • the arrangement of the multiple application interfaces during floating display can be the same as that of the previous split-screen display.
  • the display layout is the same.
  • the device 400 includes:
  • the interface display unit 410 is configured to display multiple application interfaces on a split screen, where the multiple application interfaces include two or more interfaces.
  • the interface operation unit 420 is configured to switch at least two application interfaces among the plurality of application interfaces to floating window display in response to a first operation acting on the screen.
  • the interface operation unit 420 is specifically configured to switch the multiple application interfaces to floating window display in response to the first operation acting on the screen.
  • the interface display unit 410 is specifically configured to display multiple application interfaces in a split-screen manner, and configure the multiple application interfaces in the first display container.
  • the interface operation unit 420 is specifically configured to switch the display mode of the first display container to the floating window mode in response to the first operation on the screen, so as to switch multiple application interfaces to floating display.
  • the interface operation unit 420 is specifically configured to obtain floating windows corresponding to the multiple application interfaces in response to the first operation acting on the screen; and enable the multiple application interfaces to operate in the respective corresponding floating windows. show. In one way, the floating windows corresponding to the multiple application interfaces are in a combined relationship. In this way, the interface operation unit 420 is also used to respond to the touch operation on any floating window, obtain the control operation corresponding to the touch operation; All perform the control operations described.
  • the interface operation unit 420 is specifically configured to trigger at least two application interfaces among the plurality of application interfaces to reduce the display area in response to the sliding operation starting from the specified position; if the sliding operation is executed, The touch object ends touching the screen, and the at least two application interfaces are switched to floating display.
  • the interface operation unit 420 is also configured to resume split-screen display of the multiple application interfaces in response to the second operation on the suspended-displayed application interface.
  • the interface operation unit 420 is also configured to respond to the third operation acting on the screen, determine the interface on which the third operation acts as the target interface from the plurality of application interfaces; switch the target interface It is a floating display, and the interfaces among the plurality of application interfaces except the target interface are switched to a split-screen waiting state.
  • the interface operation unit 420 is also configured to, in response to selecting an application program for split-screen display, combine the application interface of the application program for split-screen display with the application interface in the split-screen waiting state. The application interface is displayed in split screen.
  • This embodiment provides an interface operating device that, when multiple application interfaces are displayed on a split screen and the multiple application interfaces include two or more interfaces, can respond to the first operation acting on the screen. At least two application interfaces among the plurality of application interfaces are switched to floating window display. Therefore, through the above method, when there are multiple application interfaces displayed based on the split-screen mode, at least two application interfaces among the multiple application interfaces can be switched to floating display by triggering the first operation, so that the at least two application interfaces can be displayed in a split-screen manner. Two application interfaces can be suspended on the newly opened application interface, so that the electronic device can still display the real-time status of the at least two application interfaces in real time when displaying the newly opened interface.
  • inventions of the present application also provide an electronic device 1000 that can execute the foregoing interface operation method.
  • the electronic device 1000 includes one or more (only one is shown in the figure) processors 105, a memory 104, an audio playback module 106 and an audio collection device 108 that are coupled to each other.
  • the memory 104 stores programs that can execute the content in the aforementioned embodiments, and the processor 105 can execute the programs stored in the memory 104 .
  • the processor 105 may include one or more processing cores.
  • the processor 105 uses various interfaces and lines to connect various parts of the entire electronic device 1000, and executes by running or executing instructions, programs, code sets or instruction sets stored in the memory 104, and calling data stored in the memory 104.
  • the processor 105 can use at least one of digital signal processing (Digital Signal Processing, DSP), field-programmable gate array (Field-Programmable Gate Array, FPGA), and programmable logic array (Programmable Logic Array, PLA). implemented in hardware form.
  • DSP Digital Signal Processing
  • FPGA Field-Programmable Gate Array
  • PLA programmable logic array
  • the memory 104 may include random access memory (RAM) or read-only memory (Read-Only Memory). Memory 104 may be used to store instructions, programs, codes, sets of codes, or sets of instructions. For example, the memory 104 may store a content display device. The content display device may be the aforementioned device 400.
  • the memory 104 may include a program storage area and a data storage area, where the program storage area may store instructions for implementing an operating system and instructions for implementing at least one function (such as a touch function, a sound playback function, an image playback function, etc.) , instructions for implementing each of the following method embodiments, etc.
  • Sensor module 112 may include at least one sensor. Specifically, the sensor module 112 may include, but is not limited to: pressure sensors, motion sensors, acceleration sensors, and other sensors.
  • Audio collection device 110 is used to collect audio signals.
  • the audio collection device 110 includes multiple audio collection devices, and the audio collection devices may be microphones.
  • Figure 19 shows a structural block diagram of a computer-readable storage medium provided by an embodiment of the present application.
  • Program code is stored in the computer-readable medium 1100, and the program code can be called by the processor to execute the method described in the above method embodiment.
  • references to the terms “one embodiment,” “some embodiments,” “an example,” “specific examples,” or “some examples” or the like means that specific features are described in connection with the embodiment or example. , structures, materials or features are included in at least one embodiment or example of the present application. In this specification, the schematic expressions of the above terms are not necessarily directed to the same embodiment or example. Furthermore, the specific features, structures, materials or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, those skilled in the art may combine and combine different embodiments or examples and features of different embodiments or examples described in this specification unless they are inconsistent with each other.
  • first and second are used for descriptive purposes only and cannot be understood as indicating or implying relative importance or implicitly indicating the quantity of indicated technical features. Therefore, features defined as “first” and “second” may explicitly or implicitly include at least one of these features.
  • “plurality” means at least two, such as two, three, etc., unless otherwise expressly and specifically limited.
  • logic and/or steps represented in the flowcharts or otherwise described herein, for example, may be considered a sequenced list of executable instructions for implementing the logical functions, and may be embodied in any computer-readable medium, For use by, or in combination with, instruction execution systems, devices or devices (such as computer-based systems, systems including processors or other systems that can fetch instructions from and execute instructions from the instruction execution system, device or device) or equipment.

Landscapes

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

Abstract

本申请实施例公开了一种界面操作方法、装置、电子设备及存储介质。所述方法包括:分屏显示多个应用界面,所述多个应用界面包括两个及两个以上的界面;响应作用于屏幕的第一操作,将所述多个应用界面中的至少两个应用界面切换为悬浮窗显示。从而通过上述方式使得在有多个应用界面在基于分屏方式进行显示的情况下,可以通过触发第一操作而将多个应用界面中的至少两个应用界面切换为悬浮显示,使得该至少两个应用界面可以悬浮在新打开的应用界面上,以便电子设备在显示新打开的界面的情况下依然可以实时的对该至少两个应用界面的实时状态进行显示。

Description

界面操作方法、装置、电子设备及存储介质
相关申请的交叉引用
本申请要求于2022年6月14日提交的申请号为202210672883.5的中国申请的优先权,其在此出于所有目的通过引用将其全部内容并入本文。
技术领域
本申请涉及终端技术领域,更具体地,涉及一种界面操作方法、装置、电子设备及存储介质。
背景技术
随着终端技术的发展,电子设备可以基于分屏方式对多个应用界面进行显示。但是,在电子设备分屏显示多个应用界面,且多个应用界面包括两个及两个以上的界面的情况下,若用户需要启动其他应用界面,则需要对基于分屏方式显示的多个应用界中的应用界面进行关闭,进而就造成电子设备无法较好的显示被关闭应用界面的实时状态。
发明内容
鉴于上述问题,本申请提出了一种界面操作方法、装置、电子设备及存储介质,以改善上述问题。
第一方面,本申请提供了一种界面操作方法,应用于电子设备,所述方法包括:分屏显示多个应用界面,所述多个应用界面包括两个及两个以上的界面;响应作用于屏幕的第一操作,将所述多个应用界面中的至少两个应用界面切换为悬浮窗显示。
第二方面,本申请提供了一种界面操作装置,运行于电子设备,所述装置包括:界面显示单元,用于分屏显示多个应用界面,所述多个应用界面包括两个及两个以上的界面;界面操作单元,用于响应作用于屏幕的第一操作,将所述多个应用界面中的至少两个应用界面切换为悬浮窗显示。
第三方面,本申请提供了一种电子设备,包括一个或多个处理器以及存储器;一个或多个程序被存储在所述存储器中并被配置为由所述一个或多个处理器执行,所述一个或多个程序配置用于执行上述的方法。
第四方面,本申请提供的一种存储有处理器可执行的程序代码的计算机可读存储介质,所述计算机可读存储介质包括存储的程序代码,其中,在所述程序代码运行时执行上述的方法。
附图说明
为了更清楚地说明本申请实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1示出了本申请实施例提出的一种界面操作方法的一种应用场景示意图;
图2示出了本申请实施例提出的一种界面操作方法的另一种应用场景示意图;
图3示出了本申请实施例提出的一种界面操作方法的流程图;
图4示出了本申请实施例中多个应用界面基于分屏方式进行显示的示意图;
图5示出了本申请实施例中应用界面被切悬浮显示的示意图;
图6示出了本申请实施例中三个应用界面基于分屏方式进行显示的示意图;
图7示出了本申请实施例中第一操作的途经位置的示意图;
图8示出了本申请实施例中分屏显示的应用界面响应于第一操作缩小显示面积的示意图;
图9示出了本申请再一实施例提出的一种界面操作方法的流程图;
图10示出了本申请中对至少两个应用界面进行悬浮显示的技术原理图;
图11示出了本申请实施例中对悬浮显示的应用界面进行操作以增大显示面积的示意图;
图12示出了本申请实施例中悬浮显示的应用界面增大显示面积后的示意图;
图13示出了本申请又一实施例提出的一种界面操作方法的流程图;
图14示出了本申请实施例中第三操作的示意图;
图15示出了本申请实施例中处于分屏等待状态的示意图;
图16示出了本申请实施例中多个应用界面在分屏显示状态下的排布方式的示意图;
图17示出了本申请另一实施例提出的一种视频播放装置的结构框图;
图18示出了本申请的用于执行根据本申请实施例的界面操作方法的电子设备的结构框图;
图19是本申请实施例的用于保存或者携带实现根据本申请实施例的界面操作方法的程序代码的存储单元。
具体实施方式
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。
随着终端技术的发展,电子设备中所安装的应用程序也越来越多,并且应用程序所能实现的功能也越来越多。在一些情况下,用户期望能够同时对多个应用程序进行使用,则可以操作电子设备以触发该多个应用程序的界面基于分屏方式进行显示。在多个应用程序的界面基于分屏方式进行显示的情况下,属于不同应用程序的多个应用界面可以同时显示在电子设备屏幕中。
例如,如图1所示,应用界面10和应用界面11基于分屏方式进行显示。在图1所示的情况下,分屏显示的应用界面10和应用界面11分别在电子设备100的屏幕中的不同区域进行显示。再例如,如图2所示,在图2所示的电子设备中可以包括有显示区域20和显示区域30(显示区域20和显示区域30由图2中的虚线分割),且显示区域20和显示区域30可相对折叠。在显示区域20和显示区域30折叠到如图2所示的状态下,显示区域20和显示区域30可以处于同一平面。并且,在处于同一平面的情况下,可以在显示区域20中显示应用界面21以及在显示区域30中显示应用界面31则为处于分屏显示状态。
但是,发明人在研究中发现,在相关的基于分屏方式显示应用界面的情况下,若用户需要启动其他应用界面(分屏显示的应用界面以外的界面),则需要对基于分屏方式显示的多个应用界中的应用界面进行关闭,进而就造成电子设备无法较好的显示被关闭应用界面的实时状态。
因此,发明人提出了本申请中的一种界面操作方法、装置、电子设备及存储介质,在分屏显示多个应用界面,所述多个应用界面包括两个及两个以上的界面的情况下,可以响应作用于屏幕的第一操作,将所述多个应用界面中的至少两个应用界面切换为悬浮窗显示。从而通过上述方式使得在有多个应用界面在基于分屏方式进行显示的情况下,可以通过触发第一操作而将多个应用界面中的至少两个应用界面切换为悬浮显示,使得该至少两个应用界面可以悬浮在新打开的应用界面上,以便电子设备在显示新打开的界面的情况下依然可以实时的对该至少两个应用界面的实时状态进行显示。
其中,在本申请实施例中,所提供的界面操作方法可以适用于图1和图2中所示的场景。
下面将结合附图具体描述本申请的各实施例。
请参阅图3,本申请提供的一种界面操作方法,应用于电子设备,所述方法包括:
S110:分屏显示多个应用界面,所述多个应用界面包括两个及两个以上的界面。
在本申请实施例中,多个应用界面进行分屏显示可以理解为多个应用界面共同显示在电子设备的屏幕中,且多个应用界面各自所占用的显示区域不同。例如,请再参阅图1以及图2,分屏显示的多个应用界面并排在屏幕中。再者,在本申请实施例中,进行分屏显示的多个应用界面的数量并不做具体限定,可选的,该多个应用界面的数量可以至少为两个。例如,可以如图1和图2中所示的有两个应用界面进行分屏显示,也可以有三个或者更多数量的应用界面进行分屏显示。
S120:响应作用于屏幕的第一操作,将所述多个应用界面中的至少两个应用界面切换为悬浮窗显示。
其中,第一操作为触发分屏显示的多个应用界面中的至少两个应用界面切换为悬浮显示的操作。其中,将至少两个应用界面切换为悬浮显示的操作使得电子设备可以直接在该悬浮显示的应用界面的下方显示其他应用界面(该分屏方式显示多个应用界面以外的界面)。例如,在多个应用界面中的至少两个应用界面切换为悬浮显示的情况下,若电子设备进一步打开的其他应用界面。该被打开的其他应用界面可以直接层 叠在该至少两个应用界面的下方进行显示,或者可以理解为该悬浮显示的至少两个应用界面可以直接悬浮在电子设备进一步打开的其他应用界面上方,以便电子设备在打开其他应用界面的情况下,用户依然可以直接看到原本分屏显示的应用界面的实时状态。
其中,应用界面的实时状态可以包括应用界面中所显示内容的实时变化情况。例如,以应用界面为聊天界面为例,对于聊天界面而言所显示内容为聊天内容,那么聊天界面的实时变化情况则为聊天内容的实时变化情况。再例如,以应用界面为视频界面为例,视频界面中所显示的内容为视频内容,那么视频界面的实时变化情况则为视频内容的变化情况。
在本申请实施例中,用于触发将多个应用界面中的至少两个应用界面切换为悬浮显示的第一操作可以有多种实施方式。例如,第一操作可以为滑动操作,也可以为点击操作,还可以为长按操作等。而在本申请实施例中,第一操作具体为何种操作可以有多种设置方式。作为一种方式,该第一操作可以由开发人员预先配置。作为另外一种方式,第一操作可以由电子设备的用户根据自己的操作习惯进行配置。在这种方式下,电子设备中可以配置有第一操作的设置界面,在该第一操作的设置界面中,用户可以根据自己的需求设置第一操作具体的操作方式。
在本申请实施例中,将多个应用界面中的至少两个应用界面切换为悬浮显示的过程中,具体切换为悬浮显示的应用界面的数量可以根据实际情况进行确定。例如,在分屏显示的多个应用界面只有两个的情况下,将至少两个应用界面切换为悬浮显示,则意味着是将分屏显示的多个应用界面均切换为悬浮显示。在分屏显示的多个应用界面有三个及以上的情况下,将多个应用界面中的至少两个应用界面切换为悬浮显示则可以从分屏显示的多个应用界面中选择至少两个应用界面进行悬浮显示。
其中,在本申请实施例中,可以有多种方式来确定分屏显示的应用界面中会切换为进行悬浮显示的界面。
作为一种方式,在分屏显示的多个应用界面的数量为两个的情况下,电子设备响应于第一操作,则会将分屏显示的两个应用界面均切换为悬浮显示。示例性的,如图4所示,应用界面40和应用界面41基于分屏方式显示在电子设备的屏幕中。在有作用于屏幕的第一操作后,如图5所示,则会将应用界面40和应用界面41悬浮显示在屏幕中。其中,在图5所示的情况下,应用界面40和应用界面41悬浮显示在桌面上。
作为另外一种方式,在分屏显示的多个应用界面的数量为三个及以上的情况下,可选的,电子设备则可以基于默认的配置来确定分屏显示的应用界面中会切换为进行悬浮显示的界面。例如,电子设备可以默认将排列在靠屏幕左侧的两个应用界面切换为悬浮显示,也可以默认将排列在靠屏幕右侧的两个应用界面切换为悬浮显示。再者,可选的,电子设备也可以根据第一操作来确定需要切换到悬浮显示的应用界面。
在根据第一操作来确定需要切换到悬浮显示的应用界面的情况下,可以根据第一操作所作用位置来确定需要切换到悬浮显示的应用界面。可选的,可以将对应的位置与第一操作的作用位置之间的间距小于指定距离阈值的应用界面确定为需要切换到悬浮显示的应用界面。其中,应用界面对应的位置可以为应用界面中的中心位置。示例性的,如图6所示,应用界面42、应用界面43以及应用界面44基于分屏方式显示在电子设备的屏幕中。在图6所示的情况下,若有作用于图6中圆形区域处的第一操作后,且确定对应位置与该圆形区域处的间距小于指定距离阈值的应用界面包括应用界面42和应用界面43的情况下,则会将应用界面42和应用界面43切换为悬浮显示。
可选的,可以将分屏显示的多个应用界面中,与第一操作有接触的应用界面切换为悬浮显示。例如,第一操作可以为滑动操作,那么在这种方式下,检测到有滑动操作时,则会将滑动操作的途经位置进行记录,然后将分屏显示的应用界面所的所占用区域与滑动操作的途经位置进行比对,若有应用界面所占用区域与滑动操作途经位置重叠,则将该应用界面确定为要切换为悬浮显示的应用界面。示例性的,如图7所示,应用界面42、应用界面43以及应用界面44基于分屏方式显示在电子设备的屏幕中,其中,圆形区域45为滑动操作的开始位置,圆形区域46为该滑动操作的结束位置,且该滑动操作从圆形区域45处开始沿虚线箭头所示方向开始触发并在圆形区域46处结束。从图7中可以看出的是,滑动操作的途经位置与应用界面42、应用界面43以及应用界面44所占用区域均重叠,电子设备则会将应用界面42、应用界面43以及应用界面44均作为需要切换为悬浮显示的应用界面。
作为再一种方式,在第一操作为多指触控手势的情况下。可以将第一操作所作用到的应用界面确定为要切换为悬浮显示的应用界面。在第一操作为多指触控手势的情况下,第一操作所作用到的应用界面可以理解为被触控到的应用界面。例如,在多指触控手势为双指滑动的情况下,若电子设备检测到有双指滑动,则会将被触控的应用界面确定为要切换为悬浮显示的应用界面。
需要说明的是,在本申请实施例中,作为一种方式,在确定需要进行悬浮显示的应用界面后,可以给每个应用界面配置一悬浮窗,从而使得应用界面可以显示在对应的悬浮窗中,以实现将应用界面切换为悬浮显示。
作为一种方式,在本申请实施例中,为了进一步提升用户体验,对于确定从分屏显示的状态切换到 悬浮显示的状态的应用界面,可以在状态之间对应有过程动画。例如,以第一操作为从指定位置开始的滑动操作为例。电子设备可以响应于从指定位置开始的滑动操作,触发多个应用界面中的至少两个应用界面缩小显示面积,若作用该滑动操作的触控物结束对屏幕的触控,将所述至少两个应用界面切换为悬浮显示。可选的,在本申请实施例中,可以在该从指定位置开始的滑动操作开始触发后,使得多个应用界面中的至少两个应用界面跟随滑动操作的进行而逐渐缩小显示面积。也可以在该从指定位置开始的滑动操作开始触发后,直接将多个应用界面中的至少两个应用界面的显示面积直接缩小到预设的尺寸。示例性的,如图8所示,若用户通过手指(一种触控物)从屏幕的底部(一种指定位置)开始向上进行滑动操作并滑动到指定高度后,则可以触发需要切换到悬浮显示的应用界面缩小显示面积(从图8中左侧图像所示的显示面积缩小到右侧图像所示的显示面积),并在作用滑动操作的触控物(例如,手指)结束与屏幕的接触后,触发将应用界面40和应用界面41切换到图5中所示的悬浮显示的状态。
再者,在本申请实施例中,电子设备可以响应作用于悬浮显示的应用界面的第二操作,恢复对所述多个应用界面进行分屏显示。其中,第二操作为触发将因为第一操作而切换到悬浮显示的应用界面,恢复到原本的分屏显示状态的操作。在本申请实施例中,第二操作可以有多种实施方式。例如,第二操作可以包括增加所述应用界面尺寸的操作,在这种情况下,响应作用于悬浮显示的应用界面的增大应用界面尺寸的操作,增大悬浮显示的应用界面的尺寸,若悬浮显示的应用界面的尺寸大于尺寸阈值,恢复对所述多个应用界面进行分屏显示。其中,增加所述应用界面尺寸的操作可以包括按压应用界面的边缘然后在按压应用界面的边缘的情况下对应用程序进行拖拽的操作。再者,第二操作可以也可以为作用于应用界面的点击操作,还可以为作用于应用界面的长按操作等。而在本申请实施例中,第二操作具体为何种操作可以有多种设置方式。作为一种方式,该第二操作可以由开发人员预先配置。作为另外一种方式,第二操作可以由电子设备的用户根据自己的操作习惯进行配置。在这种方式下,电子设备中可以配置有第二操作的设置界面,在该第二操作的设置界面中,用户则可以设置第二操作具体的操作方式。
需要说明的是,在本申请实施例中,在第一操作和第二操作均可以由用户进行配置的情况下。第一操作和第二操作需要为不同的操作,从而使得电子设备可以区分用户当前的操作目的。
本实施例提供的一种界面操作方法,在分屏显示多个应用界面,所述多个应用界面包括两个及两个以上的界面的情况下,可以响应作用于屏幕的第一操作,将所述多个应用界面中的至少两个应用界面切换为悬浮窗显示。从而通过上述方式使得在有多个应用界面在基于分屏方式进行显示的情况下,可以通过触发第一操作而将多个应用界面中的至少两个应用界面切换为悬浮显示,使得该至少两个应用界面可以悬浮在新打开的应用界面上,以便电子设备在显示新打开的界面的情况下依然可以实时的对该至少两个应用界面的实时状态进行显示。
请参阅图9,本申请提供的一种界面操作方法,应用于电子设备,所述方法包括:
S210:分屏显示多个应用界面,所述多个应用界面包括两个及两个以上的界面。
S220:响应作用于屏幕的第一操作,将所述多个应用界面均切换为悬浮窗显示。
作为一种方式,所述分屏显示多个应用界面,所述多个应用界面包括两个及两个以上的界面,包括:将多个应用界面基于分屏方式进行显示,且将所述多个应用界面配置在第一显示容器中。在这种方式中,所述响应作用于屏幕的第一操作,将所述多个应用界面均切换为悬浮窗显示,包括:响应作用于屏幕的第一操作,将所述第一显示容器的显示模式切换为浮窗模式,以用于将多个应用界面均切换为悬浮显示。
[根据细则26改正 10.02.2023]
需要说明的是,在本申请实施例中,以电子设备的操作系统为Android为例,电子设备可以基于TaskPair(任务队)类(继承于原生的Task(任务)对象)来生成第一显示容器。其中,分屏显示的多个应用界面各自对应有Activity(活动)组件,那么在本申请实施例中将分屏显示的多个应用界面配置在第一显示容器中,如图10所示,则可以理解为将多个应用界面各自对应有Activity(活动)组件的Task(任务),保存至该TaskPair(任务队)类。然后将分屏显示的多个应用界面各自对应的Task(任务)的SurfaceControl重新挂载(reparent)到TaskPair(任务队)类的SurfaceControl中,以便使得电子设备可以直接通过对TaskPair(任务队)类的SurfaceControl的参数进行更改从而实现将分屏显示的多个应用界面中的至少两个应用共同切换到悬浮显示的状态。例如,电子设备可以将第一显示容器的显示模式切换为浮窗模式(例如,设置TaskPair(任务队)类的WindowMode为浮窗模式),以用于将多个应用界面均切换为悬浮显示。
需要说明的是,在将至少两个应用界面切换为悬浮显示的情况下,可以对该至少两个应用界面的显示面积进行缩小。其中,该缩小可以理解为相对于原本处于分屏显示时进行缩小。那么在通过基于TaskPair类所生成的第一显示容器来显示要切换为悬浮显示的应用界面的情况下,可以通过对要切换为悬浮显示的应用界面对应的Task的bound区域进行缩小,从而实现对该至少两个应用界面的显示面积进行缩小。
作为另外一种方式,所述响应作用于屏幕的第一操作,将所述多个应用界面均切换为悬浮窗显示,包括:响应作用于屏幕的第一操作,获取与所述多个应用界面各自对应的悬浮窗,使所述多个应用界面在各自对应的悬浮窗中进行显示。需要说明的是,在多个应用界面基于分屏方式进行显示的情况下,可以理解该多个应用界面理解为一种分屏组合。即该多个应用界面为基于组合的方式进行显 示。而在使多个应用界面在各自对应的悬浮窗中进行显示的情况下,则可以将该多个悬浮窗理解为一种浮窗组合。可选的,在这种方式中,所述多个应用界面各自对应的悬浮窗为组合关系。本申请实施例提供的方法还包括:响应作用于任一悬浮窗的触控操作,获取与所述触控操作对应的控制操作,对所述多个应用界面各自对应的悬浮窗均执行所述控制操作。示例性的,如图11所示,若有起始位置为图11中圆形区域50所示的拖拽操作,可以明确的是该拖拽操作是对应用界面40对应的悬浮窗进行作用的,且该悬浮窗的控制操作为增大应用界面40所在悬浮窗的显示面积以同步增大应用界面40的显示面积,在这种情况下,电子设备也会同步增大应用界面41所在悬浮窗的显示面积以同步增大应用界面41的显示面积,从而使得应用界面40和应用界面41可以同步增大到图12中所示的样式。
需要说明的是,在本申请实施例中,从分屏显示的多个应用界面中被切换为悬浮显示的至少两个应用界面,在悬浮显示的状态下可以为关联关系。其中,相互之间具有关联关系的应用界面可以在显示位置以及显示面积方面进行同步变换。例如,在有悬浮显示的应用界面响应于用户的操作进行显示面积的增大或者减小的情况下,与该被用户操作的应用界面具有关联关系的其他应用界面也会同步的增大或者减小显示面积。再例如,在有悬浮显示的应用界面响应于用户的操作进行显示位置的移动下,与该被用户操作的应用界面具有关联关系的其他应用界面也会同步的进行移动。作为一种方式,可以在确定需要切换到悬浮显示的应用界面后,可以通过本实施例中给应用界面配置对应的悬浮窗,以实现建立悬浮显示的多个应用界面之间的关联关系。
另外,在本申请实施例中,在至少两个应用界面被切换为悬浮显示的情况下,该至少两个应用界面可以间隔一定距离进行悬浮,也可以并排进行悬浮。其中,在间隔一定距离进行悬浮的情况下,悬浮显示的应用界面之间的间隔会较大,并会大于并排进行悬浮的多个应用界面之间的间隔,从而使得用户可以从视觉角度可以区别间隔进行悬浮的应用界面和并排进行悬浮。
其中,在本申请实施例中,电子设备可以根据多种方式来确定被切换为悬浮显示的至少两个应用界面具体的悬浮方式。
作为一种方式,可以由用户配置应用界面被切换为悬浮显示的情况下具体的显示的方式。例如,用户可以配置分屏显示的多个应用界面中被切换为悬浮显示的至少两个应用界面间隔一定距离进行悬浮,也可以配置分屏显示的多个应用界面中被切换为悬浮显示的至少两个应用界面并排进行悬浮。
作为另外一种方式,电子设备可以根据配置分屏显示的多个应用界面中被切换为悬浮显示的至少两个应用界面之间的内容关联程度来确定具体的悬浮显示方式。需要说明的是,对于一些应用程序而言在使用过程中,可能会被用户一同进行使用。例如,部分用户在观看旅游视频时,还喜欢同时打开地图应用,从而使得可以在旅游视频中听到地名的时候,直接在地图应用中查看该地名的地理位置。再例如,部分用户在使用会议程序的时候,还喜欢同步打开进行信息记录的应用程序,以便可以通过该进行信息记录的应用程序对会议中的信息进行记录。
那么在这些会被一同使用的应用程序在进行分屏显示的情况下,若其中有至少两个应用程序的应用界面被切换为悬浮显示,则该至少两个应用界面则会被配置为并排进行悬浮,以便于用户可以便利的对该应用界面进行操作。其中,电子设备中可以存储有可以一同运行的应用程序的对应关系,在这种情况下,电子设备在响应于第一操作后,则可以先检测被确定进行悬浮显示的应用界面所属应用程序是否有对应关系,若有对应关系,则将该被确定进行悬浮显示的应用界面设置为并排进行悬浮,若不具有对应关系,则将该被确定进行悬浮显示的应用界面设置为间隔一定距离进行悬浮。
示例性的,在该对应关系中包括应用程序A和应用程序B对应,应用程序C和应用程序D对应,应用程序E和应用程序F对应。在这种情况下,若响应于第一操作后,先检测到被确定进行悬浮显示的应用界面所属应用程序包括应用程序A和应用程序C,那么则确定被确定进行悬浮显示的应用界面所属应用程序没有对应关系,则将则将该被确定进行悬浮显示的应用界面设置为间隔一定距离进行悬浮。若响应于第一操作后,先检测到被确定进行悬浮显示的应用界面所属应用程序包括应用程序C和应用程序D,那么则确定被确定进行悬浮显示的应用界面所属应用程序有对应关系,则将该被确定进行悬浮显示的应用界面设置为并排进行悬浮。
其中,在本申请实施例中,在确定将应用界面设置为并排进行悬浮的情况下,电子设备还可以进一步的根据第一操作的作用位置来确定悬浮位置。在这种方式中,可以将第一操作结束作用的位置确定为对应用界面进行悬浮显示的位置。
本实施例提供的一种界面操作方法,从而通过上述方式使得在有多个应用界面在基于分屏方式进行显示的情况下,可以通过触发第一操作而将多个应用界面中的至少两个应用界面切换为悬浮显示,使得该至少两个应用界面可以悬浮在新打开的应用界面上,以便电子设备在显示新打开的界面的情况下依然可以实时的对该至少两个应用界面的实时状态进行显示。并且,在本实施例中,可以直接将进行全屏显示的多个应用界面均切换为悬浮显示,从而使得电子设备在打开新的应用界面后,可以更加全面的显示原本分屏 显示的多个应用界面的实时状态。
请参阅图13,本申请提供的一种界面操作方法,应用于电子设备,所述方法包括:
S310:分屏显示多个应用界面,所述多个应用界面包括两个及两个以上的界面。
S320:响应作用于屏幕的第一操作,将所述多个应用界面中的至少两个应用界面切换为悬浮窗显示。
S330:响应作用于屏幕的第三操作,从所述多个应用界面中确定所述第三操作所作用的界面作为目标界面。
需要说明的是,在有多个应用界面基于分屏方式进行显示的情况下,除了可以通过第一操作而将至少两个应用界面切换到悬浮显示的状态之外,还可以通过第三操作来触发将多个应用界面中的某一个应用界面切换到悬浮显示的状态。其中,在响应于第三操作而确定的需要切换到悬浮显示的状态的应用界面则为目标界面。
S340:将所述目标界面切换为悬浮显示,并将所述多个应用界面中除所述目标界面以外的界面切换为分屏等候状态。
其中,目标界面为多个应用界面中所述第三操作所作用的界面。
在本申请实施例中,分屏等候状态表征等待用户进一步选择应用程序以触发对应用界面进行分屏显示的状态。对应的,处于分屏等候状态的应用界面则会和用户进一步所选择的应用程序的应用界面进行分屏显示。可选的,在应用界面处于分屏等待状态时,会有部分区域进行隐藏,以便减小对屏幕的占用,也便利于用户进一步选择要进行分屏显示的应用程序。示例性的,第三操作可以为起点为屏幕顶角的滑动操作,如图14所以,若有从屏幕的顶角51处开始的滑动操作,且滑动操作持续到指定位置52的情况下,则可以将第三操作所作用的应用界面40作为目标界面,并缩小显示面积,在用户手指结束与屏幕的触控后,则可以如图15所示的将应用界面40切换为悬浮显示的状态,并将应用界面41切换为分屏等候状态。
S350:响应于选中用于进行分屏显示的应用程序,将所述用于进行分屏显示的应用程序的应用界面与所述处于分屏等候状态的应用界面进行分屏显示。
作为一种方式,在将用于进行分屏显示的应用程序的应用界面与处于分屏等候状态的应用界面进行分屏显示后,还可以将被切换为悬浮显示的应用界面设置为悬浮在之前处于分屏等候状态的应用界面上方。可以理解的是,在S350中,用户选中进行分屏显示的应用程序为用户当前更为关注的应用程序,那么为了避免使得之前被切换为悬浮显示的应用界面对用户当前更为关注的应用程序中所显示内容造成干扰,则可以将被切换为悬浮显示的应用界面设置为悬浮在之前处于分屏等候状态的应用界面上方。示例性的,在电子设备中,基于分屏方式显示应用界面M和应用界面N的情况下,若电子设备响应于第三操作,将应用界面M切换为悬浮显示的情况下,应用界面N则会处于分屏等候状态。之后,若用户选择了应用程序L进行分屏显示,则会将应用程序L的应用界面和应用界面N进行分屏显示,在这种情况下,则会将悬浮显示的应用界面M设置为悬浮在应用界面N的上方。
另外,在将将所述用于进行分屏显示的应用程序的应用界面与所述处于分屏等候状态的应用界面进行分屏显示之后,还可以通过对悬浮显示的应用界面触发第四操作而将悬浮显示的应用界面恢复到之前的分屏显示的状态。
在本申请实施例中,第四操作可以有多种实施方式。例如,第四操作可以为滑动操作,也可以为点击操作,还可以为长按操作等。而在本申请实施例中,第四操作具体为何种操作可以有多种设置方式。作为一种方式,该第四操作可以由开发人员预先配置。作为另外一种方式,第四操作可以由电子设备的用户根据自己的操作习惯进行配置。在这种方式下,电子设备中可以配置有第四操作的设置界面,在该第四操作的设置界面中,用户则可以设置第四操作具体的操作方式。
需要说明的是,在本申请实施例中,在第三操作和第四操作均可以由用户进行配置的情况下。第三操作和第四操作需要为不同的操作,从而使得电子设备可以区分用户当前的操作目的。
本实施例提供的一种界面操作方法,从而通过上述方式使得在有多个应用界面在基于分屏方式进行显示的情况下,可以通过触发第一操作而将多个应用界面中的至少两个应用界面切换为悬浮显示,使得该至少两个应用界面可以悬浮在新打开的应用界面上,以便电子设备在显示新打开的界面的情况下依然可以实时的对该至少两个应用界面的实时状态进行显示。并且,在本实施例中,电子设备还可以通过对第三操作进行响应,而使得仅将分屏显示的多个应用界面中的目标界面进行悬浮,而触发另外的应用界面切换到分屏等候状态,从而使得用户可以更加便利的切换进行分屏显示的应用界面的同时,又可以同步看到原来进行分屏的应用界面(当前被切换为悬浮显示的应用界面)的实时状态。
需要说明的是,在有应用界面处于悬浮显示的情况下,该应用界面中的部分内容需要用户进行翻页操作才会呈现给用户。通常,用户是通过对应用界面进行滑动操作而触发应用界面进行翻页的,但是,在应用界面处于悬浮显示的情况下,对应用界面触发滑动操作也可以对悬浮显示的应用界面 进行拖动而改变应用界面的显示位置。
在这种情况下,为了避免电子设备进行误操作,作为一种方式,对于从分屏显示的状态切换到悬浮显示的状态的应用界面,则禁止进行界面内容有关的操作。若用户期望对切换到悬浮显示的应用界面进行内容有关的操作,则可以触发将悬浮显示的应用界面再切换回分屏显示的状态或者全屏显示的状态后,再进行界面内容有关的操作。其中,界面内容有关的操作包括对应用界面进行翻页操作、点击应用界面中的内容(文本内容或者图像内容)、对界面中的内容进行更改以及在界面中输入内容等操作。
作为另外一种方式,可以在检测到对悬浮显示的应用界面进行滑动操作之前,是否有指定操作被触发,若有指定操作被触发则确定对界面进行的滑动操作的作用是对应用界面进行翻页,若没有指定操作被触发则确定对界面进行操作的作用是对应用界面进行拖动。
再者,需要说明的是,电子设备在对个应用界面进行分屏显示时,多个应用界面的排布方式可以有多种。例如,可以如图16所示的应用界面42、应用界面43以及应用界面44的排布方式,也可以如前述图6和图7所示的排布方式。作为一种方式,在本申请实施例中,在将确定将分屏显示的多个应用界面均切换到悬浮显示的情况下,多个应用界面在悬浮显示时的排布方式可以与之前分屏显示时的排布方式相同。
请参阅图17,本申请提供的一种界面操作装置400,运行于电子设备,所述装置400包括:
界面显示单元410,用于分屏显示多个应用界面,所述多个应用界面包括两个及两个以上的界面。
界面操作单元420,用于响应作用于屏幕的第一操作,将所述多个应用界面中的至少两个应用界面切换为悬浮窗显示。
作为一种方式,界面操作单元420,具体用于响应作用于屏幕的第一操作,将所述多个应用界面均切换为悬浮窗显示。
可选的,界面显示单元410,具体用于将多个应用界面基于分屏方式进行显示,且将所述多个应用界面配置在第一显示容器中。对应的,界面操作单元420,具体用于响应作用于屏幕的第一操作,将所述第一显示容器的显示模式切换为浮窗模式,以用于将多个应用界面均切换为悬浮显示。可选的,界面操作单元420,具体用于响应作用于屏幕的第一操作,获取与所述多个应用界面各自对应的悬浮窗;使所述多个应用界面在各自对应的悬浮窗中进行显示。在一种方式中,所述多个应用界面各自对应的悬浮窗为组合关系。在这种方式中,界面操作单元420,还用于响应作用于任一悬浮窗的触控操作,获取与所述触控操作对应的控制操作;对所述多个应用界面各自对应的悬浮窗均执行所述控制操作。
作为一种方式,界面操作单元420,具体用于响应作用于所述从指定位置开始的滑动操作,触发所述多个应用界面中的至少两个应用界面缩小显示面积;若作用所述滑动操作的触控物结束对屏幕的触控,将所述至少两个应用界面切换为悬浮显示。
作为一种方式,界面操作单元420,还用于响应作用于悬浮显示的应用界面的第二操作,恢复对所述多个应用界面进行分屏显示。
作为一种方式,界面操作单元420,还用于响应作用于屏幕的第三操作,从所述多个应用界面中确定所述第三操作所作用的界面作为目标界面;将所述目标界面切换为悬浮显示,并将所述多个应用界面中除所述目标界面以外的界面切换为分屏等候状态。在这种方式中,界面操作单元420,还用于响应于选中用于进行分屏显示的应用程序,将所述用于进行分屏显示的应用程序的应用界面与所述处于分屏等候状态的应用界面进行分屏显示。
本实施例提供的一种界面操作装置,在分屏显示多个应用界面,所述多个应用界面包括两个及两个以上的界面的情况下,可以响应作用于屏幕的第一操作,将所述多个应用界面中的至少两个应用界面切换为悬浮窗显示。从而通过上述方式使得在有多个应用界面在基于分屏方式进行显示的情况下,可以通过触发第一操作而将多个应用界面中的至少两个应用界面切换为悬浮显示,使得该至少两个应用界面可以悬浮在新打开的应用界面上,以便电子设备在显示新打开的界面的情况下依然可以实时的对该至少两个应用界面的实时状态进行显示。
需要说明的是,本申请中装置实施例与前述方法实施例是相互对应的,装置实施例中各个单元的具体实施原理与前述方法实施例中的原理是相似的,装置实施例中的具体内容可以参见方法实施例,而在装置实施例中不再赘述。
下面将结合图18对本申请提供的一种电子设备进行说明。
请参阅图18,基于上述的界面操作方法、装置,本申请实施例还提供的一种可以执行前述界面操作方法的电子设备1000。电子设备1000包括相互耦合的一个或多个(图中仅示出一个)处理器105、存储器104、音频播放模块106以及音频采集装置108。其中,该存储器104中存储有可以执行前述实施例中内容的程序,而处理器105可以执行该存储器104中存储的程序。
其中,处理器105可以包括一个或者多个处理核。处理器105利用各种接口和线路连接整个电子设备 1000内的各个部分,通过运行或执行存储在存储器104内的指令、程序、代码集或指令集,以及调用存储在存储器104内的数据,执行电子设备1000的各种功能和处理数据。可选地,处理器105可以采用数字信号处理(Digital Signal Processing,DSP)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)、可编程逻辑阵列(Programmable Logic Array,PLA)中的至少一种硬件形式来实现。处理器105可集成中央处理器(Central Processing Unit,CPU)、图像处理器(Graphics Processing Unit,GPU)和调制解调器等中的一种或几种的组合。其中,CPU主要处理操作系统、用户界面和应用程序等;GPU用于负责显示内容的渲染和绘制;调制解调器用于处理无线通信。可以理解的是,上述调制解调器也可以不集成到处理器105中,单独通过一块通信芯片进行实现。
存储器104可以包括随机存储器(Random Access Memory,RAM),也可以包括只读存储器(Read-Only Memory)。存储器104可用于存储指令、程序、代码、代码集或指令集。例如,存储器104中可以存储有内容显示装置。该内容显示装置可以为前述的装置400。存储器104可包括存储程序区和存储数据区,其中,存储程序区可存储用于实现操作系统的指令、用于实现至少一个功能的指令(比如触控功能、声音播放功能、图像播放功能等)、用于实现下述各个方法实施例的指令等。
再者,电子设备1000除了前述所示的器件外,还可以包括网络模块110以及传感器模块112。
所述网络模块110用于实现电子设备1000与其他设备之间的信息交互,例如,可以与其他的音频播放设备或者其他的电子设备建立连接,并基于所建立的连接进行信息交互。作为一种方式,电子设备1000的网络模块110为射频模块,该射频模块用于接收以及发送电磁波,实现电磁波与电信号的相互转换,从而与通讯网络或者其他设备进行通讯。所述射频模块可包括各种现有的用于执行这些功能的电路元件,例如,天线、射频收发器、数字信号处理器、加密/解密芯片、用户身份模块(SIM)卡、存储器等等。例如,该射频模块可以通过发送或者接收的电磁波与外部设备进行交互。
传感器模块112可以包括至少一种传感器。具体地,传感器模块112可包括但并不限于:压力传感器、运动传感器、加速度传感器以及其他传感器。
其中,压力传感器可以检测由按压在电子设备1000产生的压力的传感器。即,压力传感器检测由用户和电子设备1000之间的接触或按压产生的压力,例如由用户的耳朵与电子设备1000之间的接触或按压产生的压力。因此,压力传感器可以用来确定在用户与电子设备1000之间是否发生了接触或者按压,以及压力的大小。
其中,加速度传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别电子设备1000姿态的应用(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等。另外,电子设备1000还可配置陀螺仪、气压计、湿度计、温度计等其他传感器,在此不再赘述。
音频采集装置110,用于进行音频信号采集。可选的,音频采集装置110包括有多个音频采集器件,该音频采集器件可以为麦克风。
请参考图19,其示出了本申请实施例提供的一种计算机可读存储介质的结构框图。该计算机可读介质1100中存储有程序代码,所述程序代码可被处理器调用执行上述方法实施例中所描述的方法。
计算机可读存储介质1100可以是诸如闪存、EEPROM(电可擦除可编程只读存储器)、EPROM、硬盘或者ROM之类的电子存储器。可选地,计算机可读存储介质1100包括非易失性计算机可读介质(non-transitory computer-readable storage medium)。计算机可读存储介质1100具有执行上述方法中的任何方法步骤的程序代码1110的存储空间。这些程序代码可以从一个或者多个计算机程序产品中读出或者写入到这一个或者多个计算机程序产品中。程序代码1110可以例如以适当形式进行压缩。
在本说明书的描述中,参考术语“一个实施例”、“一些实施例”、“示例”、“具体示例”、或“一些示例”等的描述意指结合该实施例或示例描述的具体特征、结构、材料或者特点包含于本申请的至少一个实施例或示例中。在本说明书中,对上述术语的示意性表述不必须针对的是相同的实施例或示例。而且,描述的具体特征、结构、材料或者特点可以在任一个或多个实施例或示例中以合适的方式结合。此外,在不相互矛盾的情况下,本领域的技术人员可以将本说明书中描述的不同实施例或示例以及不同实施例或示例的特征进行结合和组合。
此外,术语“第一”、“第二”仅用于描述目的,而不能理解为指示或暗示相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括至少一个该特征。在本申请的描述中,“多个”的含义是至少两个,例如两个,三个等,除非另有明确具体的限定。
流程图中或在此以其他方式描述的任何过程或方法描述可以被理解为,表示包括一个或更多个用于实现特定逻辑功能或过程的步骤的可执行指令的代码的模块、片段或部分,并且本申请的优选实施方式的范围包括另外的实现,其中可以不按所示出或讨论的顺序,包括根据所涉及的功能按基本同时的方式或按相反的顺序,来执行功能,这应被本申请的实施例所属技术领域的技术人员所理解。
在流程图中表示或在此以其他方式描述的逻辑和/或步骤,例如,可以被认为是用于实现逻辑功能的可 执行指令的定序列表,可以具体实现在任何计算机可读介质中,以供指令执行系统、装置或设备(如基于计算机的系统、包括处理器的系统或其他可以从指令执行系统、装置或设备取指令并执行指令的系统)使用,或结合这些指令执行系统、装置或设备而使用。
应当理解,本申请的各部分可以用硬件、软件、固件或它们的组合来实现。在上述实施方式中,多个步骤或方法可以用存储在存储器中且由合适的指令执行系统执行的软件或固件来实现。例如,如果用硬件来实现,和在另一实施方式中一样,可用本领域公知的下列技术中的任一项或他们的组合来实现:具有用于对数据信号实现逻辑功能的逻辑门电路的离散逻辑电路,具有合适的组合逻辑门电路的专用集成电路,可编程门阵列(PGA),现场可编程门阵列(FPGA)等。
综上所述,本申请提供的一种界面操作方法、装置、电子设备及存储介质,在分屏显示多个应用界面,所述多个应用界面包括两个及两个以上的界面的情况下,可以响应作用于屏幕的第一操作,将所述多个应用界面中的至少两个应用界面切换为悬浮窗显示。从而通过上述方式使得在有多个应用界面在基于分屏方式进行显示的情况下,可以通过触发第一操作而将多个应用界面中的至少两个应用界面切换为悬浮显示,使得该至少两个应用界面可以悬浮在新打开的应用界面上,以便电子设备在显示新打开的界面的情况下依然可以实时的对该至少两个应用界面的实时状态进行显示。
最后应说明的是:以上实施例仅用以说明本申请的技术方案,而非对其限制;尽管参照前述实施例对本申请进行了详细的说明,本领域的普通技术人员当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征图进行等同替换;而这些修改或者替换,并不驱使相应技术方案的本质脱离本申请各实施例技术方案的精神和范围。

Claims (20)

  1. 一种界面操作方法,其特征在于,应用于电子设备,所述方法包括:
    分屏显示多个应用界面,所述多个应用界面包括两个及两个以上的界面;
    响应作用于屏幕的第一操作,将所述多个应用界面中的至少两个应用界面切换为悬浮窗显示。
  2. 根据权利要求1所述的方法,其特征在于,所述响应作用于屏幕的第一操作,将所述多个应用界面中的至少两个应用界面切换为悬浮窗显示,包括:
    响应作用于屏幕的第一操作,将所述多个应用界面均切换为悬浮窗显示。
  3. 根据权利要求2所述的方法,其特征在于,所述分屏显示多个应用界面,所述多个应用界面包括两个及两个以上的界面,包括:将多个应用界面基于分屏方式进行显示,且将所述多个应用界面配置在第一显示容器中;
    所述响应作用于屏幕的第一操作,将所述多个应用界面均切换为悬浮窗显示,包括:响应作用于屏幕的第一操作,将所述第一显示容器的显示模式切换为浮窗模式,以将多个应用界面均切换为悬浮显示。
  4. 根据权利要求2所述的方法,其特征在于,所述响应作用于屏幕的第一操作,将所述多个应用界面均切换为悬浮窗显示,包括:
    响应作用于屏幕的第一操作,获取与所述多个应用界面各自对应的悬浮窗;
    使所述多个应用界面在各自对应的悬浮窗中进行显示。
  5. 根据权利要求4所述的方法,其特征在于,所述多个应用界面各自对应的悬浮窗为组合关系;所方法还包括:
    响应作用于任一悬浮窗的触控操作,获取与所述触控操作对应的控制操作;
    对所述多个应用界面各自对应的悬浮窗均执行所述控制操作。
  6. 根据权利要求1所述的方法,其特征在于,切换为所述悬浮窗显示的至少两个应用界面为浮窗组合。
  7. 根据权利要求1所述的方法,其特征在于,所述第一操作包括从指定位置开始的滑动操作,所述响应作用于屏幕的第一操作,将所述多个应用界面中的至少两个应用界面切换为悬浮窗显示,包括:
    响应作用于屏幕的所述从指定位置开始的滑动操作,触发所述多个应用界面中的至少两个应用界面缩小显示面积;
    若所述滑动操作的触控物结束对屏幕的触控,则将所述至少两个应用界面切换为悬浮显示。
  8. 根据权利要求1所述的方法,其特征在于,所述响应作用于屏幕的第一操作,将所述多个应用界面中的至少两个应用界面切换为悬浮窗显示之后,还包括:
    响应作用于悬浮显示的应用界面的第二操作,恢复对所述多个应用界面进行分屏显示。
  9. 根据权利要求8所述的方法,其特征在于,所述第二操作包括增加所述应用界面尺寸的操作;所述响应作用于悬浮显示的应用界面的第二操作,恢复对所述多个应用界面进行分屏显示,包括:
    响应作用于悬浮显示的应用界面的增大所述应用界面尺寸的操作,增大所述悬浮显示的应用界面的尺寸;
    若所述悬浮显示的应用界面的尺寸大于尺寸阈值,恢复对所述多个应用界面进行分屏显示。
  10. 根据权利要求1所述的方法,其特征在于,所述方法还包括:
    在分屏显示多个应用界面的情况下,响应作用于屏幕的第三操作,将所述目标界面切换为悬浮显示,并将所述多个应用界面中除所述目标界面以外的界面切换为分屏等候状态,所述目标界面为所述多个应用界面中所述第三操作所作用的界面。
  11. 根据权利要求10所述的方法,其特征在于,所述将所述目标界面切换为悬浮显示,并将所述多个应用界面中除所述目标界面以外的界面切换为分屏等候状态之后,还包括:
    响应于选中用于进行分屏显示的应用程序,将所述用于进行分屏显示的应用程序的应用界面与所述处于分屏等候状态的应用界面进行分屏显示。
  12. 根据权利要求10所述的方法,其特征在于,所述第三操作包括从指定位置开始的滑动操作。
  13. 根据权利要求1所述的方法,其特征在于,所述响应作用于屏幕的第一操作,将所述多个应用界面中的至少两个应用界面切换为悬浮窗显示,包括:
    在分屏显示的多个应用界面的数量为三个及以上的情况下,响应作用于屏幕的第一操作,基于默认的配置将所述多个应用界面中的至少两个应用界面切换为悬浮窗显示。
  14. 根据权利要求13所述的方法,其特征在于,所述基于默认的配置将所述多个应用界面中的至少两个应用界面切换为悬浮窗显示,包括:
    将对应的位置与所述第一操作的作用位置之间的间距小于指定距离阈值的应用界面确定为需要切换到悬浮显示的应用界面。
  15. 根据权利要求13所述的方法,其特征在于,所述基于默认的配置将所述多个应用界面中的至少两个应用界面切换为悬浮窗显示,包括:
    将分屏显示的多个应用界面中,与所述第一操作有接触的应用界面切换为悬浮显示。
  16. 根据权利要求1-15任一所述的方法,其特征在于,所述放过还包括:
    根据配置分屏显示的多个应用界面中,被切换为悬浮显示的所述至少两个应用界面之间的内容关联程度,确定悬浮显示方式。
  17. 根据权利要求16所述的方法,其特征在于,所述根据配置分屏显示的多个应用界面中,被切换为悬浮显示的所述至少两个应用界面之间的内容关联程度,确定悬浮显示方式,包括:
    检测被确定进行悬浮显示的应用界面所属应用程序是否有对应关系;
    若有对应关系,则将所述被确定进行悬浮显示的应用界面设置为并排进行悬浮显示;
    若不具有所述对应关系,则将所述被确定进行悬浮显示的应用界面设置为间隔一定距离进行悬浮显示。
  18. 一种界面操作装置,其特征在于,运行于电子设备,所述装置包括:
    界面显示单元,用于分屏显示多个应用界面,所述多个应用界面包括两个及两个以上的界面;
    界面操作单元,用于响应作用于屏幕的第一操作,将所述多个应用界面中的至少两个应用界面切换为悬浮窗显示。
  19. 一种电子设备,其特征在于,包括一个或多个处理器以及存储器;
    一个或多个程序被存储在所述存储器中并被配置为由所述一个或多个处理器执行,所述一个或多个程序配置用于执行权利要求1-17任一所述的方法。
  20. 一种存储有处理器可执行的程序代码的计算机可读存储介质,其特征在于,所述计算机可读存储介质包括存储的程序代码,其中,在所述程序代码运行时执行权利要求1-17任一所述的方法。
PCT/CN2022/143820 2022-06-14 2022-12-30 界面操作方法、装置、电子设备及存储介质 WO2023241013A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202210672883.5A CN117270748A (zh) 2022-06-14 2022-06-14 界面操作方法、装置以及电子设备
CN202210672883.5 2022-06-14

Publications (1)

Publication Number Publication Date
WO2023241013A1 true WO2023241013A1 (zh) 2023-12-21

Family

ID=89193065

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/143820 WO2023241013A1 (zh) 2022-06-14 2022-12-30 界面操作方法、装置、电子设备及存储介质

Country Status (2)

Country Link
CN (1) CN117270748A (zh)
WO (1) WO2023241013A1 (zh)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108984083A (zh) * 2018-07-10 2018-12-11 Oppo广东移动通信有限公司 分屏显示的处理方法、装置、存储介质及电子设备
CN111782332A (zh) * 2020-07-23 2020-10-16 Oppo广东移动通信有限公司 应用界面切换方法、装置、终端及存储介质
CN111966252A (zh) * 2020-05-14 2020-11-20 华为技术有限公司 应用窗口显示方法和电子设备
CN113805743A (zh) * 2021-08-12 2021-12-17 荣耀终端有限公司 切换显示窗口的方法和电子设备
WO2022057881A1 (zh) * 2020-09-21 2022-03-24 维沃移动通信有限公司 操作方法及装置

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108984083A (zh) * 2018-07-10 2018-12-11 Oppo广东移动通信有限公司 分屏显示的处理方法、装置、存储介质及电子设备
CN111966252A (zh) * 2020-05-14 2020-11-20 华为技术有限公司 应用窗口显示方法和电子设备
CN111782332A (zh) * 2020-07-23 2020-10-16 Oppo广东移动通信有限公司 应用界面切换方法、装置、终端及存储介质
WO2022057881A1 (zh) * 2020-09-21 2022-03-24 维沃移动通信有限公司 操作方法及装置
CN113805743A (zh) * 2021-08-12 2021-12-17 荣耀终端有限公司 切换显示窗口的方法和电子设备

Also Published As

Publication number Publication date
CN117270748A (zh) 2023-12-22

Similar Documents

Publication Publication Date Title
US11144177B2 (en) Application execution method by display device and display device thereof
CN108089786B (zh) 用户界面显示方法、装置、设备及存储介质
US10671282B2 (en) Display device including button configured according to displayed windows and control method therefor
US11054986B2 (en) Apparatus including a touch screen under a multi-application environment and controlling method thereof
EP3842905B1 (en) Icon display method and apparatus, terminal and storage medium
US20200167061A1 (en) Display device and method of controlling the same
WO2021035884A1 (zh) 投屏方法、装置、终端及存储介质
KR101527827B1 (ko) 분할스크린 디스플레이 방법 및 장치, 및 이의 전자 장치
WO2019174546A1 (zh) 用户界面显示方法、装置、设备及存储介质
US11042294B2 (en) Display device and method of displaying screen on said display device
CN103995657B (zh) 移动终端及其控制方法
US9626102B2 (en) Method for controlling screen and electronic device thereof
US20130185676A1 (en) Method and mobile device for classified webpage switching
CN107704177A (zh) 界面显示方法、装置及终端
US11604580B2 (en) Configuration of application execution spaces and sub-spaces for sharing data on a mobile touch screen device
US20140033119A1 (en) Display device and control method thereof
WO2019000438A1 (zh) 显示图形用户界面的方法及电子设备
US20150227166A1 (en) User terminal device and displaying method thereof
KR102304178B1 (ko) 사용자 단말 장치 및 이의 디스플레이 방법
EP2246775A2 (en) Method for operating touch screen and mobile terminal including same
WO2022001341A1 (zh) 应用程序标签生成方法、应用界面显示方法以及装置
EP2778880B1 (en) Method for controlling display function and an electronic device thereof
US20220083203A1 (en) Icon displaying method and terminal device
WO2024021813A1 (zh) 截屏方法、装置、电子设备以及存储介质
WO2023197679A1 (zh) 视频播放方法、装置、电子设备及存储介质

Legal Events

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

Ref document number: 22946677

Country of ref document: EP

Kind code of ref document: A1