Screen splitting method and device, electronic equipment and storage medium
By responsive to the two-finger sliding operation in an electronic device and dividing the split screen area according to the sliding direction, the problem of cumbersome split screen operation in the prior art is solved, and the effect of simplifying operation and improving speed is achieved.
Patent Information
- Application Number
- CN202510291474.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2021-02-04
- Publication Date
- 2025-06-24
AI Technical Summary
The operation process of triggering the split screen function of existing electronic devices is cumbersome and prone to incorrect operations.
By responding to the two-finger sliding operation on the touch screen, the sliding direction is obtained, and the displayable area is divided into a first split screen area and a second split screen area according to the sliding direction, one of which is used to display the multi-tasking interface.
Simplified the split-screen operation steps, improved the split-screen speed, and reduced the possibility of misoperation.
Smart Images

Figure CN120196261A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the technical field of electronic devices, and more particularly, to a split-screen method, apparatus, electronic device, and storage medium. Background Art
[0002] With the development of science and technology, electronic devices are used more and more widely and have more and more functions, and have become one of the necessities in people's daily lives. Currently, electronic devices generally begin to support the split-screen function. However, the current operation process for triggering split-screen is cumbersome. Summary of the Invention
[0003] In view of the above problems, this application proposes a split-screen method, apparatus, electronic device, and storage medium to solve the above problems.
[0004] In a first aspect, an embodiment of this application provides a split-screen method applied to an electronic device. The electronic device includes a touch screen, and the touch screen includes a displayable area. The method includes: responding to a two-finger sliding operation on the touch screen, and obtaining a sliding direction corresponding to the two-finger sliding operation; dividing the displayable area into a first split-screen area and a second split-screen area according to the sliding direction, where one of the first split-screen area and the second split-screen area is used to display a multitasking interface.
[0005] In a second aspect, an embodiment of this application provides a split-screen apparatus for an electronic device. The electronic device includes a touch screen, and the touch screen includes a displayable area. The apparatus includes: a sliding direction obtaining module, configured to respond to a two-finger sliding operation on the touch screen and obtain a sliding direction corresponding to the two-finger sliding operation; a split-screen area dividing module, configured to divide the displayable area into a first split-screen area and a second split-screen area according to the sliding direction, where one of the first split-screen area and the second split-screen area is used to display a multitasking interface.
[0006] In a third aspect, an embodiment of this application provides an electronic device, including a memory and a processor. The memory is coupled to the processor, and the memory stores instructions. When the instructions are executed by the processor, the processor executes the above method.
[0007] In a fourth aspect, an embodiment of this application provides a computer-readable storage medium. Program code is stored in the computer-readable storage medium, and the program code can be called by a processor to execute the above method.
[0008] The split-screen method, device, electronic device, and storage medium provided by the embodiments of the present application respond to a two-finger sliding operation on the touch screen, obtain the sliding direction corresponding to the two-finger sliding operation, and divide the displayable area into a first split-screen area and a second split-screen area according to the sliding direction. Among them, one of the first split-screen area and the second split-screen area is used to display the multitask interface. Thus, by obtaining the sliding direction corresponding to the two-finger sliding operation on the touch screen and performing split-screen processing on the displayable area of the touch screen based on the sliding direction, the split-screen operation steps are simplified to improve the split-screen speed. BRIEF DESCRIPTION OF THE DRAWINGS
[0009] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following briefly introduces the drawings required for the description of the embodiments. Obviously, the drawings in the following description are only some embodiments of the present application. For those skilled in the art, without creative efforts, other drawings can be obtained based on these drawings.
[0010] Figure 1 FIG. shows a flowchart of a split-screen method provided by an embodiment of the present application;
[0011] Figure 2 FIG. shows a first interface diagram of an electronic device provided by an embodiment of the present application;
[0012] Figure 3 FIG. shows a second interface diagram of an electronic device provided by an embodiment of the present application;
[0013] Figure 4 FIG. shows a third interface diagram of an electronic device provided by an embodiment of the present application;
[0014] Figure 5 FIG. shows a fourth interface diagram of an electronic device provided by an embodiment of the present application;
[0015] Figure 6 FIG. shows a flowchart of a split-screen method provided by another embodiment of the present application;
[0016] Figure 7 FIG. shows the Figure 6 flowchart of step S220 of the split-screen method shown;
[0017] Figure 8 FIG. shows a flowchart of a split-screen method provided by still another embodiment of the present application;
[0018] Figure 9 FIG. shows a fifth interface diagram of an electronic device provided by an embodiment of the present application;
[0019] Figure 10Shows the sixth interface schematic diagram of the electronic device provided by the embodiment of the present application;
[0020] Figure 11 Shows the seventh interface schematic diagram of the electronic device provided by the embodiment of the present application;
[0021] Figure 12 Shows the eighth interface schematic diagram of the electronic device provided by the embodiment of the present application;
[0022] Figure 13 Shows the flowchart of the split-screen method provided by another embodiment of the present application;
[0023] Figure 14 Shows the ninth interface schematic diagram of the electronic device provided by the embodiment of the present application;
[0024] Figure 15 Shows the tenth interface schematic diagram of the electronic device provided by the embodiment of the present application;
[0025] Figure 16 Shows the flowchart of the split-screen method provided by another embodiment of the present application;
[0026] Figure 17 Shows the eleventh interface schematic diagram of the electronic device provided by the embodiment of the present application;
[0027] Figure 18 Shows the twelfth interface schematic diagram of the electronic device provided by the embodiment of the present application;
[0028] Figure 19 Shows the thirteenth interface schematic diagram of the electronic device provided by the embodiment of the present application;
[0029] Figure 20 Shows the block diagram of the split-screen device provided by the embodiment of the present application;
[0030] Figure 21 Shows the block diagram of the electronic device for executing the split-screen method according to the embodiment of the present application;
[0031] Figure 22 Shows the storage unit for storing or carrying the program code for implementing the split-screen method according to the embodiment of the present application. Detailed implementation manners
[0032] In order to enable those skilled in the art to better understand the solution of the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application.
[0033] At present, electronic devices generally begin to support the split-screen function. However, the operation process of enabling the split-screen function is cumbersome and prone to misoperation. Specifically, the current ways to trigger the split-screen function include enabling through the sidebar, enabling through the Dock bar, and enabling through the multitasking interface. Among them, for enabling through the sidebar and the Dock bar, first, the sidebar or the Dock bar needs to be triggered, then the application icon displayed in the sidebar or the Dock bar is long-pressed, and finally, the application icon is dragged to the corresponding position to trigger split-screen. Therefore, at least three steps are required, and the operation process is cumbersome. In addition, during the dragging process, precise positioning and long-pressing are required. If the dragging position is inaccurate or long-pressing cannot be maintained, it is very easy to cause misoperation. Additionally, triggering through the multitasking interface is applicable to task switching and has no direct connection with split-screen. Moreover, for triggering through the multitasking interface, first, the multitasking interface needs to be advanced, then the menu is triggered in the multitasking interface, and finally, the split-screen option is selected in the menu bar. Therefore, at least three steps are also required, and the operation process is cumbersome.
[0034] To address the above problems, through long-term research, the inventors found and proposed the split-screen method, device, electronic device, and storage medium provided in the embodiments of the present application. By obtaining the sliding direction corresponding to the two-finger sliding operation on the touch screen and performing split-screen processing on the displayable area of the touch screen based on the sliding direction, the split-screen operation steps are simplified to improve the split-screen speed. Among them, the specific split-screen method will be described in detail in the subsequent embodiments.
[0035] Please refer to Figure 1 , Figure 1 FIG. shows a schematic flowchart of a split-screen method provided by an embodiment of the present application. This split-screen method is used to simplify the split-screen operation steps to improve the split-screen speed by obtaining the sliding direction corresponding to the two-finger sliding operation on the touch screen and performing split-screen processing on the displayable area of the touch screen based on the sliding direction. In a specific embodiment, the split-screen method is applied to a split-screen device 200 as shown in Figure 20 and an electronic device 100 configured with the split-screen device 200 ( Figure 21 ). Taking the electronic device as an example, the specific process of this embodiment will be described below. Of course, it can be understood that the electronic device to which this embodiment is applied can be a smart phone, a tablet computer, a wearable electronic device, etc., and is not limited herein. The following will elaborate in detail on the Figure 1 process shown in FIG. In this embodiment, the electronic device includes a touch screen, and the touch screen includes a displayable area. The split-screen method may specifically include the following steps:
[0036] Step S110: Respond to the two-finger sliding operation on the touch screen and obtain the sliding direction corresponding to the two-finger sliding operation.
[0037] In this embodiment, touch operations on the touch screen can be detected. The touch operations can include single-finger click operations, multi-finger click operations, single-finger press operations, multi-finger press operations, single-finger swipe operations, multi-finger swipe operations, single-finger long-press operations, multi-finger long-press operations, etc., which are not limited herein. Among them, when a two-finger swipe operation on the touch screen is detected, the two-finger swipe operation on the touch screen can be responded to, and the swipe direction corresponding to the two-finger swipe operation can be obtained.
[0038] In some embodiments, it can be detected whether the touch screen of the electronic device is in the lit state. When it is detected that the touch screen of the electronic device is in the lit state, touch operations on the touch screen can be detected. When a two-finger swipe operation on the touch screen is detected, the two-finger swipe operation on the touch screen can be responded to, and the swipe direction corresponding to the two-finger swipe operation can be obtained.
[0039] In some embodiments, it can be detected whether the touch screen of the electronic device is in the lit state. When it is detected that the touch screen of the electronic device is in the lit state, it can be detected whether the touch screen of the electronic device is in the unlocked state. When it is detected that the touch screen of the electronic device is in the unlocked state, touch operations on the touch screen can be detected. When a two-finger swipe operation on the touch screen is detected, the two-finger swipe operation on the touch screen can be responded to, and the swipe direction corresponding to the two-finger swipe operation can be obtained.
[0040] In some embodiments, it can be detected whether the touch screen of the electronic device is in the lit state. When it is detected that the touch screen of the electronic device is in the lit state, it can be detected whether the touch screen of the electronic device is in the unlocked state. When it is detected that the touch screen of the electronic device is in the unlocked state, the interface currently displayed on the touch screen of the electronic device can be detected. Among them, when it is detected that the interface currently displayed on the electronic device is the desktop or the application interface, touch operations on the touch screen can be detected. When a two-finger swipe operation on the touch screen is detected, the two-finger swipe operation on the touch screen can be responded to, and the swipe direction corresponding to the two-finger swipe operation can be obtained.
[0041] As one way, when a two-finger swipe operation on the touch screen is detected, the swipe trajectory corresponding to the two-finger swipe operation can be obtained in response to the two-finger swipe operation, and the swipe direction corresponding to the two-finger swipe operation can be obtained based on the swipe trajectory corresponding to the two-finger swipe operation. As another way, when a two-finger swipe operation on the touch screen is detected, the starting position and the ending position of the two-finger swipe operation can be obtained in response to the two-finger swipe operation, and the swipe direction corresponding to the two-finger swipe operation can be obtained based on the starting position and the ending position of the two-finger swipe operation.
[0042] Step S120: Divide the displayable area into a first split-screen area and a second split-screen area according to the sliding direction, where one of the first split-screen area and the second split-screen area is used to display a multitasking interface.
[0043] In this embodiment, after obtaining the sliding direction corresponding to the two-finger sliding operation, the displayable area of the touch screen can be divided into a first split-screen area and a second split-screen area according to the sliding direction. Among them, the shapes of the first split-screen area and the second split-screen area may be the same or different. The sizes of the first split-screen area and the second split-screen area may be the same or different. The dividing line of the first split-screen area may be a regular line (such as a straight line) or an irregular line (such as a bent line). The position of the first split-screen area may be above the position of the second split-screen area, may be below the position of the second split-screen area, may be to the left of the position of the second split-screen area, or may be to the right of the position of the second split-screen area, etc., which is not limited herein.
[0044] Please refer to Figure 2 and Figure 3 , Figure 2 which shows a first interface schematic diagram of the electronic device provided by the embodiment of the present application. Figure 3 which shows a second interface schematic diagram of the electronic device provided by the embodiment of the present application. As Figure 2 shown, when the two-finger sliding operation slides down from the top of the touch screen to the bottom of the touch screen, the displayable area of the touch screen can be split horizontally, that is, the displayable area is divided into a first split-screen area A and a second split-screen area B (as Figure 3 shown).
[0045] Please refer to Figure 4 and Figure 5 , Figure 4 which shows a third interface schematic diagram of the electronic device provided by the embodiment of the present application. Figure 5 which shows a fourth interface schematic diagram of the electronic device provided by the embodiment of the present application. As Figure 4 shown, when the two-finger sliding operation slides from the right side of the touch screen to the left side of the touch screen, the displayable area of the touch screen can be split vertically, that is, the displayable area is divided into a first split-screen area A and a second split-screen area B (as Figure 5 shown).
[0046] In some embodiments, one of the first split-screen area and the second split-screen area obtained by dividing the displayable area is used to display a multitasking interface, where the multitasking interface can be used to display windows corresponding to at least one application program.
[0047] As a first way, the first split-screen area can be used to display the application interface corresponding to the application, and the second split-screen area can be used to display the multitasking interface, or the first split-screen area can be used to display the multitasking interface, and the second split-screen area can be used to display the application interface corresponding to the application.
[0048] As a second way, the first split-screen area can be used to display the multitasking interface, and the first split-screen area can be used to display a blank interface, or the first split-screen area can be used to display a blank interface, and the second split-screen area can be used to display the multitasking interface.
[0049] As a third way, the first split-screen area can be used to display the application interface corresponding to the application, and the second split-screen area can be used to display the multitasking interface and application icons, or the first split-screen area can be used to display the multitasking interface and application icons, and the second split-screen area can be used to display the application interface corresponding to the application.
[0050] As a fourth way, the first split-screen area can be used to display the multitasking interface and application icons, and the first split-screen area can be used to display a blank interface, or the first split-screen area can be used to display a blank interface, and the second split-screen area can be used to display the multitasking interface and application icons.
[0051] In some embodiments, after obtaining the sliding direction corresponding to the two-finger sliding operation, the split-screen direction can be determined according to the sliding direction. As a way, the electronic device can pre-set the mapping relationship between multiple sliding directions and multiple split-screen directions, and store the mapping relationship between the multiple sliding directions and the multiple split-screen directions into the mapping relationship table. Based on this, after obtaining the sliding direction corresponding to the two-finger sliding operation, the sliding direction corresponding to the two-finger sliding operation can be obtained from the multiple sliding directions in the mapping relationship table as the target sliding direction, and then based on the mapping relationship between the multiple sliding directions and the multiple split-screen directions, the split-screen direction having a mapping relationship with the target sliding direction can be determined from the multiple split-screen directions as the target split-screen direction, and then the target split-screen direction can be determined as the split-screen direction corresponding to the sliding direction corresponding to the two-finger sliding operation.
[0052] In some embodiments, when it is determined that the sliding direction corresponding to the two-finger sliding operation is parallel to the longitudinal axis direction of the electronic device, the split-screen direction can be determined to be parallel to the longitudinal axis direction of the electronic device, that is, the displayable area of the touch screen of the electronic device is split horizontally; when it is determined that the sliding direction corresponding to the two-finger sliding operation is parallel to the transverse axis direction of the electronic device, the split-screen direction can be determined to be parallel to the transverse axis direction of the electronic device, that is, the displayable area of the touch screen of the electronic device is split vertically; when it is determined that the sliding direction corresponding to the two-finger sliding operation is parallel to the diagonal direction of the electronic device, the split-screen direction can be determined to be parallel to the diagonal direction of the electronic device, that is, the displayable area of the touch screen of the electronic device is split diagonally.
[0053] In some embodiments, the electronic device can be pre-set and store a specified direction, and set the specified direction as the longitudinal axis direction or the transverse axis direction of the electronic device. Then, when the sliding direction is parallel to the longitudinal axis direction of the electronic device, the longitudinal axis direction of the electronic device is determined as the split-screen direction, and based on this split-screen direction, the displayable area of the touch screen can be split horizontally. When the sliding direction is parallel to the transverse axis direction of the electronic device, the transverse axis direction of the electronic device is determined as the split-screen direction, and based on this split-screen direction, the displayable area of the touch screen can be split vertically.
[0054] Taking the split-screen direction as the longitudinal axis direction of the electronic device as an example, when the two fingers slide down from the top to the bottom of the touch screen or slide up from the top to the top of the touch screen, the displayable area of the touch screen can be split horizontally. Taking the split-screen direction as the transverse axis direction of the electronic device as an example, when the two fingers slide from the left edge to the right edge of the touch screen or slide from the right edge to the left edge of the touch screen, the displayable area of the touch screen can be split vertically.
[0055] The split-screen method provided by an embodiment of the present application responds to a two-finger sliding operation on the touch screen, obtains the sliding direction corresponding to the two-finger sliding operation, and divides the displayable area into a first split-screen area and a second split-screen area according to the sliding direction. Among them, one of the first split-screen area and the second split-screen area is used to display the multitask interface. Thus, by obtaining the sliding direction corresponding to the two-finger sliding operation on the touch screen and performing split-screen processing on the displayable area of the touch screen based on the sliding direction, the split-screen operation steps are simplified to improve the split-screen speed.
[0056] Please refer to Figure 6 , Figure 6 which shows a schematic flowchart of the split-screen method provided by another embodiment of the present application. The following will elaborate in detail on the Figure 6 flow shown. This method is applied to the above-mentioned electronic device, which includes a touch screen, and the touch screen includes a displayable area. The split-screen method can specifically include the following steps:
[0057] Step S210: In response to a two-finger swipe operation on the touch screen, obtain the starting position and the ending position of the two-finger swipe operation corresponding to the two-finger swipe operation.
[0058] In this embodiment, when detecting a two-finger swipe operation on the touch screen, the starting position and the ending position of the two-finger swipe operation corresponding to the two-finger swipe operation can be obtained in response to the two-finger swipe operation. As a way, the electronic device may include a contact sensor and / or a pressure sensor. When detecting a two-finger swipe operation on the touch screen through the contact sensor and / or the pressure sensor, the starting position and the ending position of the two-finger swipe operation corresponding to the two-finger swipe operation can be obtained in response to the two-finger swipe operation through the contact sensor and / or the pressure sensor.
[0059] In some embodiments, when detecting the start of a two-finger swipe on the touch screen, the coordinate information of the starting point of the two-finger swipe operation can be obtained, and the starting position of the two-finger swipe operation corresponding to the two-finger swipe operation can be obtained based on the coordinate information of the starting point of the two-finger swipe operation. When detecting the end of a two-finger swipe on the touch screen, the coordinate information of the ending point of the two-finger swipe operation can be obtained, and the ending position of the two-finger swipe operation corresponding to the two-finger swipe operation can be obtained based on the coordinate information of the ending point of the two-finger swipe operation.
[0060] Step S220: Based on the starting position and the ending position, obtain the swipe direction of the two-finger swipe operation.
[0061] In this embodiment, after obtaining the starting position and the ending position of the two-finger swipe operation corresponding to the two-finger swipe operation, the swipe direction of the two-finger swipe operation can be obtained based on the starting position and the ending position.
[0062] In some embodiments, after obtaining the starting position and the ending position of the two-finger swipe operation corresponding to the two-finger swipe operation, the connection direction of the starting position and the ending position can be obtained, and the swipe direction of the two-finger swipe operation can be obtained based on the connection direction.
[0063] In some embodiments, after obtaining the starting position and the ending position of the two-finger swipe operation corresponding to the two-finger swipe operation, the connection direction of the starting position and the ending position can be obtained, and a small-angle correction process can be performed on the connection direction to obtain a target connection direction, and the swipe direction of the two-finger swipe operation can be obtained based on the target connection direction. Among them, the target connection direction is parallel to the longitudinal axis direction of the electronic device or parallel to the transverse axis direction of the electronic device.
[0064] In some embodiments, the touch screen includes a first edge and a second edge that are oppositely arranged, and a third edge and a fourth edge that are oppositely arranged. After obtaining the sliding start position and the sliding end position corresponding to the two-finger sliding operation, the sliding start position and the sliding end position are respectively compared with the first edge, the second edge, the third edge, and the fourth edge. Among them, when the sliding start position is located on or near the first edge, and the sliding end position is located on or near the second edge, it can be determined that the sliding direction corresponding to the two-finger sliding operation is perpendicular to the first edge and the second edge; when the sliding start position is located on or near the third edge, and the sliding end position is located on or near the fourth edge, it can be determined that the sliding direction corresponding to the two-finger sliding operation is perpendicular to the third edge and the fourth edge.
[0065] Please refer to Figure 7 , Figure 7 which shows the Figure 6 flow schematic diagram of step S220 of the split-screen method shown in this application. Next, the Figure 7 flow shown will be elaborated in detail. The method may specifically include the following steps:
[0066] Step S221: If the sliding start position meets the first preset position condition and the sliding end position meets the second preset position condition, it is determined that the two-finger sliding operation meets the split-screen trigger condition.
[0067] In some embodiments, the electronic device may pre-set and store a first preset position condition and a second preset position condition. The first preset position condition is used as the judgment basis for the sliding start position, and the second preset position condition is used as the judgment basis for the sliding end position. Therefore, in this embodiment, after obtaining the sliding start position, the sliding start position can be compared with the first preset position condition to determine whether the sliding start position meets the first preset position condition. After obtaining the sliding end position, the sliding end position can be compared with the second preset position condition to determine whether the sliding end position meets the second preset position condition.
[0068] Among them, if it is determined that the sliding start position meets the first preset position condition and the sliding end position meets the second preset position condition, it can be determined that the two-finger sliding operation meets the split-screen trigger condition. If it is determined that the sliding start position does not meet the first preset position condition and / or the sliding end position does not meet the second preset position condition, it can be determined that the two-finger sliding operation does not meet the split-screen trigger condition, so as to reduce the possibility of misoperation by setting the split-screen trigger condition.
[0069] In some embodiments, the touch screen of the electronic device includes a first edge and a second edge that are oppositely arranged, and the electronic device can preset and store a first preset distance and a second preset distance. The first preset distance is used as a judgment basis for the distance between the sliding starting position and the first edge of the touch screen, and the second preset distance is used as a judgment basis for the distance between the sliding ending position and the second edge of the touch screen. Therefore, in this embodiment, after obtaining the sliding starting position, the distance between the sliding starting position and the first edge of the touch screen can be calculated, and the distance between the sliding starting position and the first edge of the touch screen is compared with the first preset distance to determine whether the distance between the sliding starting position and the first edge of the touch screen is less than the first preset distance. After obtaining the sliding ending position, the distance between the sliding ending position and the second edge of the touch screen can be calculated, and the distance between the sliding ending position and the second edge of the touch screen is compared with the second preset distance to determine whether the distance between the sliding ending position and the second edge of the touch screen is less than the second preset distance.
[0070] Among them, if it is determined that the distance between the sliding starting position and the first edge of the touch screen is less than the first preset distance, it can be determined that the sliding starting position meets the first preset position condition. If it is determined that the distance between the sliding ending position and the second edge of the touch screen is less than the second preset distance, it can be determined that the sliding ending position meets the second preset position condition, and it can be determined that the two-finger sliding operation meets the split-screen trigger condition.
[0071] In some embodiments, if the sliding starting position meets the first preset position condition and the sliding ending position meets the second preset position condition, the sliding distance corresponding to the two-finger sliding operation can be obtained. When the sliding distance is greater than the preset distance, it is determined that the two-finger sliding operation meets the split-screen trigger condition.
[0072] In some embodiments, if the sliding starting position meets the first preset position condition and the sliding ending position meets the second preset position condition, the sliding trajectory corresponding to the two-finger sliding operation can be obtained. When the sliding trajectory represents that after the two fingers slide a first preset distance in a preset direction and then slide a second preset distance in the opposite direction, it is determined that the two-finger sliding operation meets the split-screen trigger condition.
[0073] Step S222: Obtain the sliding direction corresponding to the two-finger sliding operation.
[0074] In this embodiment, when it is determined that the two-finger sliding operation meets the split-screen trigger condition and then the sliding direction corresponding to the two-finger sliding operation is obtained, the probability of misoperation can be reduced.
[0075] Step S230: Divide the displayable area into a first split-screen area and a second split-screen area according to the sliding direction, where one of the first split-screen area and the second split-screen area is used to display a multitasking interface.
[0076] For the specific description of step S230, please refer to step S120 and will not be elaborated here.
[0077] The split-screen method provided by another embodiment of the present application responds to a two-finger sliding operation on the touch screen, obtains the sliding start position and the sliding end position corresponding to the two-finger sliding operation, obtains the sliding direction corresponding to the two-finger sliding operation based on the sliding start position and the sliding end position, and divides the displayable area into a first split-screen area and a second split-screen area according to the sliding direction, where one of the first split-screen area and the second split-screen area is used to display a multitasking interface. Compared with Figure 1 the split-screen method shown, this embodiment also obtains the sliding start position and the sliding end position corresponding to the two-finger sliding operation, and obtains the sliding direction corresponding to the two-finger sliding operation according to the sliding start position and the sliding end position, thereby improving the accuracy of the obtained sliding direction.
[0078] Please refer to Figure 8 , Figure 8 which shows a schematic flowchart of the split-screen method provided by another embodiment of the present application. The following will elaborate in detail on the Figure 8 flow shown. This method is applied to the above-mentioned electronic device, which includes a touch screen, and the touch screen includes a displayable area. The split-screen method may specifically include the following steps:
[0079] Step S310: Respond to a two-finger sliding operation on the touch screen, and obtain the sliding start position and the sliding end position corresponding to the two-finger sliding operation.
[0080] Step S320: Obtain the sliding direction corresponding to the two-finger sliding operation based on the sliding start position and the sliding end position.
[0081] For the specific description of steps S310 - S320, please refer to steps S210 - S220 and will not be elaborated here.
[0082] Step S330: Divide the displayable area into the first split-screen area and the second split-screen area according to the sliding start position and the sliding direction, where one end point position of the boundary line between the first split-screen area and the second split-screen area corresponds to the sliding start position.
[0083] In some embodiments, the displayable area of the touch screen can be divided into a first split-screen area and a second split-screen area according to the starting position of the swipe and the swipe direction, such that one of the end positions of the boundary line between the divided first split-screen area and second split-screen area corresponds to the starting position of the swipe. For example, if the starting position of the swipe divides the first edge of the touch screen into four parts and six parts, the ratio of the first split-screen area and the second split-screen area obtained by dividing the displayable area of the touch screen according to the starting position of the swipe and the swipe direction can be four to six. For another example, if the starting position of the swipe divides the first edge of the touch screen into three parts and seven parts, the ratio of the first split-screen area and the second split-screen area obtained by dividing the displayable area of the touch screen according to the starting position of the swipe and the swipe direction can be three to seven.
[0084] Please refer to Figure 9 and Figure 10 , Figure 9 which shows a fifth schematic diagram of the interface of the electronic device provided by the embodiment of the present application. Figure 10 which shows a sixth schematic diagram of the interface of the electronic device provided by the embodiment of the present application. As Figure 9 shown, when the starting position of the two-finger swipe operation is P1, one of the end positions of the boundary line between the obtained first split-screen area A and second split-screen area B corresponds to the starting position P1 (as Figure 10 shown).
[0085] Step S340: Divide the displayable area into the first split-screen area and the second split-screen area according to the ending position of the swipe and the swipe direction, wherein one of the end positions of the boundary line between the first split-screen area and the second split-screen area corresponds to the ending position of the swipe.
[0086] In some embodiments, the displayable area of the touch screen can be divided into a first split-screen area and a second split-screen area according to the ending position of the swipe and the swipe direction, such that one of the end positions of the boundary line between the divided first split-screen area and second split-screen area corresponds to the ending position of the swipe. For example, if the ending position of the swipe divides the second edge of the touch screen into four parts and six parts, the ratio of the first split-screen area and the second split-screen area obtained by dividing the displayable area of the touch screen according to the ending position of the swipe and the swipe direction can be four to six. For another example, if the ending position of the swipe divides the second edge of the touch screen into three parts and seven parts, the ratio of the first split-screen area and the second split-screen area obtained by dividing the displayable area of the touch screen according to the ending position of the swipe and the swipe direction can be three to seven.
[0087] Please refer to Figure 11 and Figure 12 , Figure 11The seventh interface schematic diagram of the electronic device provided by the embodiment of the present application is shown. Figure 12 The eighth interface schematic diagram of the electronic device provided by the embodiment of the present application is shown. As Figure 11 shown, when the sliding end position corresponding to the two-finger sliding operation is P2, one of the end positions of the dividing line between the first split-screen area A and the second split-screen area B obtained by division corresponds to the sliding end position P2 (as Figure 12 shown).
[0088] The split-screen method provided by another embodiment of the present application responds to a two-finger sliding operation on the touch screen, obtains the sliding start position and the sliding end position corresponding to the two-finger sliding operation, obtains the sliding direction corresponding to the two-finger sliding operation based on the sliding start position and the sliding end position, and divides the displayable area into a first split-screen area and a second split-screen area according to the sliding start position and the sliding direction, wherein one of the end positions of the dividing line between the first split-screen area and the second split-screen area corresponds to the sliding start position, or divides the displayable area into a first split-screen area and a second split-screen area according to the sliding end position and the sliding direction, wherein one of the endpoints of the dividing line between the first split-screen area and the second split-screen area corresponds to the sliding end position. Compared with the Figure 1 split-screen method shown, this embodiment also divides the split-screen area according to the sliding start position or the sliding end position to improve the user's interaction experience.
[0089] Please refer to Figure 13 , Figure 13 which shows the flowchart of the split-screen method provided by yet another embodiment of the present application. The following will elaborate in detail on the Figure 13 flow shown. This method is applied to the above-mentioned electronic device, which includes a touch screen, and the touch screen includes a displayable area. In this embodiment, a first application program is running in the foreground of the electronic device, and multiple second application programs are running in the background of the electronic device. The split-screen method may specifically include the following steps:
[0090] Step S410: Respond to a two-finger sliding operation on the touch screen and obtain the sliding direction corresponding to the two-finger sliding operation.
[0091] Step S420: Divide the displayable area into a first split-screen area and a second split-screen area according to the sliding direction, wherein one of the first split-screen area and the second split-screen area is used to display a multitask interface.
[0092] For the specific descriptions of steps S410 - S420, please refer to steps S110 - S120, which will not be elaborated here.
[0093] Step S430: Display the application interface corresponding to the first application in the first split screen area.
[0094] Step S440: Display the multitasking interface and / or multiple application icons corresponding to the multiple second applications in the second split screen area.
[0095] In this embodiment, a first application is running in the foreground of the electronic device, and multiple second applications are running in the background of the electronic device. Based on this, after dividing the displayable area of the touch screen into a first split screen area and a second split screen area, the application interface corresponding to the first application can be displayed in the first split screen area, and the multitasking interface and / or multiple application icons corresponding to the multiple second applications can be displayed in the second split screen area.
[0096] Please refer to Figure 14 and Figure 15 , Figure 14 which shows the ninth interface schematic diagram of the electronic device provided by the embodiment of the present application. Figure 15 which shows the tenth interface schematic diagram of the electronic device provided by the embodiment of the present application. As Figure 14 shown, in the case where a first application is running in the foreground of the electronic device and multiple second applications are running in the background of the electronic device, if the displayable area of the touch screen is divided into a first split screen area A and a second split screen area B, the application interface corresponding to the first application can be displayed in the first split screen area A, and the multitasking interface and multiple application icons corresponding to the multiple second applications can be displayed in the second split screen area B (as Figure 15 shown).
[0097] In some embodiments, when a selection operation acting on the multitasking interface or multiple application icons corresponding to the multiple second applications is detected, the target application corresponding to the selection operation can be obtained, and the application interface corresponding to the target application can be displayed in the second split screen area. At this time, the application interface corresponding to the first application is displayed in the first split screen area, and the application interface corresponding to the target application is displayed in the second split screen area.
[0098] In some embodiments, after the application interface corresponding to the first application is displayed in the first split-screen area, and the multitasking interfaces and / or multiple application icons corresponding to multiple second applications are displayed in the second split-screen area, a two-finger swipe operation on the first split-screen area may be responded to divide the first split-screen area, obtaining a first sub-split-screen area and a second sub-split-screen area. The first sub-split-screen area and the second sub-split-screen area are magnified to obtain a magnified first sub-split-screen area and a magnified second sub-split-screen area. Herein, the magnified first sub-split-screen area and the magnified second sub-split-screen area fill the displayable area. At this time, the magnified first sub-split-screen area may display the application interface corresponding to the first application, and the magnified second sub-split-screen area may also display the application interface corresponding to the first application, and the multitasking interfaces and / or multiple application icons corresponding to multiple second applications are hidden. After that, when a first display switching instruction is received, the interface corresponding to the magnified first sub-split-screen area and the multitasking interfaces and / or multiple application icons corresponding to multiple second applications in the second split-screen area are displayed, and the interface corresponding to the magnified second sub-split-screen area is hidden.
[0099] In some embodiments, after the displayable area of the touch screen is divided into a first split-screen area and a second split-screen area, a two-finger swipe operation on the first split-screen area and the second split-screen area may be responded to divide the first split-screen area and the second split-screen area, obtaining a third sub-split-screen area, a fourth sub-split-screen area, a fifth sub-split-screen area, and a sixth sub-split-screen area.
[0100] For the split-screen method provided in yet another embodiment of the present application, a two-finger swipe operation on the touch screen is responded to obtain the swipe direction corresponding to the two-finger swipe operation. The displayable area is divided into a first split-screen area and a second split-screen area according to the swipe direction. Herein, one of the first split-screen area and the second split-screen area is used to display the multitasking interface. The application interface corresponding to the first application is displayed in the first split-screen area, and the multitasking interfaces and / or multiple application icons corresponding to multiple second applications are displayed in the second split-screen area. Compared with Figure 1 the split-screen method shown, in this embodiment, when the first application is running in the foreground of the electronic device and multiple second applications are running in the background, if the first split-screen area and the second split-screen area are obtained by division, the application interface corresponding to the first application is displayed in the first split-screen area, and the multitasking interfaces and / or multiple application icons corresponding to multiple second applications are displayed in the second split-screen area, improving the split-screen display effect.
[0101] Please refer to Figure 16 , Figure 16 which shows a flowchart of the split-screen method provided in yet another embodiment of the present application. Next, for Figure 16The following describes the process shown in detail. This method is applied to the above-mentioned electronic device, which includes a touch screen. The touch screen includes a displayable area. In this embodiment, no application is running in the foreground of the electronic device, and multiple second applications are running in the background of the electronic device. The split-screen method may specifically include the following steps:
[0102] Step S510: Respond to a two-finger swipe operation on the touch screen and obtain the swipe direction corresponding to the two-finger swipe operation.
[0103] Step S520: Divide the displayable area into a first split-screen area and a second split-screen area according to the swipe direction. Among them, one of the first split-screen area and the second split-screen area is used to display the multitask interface.
[0104] For the specific descriptions of steps S510 - S520, please refer to steps S110 - S120, which will not be elaborated here.
[0105] Step S530: Display the multitask interfaces corresponding to the multiple second applications and / or multiple application icons in the first split-screen area.
[0106] Step S540: Display a blank interface in the second split-screen area.
[0107] In this embodiment, the foreground of the electronic device is running an application (displaying the system desktop), and multiple second applications are running in the background of the electronic device. Based on this, after dividing the displayable area of the touch screen into a first split-screen area and a second split-screen area, the multitask interfaces corresponding to the multiple second applications and / or multiple application icons can be displayed in the first split-screen area, and the second split-screen area can be displayed as a blank interface.
[0108] Please refer to Figure 17 and Figure 18 , Figure 17 Fig. shows the eleventh interface schematic diagram of the electronic device provided by the embodiment of the present application, Figure 18 Fig. shows the twelfth interface schematic diagram of the electronic device provided by the embodiment of the present application. As Figure 17 shown, in the case where no application is running in the foreground of the electronic device (displaying the system desktop) and multiple second applications are running in the background of the electronic device, when the displayable area of the touch screen is divided into a first split-screen area A and a second split-screen area B, the multitask interfaces corresponding to the multiple second applications and multiple application icons can be displayed in the first split-screen area A, and the second split-screen area B can be displayed as a blank interface (as Figure 18 shown).
[0109] Step S550: In response to an application selection operation on the first split-screen area, obtain the target application program corresponding to the application selection operation.
[0110] Step S560: Display the application interface corresponding to the target application program in the first split-screen area, and switch and display the multitask interfaces corresponding to the multiple second application programs and / or the multiple application icons in the second split-screen area.
[0111] In some embodiments, when an application selection operation on the multitask interface corresponding to the multiple second application programs and / or the multiple application icons displayed in the first split-screen area is detected, the application selection operation can be responded to, and the target application program corresponding to the application selection operation can be obtained. At this time, the application interface corresponding to the target application program can be displayed in the first split-screen area, and the multitask interfaces corresponding to the multiple second application programs and / or the multiple application icons can be switched and displayed in the second split-screen area. Among them, at this time, the multitask interfaces corresponding to the multiple second application programs and the multiple application icons displayed in the second split-screen area do not include the window and icon corresponding to the target application program.
[0112] Please refer to Figure 19 , Figure 19 which shows the thirteenth interface schematic diagram of the electronic device provided by the embodiment of the present application. As Figure 19 shown, when an application selection operation on the multitask interface corresponding to the multiple second application programs and / or the multiple application icons displayed in the first split-screen area A as shown in Figure 18 is detected, the application selection operation can be responded to, and the target application program corresponding to the application selection operation can be obtained. At this time, the application interface corresponding to the target application program can be displayed in the first split-screen area A, and the multitask interfaces corresponding to the multiple second application programs and / or the multiple application icons can be switched and displayed in the second split-screen area B.
[0113] Another split-screen method provided by an embodiment of the present application responds to a two-finger sliding operation on the touch screen, obtains the sliding direction corresponding to the two-finger sliding operation, divides the displayable area into a first split-screen area and a second split-screen area according to the sliding direction. Among them, one of the first split-screen area and the second split-screen area is used to display the multitask interface. The multitask interfaces corresponding to the multiple second application programs and / or the multiple application icons are displayed in the first split-screen area, and the second split-screen area is displayed as a blank interface. In response to an application selection operation on the first split-screen area, the target application program corresponding to the application selection operation is obtained, the application interface corresponding to the target application program is displayed in the first split-screen area, and the multitask interfaces corresponding to the multiple second application programs and / or the multiple application icons are switched and displayed in the second split-screen area. Compared with Figure 1For the split-screen method shown, in this embodiment, when no application is running in the foreground of the electronic device and multiple second applications are running in the background, if a first split-screen area and a second split-screen area are obtained through division, a multitasking interface corresponding to the multiple second applications and / or multiple application icons are displayed in the first split-screen area, and when an application selection operation is detected in the first split-screen area, the application interface corresponding to the target application is displayed in the first split-screen area, and the multitasking interface corresponding to the multiple second applications and / or the multiple application icons are switched and displayed in the second split-screen area, so as to improve the split-screen display effect and the user's interaction experience.
[0114] Please refer to Figure 20 , Figure 20 which shows a block diagram of a split-screen device provided by an embodiment of the present application. The split-screen device 200 is applied to the above-mentioned electronic device, and the electronic device includes a touch screen, and the touch screen includes a displayable area. The following will be described with reference to Figure 20 the block diagram shown. The split-screen device 200 includes: a sliding direction acquisition module 210 and a split-screen area division module 220, where:
[0115] The sliding direction acquisition module 210 is configured to respond to a two-finger sliding operation on the touch screen and acquire the sliding direction corresponding to the two-finger sliding operation.
[0116] Further, the sliding direction acquisition module 210 includes: a position acquisition sub-module and a sliding direction acquisition sub-module, where:
[0117] The position acquisition sub-module is configured to respond to a two-finger sliding operation on the touch screen and acquire the sliding start position and the sliding end position corresponding to the two-finger sliding operation.
[0118] The sliding direction acquisition sub-module is configured to acquire the sliding direction corresponding to the two-finger sliding operation based on the sliding start position and the sliding end position.
[0119] Further, the sliding direction acquisition sub-module includes: a split-screen trigger determination unit and a sliding direction acquisition unit, where:
[0120] The split-screen trigger determination unit is configured to determine that the two-finger sliding operation meets the split-screen trigger condition if the sliding start position meets a first preset position condition and the sliding end position meets a second preset position condition.
[0121] Further, the split-screen trigger determination unit includes: a split-screen trigger determination sub-unit, where:
[0122] A split - screen trigger determination subunit, configured to determine that the two - finger swipe operation meets the split - screen trigger condition if the distance between the swipe start position and the first edge of the touch screen is less than a first preset distance, and the distance between the swipe end position and the second edge of the touch screen is less than a second preset distance, where the first edge and the second edge are oppositely arranged.
[0123] A swipe - direction acquisition unit, configured to acquire the swipe direction corresponding to the two - finger swipe operation.
[0124] A split - screen area division module 220, configured to divide the displayable area into a first split - screen area and a second split - screen area according to the swipe direction, where one of the first split - screen area and the second split - screen area is used to display a multitasking interface.
[0125] Further, the split - screen area division module 220 includes: a first split - screen area division sub - module and a second split - screen area division sub - module, where:
[0126] The first split - screen area division sub - module is configured to divide the displayable area into the first split - screen area and the second split - screen area according to the swipe start position and the swipe direction, where one end - point position of the boundary line between the first split - screen area and the second split - screen area corresponds to the swipe start position.
[0127] The second split - screen area division sub - module is configured to divide the displayable area into the first split - screen area and the second split - screen area according to the swipe end position and the swipe direction, where one end - point position of the boundary line between the first split - screen area and the second split - screen area corresponds to the swipe end position.
[0128] Further, a first application program is running in the foreground of the electronic device, and multiple second application programs are running in the background of the electronic device. The split - screen device 200 includes: a first application - interface display module and a first multitasking - interface display module, where:
[0129] The first application - interface display module is configured to display the application interface corresponding to the first application program in the first split - screen area.
[0130] The first multitasking - interface display module is configured to display the multitasking interface corresponding to the multiple second application programs and / or multiple application icons in the second split - screen area.
[0131] Further, no application program is running in the foreground of the electronic device, and multiple second application programs are running in the background of the electronic device. The split - screen device 200 further includes: a second multitasking - interface display module and a blank - interface display module, where:
[0132] The second multi-task interface display module is configured to display the multi-task interfaces corresponding to the multiple second application programs and / or multiple application icons in the first split screen area.
[0133] The blank interface display module is configured to display a blank interface in the second split screen area.
[0134] Furthermore, the split screen device 200 further includes: a target application program acquisition module and a second application interface display module, where:
[0135] The target application program acquisition module is configured to, in response to an application selection operation acting on the first split screen area, acquire the target application program corresponding to the application selection operation.
[0136] The second application interface display module is configured to display the application interface corresponding to the target application program in the first split screen area, and switch and display the multi-task interfaces corresponding to the multiple second application programs and / or the multiple application icons in the second split screen area.
[0137] Those skilled in the art can clearly understand that for the convenience and brevity of description, the specific working processes of the above-described devices and modules can refer to the corresponding processes in the foregoing method embodiments, and will not be described herein again.
[0138] In several embodiments provided in the present application, the coupling between modules can be electrical, mechanical, or other forms of coupling.
[0139] In addition, in each embodiment of the present application, each functional module can be integrated in a processing module, or each module can exist physically alone, or two or more modules can be integrated in one module. The above integrated modules can be implemented in the form of hardware or in the form of software functional modules.
[0140] Please refer to Figure 21 , which shows a structural block diagram of an electronic device 100 provided by an embodiment of the present application. The electronic device 100 can be an electronic device such as a smart phone, a tablet computer, an e-book, etc. that can run application programs. The electronic device 100 in the present application can include one or more of the following components: a processor 110, a memory 120, a touch screen 130, and one or more application programs, where one or more application programs can be stored in the memory 120 and configured to be executed by one or more processors 110, and one or more programs are configured to execute the methods described in the foregoing method embodiments.
[0141] Among them, the processor 110 may include one or more processing cores. The processor 110 connects various parts within the entire electronic device 100 through various interfaces and lines. By running or executing instructions, programs, code sets, or instruction sets stored in the memory 120, and by calling the data stored in the memory 120, it performs various functions of the electronic device 100 and processes data. Optionally, the processor 110 may be implemented in at least one hardware form of digital signal processing (DSP), field-programmable gate array (FPGA), or programmable logic array (PLA). The processor 110 may integrate a combination of one or several of a central processing unit (CPU), a graphics processing unit (GPU), and a modem, etc. Among them, the CPU mainly processes the operating system, user interface, application programs, etc.; the GPU is responsible for rendering and drawing the content to be displayed; 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 separately through a communication chip.
[0142] The memory 120 may include random access memory (RAM) and may also include read-only memory. The memory 120 can be used to store instructions, programs, code, code sets, or instruction sets. The memory 120 may include a program storage area and a data storage area. Among them, the program storage area may store instructions for implementing the operating system, instructions for implementing at least one function (such as touch function, sound playback function, image playback function, etc.), instructions for implementing the following various method embodiments, etc. The data storage area may also store data created during the use of the electronic device 100 (such as phone book, audio and video data, chat record data, etc.).
[0143] The touch screen 130 is used to display information input by the user, information provided to the user, and various graphical user interfaces of the electronic device 100. These graphical user interfaces can be composed of graphics, text, icons, numbers, videos, and any combination thereof. In one example, the touch screen 130 may be a liquid crystal display (LCD) or an organic light-emitting diode (OLED), which is not limited herein.
[0144] Please refer to Figure 22, which shows a structural block diagram of a computer-readable storage medium provided by an embodiment of the present application. Program code is stored in the computer-readable medium 300, and the program code can be called by a processor to execute the method described in the above method embodiment.
[0145] The computer-readable storage medium 300 can be an electronic memory such as a flash memory, EEPROM (electrically erasable programmable read-only memory), EPROM, hard disk, or ROM. Optionally, the computer-readable storage medium 300 includes a non-transitory computer-readable storage medium. The computer-readable storage medium 300 has a storage space for the program code 310 that executes any method step in the above method. These program codes can be read out from or written into one or more computer program products. The program code 310 can be compressed in an appropriate form, for example.
[0146] In summary, the split-screen method, device, electronic device, and storage medium provided by the embodiments of the present application respond to a two-finger sliding operation on a touch screen, obtain the sliding direction corresponding to the two-finger sliding operation, and divide the displayable area into a first split-screen area and a second split-screen area according to the sliding direction. Among them, one of the first split-screen area and the second split-screen area is used to display a multitasking interface. Thus, by obtaining the sliding direction corresponding to the two-finger sliding operation on the touch screen and performing split-screen processing on the displayable area of the touch screen based on the sliding direction, the split-screen operation steps are simplified to improve the split-screen speed.
[0147] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application and are not intended to limit them. Although the present application has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that they can still modify the technical solutions described in the foregoing embodiments or perform equivalent replacements for some of the technical features. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present application.
Claims
1. A split-screen method, characterized in that, Applied to an electronic device, the electronic device includes a touch screen, and the touch screen includes a displayable area. The method includes: Responding to a two-finger sliding operation on the touch screen, and obtaining a sliding start position and a sliding end position corresponding to the two-finger sliding operation; If the sliding start position meets a first preset position condition and the sliding end position meets a second preset position condition, determining that the two-finger sliding operation meets a split-screen trigger condition; Obtaining a sliding direction corresponding to the two-finger sliding operation; Dividing the displayable area into a first split-screen area and a second split-screen area according to the sliding direction, wherein one of the first split-screen area and the second split-screen area is used to display a multitask interface.
2. The method according to claim 1, wherein The step of determining that the two-finger sliding operation meets the split-screen trigger condition if the sliding start position meets the first preset position condition and the sliding end position meets the second preset position condition includes: If the distance between the sliding start position and a first edge of the touch screen is less than a first preset distance, and the distance between the sliding end position and a second edge of the touch screen is less than a second preset distance, determining that the two-finger sliding operation meets the split-screen trigger condition, where the first edge and the second edge are oppositely arranged.
3. The method according to claim 1, characterized in that The step of dividing the displayable area into a first split-screen area and a second split-screen area according to the sliding direction includes: Dividing the displayable area into the first split-screen area and the second split-screen area according to the sliding start position and the sliding direction, where one end point position of the boundary line between the first split-screen area and the second split-screen area corresponds to the sliding start position; or Dividing the displayable area into the first split-screen area and the second split-screen area according to the sliding end position and the sliding direction, where one end point position of the boundary line between the first split-screen area and the second split-screen area corresponds to the sliding end position.
4. The method according to any one of claims 1 to 3, characterized in that A first application program is running in the foreground of the electronic device, and a plurality of second application programs are running in the background of the electronic device. After dividing the displayable area into a first split-screen area and a second split-screen area according to the sliding direction, the method further includes: Displaying the application interface corresponding to the first application program in the first split-screen area; and Displaying the multitask interface corresponding to the plurality of second application programs and / or a plurality of application icons in the second split-screen area.
5. The method according to claim 4, characterized in that After displaying the multitask interface corresponding to the plurality of second application programs and / or the plurality of application icons in the second split-screen area, the method further includes: Responding to a two-finger sliding operation on the first split-screen area, and dividing the first split-screen area to obtain a first sub-split-screen area and a second sub-split-screen area.
6. The method according to claim 5, characterized in that, After responding to a two-finger sliding operation on the first split-screen area and dividing the first split-screen area to obtain a first sub-split-screen area and a second sub-split-screen area, the method further includes: Perform a magnification process on the first sub - screen area and the second sub - screen area to obtain the magnified first sub - screen area and the magnified second sub - screen area. Among them, the magnified first sub - screen area displays the application interface corresponding to the first application program, and the magnified second sub - screen area displays the application interface corresponding to the first application program.
7. The method according to any one of claims 1 to 3, characterized in that No application program is running in the foreground of the electronic device, and multiple second application programs are running in the background of the electronic device. After dividing the displayable area into a first split - screen area and a second split - screen area according to the sliding direction, it further includes: Display the multi - task interfaces corresponding to the multiple second application programs and / or multiple application icons in the first split - screen area; and Display a blank interface in the second split - screen area.
8. The method according to claim 7, wherein After displaying the multi - task interfaces corresponding to the multiple second application programs and / or multiple application icons in the first split - screen area and displaying a blank interface in the second split - screen area, it further includes: Respond to an application selection operation on the first split - screen area, and obtain the target application program corresponding to the application selection operation; Display the application interface corresponding to the target application program in the first split - screen area, and switch the display of the multi - task interfaces corresponding to the multiple second application programs and / or the multiple application icons to the second split - screen area.
9. A split-screen device, characterized in that, Applied to an electronic device, the electronic device includes a touch screen, the touch screen includes a displayable area, and the device includes: A position acquisition sub - module, configured to respond to a two - finger sliding operation on the touch screen, and obtain the starting position and the ending position of the two - finger sliding operation corresponding to the two - finger sliding operation; A split - screen trigger determination unit, configured to determine that the two - finger sliding operation meets the split - screen trigger condition if the starting position of the sliding meets the first preset position condition and the ending position of the sliding meets the second preset position condition; A sliding direction acquisition unit, configured to obtain the sliding direction corresponding to the two - finger sliding operation; A split - screen area division module, configured to divide the displayable area into a first split - screen area and a second split - screen area according to the sliding direction, where one of the first split - screen area and the second split - screen area is used to display a multi - task interface.
10. An electronic device, characterized in that, It includes a memory and a processor, the memory is coupled to the processor, and the memory stores instructions. When the instructions are executed by the processor, the processor executes the method according to any one of claims 1 - 8.
11. A computer-readable storage medium, characterized in that, The computer - readable storage medium stores program code, and the program code can be called by the processor to execute the method according to any one of claims 1 - 8.