WO2024001135A1 - 分屏显示方法、装置、终端及存储介质 - Google Patents

分屏显示方法、装置、终端及存储介质 Download PDF

Info

Publication number
WO2024001135A1
WO2024001135A1 PCT/CN2022/143634 CN2022143634W WO2024001135A1 WO 2024001135 A1 WO2024001135 A1 WO 2024001135A1 CN 2022143634 W CN2022143634 W CN 2022143634W WO 2024001135 A1 WO2024001135 A1 WO 2024001135A1
Authority
WO
WIPO (PCT)
Prior art keywords
split
screen
drag
screen area
drag operation
Prior art date
Application number
PCT/CN2022/143634
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 WO2024001135A1 publication Critical patent/WO2024001135A1/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/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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/725Cordless telephones

Definitions

  • the embodiments of the present application relate to the field of split-screen technology, and in particular to a split-screen display method, device, terminal and storage medium.
  • the terminal supports split-screen display of multiple applications to improve usage efficiency.
  • the terminal divides the user interface through split-screen controls, and can display and run different applications in each divided area.
  • the method for implementing split-screen display on a terminal is relatively simple and complicated to operate.
  • the user needs to click on the split-screen control and then choose to increase or decrease the split-screen area to expand the split-screen.
  • Embodiments of the present application provide a split-screen display method, device, terminal and storage medium, which can simplify the split-screen operation process and thereby improve the efficiency of split-screen expansion.
  • embodiments of the present application provide a split-screen display method, which method includes:
  • a third split-screen area is displayed in the user interface, and the third split-screen area is located in the first split-screen area. between the screen area and the second split-screen area.
  • embodiments of the present application provide a split-screen display method, which method includes:
  • a split-screen display device which includes:
  • a first display module used to display a user interface including at least two split-screen areas
  • a first receiving module configured to receive a first drag operation on a first split-screen area among the at least two split-screen areas, and a second drag operation on a second split-screen area among the at least two split-screen areas. drag operation, the first drag operation and the second drag operation are executed simultaneously;
  • the first display module is also configured to display a third split-screen area in the user interface when the first drag operation and the second drag operation satisfy the split-screen condition.
  • a three-screen area is located between the first split-screen area and the second split-screen area.
  • a split-screen display device which includes:
  • the second display module is used to display a user interface including a split-screen area
  • the second receiving module is configured to receive a first drag operation on the first split-screen area in the split-screen area and a second drag operation on the second split-screen area in the split-screen area. A drag operation and the second drag operation are executed simultaneously;
  • the first display module is also configured to, when the first drag operation and the second drag operation satisfy the split-screen closing condition, and the first split-screen area and the second split-screen area When there is a fourth split-screen area between areas, the fourth split-screen area is stopped from being displayed.
  • inventions of the present application provide a terminal.
  • the terminal includes a display, a processor and a memory.
  • the memory stores at least one program, and the at least one program is used to be executed by the processor to implement the following: The split-screen display method described above.
  • embodiments of the present application provide a computer-readable storage medium that stores at least one program, and the at least one program is used to be executed by a processor to implement split-screen display as described above. method.
  • inventions of the present application provide a computer program product.
  • the computer program product includes computer instructions, and the computer instructions are stored in a computer-readable storage medium.
  • the processor of the computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes the split-screen display method provided in the above aspect.
  • Figure 1 shows a structural block diagram of a terminal provided by an exemplary embodiment of the present application
  • Figure 2 shows a flow chart of a split-screen display method provided by an exemplary embodiment of the present application
  • Figure 3 shows a schematic diagram of a split-screen interface of a multi-screen terminal provided by an exemplary embodiment of the present application
  • Figure 4 shows a schematic diagram of a split-screen area distribution interface provided by an exemplary embodiment of the present application
  • Figure 5 shows a schematic diagram of a split-screen area distribution interface provided by another exemplary embodiment of the present application.
  • Figure 6 shows a schematic diagram of the process of displaying the third split-screen area provided by an exemplary embodiment of the present application
  • Figure 7 shows a schematic diagram of a method for adjusting the display range provided by an exemplary embodiment of the present application
  • Figure 8 shows a schematic diagram of the process of expanding the display target application interface provided by another exemplary embodiment of the present application.
  • Figure 9 shows a schematic diagram of split-screen area movement provided by an exemplary embodiment of the present application.
  • Figure 10 shows a schematic diagram of split-screen area scaling provided by an exemplary embodiment of the present application
  • Figure 11 shows a schematic diagram of the relationship between drag operations and screen areas provided by an exemplary embodiment of the present application
  • Figure 12 shows a schematic diagram of the relationship between a drag operation and a screen area provided by another exemplary embodiment of the present application.
  • Figure 13 shows a schematic diagram of user interface changes provided by an exemplary embodiment of the present application.
  • Figure 14 shows a schematic diagram of user interface changes provided by another exemplary embodiment of the present application.
  • Figure 15 shows a schematic diagram of displaying a third display area provided by another exemplary embodiment of the present application.
  • Figure 16 shows a schematic diagram of an outbound split-screen menu interface provided by an exemplary embodiment of the present application
  • Figure 17 shows a flow chart of a split-screen display method provided by another exemplary embodiment of the present application.
  • Figure 18 shows a flow chart of a split-screen display method provided by another exemplary embodiment of the present application.
  • Figure 19 shows a schematic diagram of closing a split-screen area provided by an exemplary embodiment of the present application.
  • Figure 20 shows a structural block diagram of a split-screen display device provided by an exemplary embodiment of the present application
  • Figure 21 shows a structural block diagram of a split-screen display device provided by another exemplary embodiment of the present application.
  • the "plurality” mentioned in this article means two or more than two.
  • “And/or” describes the relationship between associated objects, indicating that there can be three relationships.
  • a and/or B can mean: A exists alone, A and B exist simultaneously, and B exists alone.
  • the character “/” generally indicates that the related objects are in an "or” relationship.
  • the content split-screen display function is a common function of terminals. Adapting to the fact that users are increasingly completing life matters and work tasks through terminals, terminals make full use of the screen area to achieve simultaneous collaboration of multiple applications through the split-screen display function, improving user efficiency.
  • most of the related technologies adopt a fixed two-split screen mode, that is, only two applications can be displayed and run at the same time, which is difficult to adapt to the current needs of users for collaborative multitasking.
  • embodiments of the present application provide a split-screen display method for expanding the number of split-screens.
  • the current display application can be opened very easily without exiting the current display application. And display a new application. Further, when the user has more application collaboration needs, repeating the split-screen display method can continue to increase the number of terminal display applications, improving split-screen efficiency.
  • the split-screen display method provided by the embodiments of this application can be applied to scenarios such as video conferencing, document editing, and online shopping.
  • scenarios such as video conferencing, document editing, and online shopping.
  • the split-screen display method provided by the embodiment of the present application can be used to display conference content and multiple conference documents simultaneously. For example, during a video conference through a terminal, the user needs to open another document to view related content while displaying the conference video screen and the conference PPT application.
  • the split-screen display method provided by embodiments of the present application can be used to simultaneously display browser applications, document editing applications, and chat applications such as WeChat.
  • chat applications such as WeChat.
  • users often need to combine multiple aspects of information for comparison and integrated editing.
  • users open a browser application and a document editing application at the same time to query and edit documents users need to communicate with others through chat applications to edit content.
  • chat applications such as WeChat are added to the middle of the display interface, so users can communicate with others while comparing the contents of two pages at the same time.
  • the split-screen display method provided by the embodiment of the present application can be used to display multiple shopping applications at the same time for comparison.
  • the user can add a new shopping application in the middle area of the two shopping applications without exiting the display of the two shopping applications by performing the first drag operation and the second drag operation on the two shopping application interfaces respectively.
  • the terminal 100 may include one or more of the following components: a processor 110, a memory 120, and a display screen 130.
  • Processor 110 may include one or more processing cores.
  • the processor 110 uses various interfaces and lines to connect various parts of the entire terminal 100, and executes the terminal by running or executing instructions, programs, code sets or instruction sets stored in the memory 110, and calling data stored in the memory 110. 100's of various functions and processing data.
  • the processor 110 may 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 processor 110 can integrate one or more of a central processing unit (Central Processing Unit, CPU), a graphics processor (Graphics Processing Unit, GPU), a neural network processor (Neural-network Processing Unit, NPU), a modem, etc.
  • a central processing unit Central Processing Unit, CPU
  • a graphics processor Graphics Processing Unit, GPU
  • a neural network processor Neural-network Processing Unit, NPU
  • the CPU mainly handles the operating system, user interface and applications
  • the GPU is used to render and draw the content that needs to be displayed on the touch screen
  • the NPU is used to implement artificial intelligence (Artificial Intelligence, AI) functions
  • the modem is used to process Wireless communication. It can be understood that the above-mentioned modem may not be integrated into the processor 110 and may be implemented by a separate chip.
  • the memory 120 may include random access memory (Random Access Memory, RAM) or read-only memory (Read-Only Memory, ROM).
  • the memory 120 includes non-transitory computer-readable storage medium.
  • Memory 120 may be used to store instructions, programs, codes, sets of codes, or sets of instructions.
  • the memory 120 may include a program storage area and a data storage area, where the program storage area may store instructions for implementing an operating system, instructions for at least one function (such as a touch function, a sound playback function, an image playback function, etc.), Instructions, etc., used to implement each of the following method embodiments; the storage data area can store data created according to the use of the terminal 100 (such as audio data, phone book), etc.
  • the display screen 130 is a component for displaying a screen.
  • the display screen 130 also has a touch function, and the user can control the displayed content by performing touch operations on the display 130 .
  • the display 130 is a touch display screen of a smart phone, or the display 130 is a non-touch display screen of a television terminal.
  • the form of the display 130 may include a non-folding screen, a folding screen, a retractable screen, a scrolling screen, etc., which are not limited in the embodiments of the present application.
  • the structure of the terminal 100 shown in the above figures does not constitute a limitation on the terminal.
  • the terminal may include more or fewer components than those shown in the figures, or some components may be combined. , or a different component arrangement.
  • the terminal 100 also includes speakers, sensors (such as acceleration sensors, angular velocity sensors, light sensors, etc.), audio circuits, WiFi modules, power supplies, Bluetooth modules and other components, which will not be described again here.
  • FIG. 2 shows a flow chart of a split-screen display method provided by an exemplary embodiment of the present application.
  • This embodiment uses the method applied to the terminal shown in Figure 1 as an example for description. The method may include the following steps.
  • Step 201 Display a user interface including at least two split-screen areas.
  • the user interface is in a split-screen state, that is, the terminal displays at least two split-screen areas at the same time.
  • each split-screen area can be distributed left and right, distributed up and down, or a combination of the two distribution methods, and in the case where the terminal has at least two screens
  • the terminal can display different split-screen area distribution modes between and within different screens.
  • the terminal can display the first application in a left-right distribution between the left screen and the right screen.
  • Area 311, second application area 312 and third application area 321, while the first application area 311 and the second application area 312 are displayed vertically and downwardly in the left screen.
  • the terminal can display the display interface of product A in the shopping application in the first split-screen area, and at the same time display the display interface of product B in the same shopping application in the second split-screen area. Display interface.
  • Step 202 Receive a first drag operation on a first split-screen area of at least two split-screen areas, and a second drag operation on a second split-screen area of at least two split-screen areas.
  • the first drag operation Executed simultaneously with the second drag operation.
  • the user needs to increase the split-screen area by setting the split-screen mode.
  • the user can increase the display split-screen area through simple gesture operations. That is, the user only needs to set the split-screen area on the first split-screen.
  • a first drag operation is performed on the area
  • a second drag operation is performed on the second split-screen area.
  • the starting point coordinates of the first drag operation are the first drag starting point located in the first split screen area
  • the starting point coordinates of the second drag operation are the second drag starting point located in the second split screen area.
  • the contact coordinate point on the screen of the drag operation terminal changes in real time, where the contact coordinates of the first drag operation are the first real-time coordinates, and the contact coordinates of the second drag operation are the second real-time coordinates.
  • the terminal receives the first drag operation and the second drag operation as a split-screen operation.
  • the terminal determines the first drag operation and the second drag operation. Operations are performed simultaneously.
  • the terminal determines the first starting time based on the first drag operation, and determines the second starting time based on the second drag operation, where the first starting time and the second starting time are the terminal The moment when a drag operation is first detected.
  • the terminal may determine the distance between the first starting time and the second starting time, and when the distance between the two times is less than the time threshold, determine that the first drag operation and the second drag operation are executed simultaneously.
  • the terminal determines that the time threshold is 0.5 seconds, the user performs the first drag operation in the first split-screen area, and performs the second split-screen operation in the second split-screen area 1 second later, where, The distance between the first starting moment and the second starting moment is 1 second, and the time distance is greater than the time threshold.
  • the terminal determines that the first drag operation and the second drag operation are not executed at the same time, and the terminal does not respond to the first drag operation with a split-screen gesture. drag operation and a second drag operation.
  • two split-screen areas are displayed on the left and right sides of the user interface at the same time.
  • the user performs a drag operation to the left in the first split-screen area 401, which is the first drag operation. operation, and at the same time perform a right drag operation in the second split-screen area 402, which is the second drag operation, and the terminal receives the above drag operation.
  • the user interface can display two split-screen areas on the upper and lower sides at the same time.
  • the user performs an upward drag operation in the first split-screen area 501, which is the first drag operation.
  • drag operation and at the same time perform a downward drag operation in the second split-screen area 502, which is the second drag operation.
  • the terminal performs and receives the above drag operation based on the two operations at the same time.
  • Step 203 When the first drag operation and the second drag operation satisfy the split-screen conditions, display a third split-screen area in the user interface.
  • the third split-screen area is located between the first split-screen area and the second split-screen area. between regions.
  • the terminal After receiving the first drag operation and the second drag operation performed simultaneously, in response to the above drag operation satisfying the split-screen condition, the terminal continues to display and run the original application in the first split-screen area and the second split-screen area. , and display the third split-screen area between the first split-screen area and the second split-screen area.
  • the user interface displays the selection Interface for the user to select the display position of the third split-screen area.
  • the display position of the third split-screen area can be any two of the first split-screen area, the second split-screen area, and all split-screen areas in between. between adjacent split-screen areas.
  • the user interface displays three split-screen areas distributed left and right. From left to right, they are area A, area B, and area C.
  • the user interface displays a selection interface, and the user can display the third split-screen control 601 between area B and area C by clicking the first split-screen control 601. Three-part screen area 611, or click the second divided-screen control 602 to select the third divided-screen area between area A and area B.
  • the selection interface in the illustration is for illustration only, and this application does not limit this.
  • the user interface may not be able to completely display all the split-screen areas.
  • the user can slide with two fingers to operate 701 Switch the split-screen area displayed on the screen.
  • the terminal receives the first drag operation performed by the user in the first split-screen area and the second drag operation performed in the second split-screen area at the same time, and then based on the first drag operation and the second drag operation to move the first display area and the second display area, and display the third split-screen area between the first boundary and the second boundary, increasing the number of split-screen display areas of the terminal; when the user needs to perform multiple
  • drag operations are performed through simple gestures, and new split-screen areas are quickly added based on the location selected by the user. This simplifies split-screen operations and breaks through the limit on the number of split-screen display areas on the terminal. , making the process of split-screen collaboration more convenient and efficient for users.
  • a third split-screen area in the user interface including:
  • a third split-screen area is displayed in the user interface, where the first drag parameter At least the first drag direction is included, and the second drag parameter at least includes the second drag direction.
  • displaying a third split-screen area in the user interface includes:
  • the first drag direction is the first target direction and the second drag direction is the second target direction, determine that the split-screen condition is met, and display the third split-screen area in the user interface;
  • the first target direction is opposite to the second target direction
  • the first target direction matches the direction of the first split-screen area relative to the second split-screen area
  • the second target direction and the second split-screen area are relative to the first split-screen area.
  • the orientation of the split screen area matches.
  • the first target direction is the left direction
  • the second target direction is the right direction
  • the first target direction is the rightward direction
  • the second target direction is the leftward direction
  • the first target direction is an upward direction
  • the second target direction is a downward direction
  • the first target direction is the downward direction and the second target direction is the upward direction.
  • adjust the first split screen area and the second split screen area, the first split screen area and The adjustment method of the second split-screen area includes at least one of movement and scaling;
  • the moving direction of the first split-screen area is the first target direction
  • the moving direction of the second split-screen area is the second target direction
  • the zoom size of the first split-screen area is related to the drag distance in the first target direction
  • the zoom size of the second split screen area is related to the drag distance in the second target direction.
  • the first drag direction is the first target direction and the second drag direction is the second target direction
  • the split-screen condition is met
  • the third split-screen area is displayed in the user interface, including :
  • the first drag direction is the first target direction and the second drag direction is the second target direction, determine the first drag distance of the first drag operation in the first target direction, and the second drag direction.
  • the first drag direction is the first target direction and the second drag direction is the second target direction
  • the split-screen condition is met
  • the third split-screen area is displayed in the user interface, including :
  • a third screen area exists between the first screen area and the first screen edge
  • a fourth screen area exists between the second screen area and the second screen edge
  • the first screen edge is the screen corresponding to the first target direction.
  • Edge, the second screen edge is the screen edge corresponding to the second target direction;
  • the split screen state is exited, wherein after exiting the split screen state, at least two split screen areas stop displaying.
  • a third split-screen area in the user interface including:
  • a third split-screen area of the second size is displayed in the user interface.
  • a third split-screen area of the second size in the user interface including:
  • the third split-screen area of the second size is displayed in the user interface.
  • the target application interface is displayed in the third split-screen area.
  • a split-screen application selection interface in the third split-screen area including:
  • a split-screen application selection interface including candidate applications is displayed in the third split-screen area, wherein the split-screen application selection interface
  • the display priority of the candidate application is positively correlated with the relevance of the first application and the second application.
  • a third split-screen area in the user interface including:
  • a split-screen upper limit prompt is performed.
  • first split-screen area and the second split-screen area are adjacent and a split-screen control is provided between the first split-screen area and the second split-screen area, in response to the triggering of the split-screen control Operation, display the split-screen menu;
  • a gesture split screen animation is displayed, and a third split screen area is displayed in the user interface, and the gesture split screen animation is the first drag operation that satisfies the split screen condition and The second drag operation creates an animation of the split-screen area.
  • split-screen closing conditions include:
  • the first drag direction in the first drag operation is the third target direction
  • the second drag direction in the second drag operation is the fourth target direction
  • the third target direction is opposite to the fourth target direction
  • the third target direction is opposite to the direction of the first split-screen area relative to the second split-screen area
  • the fourth target direction and the second split-screen area are opposite to the first split-screen area.
  • the direction of the screen area is opposite.
  • the terminal In order to quickly display the application interface that the user wants to display, the terminal first displays a split-screen application selection interface in the third split-screen area.
  • the application selection interface is used by the user to select the application that the user wants to display on the third display interface.
  • the application selection interface may be a desktop, a multi-tasking interface, an application list, or other interfaces that provide multiple application selections, which are not limited in the embodiments of the present application.
  • the terminal satisfies the split-screen condition in response to the first drag operation and the second drag operation, in the middle of the first split-screen area 811 and the second split-screen area 812
  • the area displays a third split-screen area 821, and an application selection interface is displayed in the third split-screen area 821.
  • the terminal displays the target application interface 841 in the third split-screen area 821 in response to the selection operation of the target application 831 in the split-screen application selection interface. That is, the user completes the process of displaying the target application in the added split-screen area by performing a selection operation on the application selection interface, thereby realizing split-screen display.
  • the terminal may display a split-screen application selection interface including candidate applications in the third split-screen area based on the first application displayed in the first split-screen area and the second application displayed in the second split-screen area, wherein, The display priority of the candidate application in the split-screen application selection interface is positively correlated with the relevance of the first application and the second application.
  • the terminal When the terminal displays the application list as the application selection interface in the third split-screen area, in response to the first drag operation and the second drag operation, the terminal can analyze the running first application and the second application, and the intelligent easily determine the user's task scenario in split-screen mode, and determine the correlation between the candidate application and the first application and the second application through task scenario analysis, and then prioritize the candidate applications based on the correlation.
  • the higher the correlation the higher the correlation.
  • the candidate application has a higher display priority, so that the user can quickly select a candidate application with a high display priority, where the candidate application is an application runnable by all terminals.
  • the user displays and runs two online shopping applications simultaneously in split-screen mode, as the first application and the second application.
  • the terminal displays a third split-screen area, and displays an application list in the third split-screen area for the user to select a target display application.
  • the terminal analyzes that the user's current task scenario may be comparison shopping, so among the candidate applications, another shopping application should have a higher display priority, or the calculator should also Has a higher display priority.
  • the terminal can determine the display priority based on historical co-screen information.
  • the terminal extracts the first application and the second application information, and analyzes the historical co-screen information, where the historical co-screen information may be applications that the user has displayed simultaneously with the first application and the second application in the past.
  • the information may also be application information that has been displayed simultaneously with one of the first application or the second application in the past.
  • the terminal determines that the display priority of the corresponding candidate application is higher based on the greater number of times the application has been on the same screen in the historical same-screen information.
  • the user displays and runs a document editing application and a browser application simultaneously in split-screen mode.
  • the terminal can obtain historical co-screen information.
  • the chat application is displayed at the same time, the chat application has a higher display priority.
  • the terminal can obtain historical co-screen information at the same time. If the document editing application has been displayed on the same screen as the video conferencing application, the video conferencing application has a lower display priority than the chat application. Higher display priority, and so on.
  • the terminal will display the third split-screen area only when the first drag operation and the second drag operation meet the split-screen conditions.
  • the terminal obtains the first drag parameter and the third split-screen area. 2.
  • Drag parameters and determine whether the drag parameters meet the split-screen condition, and then determine whether to display the third display area.
  • the split-screen conditions for determining whether to display the third split-screen area at least the drag direction condition is included.
  • the third split-screen is displayed in the user interface. area, wherein the first drag parameter includes at least a first drag direction, and the second drag parameter includes at least a second drag direction.
  • the drag parameters may include various aspects of information about the drag operation, such as drag direction, drag distance, drag speed, etc., and the drag parameters must include the drag direction, that is, the split-screen condition. Based on the drag direction, it can also be judged in combination with other parameters.
  • the terminal determines that the split-screen condition is met, and displays the split-screen condition in the user interface. Display the third split-screen area.
  • the first target direction and the second target direction are directions parallel to the sides of the screen, that is, the first target direction and the second target direction may be upward, downward, left, or right.
  • the embodiment of the present application defines the first drag direction and the second drag direction as follows:
  • the first drag operation is a drag operation from the first drag starting point to the first drag end point, and the first drag starting point is located in the first screen area.
  • the direction of the vector from the first drag starting point to the first real-time coordinate in the relative direction of the first split-screen area and the second split-screen area is the first drag direction;
  • the second drag operation is a drag operation from the second drag starting point to the second drag end point, and the second drag starting point is located in the second screen area, then the second drag starting point is to the second real-time dragging point.
  • the direction of the vector of the coordinates in the relative direction of the first split-screen area and the second split-screen area is the second drag direction. For example, if the first split-screen area and the second split-screen area are distributed left and right, the horizontal direction of the drag operation direction in the first split-screen area is the first drag direction; if the first split-screen area and The second split-screen area is distributed in an up-and-down manner, and the vertical sub-direction of the drag operation direction in the first split-screen area is the first drag direction.
  • the first target direction is opposite to the second target direction, that is, the first target direction matches the direction of the first split-screen area relative to the second split-screen area, and the second target direction matches the direction of the second split-screen area.
  • the area's orientation relative to the first split screen area matches.
  • the first split-screen area 401 is located on the left side of the second split-screen area 402, then the first target direction is to the left.
  • the second split-screen area 402 is located on the right side of the first split-screen area, so the second target direction is to the right, thereby ensuring that the first target direction is opposite to the second target direction; in another possible situation , the first split-screen area is located on the right side of the second split-screen area, then the first target direction is to the right, and the second target direction is to the left.
  • the first split-screen area 501 is located above the second split-screen area 502, then the first target direction is upward, and at the same time , the second split-screen area 502 is located below the first split-screen area.
  • the second target direction is downward; in another possible situation, the first The split-screen area is located below the second split-screen area, then the first target direction is the downward direction and the second target direction is the upward direction.
  • the terminal receives the first drag operation and the second drag operation, and obtains the first drag parameter and the second drag parameter.
  • the terminal determines the first drag direction and the first target direction, match, and when the second drag direction matches the second target direction, the terminal displays the third split-screen area.
  • the first split-screen area and the second split-screen area are distributed in a left-right manner, and the first split-screen area is located to the left of the second split-screen area, so the first target direction is to the left, and the second split-screen area is to the left.
  • the target direction is to the right.
  • the user interface displays the third display area.
  • the first drag operation may be a horizontal drag to the left, a drag to the upper left or a drag to the left.
  • the second drag operation may be a horizontal drag to the right, or a drag to the upper right or a lower left. Drag down and to the right.
  • the terminal receives the first drag operation and the second drag operation, and obtains the first drag parameter and the second drag parameter. Only when the first drag direction and the second drag parameter among the two drag parameters are When the second drag direction meets the split-screen condition, that is, when the first target direction and the second target direction match respectively, the terminal displays the third split-screen area; the embodiment of the present application provides a "tear" gesture, through “tear” "The gesture separates the two split-screen areas displayed in the user interface, and the terminal can display a new split-screen area in the middle area.
  • it is more intuitive and consistent with user cognition, and then the user uses the Gestures have low learning costs and simplify the split-screen operation process.
  • the terminal determines that the first drag direction matches the first target direction, and the second drag direction matches the second target direction, the terminal feedbacks the result to the user by adjusting the display mode of the first split screen area and the second split screen area. critical result. Users can reduce misoperations through the above display feedback.
  • the terminal adjusts the first split screen area and the second split screen area, and the first split screen area and the second split screen area.
  • the adjustment method of the screen area includes at least one of movement and scaling.
  • the terminal adjusts the first split-screen area and the second split-screen area in a mobile manner
  • the display content of the user interface makes a corresponding mobile display in response to the drag operation, and the user moves based on the first split-screen area.
  • the display method of the split screen area and the second split screen area following the drag operation allows you to intuitively experience the operation effect of the drag gesture, and can clarify the real-time drag direction and drag distance of the drag operation.
  • the terminal in response to the first drag operation, the first split-screen area moves with the first drag operation in the user interface, wherein the moving direction of the first split-screen area is consistent with the first drag direction.
  • the same, and the movement distance is the first drag distance;
  • the second split-screen area moves with the second drag operation in the user interface, where the direction of movement of the second split-screen area The direction is the same as the second drag, and the movement distance is the second drag distance.
  • the terminal causes the split-screen area to move following the real-time finger position of the user, thereby realizing the split-screen area to be displayed in a "tearing" manner.
  • the first split-screen area 901 and the second split-screen area 902 are distributed in a left-right manner, the first split-screen area 901 is located on the left side of the second split-screen area 902, and the user
  • the first drag distance for performing the first drag operation is a
  • the second drag distance for performing the second drag operation is b. Therefore, in response to the first drag operation, the first split-screen area moves to the left by a distance of a, the second split-screen area moves to the right a distance b.
  • the terminal adjusts the first split-screen area and the second split-screen area in a zoom manner
  • the display areas of the first split-screen area and the second split-screen area shrink with the drag operation. , thereby opening up a free area in the user interface to display the third split-screen area.
  • the user interface can still display all of the first split-screen area and the second split-screen area. content.
  • the first split screen area 1001 and the second split screen area 1002 are proportional to the drag operation.
  • Zoom out, and the zoom size of the two-split screen area is related to the drag distance in the target direction, that is, as the drag distance in the target direction increases, the display size of the two-split screen area decreases.
  • a third split-screen area 1003 is displayed in the user interface.
  • the first split-screen area and the second split-screen area return to their original size, and the application selection interface 1004 is displayed in the third split-screen area 1003 .
  • the terminal when the terminal adjusts the display mode of the first split-screen area and the second split-screen area by zooming, the terminal can move the display positions of the two split-screen areas at the same time.
  • the split-screen condition also includes the position of the first drag end point and the position of the second drag end point.
  • the terminal determines the first drag end point of the first drag operation and the second end point of the second drag operation. Drag the end point.
  • the first drag operation is a drag operation from the first drag starting point to the first drag end point, where the first drag starting point is located in the first split-screen area.
  • the second drag operation is a drag operation from the second drag starting point to the second drag end point, where the second drag starting point is located in the second split-screen area.
  • the first drag end point is the real-time coordinate point when the first drag operation ends, that is, the coordinate point when the terminal detects that the user completes the first drag operation and leaves the screen.
  • the second drag end point is The real-time coordinate point at the end of the first drag operation.
  • the terminal determines that the first drag operation and the second drag operation satisfy the split-screen condition, and then the terminal The third split-screen area is displayed in .
  • the relative direction of the first screen area and the second screen area is the same as the relative direction of the first split screen area and the second split screen area.
  • the first screen area may partially overlap with the split-screen area displayed in the first split-screen area.
  • the relative direction of the first screen area 1111 of the terminal and the second screen area 1121 of the terminal is the same as the relative direction of the first split screen area 1112 and the second split screen area 1122.
  • the first screen area 1111 partially overlaps the first split-screen area 1112
  • the second screen area 1121 partially overlaps the second screen area 1122.
  • the user performs the first drag operation, and the first drag end point is located at In the first screen area 1111, at the same time, the user performs a second drag operation, and the second drag end point is located in the second screen area, and the terminal determines that the first drag operation and the second drag operation meet the split-screen conditions.
  • the terminal exits the split-screen state, that is, at least two split-screen areas in the user interface stop displaying.
  • a third screen area exists between the first screen area and the first screen edge of the terminal, and a fourth screen area exists between the second screen area and the second screen edge, wherein the One screen edge is the screen edge corresponding to the first target direction, and the second screen edge is the screen edge corresponding to the second target direction. That is, the first screen area is closer to the center line of the terminal screen than the third screen area, and the second screen area is closer to the screen center line than the fourth screen area.
  • the relative direction of the first screen area and the second screen area is the same as the relative direction of the first split screen area and the second split screen area.
  • the first screen area may intersect with part of the first screen area, which is not limited in this application.
  • the third screen area and the fourth screen area are two areas close to the edge of the screen in the relative directions of the first split-screen area and the second split-screen area respectively.
  • the user can move the screen close to the edge of the screen by Perform a drag operation, or perform a drag operation with a large drag distance to exit split-screen mode.
  • FIG. 12 there is a third screen area 1213 between the first screen area 1211 and the first screen edge 1212 of the terminal, and the width of the third screen area 1213 is 1 cm; the third screen area 1213 of the terminal There is a third screen area 1223 between the second screen area 1221 and the second screen edge 1222, and the width of the third screen area 1223 is 1 cm.
  • the user performs the first drag operation. When the distance between the first drag end point and the first screen edge 1212 is 0.5 cm, the first drag end point is located in the third screen area 1213. At the same time, the user performs the second drag operation. When the distance between the second drag end point and the second screen edge 1222 is 2 cm, the second drag end point is located in the second screen area 1221, and at this time, the terminal exits the split-screen mode.
  • the terminal when the user performs a drag operation, the terminal feedbacks the effect of the split-screen operation to the user by adjusting the display mode of the first split-screen area and the second split-screen area.
  • the terminal In response to the first drag operation and the second drag operation, stop displaying the application selection interface in the third split-screen area and display the main interface.
  • the application selection interface can be displayed in the first split-screen area and the second split-screen area.
  • the original display interface can also display a blurred image or a solid color image of the original interface, and then provide feedback to the user that the effect of the current drag operation is to exit the split-screen mode.
  • FIG. 13 there is a third screen area 1313 between the first screen area 1311 and the first screen edge 1312 of the terminal, and the width of the third screen area 1313 is 1 cm; the third screen area 1313 of the terminal There is a third screen area 1323 between the second screen area 1321 and the second screen edge 1322, and the width of the third screen area 1323 is 1 cm.
  • the real-time coordinate points are respectively located in the first screen area 1311 and the second screen area 1311.
  • the first split screen area and the second split screen area move with the drag operation, and the terminal is between the first split screen area and the second split screen area.
  • the third split-screen area is displayed, and the application selection interface 1331 is displayed in the third split-screen area.
  • the main interface 1341 is displayed between the second split-screen area.
  • the terminal can The judgment is based on the drag direction and combined with various other drag parameters as split-screen conditions.
  • other drag parameters used to determine whether to add a split-screen area it can be any one or a combination of the following:
  • the terminal can determine whether to display the third split-screen area based on the drag distance of the drag operation.
  • the first drag direction is the first target direction and the second drag direction is the second target direction
  • the user performs a first drag operation
  • the drag distance of the first drag operation is the divided distance in the first target direction between the first drag starting point and the first real-time coordinate
  • the drag distance of the second drag operation is the divided distance in the second target direction between the second drag starting point and the second real-time coordinate. For example, when the first target direction is horizontally to the left, the distance divided in the horizontal direction between the first drag starting point and the second drag end point is the first drag distance.
  • the sum of the drag distances of the first drag operation and the second drag operation reflects the correlation between the user's drag operation and the user's desire to increase the split-screen display area.
  • the dragging distance is greater than the first distance threshold, it can be determined that the user wants to display the third split-screen area on the user interface through the dragging operation instead of accidentally touching it.
  • the first distance threshold is set to 1 cm
  • the second distance threshold is 3 cm
  • the first target direction and the second target direction are left and right respectively
  • the user performs the first drag Drag the first split screen area 60° to the upper left by 2 cm
  • the first drag distance is the horizontal split distance of the drag operation, which is 1 cm.
  • the user performs the second drag operation, drag 2 cm at 60° to the lower right of the second split-screen area, then the second drag distance is 1 cm. Therefore, the sum of the first drag distance and the second drag distance is 2 cm, which is greater than the second drag distance.
  • a distance threshold is less than the second distance threshold, and the terminal displays the third split-screen area based on the first drag operation and the second drag operation.
  • a second distance threshold is set based on the terminal.
  • the terminal receives the first drag operation and the second drag operation, and then receives the drag parameters corresponding to the two drag operations.
  • the terminal first determines that the drag direction meets the split-screen condition, and then when the terminal determines The sum of the first drag distance and the second drag distance corresponding to the first drag operation and the second drag operation performed by the user is too large, that is, when it is determined that the user wishes to exit the split-screen mode, in response to the first drag operation and
  • the terminal controls the user interface to stop displaying the first application and the second application, and the terminal exits the split-screen mode and displays the system main interface on the entire screen, while the original application continues to run in the system background.
  • the second distance threshold is set to 3 cm
  • the first drag direction and the second drag direction are left and right respectively
  • the user performs the first drag operation
  • the first split screen The area is dragged 2 cm to the left.
  • the user performs a second drag operation and drags the second split-screen area 2 cm to the right. Therefore, the sum of the first drag distance and the second drag distance is 4 cm. , is greater than the second distance threshold, then the terminal exits the split-screen mode based on the first drag operation and the second drag operation.
  • the corresponding mobile display is performed according to the user's drag operation.
  • the two split-screen areas move, there is a display area between the two split-screen areas.
  • the terminal combines the first distance threshold and The second distance threshold determines the display content in the display area when the user performs the first drag operation and the second drag operation.
  • the terminal when the dragging distance is less than the first distance threshold, the terminal prepares for the user interface to display the third split-screen area and also prepares for not displaying the third split-screen area.
  • the first split screen area 1411 and the second split screen area 1412 move with the drag operation.
  • the area 1413 between the first split screen area 1411 and the second split screen area 1412 displays a preliminary display screen, where the preliminary display screen may be a blurred screen of the application selection interface or It is a solid color screen, etc., this application does not limit this; when the sum of the first drag distance and the second drag distance reaches the first threshold, the area 1413 between the first split screen area 1411 and the second split screen area 1412 is displayed
  • the application selection interface 1421 is used for the user to select the application he wishes to display and run.
  • the terminal when the dragging distance is greater than the second distance threshold, the terminal prepares for the user interface to exit the split-screen interface.
  • the first split screen area 1411 and The area 1413 between the second split-screen area 1412 switches from displaying the application selection interface 1421 to displaying the main interface 1431.
  • the display content of the first split-screen area 1411 and the second split-screen area 1412 can remain unchanged or the original content can be displayed.
  • the blurry picture is not limited in this application.
  • the terminal can determine whether to display the third split-screen area based on the drag speed of the drag operation.
  • the user performs the first drag operation, and the first drag speed of the first drag operation is the ratio of the first drag distance to the drag time; similarly, the user performs the second drag operation. operation, the second drag speed of the second drag operation is the ratio of the second drag distance to the drag time.
  • the terminal determines that the user wants to increase the display split-screen area, and then the terminal determines that the split-screen condition is met. Based on the user The drag direction and drag speed of the drag operation meet the split-screen conditions, and the terminal displays the third split-screen area on the user interface.
  • the terminal sets the speed threshold to 2 centimeters per second.
  • the first drag speed is 1 centimeter per second and the second drag speed is 1.5 centimeters per second
  • the first drag speed and the second drag speed are 1.5 centimeters per second. 2.
  • the dragging speed is less than the speed threshold, and the terminal determines that the dragging speed meets the split-screen condition.
  • the terminal stops displaying the current split-screen area, and Exit the split-screen mode, display the main interface in full screen, and the terminal continues to run the original first application and the second application in the background.
  • the terminal sets the speed threshold to 2 centimeters per second, and the first split-screen area is located to the left of the second split-screen area.
  • the terminal determines that the drag speed does not meet the split-screen condition, and combines the first The dragging direction and the second dragging direction match the first target direction and the second target direction, and the terminal exits the split-screen mode and displays the main interface.
  • the terminal determines whether the user wants to increase the display split-screen area based on the drag operation based on one or more characteristics of the first drag operation and the second drag operation, and further determines whether to display the third split-screen area based on the judgment result.
  • the third split-screen area is displayed when the screen area is selected, which improves the intelligence of the terminal.
  • the terminal in response to the first drag operation and the second drag operation satisfying the split-screen condition, controls to display the third sub-section of the first size in the user interface.
  • Screen area the first size is a fixed size.
  • the fixed size can be a default size or a user-defined size, etc.
  • This application does not limit this.
  • the terminal can display the third display area in a default size, which is adapted to the application's optimal display area selection. There is no need for the user to long-press the screen to control the drag distance.
  • the terminal can display the third split-screen area in a suitable area, making the user's operation more convenient. For simplicity. After the user interface displays the third split-screen area, when the user wants to further adjust the size of the third display area, the adjustment can be achieved by dragging the split-screen control between the split-screen areas, where the split-screen control is between the split-screen areas. Movable controls, the area between the two split-screen controls is the split-screen display area.
  • the terminal displays a third split-screen area of a second size in the user interface.
  • the size of the third split-screen area can be determined based on the first drag operation and the second drag operation, that is, the length of one side of the third split-screen area is the first drag distance and the second drag distance. The sum of drag distances.
  • the user can determine the size of the third split-screen area according to their own needs.
  • the first split-screen area and the second split-screen area move accordingly, and the movement distance is equal to The first drag distance and the second drag distance.
  • the first split screen area and the second split screen area stop moving, and the size of the area between them is the second size.
  • This implementation may include the following steps:
  • the method of determining the first drag distance and the second drag distance is the same as in the above embodiment, and will not be described again here.
  • the length of the second size in the relative direction of the first split-screen area and the second split-screen area is the sum of the first drag distance and the second drag distance, and on the other side perpendicular to the direction
  • the upward length is equal to the first split screen area.
  • the terminal determines the second size in response to the end of the first drag operation and the second drag operation, and displays the third split screen area with the second size between the first split screen area and the second split screen area.
  • the terminal can newly display multiple split-screen areas based on the user performing multiple drag operations.
  • the terminal in response to the first drag operation and the second drag operation, may display multiple newly added split-screen areas. For example, when the user wants to display and run four split-screen areas at the same time on the user interface, as shown in Figure 15, the user can perform a drag operation on the first split-screen area 1501 and the second split-screen area 1502, and the terminal responds to the drag operation. Perform an operation to display the third split-screen area 1503 on the user interface. Further users can continue to perform drag operations on the second split screen area 1502 and the third application area 1503, and the terminal displays another new split screen area 1504 between the two split screen areas in response to the drag operation.
  • the third The first split-screen area 1501 and the second split-screen area 1502 continue to run in the foreground and are no longer displayed due to the terminal screen size.
  • the user can move and display each split-screen area through a two-finger sliding operation.
  • this application does not limit the number of applications displayed on the terminal.
  • the number of applications displayed is limited by the processing performance of the terminal itself and has nothing to do with this application.
  • the third drag operation is displayed in the user interface.
  • Split screen area when the first drag operation and the second drag operation satisfy the split-screen condition and the number of at least two split-screen areas does not reach the quantity threshold, the third drag operation is displayed in the user interface.
  • a split-screen upper limit prompt is performed.
  • the terminal Based on the performance limitations of the terminal, there is a quantity threshold when the terminal displays multiple split-screen areas.
  • the split-screen condition is met in response to the first drag operation and the second drag operation.
  • the terminal displays a split-screen upper limit prompt window to remind the user that the split-screen area cannot be expanded further.
  • the terminal can only have 4 split-screen areas at the same time, that is, the number threshold is 4.
  • the terminal already has 4 split-screen areas, if the user performs a drag operation and wishes If a fifth split-screen area is added, in response to the first drag operation and the second drag operation satisfying the split-screen conditions, the terminal displays a split-screen upper limit prompt window.
  • the user in addition to displaying the third split-screen area through the first drag operation and the second drag operation, the user can also display the third split-screen area in the user interface by calling out the split-screen menu.
  • the user can increase the display split-screen area by performing a trigger operation on the split-screen control 1601.
  • the user can click the split-screen control 1601 at the position where the third split-screen area is desired to be displayed.
  • the split-screen control 1601 is a movable control between the first split-screen area 1602 and the second split-screen area 1603.
  • the user interface passes through the split-screen control. 1601 divides different split screen areas.
  • the user can perform a trigger operation at any position of the split-screen control 1601, and the terminal receives the trigger operation.
  • the terminal displays the split-screen menu in response to the triggering operation on the split-screen control.
  • the terminal displays a split-screen menu 1604.
  • the split-screen menu 1604 may contain a variety of functional options, and at least one item is used to display the third split-screen area 1605, which is a split-screen creation option.
  • the terminal displays the third split-screen area 1605 at the position of the above-mentioned split-screen control, and displays the application selection interface in the third split-screen area.
  • the terminal displays a gesture split-screen animation in response to a triggering operation on the split-screen creation option in the split-screen menu, and displays a third split-screen area in the user interface, and the gesture split-screen animation satisfies The first drag operation and the second drag operation of the split screen condition create animation of the split screen area.
  • the terminal displays a gesture split screen animation when the user performs a trigger operation for the first time, so that the user can promptly understand the method of expanding the split screen through gestures.
  • the terminal displays a gesture split-screen animation based on the initial trigger operation.
  • the terminal can expand and display multiple split-screen areas.
  • FIG. 17 shows a flow chart of a split-screen display method provided by another exemplary embodiment of the present application.
  • the method may include the following steps.
  • Step 1701 Display a user interface including at least two split-screen areas.
  • step 201 For the implementation of this step, reference can be made to the above-mentioned step 201, which will not be described again in this embodiment.
  • Step 1702 Receive a first drag operation on a first split-screen area of at least two split-screen areas, and a second drag operation on a second split-screen area of at least two split-screen areas.
  • the first drag operation Executed simultaneously with the second drag operation.
  • step 202 For the implementation of this step, reference can be made to the above-mentioned step 202, which will not be described again in this embodiment.
  • Step 1703 When the first drag direction is the first target direction and the second drag direction is the second target direction, it is determined that the split-screen condition is met.
  • the terminal obtains the first drag parameter and the second drag parameter from the received first drag operation and the second drag operation.
  • the first drag parameter and the second drag parameter include the first drag direction and the second drag parameter. Drag direction.
  • the manner in which the terminal determines the first drag direction and the second drag direction may refer to the above embodiments and will not be described in detail here.
  • the terminal determines the first target direction and the second target direction based on the relative directions of the first split screen area and the second split screen area, that is, the first target direction and the first split screen area have the same relative direction, and the second target direction is the same as the first split screen area.
  • the relative directions of the second split-screen area are the same.
  • the first split-screen area is located on the left side of the second split-screen area, and they are distributed left and right. Then the first target direction is to the left and the second target direction is to the right.
  • the terminal can determine whether the first drag operation and the second drag operation satisfy the split-screen condition based on drag parameters such as drag distance and drag speed.
  • Step 1704 Move the first split-screen area based on the first target direction, and move the second split-screen area based on the second target direction.
  • the terminal Based on receiving the first drag operation and the second drag operation, and the first drag direction is the same as the first target direction, and the second drag direction is the same as the second target direction, the terminal displays the first split-screen area and the second When displaying an area, control the two-split screen area to move with the drag operation to visually reflect the dragging effect of the drag operation on the two-split screen area. Based on the movement of the two split screen areas, a new area is displayed between the two split screen areas. The content displayed in this area is determined based on the drag distance.
  • Step 1705 Determine the first drag end position and the second drag end position.
  • the terminal screen edge position there are a third screen area and a fourth screen position, the third screen area is located between the first screen area and the first screen edge, and the fourth screen area is located between the second screen area and the second screen edge. . Only when the first drag end point is located in the first screen area and the second drag end point is located in the second screen area, the terminal determines that the first drag operation and the second drag operation satisfy the split-screen condition.
  • Step 1706 Display the third split-screen area in the user interface; based on the first drag operation and the second drag operation, display the third split-screen area of the second size in the user interface; display in the third split-screen area Split-screen application selection interface.
  • the terminal Based on the first drag parameter and the second drag parameter meeting the split-screen conditions, the terminal displays the third split-screen area on the user interface to realize split-screen expansion.
  • the length of the third split-screen area in the relative direction of the first split-screen area and the second split-screen area is the first drag distance and the second drag distance when the first drag operation and the second drag operation are stopped. sum, from which the second size is determined.
  • the third split-screen area first displays the application selection interface for the user to further select the target application, and when the application display interface is an application list, the terminal can display candidate applications according to the display priority, and the optional terminal determines the application display priority
  • the basis may be the correlation between the first application and the second application of the candidate application, or it may be application history co-screen information, etc.
  • Step 1707 In response to the selection operation of the target application in the split-screen application selection interface, display the target application interface in the third split-screen area.
  • the user can perform a selection operation on the application selection interface displayed in the third split-screen area, and the terminal displays a corresponding target application interface in response to the selection operation, completing split-screen expansion.
  • the terminal receives the first drag operation and the second drag operation, and analyzes the drag direction in the first drag parameter and the second drag parameter. Based on the drag direction satisfying the split-screen condition, the terminal displays the second drag operation. The first split-screen area and the second split-screen area move in the same direction with the drag operation. The terminal further analyzes the drag distance and drag speed in the first drag parameter and the second drag parameter, and based on them both satisfy the split-screen requirement.
  • the third split-screen area is conditionally displayed. The size of the third split-screen area is determined based on the drag distance.
  • the application selection interface is first displayed in the third split-screen area, and then the target application interface is determined to be displayed based on the selection operation; the terminal analyzes the drag parameters.
  • split-screen expansion is realized in response to gesture operations, which not only simplifies the user's split-screen operation method, but also ensures the accuracy of terminal response.
  • the user can increase the display of the split-screen area or exit the split-screen mode through a dragging gesture of dragging the first split-screen area and the second split-screen area in opposite directions.
  • a dragging gesture of dragging the first split-screen area and the second split-screen area in opposite directions.
  • the terminal when the user performs a drag operation opposite to the drag direction of the above-mentioned gesture, that is, when the first split-screen area and the second split-screen area are dragged toward each other, the terminal responds to the "pinch" gesture. You can stop displaying part of the split screen area.
  • Figure 18, shows a flow chart of a split-screen closing method provided by an exemplary embodiment of the present application. This embodiment uses the method applied to the terminal shown in Figure 1 as an example for description. The method may include the following steps.
  • Step 1801 Display a user interface including a split-screen area.
  • At least three split-screen areas are displayed in the user interface.
  • the user performs a first drag operation on the first split-screen area and simultaneously performs a second drag operation on the second split-screen area.
  • the display mode of the split-screen area may be any of the distribution modes, such as up-and-down distribution or left-right distribution, which is not limited in this application.
  • Step 1802 Receive a first drag operation on the first split-screen area in the split-screen area and a second drag operation on the second split-screen area in the split-screen area. The first drag operation and the second drag operation are received. executed simultaneously.
  • the terminal responds to the drag operation with a split-screen closing gesture.
  • the terminal determines the first starting time and the second starting time, that is, the time when the displacement first occurs in the first drag operation and the second drag operation.
  • the terminal determines that the first drag operation and the second drag operation are performed simultaneously. For example, the terminal determines that the time threshold is 0.5 seconds.
  • the terminal determines that the time threshold is 0.5 seconds.
  • the user performs the first drag operation 0.2 seconds later, the user performs the second drag operation, then the time interval between the first starting time and the second starting time is 0.2 seconds, and then the end time is 0.2 seconds. Segment judgment and two drag operations are executed at the same time.
  • the terminal while receiving the first operation signal (including real-time coordinates) triggered by the first drag operation, the terminal receives the second operation signal (including real-time coordinates) triggered by the second drag operation. real-time coordinates), that is, when the terminal determines that there is an intersection between the first drag period and the second drag period, it determines that the two drag operations are executed simultaneously.
  • Step 1803 Stop displaying when the first drag operation and the second drag operation satisfy the split screen closing condition, and when there is a fourth split screen area between the first split screen area and the second split screen area.
  • the fourth split-screen area Stop displaying when the first drag operation and the second drag operation satisfy the split screen closing condition, and when there is a fourth split screen area between the first split screen area and the second split screen area. The fourth split-screen area.
  • the split-screen closing condition includes that the first drag direction in the first drag operation is the third target direction, and the second drag direction in the second drag operation is the fourth target direction.
  • the third target direction is opposite to the fourth target direction, that is, the third target direction is opposite to the direction of the first split-screen area relative to the second split-screen area
  • the fourth target direction is opposite to the second split-screen area relative to the first split-screen area.
  • Split screen areas are in opposite directions.
  • the first drag direction and the second drag direction are the same as the definitions in the above embodiment, respectively: the first drag direction is, the vector from the first drag starting point to the first drag end point is in the first split screen The direction of the component vector in the relative direction between the area and the second split-screen area; the second drag direction is that the vector from the second drag starting point to the second drag end point is in the relative direction of the first split-screen area and the second split-screen area. The direction of the component vector on.
  • the user interface displays three split-screen areas in a left-right manner. From left to right, they are the first application area 1901, the second application area 1902, and the third application area. 1903. The user performs the first drag operation of dragging to the right in the first application area 1901 area, which is the first split-screen area, and simultaneously performs a left drag operation in the third application area 1903 area, which is the second split-screen area. of the second drag operation.
  • the terminal determines that the two drag operations satisfy the split-screen closing condition, and then controls the user interface to stop displaying the second application area 1902 between the two areas.
  • the user can determine the target closing area by selecting the first split-screen area and the second split-screen area.
  • the terminal has four split-screen areas distributed left and right. When the user performs a drag operation on the first split-screen area on the left and the second split-screen area on the right, in response to the The first drag operation and the second drag operation satisfy the split screen closing conditions, and the terminal simultaneously closes the two split screen areas located in the middle.
  • the user interface stops displaying the split screen area between the first split screen area and the second split screen area; this application implements The example provides a "pinch" gesture, that is, a gesture of dragging the split-screen area closer to the middle.
  • the terminal stops displaying the split-screen area in response to the "pinch" gesture.
  • the cost is low, and the user can determine the split-screen area that he wants to stop displaying by only selecting the first split-screen area and the second split-screen area.
  • the user can close multiple split-screen areas by performing a split-screen closing gesture, which is easy to operate.
  • the terminal determines that the drag operation satisfies the split-screen closing condition.
  • the terminal can also obtain the first drag parameter and the second drag parameter, and use the drag distance and drag speed in the drag parameters as further split-screen closing conditions, combined with the drag direction Determine whether the drag operation is a split-screen closing operation.
  • the following description uses the terminal's drag distance and drag speed as split-screen closing conditions.
  • the terminal determines the first drag distance of the first drag operation in the third target direction, and determines the second drag distance of the second drag operation in the fourth target direction.
  • the first drag distance is the distance in the third target direction between the first drag start point and the first drag end point.
  • the second drag distance is the distance between the second drag start point and the second drag end point. The distance between the moving end points in the fourth target direction.
  • the split screen closing condition is met, and the terminal stops displaying the space between the first split screen area and the second split screen area.
  • the first distance threshold is 1 cm
  • the second distance threshold is 3 cm
  • the user performs a first drag operation and a second drag operation
  • the first drag distance is 1 cm
  • the second drag operation The dragging distance is 1 cm, that is, the sum of the first drag distance and the second drag distance is 2 cm.
  • the drag operation does not satisfy the split-screen closing condition, and the terminal does not respond to the drag operation with a split-screen closing gesture.
  • the terminal determines a first drag speed and a second drag speed, where the first drag speed is the ratio of the first drag distance to the drag time, and the second drag speed is the ratio of the first drag distance to the drag time. Is the ratio of the second drag distance to the drag time.
  • the terminal determines that the drag operation satisfies the split-screen stop condition, and stops displaying the split-screen area between the first split-screen area and the second split-screen area.
  • the speed threshold is 2 centimeters per second
  • the user performs a first drag operation and a second drag operation
  • the first drag speed is 1 centimeter per second and the second drag speed is 1.5 centimeters.
  • the terminal stops displaying the split screen area between the first split screen area and the second split screen area.
  • the implementation principle of dragging to close the split screen can refer to the implementation principle of dragging to create a split screen. , this embodiment will not be described in detail here.
  • Figure 20 shows a structural block diagram of a split-screen display device provided by an exemplary embodiment of the present application.
  • the device includes:
  • the first display module 2001 is used to display a user interface including at least two split-screen areas;
  • the first receiving module 2002 is configured to receive a first drag operation on a first split-screen area among the at least two split-screen areas, and a second drag operation on a second split-screen area among the at least two split-screen areas. Drag operation, the first drag operation and the second drag operation are performed simultaneously;
  • the first display module 2001 is also configured to display a third split-screen area in the user interface when the first drag operation and the second drag operation satisfy the split-screen condition.
  • the third screen split area is located between the first screen split area and the second screen split area.
  • the first display module 2001 is used for:
  • the third sub-screen is displayed in the user interface. screen area, wherein the first drag parameter includes at least a first drag direction, and the second drag parameter includes at least a second drag direction.
  • the first display module 01 also used for:
  • the first target direction is opposite to the second target direction, and the first target direction matches the direction of the first split-screen area relative to the second split-screen area, and the second The target direction matches the direction of the second split screen area relative to the first split screen area.
  • the first target direction is a left direction
  • the second target direction is a right direction
  • the first target direction is a rightward direction
  • the second target direction is a leftward direction
  • the first target direction is an upward direction
  • the second target direction is a downward direction
  • the first target direction is a downward direction
  • the second target direction is an upward direction
  • the first display module 2001 is also used for:
  • the adjustment method of the first split-screen area and the second split-screen area includes at least one of movement and scaling;
  • the moving direction of the first split-screen area is the first target direction
  • the moving direction of the second split-screen area is the second target direction
  • the zoom size of the first split-screen area is the same as the first target direction.
  • the drag distance in the first target direction is related
  • the zoom size of the second split-screen area is related to the drag distance in the second target direction.
  • the first display module 2001 is used to:
  • the first drag direction is the first target direction and the second drag direction is the second target direction, it is determined that the first drag operation is in the first target direction. the first drag distance on, and the second drag distance of the second drag operation in the second target direction;
  • the first display module 2001 is used for:
  • the first display module 2001 is also used to:
  • a third screen area exists between the first screen area and the first screen edge
  • a fourth screen area exists between the second screen area and the second screen edge
  • the first screen edge is When the screen edge corresponding to the first target direction and the second screen edge are the screen edges corresponding to the second target direction, the first display module 2001 is also used to:
  • the first display module 2001 is also used for:
  • the third split-screen area of the second size is displayed in the user interface.
  • the first display module 2001 when the third split-screen area of the second size is displayed in the user interface, the first display module 2001 , also used in:
  • the first display module 2001 is also used for:
  • the third split-screen area of the second size is displayed in the user interface.
  • the first display module 2001 is also used for:
  • the split-screen application selection interface including candidate applications is displayed in the third split-screen area , wherein the display priority of the candidate application in the split-screen application selection interface has a positive correlation with the relevance of the first application and the second application.
  • the display module 2001 is also used to:
  • the The above display module 01 is also used for:
  • a gesture split-screen animation is displayed, and the third split-screen area is displayed in the user interface, and the gesture split-screen animation is configured by satisfying the The first drag operation and the second drag operation of the split screen condition create animation of the split screen area.
  • the terminal receives the first drag operation and the second drag operation through the receiving module, and based on the first drag operation and the second drag operation satisfying the split-screen condition, the display module in the first A third split-screen module is displayed between the split-screen area and the second split-screen area to expand the split-screen area.
  • FIG. 21 shows a structural block diagram of a split-screen display device provided by another exemplary embodiment of the present application.
  • the device includes:
  • the second display module 2101 is used to display a user interface including a split-screen area
  • the second receiving module 2102 is configured to receive the first drag operation on the first split-screen area in the split-screen area and the second drag operation on the second split-screen area in the split-screen area, the The first drag operation and the second drag operation are performed simultaneously;
  • the second display module 2101 is also configured to, when the first drag operation and the second drag operation satisfy the split-screen closing condition, and the first split-screen area and the second split-screen area are When there is a fourth split-screen area between the screen areas, the fourth split-screen area is stopped from being displayed.
  • the split-screen closing conditions include:
  • the first drag direction in the first drag operation is a third target direction
  • the second drag direction in the second drag operation is a fourth target direction
  • the third target direction is opposite to the fourth target direction
  • the third target direction is opposite to the direction of the first split-screen area relative to the second split-screen area.
  • the fourth target direction The direction is opposite to the direction of the second split-screen area relative to the first split-screen area.
  • the terminal receives the first drag operation and the second drag operation through the second receiving module, and satisfies the split-screen closing condition based on the first drag operation and the second drag operation.
  • the second display module stops displaying the split-screen area between the first split-screen area and the second split-screen area.
  • Embodiments of the present application also provide a computer-readable storage medium that stores at least one program, and at least one program is used to be executed by a processor to implement the split-screen display method as described in the above embodiments.
  • Embodiments of the present application provide a computer program product.
  • the computer program product includes computer instructions, and the computer instructions are stored in a computer-readable storage medium.
  • the processor of the computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes the split-screen display method provided by the above embodiment.
  • Computer-readable media includes computer storage media and communication media including any medium that facilitates transfer of a computer program from one place to another.
  • Storage media can be any available media that can be accessed by a general purpose or special purpose computer.

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)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • User Interface Of Digital Computer (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

本申请公开了一种分屏显示方法、装置、终端及存储介质,涉及分屏技术领域。方法包括:显示包含至少两个分屏区域的用户界面(201),接收对至少两个分屏区域中第一分屏区域的第一拖动操作,以及对至少两个分屏区域中第二分屏区域的第二拖动操作,第一拖动操作和第二拖动操作同时执行(202),在第一拖动操作和第二拖动操作满足分屏条件的情况下,终端在用户界面中显示第三分屏区域,第三分屏区域位于第一分屏区域和第二分屏区域之间(203)。本申请实施例方案在简化分屏操作流程的同时提高了分屏效率。

Description

分屏显示方法、装置、终端及存储介质
本申请要求于2022年06月30日提交的申请号为202210771343.2、发明名称为“分屏显示方法、装置、终端及存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请实施例涉及分屏技术领域,特别涉及一种分屏显示方法、装置、终端及存储介质。
背景技术
对于用户在终端处理复杂任务的需求,终端支持分屏显示多个应用,以提高使用效率。终端通过分屏控件划分用户界面,并可在各个分割区域内显示和运行不同应用。
相关技术中,终端实现分屏显示的方式比较单一且操作复杂,在使用分屏功能时,用户需要点击分屏控件,进而选择增加或减少分屏区域实现分屏拓展。
发明内容
本申请实施例提供了一种分屏显示方法、装置、终端及存储介质,能够简化分屏操作流程,进而提高拓展分屏效率。
一方面,本申请实施例提供了一种分屏显示方法,所述方法包括:
显示包含至少两个分屏区域的用户界面;
接收对所述至少两个分屏区域中第一分屏区域的第一拖动操作,以及对所述至少两个分屏区域中第二分屏区域的第二拖动操作,所述第一拖动操作和所述第二拖动操作同时执行;
在所述第一拖动操作和所述第二拖动操作满足分屏条件的情况下,在所述用户界面中显示第三分屏区域,所述第三分屏区域位于所述第一分屏区域和所述第二分屏区域之间。
另一方面,本申请实施例提供了一种分屏显示方法,所述方法包括:
显示包含分屏区域的用户界面;
接收对所述分屏区域中第一分屏区域的第一拖动操作,以及对所述分屏区域中第二分屏区域的第二拖动操作,所述第一拖动操作和所述第二拖动操作同时执行;
在所述第一拖动操作和所述第二拖动操作满足分屏关闭条件的情况下,且所述第一分屏区域与所述第二分屏区域之间存在第四分屏区域的情况下,停止显示所述第四分屏区域。
另一方面,本申请实施例提供了一种分屏显示装置,所属装置包括:
第一显示模块,用于显示包含至少两个分屏区域的用户界面;
第一接收模块,用于接收对所述至少两个分屏区域中第一分屏区域的第一拖动操作,以及对所述至少两个分屏区域中第二分屏区域的第二拖动操作,所述第一拖动操作和所述第二拖动操作同时执行;
所述第一显示模块,还用于在所述第一拖动操作和所述第二拖动操作满足分屏条件的情况下,在所述用户界面中显示第三分屏区域,所述第三分屏区域位于所述第一分屏区域和所述第二分屏区域之间。
另一方面,本申请实施例提供了一种分屏显示装置,所属装置包括:
第二显示模块,用于显示包含分屏区域的用户界面;
第二接收模块,用于接收对所述分屏区域中第一分屏区域的第一拖动操作,以及对所述分屏区域中第二分屏区域的第二拖动操作,所述第一拖动操作和所述第二拖动操作同时执行;
所述第一显示模块,还用于在所述第一拖动操作和所述第二拖动操作满足分屏关闭条件的情况下,且所述第一分屏区域与所述第二分屏区域之间存在第四分屏区域的情况下,停止显示所述第四分屏区域。
另一方面,本申请实施例提供了一种终端,所述终端包括显示器、处理器和存储器,所述存储器存储有至少一段程序,所述至少一段程序用于被所述处理器执行以实现如上述方面所述的分屏显示方法。
另一方面,本申请实施例提供了一种计算机可读存储介质,所述存储介质存储有至少一段程序,所述至少一段程序用于被处理器执行以实现如上述方面所述的分屏显示方法。
另一方面,本申请实施例提供了一种计算机程序产品,该计算机程序产品包括计算机指令,该计算机指令存储在计算机可读存储介质中。计算机设备的处理器从计算机可读存储介质读取该计算机指令,处理器执行该计算机指令,使得该计算机设备执行上述方面提供的分屏显示方法。
附图说明
为了更清楚地说明本申请实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介 绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1示出了本申请一个示例性实施例提供的终端的结构方框图;
图2示出了本申请一个示例性实施例提供的分屏显示方法的流程图;
图3示出了本申请一个示例性实施例提供的多屏幕终端分屏界面的示意图;
图4示出了本申请一个示例性实施例提供的分屏区域分布界面的示意图;
图5示出了本申请另一个示例性实施例提供的分屏区域分布界面的示意图;
图6示出了本申请一个示例性实施例提供的显示第三分屏区域过程的示意图;
图7示出了本申请一个示例性实施例提供的调整显示范围方式的示意图;
图8示出了本申请另一个示例性实施例提供的拓展显示目标应用界面过程的示意图;
图9示出了本申请一个示例性实施例提供的分屏区域移动的示意图;
图10示出了本申请一个示例性实施例提供的分屏区域缩放的示意图;
图11示出了本申请一个示例性实施例提供的拖动操作与屏幕区域关系的示意图;
图12示出了本申请另一个示例性实施例提供的拖动操作与屏幕区域关系的示意图;
图13示出了本申请一个示例性实施例提供的用户界面变化的示意图;
图14示出了本申请另一个示例性实施例提供的用户界面变化的示意图;
图15示出了本申请另一个示例性实施例提供的显示第三显示区域的示意图;
图16示出了本申请一个示例性实施例提供的呼出分屏菜单界面的示意图;
图17示出了本申请另一个示例性实施例提供的分屏显示方法的流程图;
图18示出了本申请另一个示例性实施例提供的分屏显示方法的流程图;
图19示出了本申请一个示例性实施例提供的关闭分屏区域的示意图;
图20示出了本申请一个示例性实施例提供的分屏显示装置的结构框图;
图21示出了本申请另一个示例性实施例提供的分屏显示装置的结构框图。
具体实施方式
为使本申请的目的、技术方案和优点更加清楚,下面将结合附图对本申请实施方式作进一步地详细描述。
在本文中提及的“多个”是指两个或两个以上。“和/或”,描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。字符“/”一般表示前后关联对象是一种“或”的关系。
内容分屏显示功能是终端的常见功能。适应于用户越来越多地通过终端完成生活事宜以及工作任务,终端充分发挥屏幕面积通过分屏显示功能实现多应用同时协作,提高用户使用效率。但是,相关技术大多采用固定的两分屏模式,也即只能同时显示并运行两个应用,难以适应目前用户协同进行多任务的需要。
为满足用户对多应用同时使用的需要,本申请实施例提供了一种用于拓展分屏个数的分屏显示方法,通过该方法能够在不退出当前显示应用的情况下,十分简便地打开并显示一个新的应用,进一步的当用户有更多应用协作需求时,重复该分屏显示方法可以继续增加终端显示应用个数,提高了分屏效率。
本申请实施例提供的分屏显示方法,可以应用于视频会议、文档编辑、网络购物等场景。下面结合几种应用场景进行说明。
1、视频会议场景
视频会议场景下,本申请实施例提供的分屏显示方法,可以用于同时显示会议内容和多个会议文档。比如,在通过终端进行视频会议过程中,用户在显示会议视频画面以及会议投放PPT两个应用的同时,需要打开另一文档查看相关内容进行。
在实际应用中,用户通过对视频会议应用界面执行第一拖动操作,并同时对PPT显示应用界面执行第二拖动操作,可以在不退出任一应用的情况下,在视频界面和PPT界面中间加入一个文档显示应用,进而终端同时在前台运行视频会议应用、PPT显示应用以及文档编辑应用。
2、文档编辑场景
文档编辑场景下,本申请实施例提供的分屏显示方法,可以用于同时显示浏览器应用、文档编辑应用以及微信等聊天应用等。比如,在编辑文档时,用户往往需要结合多方面信息进行比较整合编辑,当用户同时打开浏览器应用和文档编辑应用进行查询和编辑文档的协作时,用户需要通过聊天应用于他人交流编辑内容。
在实际应用中,用户通过对文档编辑应用界面执行第一拖动操作,并同时对浏览器应用执行第二拖动操作,在不退出文档编辑应用和浏览器应用的情况下,可以在两应用显示界面中间加入微信等聊天应用,进而用户可以在同时比较两页面内容的情况下,与他人交流。
3、网络购物场景
网络购物场景下,本申请实施例提供的分屏显示方法,可以用于同时显示多个购物应用进行比较。
在实际应用中,用户通过分别对两个购物应用界面执行第一拖动操作和第二拖动操作,在不退出显示两购物应用的情况下,可以在两应用中间区域加入一个新的购物应用进行显示和比较,或是加入一个计算器应用对比计算。
请参考图1,其示出了本申请一个示例性实施例提供的终端的结构方框图。终端100可以包括一个或多个如下部件:处理器110、存储器120、显示屏130。
处理器110可以包括一个或者多个处理核心。处理器110利用各种接口和线路连接整个终端100内的各个部分,通过运行或执行存储在存储器110内的指令、程序、代码集或指令集,以及调用存储在存储器110内的数据,执行终端100的各种功能和处理数据。可选地,处理器110可以采用数字信号处理(Digital Signal Processing,DSP)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)、可编程逻辑阵列(Programmable Logic Array,PLA)中的至少一种硬件形式来实现。处理器110可集成中央处理器(Central Processing Unit,CPU)、图像处理器(Graphics Processing Unit,GPU)、神经网络处理器(Neural-network Processing Unit,NPU)和调制解调器等中的一种或几种的组合。其中,CPU主要处理操作***、用户界面和应用程序等;GPU用于负责触摸显示屏所需要显示的内容的渲染和绘制;NPU用于实现人工智能(Artificial Intelligence,AI)功能;调制解调器用于处理无线通信。可以理解的是,上述调制解调器也可以不集成到处理器110中,单独通过一块芯片进行实现。
存储器120可以包括随机存储器(Random Access Memory,RAM),也可以包括只读存储器(Read-Only Memory,ROM)。可选地,该存储器120包括非瞬时性计算机可读介质(non-transitory computer-readable storage medium)。存储器120可用于存储指令、程序、代码、代码集或指令集。存储器120可包括存储程序区和存储数据区,其中,存储程序区可存储用于实现操作***的指令、用于至少一个功能的指令(比如触控功能、声音播放功能、图像播放功能等)、用于实现下述各个方法实施例的指令等;存储数据区可存储根据终端100的使用所创建的数据(比如音频数据、电话本)等。
显示屏130是用于进行画面显示的组件。可选的,该显示屏130还具有触控功能,用户可以通过在显示器130上进行触控操作,实现对显示内容的控制。比如,该显示器130为智能手机的触摸式显示屏,或者,显示器130为电视终端的非触摸式显示屏。此外,显示器130的形态可以包括非折叠屏、折叠屏、伸缩屏、卷轴屏等等,本申请实施例对此不作限定。
除此之外,本领域技术人员可以理解,上述附图所示出的终端100的结构并不构成对终端的限定,终端可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。比如,终端100中还包括扬声器、传感器(比如加速度传感器、角速度传感器、光线传感器等等)、音频电路、WiFi模块、电源、蓝牙模块等部件,在此不再赘述。
请参考图2,其示出了本申请一个示例性实施例提供的分屏显示方法的流程图。本实施例以该方法用于图1所示的终端为例进行说明,该方法可以包括如下步骤。
步骤201,显示包含至少两个分屏区域的用户界面。
本申请实施例中,初始时,用户界面处于分屏状态,也即终端同时显示至少显示两个分屏区域。
需要说明的是,本申请对分屏区域的显示布局不作限定,例如,各分屏区域可以是左右分布、上下分布或是两种分布方式的结合,且在终端具有至少两块屏幕的情况下,例如终端为折叠屏终端等,终端可以在不同屏幕间和各屏幕内显示不同的分屏区域分布方式,如图3所示,终端可以在左屏幕和右屏幕间以左右分布显示第一应用区域311、第二应用区域312和第三应用区域321,同时在左屏幕内以上下分布显示第一应用区域311和第二应用区域312。
需要说明的是,本申请对分屏区域内显示的内容不作限定,例如,显示内容可以是同一应用或是不同应用。在一个示意性的例子中,在网络购物的应用场景中,终端可以在第一分屏区域显示购物应用中商品A的展示界面,同时在第二分屏区域中显示同一购物应用中商品B的展示界面。
步骤202,接收对至少两个分屏区域中第一分屏区域的第一拖动操作,以及对至少两个分屏区域中第二分屏区域的第二拖动操作,第一拖动操作和第二拖动操作同时执行。
不同于相关技术中,用户需要通过设置分屏模式增加分屏区域,本申请实施例中,用户通过简单的手势操作即可实现增加显示分屏区域,也即,用户仅需在第一分屏区域执行第一拖动操作,并在第二分屏区 域执行第二拖动操作。其中第一拖动操作的起始点坐标为位于第一分屏区域内的第一拖动起点,第二拖动操作的起始点坐标为位于第二分屏区域内的第二拖动起点,随拖动操作终端屏幕上的接触坐标点实时变化,其中第一拖动操作的接触坐标为第一实时坐标,第二拖动操作的接触坐标为第二实时坐标。
需要说明的是,在本申请实施例中,当且仅当第一拖动操作和第二拖动操作同时执行时,终端接收第一拖动操作和第二拖动操作作为分屏操作。
关于确定第一拖动操作和第二拖动操作是否同时执行,在一种可能的实施方式中,当同时接收到第一拖动操作所触发的第一操作信号(包含实时坐标)以及第二拖动操作所触发的第二操作信号(包含实时坐标),即第一拖动操作和第二拖动操作的拖动时段之间存在交集时,终端确定第一拖动操作和第二拖动操作同时执行。
在另一种可能的实施方式中,终端基于第一拖动操作确定第一起始时刻,并基于第二拖动操作确定第二起始时刻,其中第一起始时刻和第二起始时刻是终端初次检测到拖动操作的时刻。终端可以确定第一起始时刻和第二起始时刻的间距,并当两时刻间距小于时间阈值时,确定第一拖动操作和第二拖动操作为同时执行。
在一个示意性的例子中,终端确定时间阈值为0.5秒,用户在第一分屏区域执行第一拖动操作,并在1秒后于第二分屏区域执行第二分屏操作,其中,第一起始时刻和第二起始时刻的间距为1秒,时刻间距大于时间阈值,终端判断第一拖动操作和第二拖动操作并非同时执行,进而终端不以分屏手势响应于第一拖动操作和第二拖动操作。
在一个示意性的例子中,如图4所示,用户界面的左右两侧同时显示两个分屏区域,用户在第一分屏区域401中执行向左拖动操作,即为第一拖动操作,并同时在第二分屏区域402中执行向右拖动操作,即为第二拖动操作,终端接收上述拖动操作。
在另一个示意性的例子中,如图5所示,用户界面可以在上下两侧同时显示两个分屏区域,用户在第一分屏区域501中执行向上拖动操作,即为第一拖动操作,并同时在第二分屏区域502中执行向下拖动操作,即为第二拖动操作,终端基于两操作同时执行接收上述拖动操作。
步骤203,在第一拖动操作和第二拖动操作满足分屏条件的情况下,在用户界面中显示第三分屏区域,第三分屏区域位于第一分屏区域和第二分屏区域之间。
接收到同时执行的第一拖动操作和第二拖动操作后,响应于上述拖动操作满足分屏条件,终端继续在第一分屏区域和第二分屏区域显示并运行原有应用程序,并在第一分屏区域和第二分屏区域之间显示第三分屏区域。
需要说明的是,当用户执行第一拖动发操作和第二拖动操作时,第一分屏区域与第二分屏区域之间已经有至少一个分屏区域的情况下,用户界面显示选择界面,用于用户选择第三分屏区域的显示位置,第三分屏区域的显示位置可以是第一分屏区域和第二分屏区域以及二者之间的所有分屏区域中的任意两个相邻分屏区域之间。例如,如图6所示,初始时,用户界面中显示呈左右分布的三个分屏区域,由左至右分别为A区域、B区域、C区域,当用户在A区域执行向左拖动的第一拖动操作并在C区域执行向右拖动的第二拖动操作时,用户界面显示选择界面,用户可以通过点击第一分屏控件601,在B区域和C区域之间显示第三分屏区域611,或是点击第二分屏控件602选择A区域和B区域之间显示第三分屏区域,图示中的选择界面仅作说明用,本申请对此不作限定。
当终端显示第三分屏区域后,基于终端显示屏面积的限制,用户界面可能无法完全显示所有分屏区域,在本申请实施例中,如图7所示,用户可以通过双指滑动操作701切换屏幕中显示的分屏区域。
综上所述,本申请实施例中,终端接收用户同时在第一分屏区域执行的第一拖动操作和在第二分屏区域执行的第二拖动操作,进而基于第一拖动操作和第二拖动操作移动第一显示区和第二显示区,并在第一边界和第二边界之间显示第三分屏区域,增加终端分屏显示区域的个数;在用户需要进行多应用协同任务的场景下,通过简单的手势执行拖动操作,并基于用户所选位置,快速添加新的分屏区域,在简化分屏操作的同时,突破了终端分屏显示区域个数的限制,令用户实现分屏协作过程的过程更加便利高效。
可选的,在第一拖动操作和第二拖动操作满足分屏条件的情况下,在用户界面中显示第三分屏区域,包括:
在第一拖动操作的第一拖动参数与第二拖动操作的第二拖动参数满足分屏条件的情况下,在用户界面中显示第三分屏区域,其中,第一拖动参数至少包括第一拖动方向,第二拖动参数至少包括第二拖动方向。
可选的,在第一拖动操作的第一拖动参数与第二拖动操作的第二拖动参数满足分屏条件的情况下,在用户界面中显示第三分屏区域,包括:
在第一拖动方向为第一目标方向,且第二拖动方向为第二目标方向的情况下,确定满足分屏条件,并在用户界面中显示第三分屏区域;
其中,第一目标方向与第二目标方向反向,且第一目标方向与第一分屏区域相对于第二分屏区域的方 向匹配,第二目标方向与第二分屏区域相对于第一分屏区域的方向匹配。
可选的,在第一分屏区域位于第二分屏区域的左侧的情况下,第一目标方向为向左方向,第二目标方向为向右方向;
在第一分屏区域位于第二分屏区域的右侧的情况下,第一目标方向为向右方向,第二目标方向为向左方向;
在第一分屏区域位于第二分屏区域的上方的情况下,第一目标方向为向上方向,第二目标方向为向下方向;
在第一分屏区域位于第二分屏区域的下侧的情况下,第一目标方向为向下方向,第二目标方向为向上方向。
可选的,在第一拖动方向为第一目标方向,且第二拖动方向为第二目标方向的情况下,调整第一分屏区域以及第二分屏区域,第一分屏区域以及第二分屏区域的调整方式包括移动和缩放中的至少一种;
其中,第一分屏区域的移动方向为第一目标方向,第二分屏区域的移动方向为第二目标方向,第一分屏区域的缩放尺寸与第一目标方向上的拖动距离相关,第二分屏区域的缩放尺寸与第二目标方向上的拖动距离相关。
可选的,在第一拖动方向为第一目标方向,且第二拖动方向为第二目标方向的情况下,确定满足分屏条件,并在用户界面中显示第三分屏区域,包括:
在第一拖动方向为第一目标方向,且第二拖动方向为第二目标方向的情况下,确定第一拖动操作在第一目标方向上的第一拖动距离,以及第二拖动操作在第二目标方向上的第二拖动距离;
在第一拖动距离与第二拖动距离之和大于第一距离阈值,且小于第二距离阈值的情况下,确定满足分屏条件,并在用户界面中显示第三分屏区域。
可选的,在第一拖动距离与第二拖动距离之和大于第二距离阈值的情况下,退出分屏状态,其中,退出分屏状态后,至少两个分屏区域停止显示。
可选的,在第一拖动方向为第一目标方向,且第二拖动方向为第二目标方向的情况下,确定满足分屏条件,并在用户界面中显示第三分屏区域,包括:
在第一拖动方向为第一目标方向,且第二拖动方向为第二目标方向的情况下,确定第一拖动操作的第一拖动终点,以及第二拖动操作的第二拖动终点;
在第一拖动终点位于第一屏幕区域,且第二拖动终点位于第二屏幕区域的情况下,确定满足分屏条件,并在用户界面中显示第三分屏区域。
可选的,第一屏幕区域与第一屏幕边缘之间存在第三屏幕区域,第二屏幕区域与第二屏幕边缘之间存在第四屏幕区域,第一屏幕边缘为第一目标方向对应的屏幕边缘,第二屏幕边缘为第二目标方向对应的屏幕边缘;
在第一拖动终点位于第三屏幕区域,或,第二拖动终点位于第四屏幕区域的情况下,退出分屏状态,其中,退出分屏状态后,至少两个分屏区域停止显示。
可选的,在用户界面中显示第三分屏区域,包括:
在用户界面中显示第一尺寸的第三分屏区域,第一尺寸为固定尺寸;
或者,
基于第一拖动操作和第二拖动操作,在用户界面中显示第二尺寸的第三分屏区域。
可选的,基于第一拖动操作和第二拖动操作,在用户界面中显示第二尺寸的第三分屏区域,包括:
确定第一拖动操作在第一拖动方向上的第一拖动距离,以及第二拖动操作在第二拖动方向上的第二拖动距离;
基于第一拖动距离和第二拖动距离之和,确定第二尺寸;
在用户界面中显示第二尺寸的所述第三分屏区域。
可选的,在第三分屏区域中显示分屏应用选择界面;
响应于分屏应用选择界面中目标应用的选择操作,在第三分屏区域中显示目标应用界面。
可选的,在第三分屏区域中显示分屏应用选择界面,包括:
基于第一分屏区域中显示的第一应用以及第二分屏应用中显示的第二应用,在第三分屏区域中显示包含候选应用的分屏应用选择界面,其中分屏应用选择界面中候选应用的显示优先级与第一应用以及第二应用的关联度呈正相关关系。
可选的,在第一拖动操作和第二拖动操作满足分屏条件的情况下,在用户界面中显示第三分屏区域,包括:
在第一拖动操作和第二拖动操作满足分屏条件,且至少两个分屏区域的数量未达到数量阈值的情况下,在用户界面中显示第三分屏区域;
在第一拖动操作和第二拖动操作满足分屏条件,且至少两个分屏区域的数量达到数量阈值的情况下,进行分屏上限提示。
可选的,在第一分屏区域与第二分屏区域相邻,且第一分屏区域与第二分屏区域之间设置有分屏控件的情况下,响应于对分屏控件的触发操作,显示分屏菜单;
响应于对分屏菜单中分屏创建选项的触发操作,显示手势分屏动画,并在用户界面中显示第三分屏区域,手势分屏动画为通过满足分屏条件的第一拖动操作和第二拖动操作创建分屏区域的动画。
可选的,显示包含分屏区域的用户界面;
接收对分屏区域中第一分屏区域的第一拖动操作,以及对分屏区域中第二分屏区域的第二拖动操作,第一拖动操作和第二拖动操作同时执行;
在第一拖动操作和第二拖动操作满足分屏关闭条件的情况下,且第一分屏区域与第二分屏区域之间存在第四分屏区域的情况下,停止显示第四分屏区域。
可选的,分屏关闭条件包括:
在第一拖动操作的第一拖动方向为第三目标方向,且第二拖动操作的第二拖动方向为第四目标方向;
其中,第三目标方向与第四目标方向相向,且第三目标方向与第一分屏区域相对于第二分屏区域的方向相反,第四目标方向与第二分屏区域相对于第一分屏区域的方向相反。
为了快速显示用户所希望显示的应用界面,终端首先在第三分屏区域中显示分屏应用选择界面,应用选择界面用于用户选择希望于第三显示界面显示的应用。
其中应用选择界面可以是桌面、多任务界面、应用列表等提供多个应用选择的界面,本申请实施例对此不做限定。
在一种可能的实施方式中,如图8所示,终端响应于第一拖动操作和第二拖动操作满足分屏条件,在第一分屏区域811和第二分屏区域812的中间区域显示第三分屏区域821,并在第三分屏区域821中显示应用选择界面。终端响应于对分屏应用选择界面中的目标应用831的选择操作,在第三分屏区域821中显示目标应用界面841。也即,用户通过在应用选择界面进行选择操作,完成在增加显示的分屏区域中显示目标应用的过程,实现分屏显示。
进一步的,终端可以基于第一分屏区域中显示的第一应用以及第二分屏应用中显示的第二应用,在第三分屏区域中显示包含候选应用的分屏应用选择界面,其中,分屏应用选择界面中候选应用的显示优先级与第一应用以及第二应用的关联度呈正相关关系。
当终端在第三分屏区域中显示应用列表作为应用选择界面时,响应于第一拖动操作和第二拖动操作,终端可以对正在运行中的第一应用和第二应用进行分析,智能地判断分屏模式下用户的任务场景,并通过任务场景分析判断候选应用与第一应用和第二应用之间的关联度,进而基于关联度对候选应用进行显示优先级排序,关联度越高的候选应用具有越高的显示优先级,以便用户快速选择高显示优先级的候选应用,其中,候选应用为所有终端可运行应用。
在一个示意性的例子中,用户在分屏模式下同时显示并运行两个网络购物应用,作为第一应用和第二应用,当用户同时执行第一拖动操作和第二拖动操作时,终端显示第三分屏区域,且在第三分屏区域内显示应用列表用于用户选择目标显示应用。基于第一应用和第二应用均为网络购物应用,终端分析用户当下任务场景可能是对比购物,则在候选应用中,另一购物应用应处于较高的显示优先级,或是计算器也应处于较高的显示优先级。
可选的,终端可以基于历史同屏信息确定显示优先级。在一种可能的实施方式中,终端提取第一应用和第二应用信息,并分析历史同屏信息,其中,历史同屏信息可以是用户以往与第一应用和第二应用同时显示过的应用信息,也可以是是以往与第一应用或第二应用中的一个同时显示过的应用信息。进一步的,终端基于历史同屏信息中应用同屏次数较多确定相应候选应用的显示优先级较高。
在一个示意性的例子中,用户在分屏模式下同时显示并运行一个文档编辑应用和一个浏览器应用,终端通过历史同屏信息可得,文档编辑应用于浏览器应用同屏显示时,曾同时显示聊天应用,则该聊天应用具有较高的显示优先级,终端同时通过历史同屏信息可得,文档编辑应用曾和视频会议应用同屏显示,则该视频会议应用具有低于聊天应用的较高显示优先级,以此类推。
需要说明的是,上述判断应用关联度方法仅作示例用,关于终端判断候选应用显示优先级的标准,本申请实施例不作限定。
在上述申请实施例中,终端在第一拖动操作和第二拖动操作满足分屏条件时才会显示第三分屏区域,在拖动操作过程中,终端获取第一拖动参数和第二拖动参数,并判断拖动参数是否满足分屏条件,进而判断是否显示第三显示区域。关于判断是否显示第三分屏区域的分屏条件,其中至少包含拖动方向条件。
在一种可能的实施方式中,在第一拖动操作的第一拖动参数与第二拖动操作的第二拖动参数满足分屏 条件的情况下,在用户界面中显示第三分屏区域,其中,第一拖动参数至少包括第一拖动方向,第二拖动参数至少包括第二拖动方向。
在本申请实施例中,拖动参数可以包括拖动操作的多方面信息,如拖动方向、拖动距离、拖动速度等,且拖动参数中必须包含拖动方向,也即分屏条件以拖动方向为基础,同时可以结合其他参数进行判断。
在一种可能的实施方式中,在第一拖动方向与第一目标方向匹配,且第二拖动方向与第二目标方向匹配的情况下,终端确定满足分屏条件,并在用户界面中显示第三分屏区域。
在本申请实施例中,第一目标方向和第二目标方向为平行于屏幕侧边的方向,也即第一目标方向和第二目标方向可以是向上、向下、向左或是向右。用户执行拖动操作时,用户的拖动方向往往不是严格平行于屏幕侧边的方向,由此,本申请实施例对第一拖动方向和第二拖动方向作如下定义:
第一拖动操作是自第一拖动起点拖动至第一拖动终点的拖动操作,且第一拖动起点位于第一屏幕区域。其中,第一拖动起点至第一实时坐标的向量在第一分屏区域和第二分屏区域相对方向上的分向量方向即为第一拖动方向;
同样的,第二拖动操作是自第二拖动起点拖动至第二拖动终点的拖动操作,且第二拖动起点位于第二屏幕区域,则第二拖动起点至第二实时坐标的向量在第一分屏区域和第二分屏区域相对方向上的分向量方向即为第二拖动方向。例如,若第一分屏区域和第二分屏区域以左右方式分布,则第一分屏区域内的拖动操作方向的水平分方向为第一拖动方向,;若第一分屏区域和第二分屏区域以上下方式分布,则第一分屏区域内的拖动操作方向的竖直分方向为第一拖动方向。
在本申请实施例中,第一目标方向与第二目标方向相反,也即第一目标方向与第一分屏区域相对于第二分屏区域的方向匹配,第二目标方向与第二分屏区域相对于第一分屏区域的方向匹配。当用户执行方向相反的拖动操作时,第一拖动操作的实时坐标点和第二拖动的实时坐标点相互远离,也即用户可以通过“撕裂”手势,“撕开”两个相邻的分屏区域,并在二者中间新增一个分屏区域,基于原有分屏区域的显示位置,“撕裂”手势可以是上下撕裂,也可以是左右撕裂。在应用中,体现为以下情况:
当第一分屏区域和第二分屏区域以左右方式分布时,如图4所示,第一分屏区域401位于第二分屏区域402的左侧,则第一目标方向为向左方向,同时,第二分屏区域402位于第一分屏区域的右侧,由此第二目标方向为向右方向,进而保证第一目标方向与第二目标方向相反;在另一种可能的情况中,第一分屏区域位于第二分屏区域的右侧,则第一目标方向为向右方向,第二目标方向为向左方向。
当第一分屏区域和第二分屏区域以上下方式分布时,如图5所示,第一分屏区域501位于第二分屏区域502的上方,则第一目标方向为向上方向,同时,第二分屏区域502位于第一分屏区域的下方,为保证第一目标方向和第二目标方向相反,则第二目标方向为向下方向;在另一种可能的情况中,第一分屏区域位于第二分屏区域的下侧,则第一目标方向为向下方向,第二目标方向为向上方向。
在一种可能的实施方式中,终端接收第一拖动操作和第二拖动操作,并获取第一拖动参数和第二拖动参数,当终端判断第一拖动方向与第一目标方向匹配,且第二拖动方向与第二目标方向匹配时,终端显示第三分屏区域。
在一个示意性的例子中,第一分屏区域和第二分屏区域以左右方式分布,第一分屏区域位于第二分屏区域的左边,由此第一目标方向为向左,第二目标方向为向右。当用户同时执行第一拖动操作和第二拖动操作,且第一拖动操作为向左拖动,第二拖动操作为向右拖动时,用户界面显示第三显示区域。其中,第一拖动操作可以是水平向左拖动,也可以是向左上或是向左下拖动,同样的,第二拖动操作可以是水平向右拖动,也可以是向右上或是向右下拖动。
综上所述,终端接收第一拖动操作和第二拖动操作,并获取其中的第一拖动参数和第二拖动参数,仅当两拖动参数中的第一拖动方向和第二拖动方向符合分屏条件也即分别于第一目标方向和第二目标方向匹配时,终端显示第三分屏区域;本申请实施例提供了一种“撕裂”手势,通过“撕裂”手势分离用户界面中显示的两分屏区域,终端即可在中间区域显示新分屏区域,相较于相关技术中通过分屏控件等方式,更加直观且符合用户认知,进而用户使用该手势的学习成本较低,同时简化了分屏操作流程。
当终端判断第一拖动方向与第一目标方向匹配,且第二拖动方向与第二目标方向匹配时,终端通过调整第一分屏区域和第二分屏区域的显示方式向用户反馈该判断结果。用户可以通过上述显示反馈可以减少误操作。
在第一拖动方向为第一目标方向,且第二拖动方向为第二目标方向的情况下,终端调整第一分屏区域以及第二分屏区域,第一分屏区域以及第二分屏区域的调整方式包括移动和缩放中的至少一种。
在终端以移动的方式调整第一分屏区域和第二分屏区域的情况下,当用户执行拖动操作时,用户界面的显示内容对拖动操作做出相应的移动显示,用户基于第一分屏区域和第二分屏区域跟随拖动操作移动的显示方式可以直观地体会到拖动手势的操作效果,并能够明确拖动操作实时的拖动方向和拖动距离。
在一种可能的实施方式中,响应于第一拖动操作,第一分屏区域在用户界面中随第一拖动操作移动,其中,第一分屏区域的移动方向与第一拖动方向相同,且移动距离为第一拖动距离;同样的,响应于第二拖动操作,第二分屏区域在用户界面中随第二拖动操作移动,其中,第二分屏区域移动的方向与第二拖动方向相同,且移动距离为第二拖动距离。基于上述移动显示,终端令分屏区域跟随用户的实时手指位置进行移动,实现分屏区域以“撕裂”方式进行显示。
在一个示意性的例子中,如图9所示,当第一分屏区域901和第二分屏区域902以左右方式分布时,第一分屏区域901位于第二分屏区域902左边,用户执行第一拖动操作的第一拖动距离为a,执行第二拖动操作的第二拖动距离为b,由此响应于第一拖动操作,第一分屏区域向左移动距离为a,第二分屏区域向右移动距离为b。
在终端以缩放的方式调整第一分屏区域和第二分屏区域的情况下,当用户执行拖动操作时,第一分屏区域和第二分屏区域的显示面积随拖动操作而缩小,从而在用户界面中开辟空余区域显示第三分屏区域。相较于终端通过移动第一分屏区域和第二分屏区域进行调整的方式,在缩小分屏区域的过程中,用户界面中仍可以显示第一分屏区域和第二分屏区域的全部内容。
在一种可能的实施方式中,如图10所示,当用户执行第一拖动操作和第二拖动操作时,第一分屏区域1001和第二分屏区域1002随拖动操作等比例缩小,且两分屏区域的缩放尺寸与目标方向上的拖动距离相关,也即随目标方向上拖动距离的增加,两分屏区域的显示尺寸减小。随两屏幕区域显示尺寸缩小,用户界面中显示第三分屏区域1003。可选的,当用户结束拖动操作时,第一分屏区域和第二分屏区域恢复原尺寸显示,并在第三分屏区域1003显示应用选择界面1004。
可选的,当终端通过缩放的方式调整第一分屏区域和第二分屏区域的显示方式时,终端可以同时移动两分屏区域的显示位置。
在第一拖动操作和第二拖动操作的拖动方向符合分屏条件的基础上,分屏条件还包含有第一拖动终点的位置和第二拖动终点的位置。
在第一拖动方向为第一目标方向,且第二拖动方向为第二目标方向的情况下,终端确定第一拖动操作的第一拖动终点,以及第二拖动操作的第二拖动终点。
由上述实施例可知,第一拖动操作是自第一拖动起点拖动至第一拖动终点的拖动操作,其中第一拖动起点位于第一分屏区域,同样的,第二拖动操作是自第二拖动起点拖动至第二拖动终点的拖动操作,其中第二拖动起点位于第二分屏区域。其中,第一拖动终点为第一拖动操作结束时的实时坐标点,也即为终端检测到用户完成第一拖动操作并离开屏幕时的坐标点,同样的,第二拖动终点为第一拖动操作结束时的实时坐标点。
在第一拖动终点位于第一屏幕区域,且第二拖动终点位于第二屏幕区域的情况下,终端确定第一拖动操作和第二拖动操作满足分屏条件,进而终端在用户界面中显示第三分屏区域。
在一种可能的实施方式中,第一屏幕区域和第二屏幕区域的相对方向与第一分屏区域和第二分屏区域的相对方向相同。可选的,第一屏幕区域可以与第一分屏区域显示的分屏区域部分重合。
在一个示意性的例子中,如图11所示,终端的第一屏幕区域1111与终端的第二屏幕区域1121的相对方向与第一分屏区域1112和第二分屏区域1122的相对方向相同。在本例中,第一屏幕区域1111与第一分屏区域1112部分重合,且第二屏幕区域1121与第二屏幕区域1122部分重合,用户执行第一拖动操作,且第一拖动终点位于第一屏幕区域1111中,同时,用户执行第二拖动操作,且第二拖动终点位于第二屏幕区域中,终端判断第一拖动操作和第二拖动操作符合分屏条件。
而在第一拖动终点位于第三屏幕区域,或是第二拖动终点位于第四屏幕区域的情况下,终端退出分屏状态,也即用户界面中的至少两个分屏区域停止显示。
在一种可能的实施方式中,终端的第一屏幕区域和第一屏幕边缘之间存在第三屏幕区域,并且在第二屏幕区域和第二屏幕边缘之间存在第四屏幕区域,其中,第一屏幕边缘为第一目标方向对应的屏幕边缘,且第二屏幕边缘为第二目标方向对应的屏幕边缘。也即,第一屏幕区域相较于第三屏幕区域靠近终端屏幕中线,第二屏幕区域相较于第四屏幕区域更靠近屏幕中线。其中,第一屏幕区域和第二屏幕区域的相对方向和第一分屏区域和第二分屏区域的相对方向相同。可选的,第一屏幕区域可以和第一屏幕区域的部分区域存在交集,本申请对此不作限定。
第三屏幕区域和第四屏幕区域是分别在第一分屏区域和第二分屏区域的相对方向上靠近于屏幕边缘的两个区域,通过本申请实施例,用户可以通过在靠近屏幕边缘位置执行拖动操作,或是执行拖动距离较大的拖动操作,实现退出分屏模式。
在一个示意性的例子中,如图12所示,终端的第一屏幕区域1211和第一屏幕边缘1212之间存在第三屏幕区域1213,第三屏幕区域1213的宽度为1厘米;终端的第二屏幕区域1221和第二屏幕边缘1222 之间存在第三屏幕区域1223,第三屏幕区域1223的宽度为1厘米。用户执行第一拖动操作,当第一拖动终点与第一屏幕边缘1212间距离为0.5厘米时,第一拖动终点位于第三屏幕区域1213内,同时,用户执行第二拖动操作,当第二拖动终点与第二屏幕边缘1222间距离为2厘米时,第二拖动终点位于第二屏幕区域1221内,此时,终端退出分屏模式。
由上述实施例可知,用户进行拖动操作时,终端通过调整第一分屏区域和第二分屏区域的显示方式,向用户反馈分屏操作效果。可选的,在本申请实施例中,当第一拖动操作的实时坐标点位于第三屏幕区域中时,或是当第二拖动操作的实时坐标点位于第四屏幕区域中时,终端响应于第一拖动操作和第二拖动操作,在第三分屏区域中停止显示应用选择界面,并显示主界面,可选的,第一分屏区域和第二分屏区域内可以显示原显示界面也可以显示原界面的模糊画面或纯色画面,进而向用户反馈当前拖动操作的操作效果为退出分屏模式。
在一个示意性的例子中,如图13所示,终端的第一屏幕区域1311和第一屏幕边缘1312之间存在第三屏幕区域1313,第三屏幕区域1313的宽度为1厘米;终端的第二屏幕区域1321和第二屏幕边缘1322之间存在第三屏幕区域1323,第三屏幕区域1323的宽度为1厘米。在用户执行第一拖动操作和第二拖动操作的过程中,响应于第一拖动方向与第一目标方向相匹配,第二拖动方向和第二目标方向相匹配,且拖动操作的实时坐标点分别位于第一屏幕区域1311和第二屏幕区域1311,第一分屏区域和第二分屏区域随拖动操作移动,且终端在第一分屏区域和第二分屏区域之间显示第三分屏区域,第三分屏区域中显示应用选择界面1331,随用户继续拖动,当第一拖动操作的实时坐标点位于第三屏幕区域时,终端在第一分屏区域和第二分屏区域之间显示主界面1341。
用户使用终端时,可能会出现误触的情况或是进行其他与上述实施例中的手势较为相似的手势操作,为提高终端基于手势操作判断是否显示第三分屏区域的精准度,终端可以在基于拖动方向进行判断的同时结合其他多种拖动参数作为分屏条件。关于其他用于判断是否增加分屏区域的拖动参数,可以是以下任一种或多种的组合:
1、终端可以结合拖动操作的拖动距离,判断是否显示第三分屏区域。
在第一拖动方向为第一目标方向,且第二拖动方向为第二目标方向的情况下,确定第一拖动操作在第一目标方向上的第一拖动距离,以及第二拖动操作在第二目标方向上的第二拖动距离。
在一种可能的实施方式中,用户执行第一拖动操作,第一拖动操作的拖动距离是第一拖动起点与第一实时坐标之间距离在第一目标方向上的分距离;同样的,用户执行第二拖动操作,第二拖动操作的拖动距离是第二拖动起点与第二实时坐标之间距离在第二目标方向上的分距离。例如当第一目标方向为水平向左时,则以第一拖动起点和第二拖动终点间距离在水平方向上的分距离为第一拖动距离。
在第一拖动距离与第二拖动距离之和大于第一距离阈值,且小于第二距离阈值的情况下,确定满足分屏条件,并在用户界面中显示第三分屏区域。
第一拖动操作和第二拖动操作的拖动距离之和反映了用户进行拖动操作和用户希望增加分屏显示区域之间的关联性。当拖动距离大于第一距离阈值时,可以判断用户希望通过拖动操作实现于用户界面显示第三分屏区域,而非误触。
在一个示意性的例子中,例如,第一距离阈值为设置为1厘米,第二距离阈值为3厘米,第一目标方向和第二目标方向分别为向左和向右,用户执行第一拖动操作,在第一分屏区域向左上方60°拖动2厘米,则第一拖动距离为拖动操作在水平方向的分距离,也即为1厘米,同时,用户执行第二拖动操作,在第二分屏区域向右下方60°拖动2厘米,则第二拖动距离为1厘米,由此,第一拖动距离与第二拖动距离之和为2厘米,大于第一距离阈值且小于第二距离阈值,终端基于第一拖动操作和第二拖动操作显示第三分屏区域。
进一步的,在第一拖动距离与第二拖动距离之和大于第二距离阈值的情况下,退出分屏状态,其中,退出分屏状态后,至少两个分屏区域停止显示。
在本申请实施例中,通过第一拖动操作和第二拖动操作不仅可以令用户界面新增显示分屏区域,基于终端设置第二距离阈值,当第一拖动距离和第二拖动距离之和大于第二距离阈值时,用户可以通过拖动操作退出分屏模式。
在一种可能的实施方式中,终端接收第一拖动操作和第二拖动操作,进而接收两拖动操作对应的拖动参数,终端首先判断拖动方向符合分屏条件,进而当终端判断用户执行第一拖动操作和第二拖动操作相应的第一拖动距离和第二拖动距离之和过大,也即判断用户希望退出分屏模式时,响应于第一拖动操作和第二拖动操作,终端控制用户界面停止显示第一应用和第二应用,并且终端退出分屏模式,以全部屏幕显示***主界面,同时原应用继续在***后台运行。
在一个示意性的例子中,第二距离阈值为设置为3厘米,第一拖动方向和第二拖动方向分别为向左和 向右,用户执行第一拖动操作,在第一分屏区域向左拖动2厘米,同时,用户执行第二拖动操作,在第二分屏区域向右拖动2厘米,由此,第一拖动距离与第二拖动距离之和为4厘米,大于第二距离阈值,则终端基于第一拖动操作和第二拖动操作退出分屏模式。
基于第一分屏区域和第二分屏区域随用户的拖动操作做相应的移动显示,当两分屏区域移动后,两分屏区域之间存在一个显示区域,终端结合第一距离阈值和第二距离阈值,确定在用户执行第一拖动操作和第二拖动操作的过程中该显示区域内的显示内容。
在一种可能的实施方式中,当拖动距离小于第一距离阈值时,终端为用户界面显示第三分屏区域做准备的同时,也为不显示第三分屏区域做准备。
如图14所示,在用户同时执行第一拖动操作和第二拖动操作的过程中,第一分屏区域1411和第二分屏区域1412随拖动操作移动,当第一拖动距离和第二拖动距离之和小于第一阈值时,第一分屏区域1411和第二分屏区域1412之间区域1413显示预备显示画面,其中预备显示画面可以是应用选择界面的模糊画面也可以是纯色画面等,本申请对此不作限定;当第一拖动距离和第二拖动距离之和达到第一阈值时,第一分屏区域1411和第二分屏区域1412之间区域1413显示应用选择界面1421,用于用户选择希望显示并运行的应用。
在一种可能的实施方式中,当拖动距离大于第二距离阈值时,终端为用户界面退出分屏界面做准备。
如图14所示,在用户同时执行第一拖动操作和第二拖动操作的过程中,第一拖动距离和第二拖动距离之和大于第二阈值,第一分屏区域1411和第二分屏区域1412之间区域1413由显示应用选择界面1421转而显示主界面1431,同时第一分屏区域1411和第二分屏区域1412的显示内容可以保持不变或是可以显示原内容的模糊画面,本申请对此不作限定。
2、终端可以结合拖动操作的拖动速度,判断是否显示第三分屏区域。
在第一拖动方向为第一目标方向,且第二拖动方向为第二目标方向的情况下,确定第一拖动操作的第一拖动速度,以及第二拖动操作的第二拖动速度。
在一种可能的实施方式中,用户执行第一拖动操作,第一拖动操作的第一拖动速度是第一拖动距离与拖动时间的比值;同样的,用户执行第二拖动操作,第二拖动操作的第二拖动速度是第二拖动距离与拖动时间的比值。
在第一拖动速度和第二拖动速度小于速度阈值的情况下,确定满足分屏条件。
基于第一拖动速度和第二拖动速度同时小于速度阈值,也即用户以较慢的速度执行拖动操作,终端判断用户希望增加显示分屏区域,进而终端确定满足分屏条件,基于用户拖动操作的拖动方向和拖动速度均满足分屏条件,终端在用户界面显示第三分屏区域。
在一个示意性的例子中,终端设置速度阈值为2厘米每秒,当第一拖动速度为1厘米每秒,且第二拖动速度为1.5厘米每秒时,第一拖动速度和第二拖动速度小于速度阈值,终端判断拖动速度满足分屏条件。
进一步的,在第一拖动速度和第二拖动速度大于速度阈值的情况下,退出分屏状态,其中,退出分屏状态后,至少两个分屏区域停止显示。
在一种可能的实施方式中,用户执行第一拖动操作和第二拖动操作所对应的第一拖动速度和第二拖动速度大于速度阈值时,终端停止显示当前分屏区域,并退出分屏模式,以全屏幕显示主界面,终端在后台继续运行原第一应用和第二应用。
在一个示意性的例子中,终端设置速度阈值为2厘米每秒,且第一分屏区域位于第二分屏区域成左边,当第一拖动操作以2.5厘米每秒的速度向左拖动,且第二拖动操作以3厘米每秒的速度向右拖动时,第一拖动速度和第二拖动速度大于速度阈值,终端判断拖动速度不满足分屏条件,并结合第一拖动方向和第二拖动方向与第一目标方向和第二目标方向相匹配,终端退出分屏模式并显示主界面。
综上所述,终端依据第一拖动操作和第二拖动操作的一个或多个特征判断用户是否希望基于此拖动操作实现增加显示分屏区域,并进一步的基于判断结果确定是否显示第三显示区域;终端可以智能地判断是否增加显示分屏区域,使用户可以通过简单的手势实现增加显示分屏区域的同时,避免因用户使用其他手势操作或误触等,在用户不希望增加分屏区域时显示第三分屏区域,提高了终端的智能性。
关于第三显示区域的显示方式,在一种可能的实施方式中,响应于第一拖动操作和第二拖动操作满足分屏条件,终端控制在用户界面中显示第一尺寸的第三分屏区域,第一尺寸为固定尺寸。
固定尺寸可以是默认尺寸也可以是用户自定义尺寸等,本申请对此不作限定。例如,终端可以默认尺寸显示第三显示区域,也即适应于应用最佳显示面积选择,无需用户长按屏幕控制拖动距离,终端即可以适宜的面积显示第三分屏区域,使用户操作更为简便。用户界面显示第三分屏区域后,当用户希望进一步调整第三显示区域大小时,可以通过拖动分屏区域之间的分屏控件实现调整,其中,分屏控件为分屏区域之间的可动控件,两分屏控件之间区域为分屏显示区域。
在另一种可能的实施方式中,基于第一拖动操作和第二拖动操作,终端在用户界面中显示第二尺寸的第三分屏区域。
在该实施方式中,第三分屏区域的面积大小可以依据第一拖动操作和第二拖动操作确定,也即第三分屏区域的一个侧边长度为第一拖动距离和第二拖动距离之和。基于该实施方式,用户可以依据自身需求确定第三分屏区域大小,基于第一拖动操作和第二拖动操作,第一分屏区域和第二分屏区域做相应移动,且移动距离等于第一拖动距离和第二拖动距离,当用户停止拖动时,第一分屏区域和第二分屏区域停止移动,且二者之间的区域尺寸即为第二尺寸。
本实施方式可以包括以下步骤:
1、确定第一拖动操作在第一拖动方向上的第一拖动距离,以及第二拖动操作在第二拖动方向上的第二拖动距离。
其中,第一拖动距离和第二拖动距离的确定方式与上述实施例中相同,此处不再赘述。
2、基于第一拖动距离和第二拖动距离之和,确定第二尺寸。
基于用户的拖动操作,第二尺寸在第一分屏区域和第二分屏区域相对方向上的长度为第一拖动距离和第二拖动距离之和,在垂直于该方向的另一方向上的长度则与第一分屏区域等相等。
3、在用户界面中显示第二尺寸的第三分屏区域。
终端响应于第一拖动操作和第二拖动操作结束确定第二尺寸,并在第一分屏区域和第二分屏区域之间以第二尺寸显示第三分屏区域。
需要说明的是,在上述申请实施例中,终端可以基于用户执行多次拖动操作新增显示多个分屏区域。
在一种可能的实施方式中,响应于第一拖动操作和第二拖动操作,终端可以显示多个新增分屏区域。例如,当用户希望于用户界面同时显示并运行四个分屏区域时,如图15所示,用户可以在第一分屏区域1501和第二分屏区域1502执行拖动操作,终端响应于拖动操作,在用户界面显示第三分屏区域1503。进一步的用户可以在第二分屏区域1502和第三应用区域1503继续执行拖动操作,终端响应于拖动操作,在两分屏区域之间显示另一新的分屏区域1504,同时,第一分屏区域1501和第二分屏区域1502仍继续在前台运行,受限于终端屏幕尺寸不再显示,基于上述实施例,用户可以通过双指滑动操作移动显示各分屏区域。
需要说明的是,本申请对终端显示应用个数不作限制,应用显示个数受到终端自身处理性能的限制与本申请无关。
在一种可能的实施方式中,在第一拖动操作和第二拖动操作满足分屏条件,且至少两个分屏区域的数量未达到数量阈值的情况下,在用户界面中显示第三分屏区域。
在另一种可能的实施方式中,在第一拖动操作和第二拖动操作满足分屏条件,且至少两个分屏区域的数量达到数量阈值的情况下,进行分屏上限提示。
基于终端的性能局限,终端在显示多个分屏区域时存在数量阈值,在当前用户界面显示分屏区域数量等于数量阈值时,响应于第一拖动操作和第二拖动操作满足分屏条件,终端显示分屏上限提示窗口,以提示用户无法继续拓展分屏区域。
在一个示意性的例子中,基于性能限制,终端仅能同时存在4个分屏区域,也即数量阈值为4,在终端已经存在4个分屏区域的情况下,若用户执行拖动操作希望增加第5个分屏区域,则响应于第一拖动操作和第二拖动操作满足分屏条件,终端显示分屏上限提示窗口。
在本申请中,除了通过第一拖动操作和第二拖动操作实现显示第三分屏区域之外,用户还可以通过呼出分屏菜单的方式,在用户界面中显示第三分屏区域。
如图16所示,在本申请实施例中,用户可以通过对分屏控件1601执行触发操作实现增加显示分屏区域。用户可以在希望显示第三分屏区域的位置点击分屏控件1601,其中分屏控件1601是第一分屏区域1602和第二分屏区域1603之间的可移动控件,用户界面通过分屏控件1601划分不同的分屏区域。用户可以在分屏控件1601的任一位置上执行触发操作,进而终端接收该触发操作。
进一步的,终端响应于对分屏控件的触发操作,显示分屏菜单。
如图16所示,终端接收触发操作后,显示分屏菜单1604,分屏菜单1604中可以含有多种功能选项,且至少有一项用于显示第三分屏区域1605,也即分屏创建选项。当用户进一步触发分屏菜单1604中的分屏创建选项后,终端在上述分屏控件的位置显示第三分屏区域1605,并在第三分屏区域中显示应用选择界面。
在一种可能的实施方式中,终端响应于对分屏菜单中分屏创建选项的触发操作,显示手势分屏动画,并在用户界面中显示第三分屏区域,手势分屏动画为通过满足分屏条件的第一拖动操作和第二拖动操作创建分屏区域的动画。
为了方便用户进行分屏拓展,终端在用户第一次执行触发操作时,展示手势分屏动画,使用户及时掌握通过手势实现拓展分屏的方法。可选的,当用户从未使用过分屏手势进行分屏拓展时,基于初次触发操作,终端显示手势分屏动画。
进一步的,通过响应于触发操作,终端可以拓展显示多个分屏区域。
下面采用示意性的实施例,对详细的分屏显示过程进行说明。
请参考图17,其示出了本申请另一个示例性实施例提供的分屏显示方法的流程图。该方法可以包括如下步骤。
步骤1701,显示包含至少两个分屏区域的用户界面。
本步骤的实施方式可以参考上述步骤201,本实施例在此不作赘述。
步骤1702,接收对至少两个分屏区域中第一分屏区域的第一拖动操作,以及对至少两个分屏区域中第二分屏区域的第二拖动操作,第一拖动操作和第二拖动操作同时执行。
本步骤的实施方式可以参考上述步骤202,本实施例在此不作赘述。
步骤1703,在第一拖动方向为第一目标方向,且第二拖动方向为第二目标方向的情况下,确定满足分屏条件。
终端自所接收的第一拖动操作和第二拖动操作获取第一拖动参数和第二拖动参数,第一拖动参数和第二拖动参数中包含第一拖动方向和第二拖动方向。终端确定第一拖动方向和第二拖动方向方式可以参考上述实施例,此处不作赘述。
终端基于第一分屏区域和第二分屏区域的相对方向,确定第一目标方向和第二目标方向,也即第一目标方向和第一分屏区域的相对方向相同,第二目标方向和第二分屏区域的相对方向相同,例如第一分屏区域位于第二分屏区域左侧,二者成左右分布,则第一目标方向为向左,第二目标方向为向右。
可选的,终端可以结合拖动距离和拖动速度等拖动参数,判断第一拖动操作和第二拖动操作是否满足分屏条件。
步骤1704,基于第一目标方向移动第一分屏区域,以及基于第二目标方向移动第二分屏区域。
基于接收第一拖动操作和第二拖动操作,且第一拖动方向和第一目标方向相同,第二拖动方向和第二目标方向相同,终端在显示第一分屏区域和第二显示区域时,控制两分屏区域随拖动操作而移动,以形象体现拖动操作对两分屏区域的拖动效果。基于两分屏区域移动,两分屏区域之间显示一个新的区域。该区域显示的内容基于拖动距离确定。
步骤1705,确定第一拖动终点位置,和第二拖动终点位置。
在终端屏幕边缘位置,存在第三屏幕区域和第四屏幕位置,第三屏幕区域位于第一屏幕区域和第一屏幕边缘之间,第四屏幕区域位于第二屏幕区域和第二屏幕边缘之间。仅当第一拖动终点位于第一屏幕区域,且第二拖动终点位于第二屏幕区域时,终端判断第一拖动操作和第二拖动操作满足分屏条件。
步骤1706,在用户界面中显示第三分屏区域;基于第一拖动操作和第二拖动操作,在用户界面中显示第二尺寸的第三分屏区域;在第三分屏区域中显示分屏应用选择界面。
基于第一拖动参数和第二拖动参数满足分屏条件,终端在用户界面显示第三分屏区域,实现分屏拓展。第三分屏区域在第一分屏区域和第二分屏区域的相对方向上的长度,为第一拖动操作和第二拖动操作停止时的第一拖动距离和第二拖动距离之和,由此确定第二尺寸。且第三分屏区域首先显示应用选择界面,用于令用户进一步选择目标应用,且当应用显示界面为应用列表时,终端可以根据显示优先级显示候选应用,可选的终端确定应用显示优先级的依据可以是候选应用于第一应用和第二应用间的关联度,也可以是应用历史同屏信息等。
步骤1707,响应于分屏应用选择界面中目标应用的选择操作,在第三分屏区域中显示目标应用界面。
用户可以在第三分屏区域内显示的应用选择界面中进行选择操作,终端响应于该选择操作显示相应的目标应用界面,完成分屏拓展。
综上所述,终端接收第一拖动操作和第二拖动操作,并分析第一拖动参数和第二拖动参数中的拖动方向,基于拖动方向满足分屏条件,终端显示第一分屏区域和第二分屏区域随拖动操作同向移动,进一步的终端分析第一拖动参数和第二拖动参数中的拖动距离和拖动速度,并基于其均满足分屏条件显示第三分屏区域,第三分屏区域的尺寸依据拖动距离确定,第三分屏区域内首先显示应用选择界面,而后基于选择操作确定显示目标应用界面;终端在分析拖动参数的基础上响应于手势操作实现分屏拓展,在简化了用户分屏操作方式的同时,保证了终端反应的精确度。
上述实施例中,用户可以通过将第一分屏区域和第二分屏区域向相反方向进行拖动的拖动手势实现增加显示分屏区域或退出分屏模式。在本申请实施例中,当用户执行与上述手势拖动方向反向的拖动操作时, 也即将第一分屏区域和第二分屏区域相向拖动时,终端响应于该“捏合”手势可以停止显示部分分屏区域。请参考图18,其示出了本申请一个示例性实施例提供的分屏关闭方法的流程图。本实施例以该方法用于图1所示的终端为例进行说明,该方法可以包括如下步骤。
步骤1801,显示包含分屏区域的用户界面。
在本申请实施例中,初始时,用户界面中显示至少三个分屏区域,用户在第一分屏区域执行第一拖动操作,且同时在第二分屏区域执行第二拖动操作,在本申请实施例中,第一分屏区域与第二分屏区域之间至少有一个分屏区域,当终端判断第一拖动操作和第二拖动操作满足分屏关闭条件时,终端控制用户界面停止显示第一分屏区域和第二分屏区域间的所有显示区域。
需要说明的是,分屏区域的显示方式可以是上下分布或左右分布等分布方式中的任一种,本申请对此不作限定。
步骤1802,接收对分屏区域中第一分屏区域的第一拖动操作,以及对分屏区域中第二分屏区域的第二拖动操作,第一拖动操作和第二拖动操作同时执行。
在本申请实施例中,当且仅当第一拖动操作和第二拖动操作同时执行时,终端以分屏关闭手势响应于拖动操作。
在一种可能的方式中,终端确定第一起始时刻和第二起始时刻,也即第一拖动操作和第二拖动操作中初次产生位移的时刻,当第一起始时刻和第二起始时刻的时刻间距小于时间阈值时,终端判断第一拖动操作和第二拖动操作同时执行。例如,终端确定时间阈值为0.5秒,当用户执行第一拖动操作0.2秒后,用户执行第二拖动操作,则第一起始时刻和第二起始时刻的时刻间距为0.2秒,进而终段判断两拖动操作同时执行。
在另一种可能的实施方式中,终端在接收到第一拖动操作所触发的第一操作信号(包含实时坐标)的同时,接收到第二拖动操作所触发的第二操作信号(包含实时坐标)的情况下,也即当终端判断第一拖动时段和第二拖动时段之间存在交集时,判断两拖动操作同时执行。
步骤1803,在第一拖动操作和第二拖动操作满足分屏关闭条件的情况下,且第一分屏区域与第二分屏区域之间存在第四分屏区域的情况下,停止显示第四分屏区域。
在本申请实施例中,分屏关闭条件包括,在第一拖动操作的第一拖动方向为第三目标方向,且第二拖动操作的第二拖动方向为第四目标方向。并且,第三目标方向与第四目标方向相向,也即第三目标方向与第一分屏区域相对于第二分屏区域的方向相反,第四目标方向与第二分屏区域相对于第一分屏区域的方向相反。当用户执行方向相向的拖动操作时,第一拖动操作的实时坐标点和第二拖动的实时坐标点相互靠近,也即用户通过“捏合”手势实现关闭分屏。
其中,第一拖动方向和第二拖动方向与上述实施例中的定义相同,分别为:第一拖动方向是,第一拖动起点至第一拖动终点的向量在第一分屏区域和第二分屏区域相对方向上的分向量的方向;第二拖动方向是,第二拖动起点至第二拖动终点的向量在第一分屏区域和第二分屏区域相对方向上的分向量的方向。
在一个示意性的例子中,如图19所示,用户界面以左右方式分屏显示三个分屏区域,从左至右分别为第一应用区域1901、第二应用区域1902和第三应用区域1903,用户在第一应用区域1901区域也即第一分屏区域执行向右拖动的第一拖动操作,并同时在第三应用区域1903区域也即第二分屏区域执行向左拖动的第二拖动操作。基于两区域的相对方向为第一分屏区域位于第二分屏区域的左侧,且第一拖动方向为向右与相对位置相反;同样的,第二分屏区域位于第一分屏区域的右侧,且第二拖动方向为向左与相对位置相反,终端判断两拖动操作满足分屏关闭条件,进而控制用户界面停止显示两区域之间的第二应用区域1902。
进一步的,当用户想要同时关闭多个应用时,用户可以通过选择第一分屏区域和第二分屏区域确定目标关闭区域。在一个示意性的例子中,终端存在左右分布的4个分屏区域,当用户在最左侧的第一分屏区域和最右侧的第二分屏区域执行拖动操作是,响应于第一拖动操作和第二拖动操作满足分屏关闭条件,终端同时关闭位于中间位置的两个分屏区域。
综上所述,基于用户所执行第一拖动操作和第二拖动操作满足分屏关闭条件,用户界面停止显示第一分屏区域和第二分屏区域间的分屏区域;本申请实施例提供了一种“捏合”手势,也即拖动分屏区域向中间靠近的手势,终端响应于“捏合”手势停止显示分屏区域,相较于相关技术中的点击控件操作更为直观学习成本低,并且用户可以仅通过选择第一分屏区域和第二分屏区域确定希望停止显示的分屏区域,同时用户可以通过执行一次分屏关闭手势,关闭多个分屏区域,操作简便。
在上述申请实施例中,当第一拖动方向与第三目标方向相匹配,且第二拖动方向与第四目标方向相匹配时,终端判断拖动操作满足分屏关闭条件。为提高终端判断的精准度,终端还可以获取第一拖动参数和第二拖动参数,并将拖动参数中的拖动距离、拖动速度作为进一步的分屏关闭条件,结合拖动方向判断拖 动操作是否为分屏关闭操作。下面以终端将拖动距离、拖动速度作为分屏关闭条件进行说明。
1、在一种可能的实施方式中,终端确定第一拖动操作在第三目标方向上的第一拖动距离,并确定第二拖动操作在第四目标方向上的第二拖动距离,其中第一拖动距离是第一拖动起点和第一拖动终点之间距离在第三目标方向上的分距离,同样的,第二拖动距离是第二拖动起点和第二拖动终点之间距离在第四目标方向上的分距离。
当第一拖动距离和第二拖动距离之和大于第一距离阈值且小于第二距离阈值时,满足分屏关闭条件,终端停止显示第一分屏区域和第二分屏区域之间的分屏区域。
在一个示意性的例子中,第一距离阈值为1厘米,第二距离阈值为3厘米,用户执行第一拖动操作和第二拖动操作,且第一拖动距离为1厘米,第二拖动距离为1厘米,也即第一拖动距离和第二拖动距离之和为2厘米,此时,在第一拖动方向和第二拖动方向满足分屏关闭条件的前提下,终端停止显示第一分屏区域和第二分屏区域之间的分屏区域。
而当第一拖动距离和第二拖动距离之和小于第一距离阈值时,拖动操作不满足分屏关闭条件,终端不以分屏关闭手势响应于该拖动操作。
2、在一种可能的实施方式中,终端确定第一拖动速度和第二拖动速度,其中,第一拖动速度是第一拖动距离与拖动时间的比值,第二拖动速度是第二拖动距离与拖动时间的比值。
当第一拖动速度和第二拖动速度小于速度阈值时,终端判断拖动操作满足分屏停止条件,并停止显示第一分屏区域和第二分屏区域之间的分屏区域。
在一个示意性的例子中,速度阈值为2厘米每秒,用户执行第一拖动操作和第二拖动操作,且第一拖动速度为1厘米每秒,第二拖动速度为1.5厘米每秒,则在第一拖动方向和第二拖动方向满足分屏关闭条件的前提下,终端停止显示第一分屏区域和第二分屏区域之间的分屏区域。
需要说明的是,由于满足分屏关闭条件的拖动操作是满足分屏条件的拖动操作互的反向操作,因此拖动关闭分屏的实现原理可以参考上述拖动创建分屏的实现原理,本实施例在此不作赘述。
请参考图20,其示出了本申请一个示例性实施例提供的分屏显示装置的结构框图,该装置包括:
第一显示模块2001,用于显示包含至少两个分屏区域的用户界面;
第一接收模块2002,用于接收对所述至少两个分屏区域中第一分屏区域的第一拖动操作,以及对所述至少两个分屏区域中第二分屏区域的第二拖动操作,所述第一拖动操作和所述第二拖动操作同时执行;
所述第一显示模块2001,还用于在所述第一拖动操作和所述第二拖动操作满足分屏条件的情况下,在所述用户界面中显示第三分屏区域,所述第三分屏区域位于所述第一分屏区域和所述第二分屏区域之间。
可选的,所述第一显示模块2001,用于:
在所述第一拖动操作的第一拖动参数与所述第二拖动操作的第二拖动参数满足所述分屏条件的情况下,在所述用户界面中显示所述第三分屏区域,其中,所述第一拖动参数至少包括第一拖动方向,所述第二拖动参数至少包括第二拖动方向。
可选的,在所述第一拖动操作的第一拖动参数与所述第二拖动操作的第二拖动参数满足所述分屏条件的情况下,所述第一显示模块01,还用于:
在所述第一拖动方向为第一目标方向,且所述第二拖动方向为第二目标方向的情况下,确定满足所述分屏条件,并在所述用户界面中显示所述第三分屏区域;
其中,所述第一目标方向与所述第二目标方向反向,且所述第一目标方向与所述第一分屏区域相对于所述第二分屏区域的方向匹配,所述第二目标方向与所述第二分屏区域相对于所述第一分屏区域的方向匹配。
可选的,在所述第一分屏区域位于所述第二分屏区域的左侧的情况下,所述第一目标方向为向左方向,所述第二目标方向为向右方向;
在所述第一分屏区域位于所述第二分屏区域的右侧的情况下,所述第一目标方向为向右方向,所述第二目标方向为向左方向;
在所述第一分屏区域位于所述第二分屏区域的上方的情况下,所述第一目标方向为向上方向,所述第二目标方向为向下方向;
在所述第一分屏区域位于所述第二分屏区域的下侧的情况下,所述第一目标方向为向下方向,所述第二目标方向为向上方向
可选的,所述第一显示模块2001,还用于:
在所述第一拖动方向为所述第一目标方向,且所述第二拖动方向为所述第二目标方向的情况下调整所述第一分屏区域以及所述第二分屏区域,所述第一分屏区域以及所述第二分屏区域的调整方式包括移动和缩放中的至少一种;
其中,所述第一分屏区域的移动方向为所述第一目标方向,所述第二分屏区域的移动方向为所述第二目标方向,所述第一分屏区域的缩放尺寸与所述第一目标方向上的拖动距离相关,所述第二分屏区域的缩放尺寸与所述第二目标方向上的拖动距离相关。
可选的,在所述第一拖动方向为第一目标方向,且所述第二拖动方向为第二目标方向的情况下,所述第一显示模块2001,用于:
在所述第一拖动方向为所述第一目标方向,且所述第二拖动方向为所述第二目标方向的情况下,确定所述第一拖动操作在所述第一目标方向上的第一拖动距离,以及所述第二拖动操作在所述第二目标方向上的第二拖动距离;
所述第一显示模块2001,用于:
在所述第一拖动距离与所述第二拖动距离之和大于第一距离阈值,且小于第二距离阈值的情况下,确定满足所述分屏条件,并在所述用户界面中显示所述第三分屏区域;
在所述第一拖动距离与所述第二拖动距离之和大于所述第二距离阈值的情况下,退出分屏状态,其中,退出所述分屏状态后,所述至少两个分屏区域停止显示。
可选的,在所述第一拖动方向为第一目标方向,且所述第二拖动方向为第二目标方向的情况下,所述第一显示模块2001,还用于:
在所述第一拖动方向为所述第一目标方向,且所述第二拖动方向为所述第二目标方向的情况下,确定所述第一拖动操作的第一拖动终点,以及所述第二拖动操作的第二拖动终点;
在所述第一拖动终点位于第一屏幕区域,且所述第二拖动终点位于第二屏幕区域的情况下,确定满足所述分屏条件,并在所述用户界面中显示所述第三分屏区域。
可选的,在所述第一屏幕区域与第一屏幕边缘之间存在第三屏幕区域,所述第二屏幕区域与第二屏幕边缘之间存在第四屏幕区域,所述第一屏幕边缘为所述第一目标方向对应的屏幕边缘,所述第二屏幕边缘为所述第二目标方向对应的屏幕边缘的情况下,所述第一显示模块2001,还用于:
在所述第一拖动终点位于所述第三屏幕区域,或,所述第二拖动终点位于所述第四屏幕区域的情况下,退出分屏状态,其中,退出所述分屏状态后,所述至少两个分屏区域停止显示。
可选的,所述第一显示模块2001,还用于:
在所述用户界面中显示第一尺寸的所述第三分屏区域,所述第一尺寸为固定尺寸;
或者,
基于所述第一拖动操作和所述第二拖动操作,在所述用户界面中显示第二尺寸的所述第三分屏区域。
可选的,基于所述第一拖动操作和所述第二拖动操作,在所述用户界面中显示第二尺寸的所述第三分屏区域的情况下,所述第一显示模块2001,还用于:
确定所述第一拖动操作在第一拖动方向上的第一拖动距离,以及所述第二拖动操作在第二拖动方向上的第二拖动距离;
基于所述第一拖动距离和所述第二拖动距离之和,确定所述第二尺寸;
所述第一显示模块2001,还用于:
在所述用户界面中显示所述第二尺寸的所述第三分屏区域。
可选的,所述第一显示模块2001,还用于:
在所述第三分屏区域中显示分屏应用选择界面;
响应于所述分屏应用选择界面中目标应用的选择操作,在所述第三分屏区域中显示目标应用界面;
基于所述第一分屏区域中显示的第一应用以及所述第二分屏应用中显示的第二应用,在所述第三分屏区域中显示包含候选应用的所述分屏应用选择界面,其中,所述分屏应用选择界面中所述候选应用的显示优先级与所述第一应用以及所述第二应用的关联度呈正相关关系。
可选的,在所述第一拖动操作和所述第二拖动操作满足分屏条件的情况下,所述显示模块2001,还用于:
在所述第一拖动操作和所述第二拖动操作满足所述分屏条件,且所述至少两个分屏区域的数量未达到数量阈值的情况下,在所述用户界面中显示所述第三分屏区域;在所述第一拖动操作和所述第二拖动操作满足所述分屏条件,且所述至少两个分屏区域的数量达到所述数量阈值的情况下,进行分屏上限提示。
可选的,在所述第一分屏区域与所述第二分屏区域相邻,所述第一分屏区域与所述第二分屏区域之间设置有分屏控件的情况下,所述显示模块01,还用于:
响应于对所述分屏控件的触发操作,显示分屏菜单;
响应于对所述分屏菜单中分屏创建选项的触发操作,显示手势分屏动画,并在所述用户界面中显示所述第三分屏区域,所述手势分屏动画为通过满足所述分屏条件的所述第一拖动操作和所述第二拖动操作创建分屏区域的动画。
综上所述,本申请实施例中,终端通过接收模块接收第一拖动操作和第二拖动操作,基于第一拖动操作和第二拖动操作满足分屏条件,显示模块在第一分屏区域和第二分屏区域之间显示第三分屏模块,实现分屏区域的拓展。采用本申请实施例提供的方案,基于简单形象的拖动手势,用户即可在自行选定的位置拓展显示分屏区域,在实现分屏拓展的同时,简化了用户的操作方式,提高了使用效率。
请参考图21,其示出了本申请另一个示例性实施例提供的分屏显示装置的结构框图,该装置包括:
第二显示模块2101,用于显示包含分屏区域的用户界面;
第二接收模块2102,用于接收对所述分屏区域中第一分屏区域的第一拖动操作,以及对所述分屏区域中第二分屏区域的第二拖动操作,所述第一拖动操作和所述第二拖动操作同时执行;
所述第二显示模块2101,还用于在所述第一拖动操作和所述第二拖动操作满足分屏关闭条件的情况下,且所述第一分屏区域与所述第二分屏区域之间存在第四分屏区域的情况下,停止显示所述第四分屏区域。
可选的,所述分屏关闭条件包括:
在所述第一拖动操作的第一拖动方向为第三目标方向,且所述第二拖动操作的第二拖动方向为第四目标方向;
其中,所述第三目标方向与所述第四目标方向相向,且所述第三目标方向与所述第一分屏区域相对于所述第二分屏区域的方向相反,所述第四目标方向与所述第二分屏区域相对于所述第一分屏区域的方向相反。
综上所述,本申请实施例中,终端通过第二接收模块接收第一拖动操作和第二拖动操作,并基于第一拖动操作和第二拖动操作满足分屏关闭条件,第二显示模块停止显示第一分屏区域和第二分屏区域间的分屏区域。采用本申请实施例提供的方案,用户通过简单形象的“捏合”手势,即可关闭自行选定的分屏区域,通过直观的操作方式,简化了用户的操作流程。
本申请实施例还提供了一种计算机可读存储介质,该存储介质存储有至少一段程序,至少一段程序用于被处理器执行以实现如上述实施例所述的分屏显示方法。
本申请实施例提供了一种计算机程序产品,该计算机程序产品包括计算机指令,该计算机指令存储在计算机可读存储介质中。计算机设备的处理器从计算机可读存储介质读取该计算机指令,处理器执行该计算机指令,使得该计算机设备执行上述实施例提供的分屏显示方法。
本领域技术人员应该可以意识到,在上述一个或多个示例中,本申请实施例所描述的功能可以用硬件、软件、固件或它们的任意组合来实现。当使用软件实现时,可以将这些功能存储在计算机可读介质中或者作为计算机可读介质上的一个或多个指令或代码进行传输。计算机可读介质包括计算机存储介质和通信介质,其中通信介质包括便于从一个地方向另一个地方传送计算机程序的任何介质。存储介质可以是通用或专用计算机能够存取的任何可用介质。
以上所述仅为本申请的可选实施例,并不用以限制本申请,凡在本申请的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本申请的保护范围之内。

Claims (22)

  1. 一种分屏显示方法,所述方法包括:
    显示包含至少两个分屏区域的用户界面;
    接收对所述至少两个分屏区域中第一分屏区域的第一拖动操作,以及对所述至少两个分屏区域中第二分屏区域的第二拖动操作,所述第一拖动操作和所述第二拖动操作同时执行;
    在所述第一拖动操作和所述第二拖动操作满足分屏条件的情况下,在所述用户界面中显示第三分屏区域,所述第三分屏区域位于所述第一分屏区域和所述第二分屏区域之间。
  2. 根据权利要求1所述的方法,其中,所述在所述第一拖动操作和所述第二拖动操作满足分屏条件的情况下,在所述用户界面中显示第三分屏区域,包括:
    在所述第一拖动操作的第一拖动参数与所述第二拖动操作的第二拖动参数满足所述分屏条件的情况下,在所述用户界面中显示所述第三分屏区域,其中,所述第一拖动参数至少包括第一拖动方向,所述第二拖动参数至少包括第二拖动方向。
  3. 根据权利要求2所述的方法,其中,所述在所述第一拖动操作的第一拖动参数与所述第二拖动操作的第二拖动参数满足所述分屏条件的情况下,在所述用户界面中显示所述第三分屏区域,包括:
    在所述第一拖动方向为第一目标方向,且所述第二拖动方向为第二目标方向的情况下,确定满足所述分屏条件,并在所述用户界面中显示所述第三分屏区域;
    其中,所述第一目标方向与所述第二目标方向反向,且所述第一目标方向与所述第一分屏区域相对于所述第二分屏区域的方向匹配,所述第二目标方向与所述第二分屏区域相对于所述第一分屏区域的方向匹配。
  4. 根据权利要求3所述的方法,其中,
    在所述第一分屏区域位于所述第二分屏区域的左侧的情况下,所述第一目标方向为向左方向,所述第二目标方向为向右方向;
    在所述第一分屏区域位于所述第二分屏区域的右侧的情况下,所述第一目标方向为向右方向,所述第二目标方向为向左方向;
    在所述第一分屏区域位于所述第二分屏区域的上方的情况下,所述第一目标方向为向上方向,所述第二目标方向为向下方向;
    在所述第一分屏区域位于所述第二分屏区域的下侧的情况下,所述第一目标方向为向下方向,所述第二目标方向为向上方向。
  5. 根据权利要求3所述的方法,其中,所述方法还包括:
    在所述第一拖动方向为所述第一目标方向,且所述第二拖动方向为所述第二目标方向的情况下,调整所述第一分屏区域以及所述第二分屏区域,所述第一分屏区域以及所述第二分屏区域的调整方式包括移动和缩放中的至少一种;
    其中,所述第一分屏区域的移动方向为所述第一目标方向,所述第二分屏区域的移动方向为所述第二目标方向,所述第一分屏区域的缩放尺寸与所述第一目标方向上的拖动距离相关,所述第二分屏区域的缩放尺寸与所述第二目标方向上的拖动距离相关。
  6. 根据权利要求3所述的方法,其中,所述在所述第一拖动方向为第一目标方向,且所述第二拖动方向为第二目标方向的情况下,确定满足所述分屏条件,并在所述用户界面中显示所述第三分屏区域,包括:
    在所述第一拖动方向为所述第一目标方向,且所述第二拖动方向为所述第二目标方向的情况下,确定所述第一拖动操作在所述第一目标方向上的第一拖动距离,以及所述第二拖动操作在所述第二目标方向上的第二拖动距离;
    在所述第一拖动距离与所述第二拖动距离之和大于第一距离阈值,且小于第二距离阈值的情况下,确定满足所述分屏条件,并在所述用户界面中显示所述第三分屏区域。
  7. 根据权利要求6所述的方法,其中,所述方法还包括:
    在所述第一拖动距离与所述第二拖动距离之和大于所述第二距离阈值的情况下,退出分屏状态,其中,退出所述分屏状态后,所述至少两个分屏区域停止显示。
  8. 根据权利要求3所述的方法,其中,所述在所述第一拖动方向为第一目标方向,且所述第二拖动方向为第二目标方向的情况下,确定满足所述分屏条件,并在所述用户界面中显示所述第三分屏区域,包括:
    在所述第一拖动方向为所述第一目标方向,且所述第二拖动方向为所述第二目标方向的情况下,确定 所述第一拖动操作的第一拖动终点,以及所述第二拖动操作的第二拖动终点;
    在所述第一拖动终点位于第一屏幕区域,且所述第二拖动终点位于第二屏幕区域的情况下,确定满足所述分屏条件,并在所述用户界面中显示所述第三分屏区域。
  9. 根据权利要求8所述的方法,其中,所述第一屏幕区域与第一屏幕边缘之间存在第三屏幕区域,所述第二屏幕区域与第二屏幕边缘之间存在第四屏幕区域,所述第一屏幕边缘为所述第一目标方向对应的屏幕边缘,所述第二屏幕边缘为所述第二目标方向对应的屏幕边缘;
    所述方法还包括:
    在所述第一拖动终点位于所述第三屏幕区域,或,所述第二拖动终点位于所述第四屏幕区域的情况下,退出分屏状态,其中,退出所述分屏状态后,所述至少两个分屏区域停止显示。
  10. 根据权利要求1至9任一所述的方法,其中,所述在所述用户界面中显示第三分屏区域,包括:
    在所述用户界面中显示第一尺寸的所述第三分屏区域,所述第一尺寸为固定尺寸;
    或者,
    基于所述第一拖动操作和所述第二拖动操作,在所述用户界面中显示第二尺寸的所述第三分屏区域。
  11. 根据权利要求10所述的方法,其中,所述基于所述第一拖动操作和所述第二拖动操作,在所述用户界面中显示第二尺寸的所述第三分屏区域,包括:
    确定所述第一拖动操作在第一拖动方向上的第一拖动距离,以及所述第二拖动操作在第二拖动方向上的第二拖动距离;
    基于所述第一拖动距离和所述第二拖动距离之和,确定所述第二尺寸;
    在所述用户界面中显示所述第二尺寸的所述第三分屏区域。
  12. 根据权利要求1至9任一所述的方法,其中,所述方法还包括:
    在所述第三分屏区域中显示分屏应用选择界面;
    响应于所述分屏应用选择界面中目标应用的选择操作,在所述第三分屏区域中显示目标应用界面。
  13. 根据权利要求12所述的方法,其中,所述在所述第三分屏区域中显示分屏应用选择界面,包括:
    基于所述第一分屏区域中显示的第一应用以及所述第二分屏应用中显示的第二应用,在所述第三分屏区域中显示包含候选应用的所述分屏应用选择界面,其中所述分屏应用选择界面中所述候选应用的显示优先级与所述第一应用以及所述第二应用的关联度呈正相关关系。
  14. 根据权利要求1至9任一所述的方法,其中,所述在所述第一拖动操作和所述第二拖动操作满足分屏条件的情况下,在所述用户界面中显示第三分屏区域,包括:
    在所述第一拖动操作和所述第二拖动操作满足所述分屏条件,且所述至少两个分屏区域的数量未达到数量阈值的情况下,在所述用户界面中显示所述第三分屏区域;
    所述方法还包括:
    在所述第一拖动操作和所述第二拖动操作满足所述分屏条件,且所述至少两个分屏区域的数量达到所述数量阈值的情况下,进行分屏上限提示。
  15. 根据权利要求1至9任一所述的方法,其中,在所述第一分屏区域与所述第二分屏区域相邻的情况下,所述第一分屏区域与所述第二分屏区域之间设置有分屏控件;
    所述方法还包括:
    响应于对所述分屏控件的触发操作,显示分屏菜单;
    响应于对所述分屏菜单中分屏创建选项的触发操作,显示手势分屏动画,并在所述用户界面中显示所述第三分屏区域,所述手势分屏动画为通过满足所述分屏条件的所述第一拖动操作和所述第二拖动操作创建分屏区域的动画。
  16. 一种分屏显示方法,所述方法包括:
    显示包含分屏区域的用户界面;
    接收对所述分屏区域中第一分屏区域的第一拖动操作,以及对所述分屏区域中第二分屏区域的第二拖动操作,所述第一拖动操作和所述第二拖动操作同时执行;
    在所述第一拖动操作和所述第二拖动操作满足分屏关闭条件的情况下,且所述第一分屏区域与所述第二分屏区域之间存在第四分屏区域的情况下,停止显示所述第四分屏区域。
  17. 根据权利要求16所述的方法,其中,所述分屏关闭条件包括:
    在所述第一拖动操作的第一拖动方向为第三目标方向,且所述第二拖动操作的第二拖动方向为第四目标方向;
    其中,所述第三目标方向与所述第四目标方向相向,且所述第三目标方向与所述第一分屏区域相对于所述第二分屏区域的方向相反,所述第四目标方向与所述第二分屏区域相对于所述第一分屏区域的方向相反。
  18. 一种分屏显示装置,所述装置包括:
    第一显示模块,用于显示包含至少两个分屏区域的用户界面;
    第一接收模块,用于接收对所述至少两个分屏区域中第一分屏区域的第一拖动操作,以及对所述至少两个分屏区域中第二分屏区域的第二拖动操作,所述第一拖动操作和所述第二拖动操作同时执行;
    所述第一显示模块,还用于在所述第一拖动操作和所述第二拖动操作满足分屏条件的情况下,在所述用户界面中显示第三分屏区域,所述第三分屏区域位于所述第一分屏区域和所述第二分屏区域之间。
  19. 一种分屏显示装置,所述装置包括:
    第二显示模块,用于显示包含分屏区域的用户界面;
    第二接收模块,用于接收对所述分屏区域中第一分屏区域的第一拖动操作,以及对所述分屏区域中第二分屏区域的第二拖动操作,所述第一拖动操作和所述第二拖动操作同时执行;
    所述第二显示模块,还用于在所述第一拖动操作和所述第二拖动操作满足分屏关闭条件的情况下,且所述第一分屏区域与所述第二分屏区域之间存在第四分屏区域的情况下,停止显示所述第四分屏区域。
  20. 一种终端,所述终端包括显示器、处理器和存储器,所述存储器中存储有至少一段程序,所述至少一段程序由所述处理器加载并执行以实现如权利要求1至17任一所述的分屏显示方法。
  21. 一种计算机可读存储介质,所述计算机可读存储介质中存储有至少一段程序,所述至少一段程序由处理器加载并执行以实现如权利要求1至17任一所述的分屏显示方法。
  22. 一种计算机程序产品,所述计算机程序产品包括计算机指令,所述计算机指令存储在计算机可读存储介质中;计算机设备的处理器从所述计算机可读存储介质读取所述计算机指令,所述处理器执行所述计算机指令,使得所述计算机设备执行如权利要求1至17任一所述的分屏显示方法。
PCT/CN2022/143634 2022-06-30 2022-12-29 分屏显示方法、装置、终端及存储介质 WO2024001135A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202210771343.2A CN117369704A (zh) 2022-06-30 2022-06-30 分屏显示方法、装置、终端及存储介质
CN202210771343.2 2022-06-30

Publications (1)

Publication Number Publication Date
WO2024001135A1 true WO2024001135A1 (zh) 2024-01-04

Family

ID=89383868

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/143634 WO2024001135A1 (zh) 2022-06-30 2022-12-29 分屏显示方法、装置、终端及存储介质

Country Status (2)

Country Link
CN (1) CN117369704A (zh)
WO (1) WO2024001135A1 (zh)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104821988A (zh) * 2015-04-17 2015-08-05 努比亚技术有限公司 移动终端的分屏方法及装置
CN108491149A (zh) * 2018-03-28 2018-09-04 维沃移动通信有限公司 一种分屏显示方法及终端
US20200027425A1 (en) * 2018-07-17 2020-01-23 Samsung Electronics Co., Ltd. Electronic device and method for providing split screen
CN111142769A (zh) * 2019-12-20 2020-05-12 维沃移动通信有限公司 分屏显示方法及电子设备
CN112463084A (zh) * 2019-09-06 2021-03-09 北京小米移动软件有限公司 分屏显示方法、装置、终端设备及计算机可读存储介质
WO2022037726A1 (zh) * 2020-08-21 2022-02-24 荣耀终端有限公司 分屏显示方法和电子设备

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104821988A (zh) * 2015-04-17 2015-08-05 努比亚技术有限公司 移动终端的分屏方法及装置
CN108491149A (zh) * 2018-03-28 2018-09-04 维沃移动通信有限公司 一种分屏显示方法及终端
US20200027425A1 (en) * 2018-07-17 2020-01-23 Samsung Electronics Co., Ltd. Electronic device and method for providing split screen
CN112463084A (zh) * 2019-09-06 2021-03-09 北京小米移动软件有限公司 分屏显示方法、装置、终端设备及计算机可读存储介质
CN111142769A (zh) * 2019-12-20 2020-05-12 维沃移动通信有限公司 分屏显示方法及电子设备
WO2022037726A1 (zh) * 2020-08-21 2022-02-24 荣耀终端有限公司 分屏显示方法和电子设备

Also Published As

Publication number Publication date
CN117369704A (zh) 2024-01-09

Similar Documents

Publication Publication Date Title
US10956022B2 (en) Devices, methods, and graphical user interfaces for navigating between user interfaces and interacting with control objects
CN111694482B (zh) 用于在用户界面之间导航的设备、方法和图形用户界面
US11188220B2 (en) Devices, methods, and graphical user interfaces for navigating between user interfaces and displaying a dock
US11079929B2 (en) Devices, methods, and graphical user interfaces for navigating between user interfaces, displaying a dock, and displaying system user interface elements
US20210191612A1 (en) Devices, Methods, and Graphical User Interfaces for Navigating Between User Interfaces and Interacting with Control Objects
WO2021184375A1 (zh) 执行手势指令的方法、装置、***及存储介质
US11797150B2 (en) Devices, methods, and graphical user interfaces for navigating between user interfaces, displaying a dock, and displaying system user interface elements
TW201617837A (zh) 一種螢幕顯示視窗的處理方法以及移動終端
US20230325062A1 (en) Method for adjusting interface display state, and electronic device
EP4348411A2 (en) Systems and methods for interacting with multiple display devices
CN114415886A (zh) 应用图标的管理方法和电子设备
WO2021232956A1 (zh) 设备控制方法、装置、存储介质及电子设备
US20240045564A1 (en) Devices, Methods, and Graphical User Interfaces for Navigating Between User Interfaces, Displaying a Dock, and Displaying System User Interface Elements
US20230359343A1 (en) Interface processing method and apparatus, electronic device, and computer-readable storage medium
WO2024001135A1 (zh) 分屏显示方法、装置、终端及存储介质
WO2023125094A1 (zh) 用户界面处理方法、装置、设备及计算机可读存储介质
JP6102456B2 (ja) 電子文書閲覧システムおよびプログラム
WO2022001542A1 (zh) 信息处理方法、装置、存储介质及电子设备
WO2019061052A1 (zh) 一种用于智能终端的分屏显示控制方法
WO2023004600A1 (zh) 应用窗口控制方法、装置、交互平板及存储介质
KR20130115037A (ko) 마우스를 이용하여 터치 입력을 구현하기 위한 방법, 장치, 및 컴퓨터 판독 가능한 기록 매체
WO2020206654A1 (zh) 交互方法、柔性电子装置及可读存储介质
DK179890B1 (en) DEVICES, METHODS, AND GRAPHICAL USER INTERFACES FOR NAVIGATING BETWEEN USER INTERFACES AND INTERACTING WITH CONTROL OBJECTS
WO2022256681A2 (en) Systems and methods for interacting with multiple display devices
CN115480690A (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: 22949210

Country of ref document: EP

Kind code of ref document: A1