A split screen processing method and electronic device

By recognizing and responding to the split-screen gesture on the electronic device, split-screen display of multiple snapshot windows is directly realized, which solves the problem of cumbersome operations in the existing technology and improves the efficiency of split-screen processing.

CN114895840BActive Publication Date: 2024-09-17LENOVO (BEIJING) LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210514041.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-05-12
Publication Date
2024-09-17
Estimated Expiration
2042-05-12

AI Technical Summary

Technical Problem

When existing electronic devices perform split-screen processing, the operation process is cumbersome and requires multiple selections and operations to achieve split-screen display, which is inefficient.

Method used

By determining that the display screen is in the first interface state, the first gesture operations for multiple snapshot windows are obtained, and whether they meet the split-screen gesture conditions is determined, and the snapshot windows are directly controlled for split-screen display without the need to select operations one by one.

Benefits of technology

It simplifies the split-screen operation process, improves split-screen efficiency, reduces the need for sequential operations on multiple snapshot windows, and achieves a more intuitive and efficient split-screen display.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114895840B
    Figure CN114895840B
Patent Text Reader

Abstract

The present application discloses a split-screen processing method and an electronic device, which determines that the display screen is in a first interface state, the first interface state includes multiple snapshot windows, obtains a first gesture operation for at least two snapshot windows among the multiple snapshot windows, determines that the first gesture operation meets the split-screen gesture condition, and controls at least two snapshot windows to be displayed in split screen on the display screen. When the present solution performs split-screen display on the snapshot windows in the display screen, the split-screen display can be realized directly based on the first gesture operation that meets the split-screen gesture condition, without performing operations on the multiple snapshot windows that need to be split separately, thereby reducing the operation process and improving the split-screen efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of information processing, and in particular to a split-screen processing method and electronic device. Background Art

[0002] When an electronic device needs to perform split-screen processing, it is usually necessary to first call up the split-screen operation interface, and then select different programs that need to be displayed in split screen. This complete process involves many operating procedures. Summary of the invention

[0003] In view of this, the present application provides a split-screen processing method and an electronic device, and the specific scheme thereof is as follows:

[0004] A split-screen processing method, comprising:

[0005] Determining that the display screen is in a first interface state, wherein the first interface state includes a plurality of snapshot windows;

[0006] Obtaining a first gesture operation for at least two snapshot windows among the plurality of snapshot windows;

[0007] Determine that the first gesture operation meets the split-screen gesture condition, and control the at least two snapshot windows to be displayed in split-screen on the display screen.

[0008] Further, the determining that the first gesture operation meets the split-screen gesture condition, and controlling the at least two snapshot windows to be displayed in split-screen on the display screen, includes:

[0009] Determine a first operation trajectory of a first gesture operation;

[0010] If it is determined that the first operation track corresponds to at least two snapshot windows, the at least two snapshot windows are controlled to be displayed in split screens on the display screen.

[0011] Furthermore, if it is determined that the first operation track corresponds to at least two snapshot windows, controlling the at least two snapshot windows to be displayed in split screens on the display screen includes:

[0012] If it is determined that the first operation track includes two snapshot windows in the vertical direction, controlling the two snapshot windows in the vertical direction of the first operation track to be displayed on the display screen in split screen;

[0013] or,

[0014] If it is determined that the first operation track is parallel to the boundaries of the two snapshot windows, and the distances between the first operation track and the boundaries of the two snapshot windows are respectively less than first preset distances, the two snapshot windows are controlled to be displayed in split screens on the display screen.

[0015] Furthermore, if it is determined that the first operation track corresponds to at least two snapshot windows, controlling the at least two snapshot windows to be displayed in split screens on the display screen includes:

[0016] If it is determined that the first operation trajectory includes two partial trajectories and the two partial trajectories meet a preset condition, at least two snapshot windows passed by the two partial trajectories are determined, and the at least two snapshot windows are controlled to be displayed on the display screen in split screens.

[0017] Furthermore, it also includes:

[0018] When the two snapshot windows are displayed in split screens on the display screen, obtaining a display instruction for returning one of the split screens to the first interface state;

[0019] Controlling the one split screen of the display screen to switch to a first interface state;

[0020] Obtaining, in the first interface state, a second operation gesture for at least two snapshot windows among the plurality of snapshot windows;

[0021] If the second operation gesture meets the split-screen gesture condition, the at least two snapshot windows are controlled to be displayed in split-screen on the one split screen of the display screen.

[0022] Further, the determining that the first gesture operation meets the split-screen gesture condition, and controlling the at least two snapshot windows to be displayed in split-screen on the display screen, includes:

[0023] Determining that the first gesture operation is a sliding operation, and an operation track of the sliding operation is a straight line or a broken line formed by two mutually perpendicular straight lines;

[0024] Determine that the sliding operation corresponds to at least three snapshot windows, and control the at least three snapshot windows to be displayed in split screens on a display screen.

[0025] Furthermore, it also includes:

[0026] Obtaining a third operation gesture;

[0027] If it is determined that the third operation gesture meets the split-screen closing gesture condition, controlling the at least two snapshot windows to be displayed on the display screen in split screen and closed;

[0028] or,

[0029] Obtain a split-screen closing instruction, and exit the split-screen display based on the split-screen closing instruction.

[0030] Further, the determining that the first gesture operation meets the split-screen gesture condition, and controlling the at least two snapshot windows to be displayed in split-screen on the display screen, includes:

[0031] If it is determined that the first operation track of the first gesture operation is two mutually perpendicular and intersecting straight lines, at least two snapshot windows adjacent to the two mutually perpendicular and intersecting straight lines are controlled to be displayed in split screen on the display screen.

[0032] Further, determining that the display screen is in the first interface state includes:

[0033] Determine at least one application that is in a running state on the electronic device and whose running time meets a preset time condition, and the at least one application is displayed on the display screen in the form of a snapshot window, then determine that the display screen is in a first interface state.

[0034] An electronic device, comprising:

[0035] Display screen;

[0036] A processor is used to determine that the display screen is in a first interface state, wherein the first interface state includes multiple snapshot windows; obtain a first gesture operation for at least two snapshot windows among the multiple snapshot windows; determine that the first gesture operation meets a split-screen gesture condition, and control the at least two snapshot windows to be displayed in split screen on the display screen.

[0037] It can be seen from the above technical solutions that the split-screen processing method and electronic device disclosed in the present application determine that the display screen is in the first interface state, the first interface state includes multiple snapshot windows, obtains a first gesture operation for at least two snapshot windows among the multiple snapshot windows, determines that the first gesture operation meets the split-screen gesture condition, and controls at least two snapshot windows to be displayed in split screen on the display screen. When the present solution performs split-screen display on the snapshot windows in the display screen, the split-screen display can be realized directly based on the first gesture operation that meets the split-screen gesture condition, without having to perform operations on the multiple snapshot windows that need to be split separately, thus reducing the operation process and improving the split-screen efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0038] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0039] Figure 1 A flowchart of a split-screen processing method disclosed in an embodiment of the present application;

[0040] Figure 2 A schematic diagram of a first interface state disclosed in an embodiment of the present application;

[0041] Figure 3A flowchart of a split-screen processing method disclosed in an embodiment of the present application;

[0042] Figure 4 A schematic diagram of a first operation track and multiple snapshot windows disclosed in an embodiment of the present application;

[0043] Figure 5 A schematic diagram of controlling split-screen display of two snapshot windows based on a first gesture operation disclosed in an embodiment of the present application;

[0044] Figure 6 A schematic diagram of controlling split-screen display of two snapshot windows based on a first gesture operation disclosed in an embodiment of the present application;

[0045] Figure 7 A schematic diagram of a first operation track and a snapshot window disclosed in an embodiment of the present application;

[0046] Figure 8 A flowchart of a split-screen processing method disclosed in an embodiment of the present application;

[0047] Fig. 9 A schematic diagram of two-part trajectory on a straight line disclosed in an embodiment of the present application;

[0048] Fig.10 A schematic diagram of controlling split-screen display of two snapshot windows based on two-part trajectories disclosed in an embodiment of the present application;

[0049] Fig.11 A schematic diagram of two-part trajectory on a straight line disclosed in an embodiment of the present application;

[0050] Fig.12 A schematic diagram of controlling split-screen display of two snapshot windows based on two-part trajectories disclosed in an embodiment of the present application;

[0051] Fig.13 A flowchart of a split-screen processing method disclosed in an embodiment of the present application;

[0052] Fig.14 A schematic diagram of a first operation trajectory consisting of two mutually perpendicular straight lines disclosed in an embodiment of the present application;

[0053] Fig.15 A schematic diagram of a first operation trajectory registered by two mutually perpendicular and intersecting straight lines disclosed in an embodiment of the present application;

[0054] Fig.16 A schematic diagram of the structure of an electronic device disclosed in an embodiment of the present application. DETAILED DESCRIPTION

[0055] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0056] This application discloses a split screen processing method, and its flow chart is as follows: Figure 1 As shown, including:

[0057] Step S11, determining that the display screen is in a first interface state, the first interface state including a plurality of snapshot windows;

[0058] Step S12: obtaining a first gesture operation for at least two snapshot windows among the multiple snapshot windows;

[0059] Step S13: determine that the first gesture operation meets the split-screen gesture condition, and control at least two snapshot windows to be displayed in split-screen on the display screen.

[0060] In this embodiment, the snapshot window to be split is determined based on the first gesture operation that meets the split-screen gesture condition, and then the split-screen display of the snapshot window to be split is realized. By adopting this method to realize splitting the screen, there is no need to perform selection operations on the snapshot windows to be split one by one, and the operation is simple.

[0061] In one possible implementation, the interface display state of the electronic device display screen can be monitored, which can be real-time monitoring or monitoring once at a preset interval. If it is determined that the interface display state of the electronic device display screen is the first interface state, at this time, the display interface of the display screen displays multiple snapshot windows, such as Figure 2 shown.

[0062] In one embodiment, the above-mentioned monitoring of the interface display state of the electronic device display screen can be determined by monitoring the triggering of a predetermined operation key, for example: monitoring a physical key or a virtual operation key corresponding to entering the display state.

[0063] Among them, determining that the display screen is in the first interface state can be: determining that at least one application on the electronic device is in a running state and the running time meets a preset time condition, and at least one application is displayed on the display screen in the form of a snapshot window, then determining that the display screen is in the first interface state.

[0064] That is, when the display screen is in the first interface state, the display interface of the display screen displays a snapshot window of at least one application, and only applications that are in a running state and whose running time meets the preset time condition will be displayed in the form of a snapshot window in the first display state. Therefore, the first interface state is actually the display screen displays a snapshot window of at least one application that is in a running state and whose running time meets the preset time condition.

[0065] If a first gesture operation is obtained for at least two snapshot windows among multiple snapshot windows when the display screen is in the first interface state, it is necessary to further determine whether the first gesture operation meets the split-screen gesture condition.

[0066] The split-screen gesture conditions are set in advance, and only when the first gesture operation meets the split-screen gesture conditions, can the split-screen display be performed directly based on the first gesture operation; if the first gesture operation does not meet the split-screen gesture conditions, it is determined whether the first gesture operation meets other gesture conditions, and the corresponding operation is performed based on the gesture conditions that it meets; or, if the first gesture operation does not meet any gesture condition, it can be determined that the first gesture operation is an erroneous operation and no response is given to it.

[0067] There may be multiple split-screen gesture conditions. When the first gesture operation meets different split-screen gesture conditions, different split-screen displays are performed.

[0068] For example: if the first gesture operation meets the first split-screen gesture condition, then based on its meeting the first split-screen gesture condition, the two snapshot windows can be controlled to perform a two-split-screen operation; if the first gesture operation meets the second split-screen gesture condition, then based on its meeting the second split-screen gesture condition, the three snapshot windows can be controlled to perform a three-split-screen operation, and so on.

[0069] Among them, at least two snapshot windows that perform split-screen display are determined based on a first gesture operation, and a first gesture operation is obtained. The first gesture operation is performed based on at least two snapshot windows among the multiple snapshot windows, such as: if the first gesture operation is adjacent to at least two snapshot windows, then when the first gesture operation meets the split-screen gesture condition, split-screen display is performed on the at least two snapshot windows; or, if the first gesture operation overlaps or contacts with at least two snapshot windows, then when the first gesture operation meets the split-screen gesture condition, split-screen display is performed on the at least two snapshot windows.

[0070] In one embodiment, a first operation track of the first gesture operation is determined, and if it is determined that the first operation track corresponds to at least two snapshot windows, the at least two snapshot windows are controlled to be displayed in split screens on the display screen.

[0071] The first gesture operation will correspond to a first operation trajectory, and at least two snapshot windows can be determined based on the first operation trajectory. The at least two snapshot windows corresponding to the first operation trajectory may be: if the first gesture operation is a gesture operation in contact with the display screen, then the first operation trajectory is an operation trajectory on the display screen, and the at least two snapshot windows corresponding to the first operation trajectory are: snapshot windows that the first operation trajectory passes through or are adjacent to the display screen; if the first gesture operation is a gesture operation that does not directly contact the display screen, then the first operation trajectory is an operation trajectory that does not contact the display screen, and the at least two snapshot windows corresponding to the first operation trajectory are: snapshot windows that the projection of the first operation trajectory on the display screen passes through or are adjacent to.

[0072] When controlling at least two snapshot windows to be displayed in split screen on the display screen, other windows except the at least two snapshot windows in the first interface state are not displayed on the display screen, and only the at least two snapshot windows displayed in split screen are displayed on the display screen. However, applications corresponding to other snapshot windows except the at least two snapshot windows among the multiple snapshot windows are still in a running state until a close operation is performed on the snapshot window, or an exit operation is directly performed on the application corresponding to the snapshot window, the corresponding snapshot window will be controlled to exit and will no longer be in a running state.

[0073] In addition, if it is determined that the interface display state of the electronic device display screen is not the first interface state, the current display interface may be: the display screen is in a normal display interface, such as: the main interface of the electronic device, or the secondary screen display interface, or the display interface of a certain application, etc. No matter which of the above the current display interface is, it will not display multiple snapshot windows. Therefore, no gesture operation for the snapshot window will be obtained. Even if a gesture operation is obtained at this time, it is not a gesture operation for the snapshot window, and the split-screen display operation will not be performed.

[0074] Alternatively, it may be: after obtaining the first gesture operation, the interface state of the display screen of the electronic device is obtained; if it is determined that the display screen is in the first interface state at this time, it is further determined whether the first gesture operation is a gesture operation for at least two snapshot windows in the first interface state; if the first gesture operation is a gesture operation for at least two snapshot windows among multiple snapshot windows, then when it is further determined that the first gesture operation meets the split-screen gesture condition, at least two snapshot windows are controlled to be displayed in split-screen on the display screen.

[0075] The split-screen processing method disclosed in this embodiment determines that the display screen is in a first interface state, the first interface state includes multiple snapshot windows, obtains a first gesture operation for at least two snapshot windows among the multiple snapshot windows, determines that the first gesture operation meets the split-screen gesture condition, and controls at least two snapshot windows to be displayed in split screen on the display screen. When the present solution performs split-screen display on the snapshot windows in the display screen, the split-screen display can be realized directly based on the first gesture operation that meets the split-screen gesture condition, without having to perform operations on the multiple snapshot windows that need to be split separately, thereby reducing the operation process and improving the split-screen efficiency.

[0076] This embodiment discloses a split screen processing method, and its flow chart is as follows: Figure 3 As shown, including:

[0077] Step S31, determining that the display screen is in a first interface state, the first interface state including a plurality of snapshot windows;

[0078] Step S32: obtaining a first gesture operation for at least two snapshot windows among the multiple snapshot windows;

[0079] Step S33, determining a first operation track of the first gesture operation;

[0080] Step S34: if it is determined that the first operation track includes two snapshot windows in the vertical direction, the two snapshot windows in the vertical direction of the first operation track are controlled to be displayed in split screens on the display screen.

[0081] When the display screen is in the first interface state, a first operation gesture is obtained, and a first operation track of the first operation gesture is determined. Since when the display screen is in the first interface state, multiple snapshot windows are displayed on the display screen, then when there is a first operation track, the direction of the first operation track is determined. The display screen here can be a touch screen, and the first operation track can be an operation track on the touch screen.

[0082] The direction of the first operation track may be a horizontal direction, a vertical direction, or an inclined direction.

[0083] No matter what direction the first operation track is, it will have a corresponding vertical direction, such as Figure 4 As shown in FIG. 1 , if the first operation track is 41, the vertical direction of the first operation track is the line connecting the two snapshot windows on the left and right sides of the first operation track 41. The two snapshot windows on the vertical direction of the first operation track are the two snapshot windows on the left and right sides of the first operation track 41. At this time, the two snapshot windows on the left and right sides of the first operation track 41 are directly controlled to be split-screen displayed on the display screen. The split-screen effect is as follows: Figure 5As shown, since the snapshot windows on the left and right sides of the first operation track 41 are the permission controller Chrome and YouTube respectively, the split-screen display of Chrome and YouTube is realized based on the first gesture operation of the first operation track 41;

[0084] If the first operation trajectory is Figure 4 The vertical direction of the first operation track is the line connecting the two snapshot windows on the upper and lower sides of the first operation track 42. The two snapshot windows on the vertical direction of the first operation track are the two snapshot windows on the upper and lower sides of the first operation track 42. At this time, the two snapshot windows on the upper and lower sides of the first operation track 42 are directly controlled to be split-screen displayed on the display screen. The split-screen effect is as follows: Figure 6 As shown, since the snapshot windows on the upper and lower sides of the first operation track 42 are YouTube and Play Store respectively, the split-screen display of YouTube and Play Store is achieved based on the first operation gesture of the first operation track 42.

[0085] Of course, it should be noted that no matter whether the direction of the first operation track is horizontal or vertical, it is necessary to further determine the snapshot window in the vertical direction based on the coverage of the first operation track. Figure 4 As shown in the first operation track 41 in the figure, the coverage of the first operation track 41 is the two snapshot windows of the permission controller Chrome and YouTube in the vertical direction, and the split-screen display of Chrome and YouTube is controlled based on the first operation track 41;

[0086] If Figure 7 As shown, the coverage of the first operation trajectory 71 includes both the two snapshot windows of the permission controller Chrome and YouTube in the vertical direction, as well as the two snapshot windows of Settings and Play Store in the vertical direction. However, the coverage of the two snapshot windows of Chrome and YouTube by the first operation trajectory 71 is obviously larger than the coverage of the two snapshot windows of Settings and Play Store. Therefore, the split-screen display of Chrome and YouTube is controlled based on the first operation trajectory 71.

[0087] Furthermore, the snapshot window displayed in split screen can be determined by the following method:

[0088] If it is determined that the first operation track is parallel to the boundaries of the two snapshot windows, and the distances between the first operation track and the boundaries of the two snapshot windows are respectively less than the first preset distances, the two snapshot windows are controlled to be displayed in split screens on the display screen.

[0089] That is, the snapshot window corresponding to the first operation track can also be determined by the distance between the first operation track and the border of the snapshot window. Each snapshot window has four borders. No matter which border of the snapshot window the first operation track is near, as long as the first operation track is parallel to one of the borders of the snapshot window and the distance between the first operation track and the border is less than the first preset distance, the application corresponding to the snapshot window can be controlled as one of the applications displayed on the split screen of the display screen.

[0090] When the first operation trajectory is located between two snapshot windows, as long as the distance between the first operation trajectory and a certain boundary of each of the two snapshot windows is less than the first preset distance, and the boundary is also parallel to the first operation trajectory, the display interface of the application corresponding to the two snapshot windows is controlled to be displayed on the split screen of the display screen, that is, the two-screen split of the display screen is realized.

[0091] The distance between the first operation track and the border of the snapshot window is less than the first preset distance, which means that the vertical distance between the first operation track and the border of the snapshot window is less than the first preset distance.

[0092] The split-screen processing method disclosed in this embodiment determines that the display screen is in a first interface state, the first interface state includes multiple snapshot windows, obtains a first gesture operation for at least two snapshot windows among the multiple snapshot windows, determines a first operation track of the first gesture operation, and if it is determined that the vertical direction of the first operation track includes two snapshot windows, controls the two snapshot windows in the vertical direction of the first operation track to be split-screen displayed on the display screen. When the snapshot windows in the display screen are split-screen displayed, this solution directly implements the split-screen of the above two snapshot windows based on the two snapshot windows in the vertical direction of the first operation track of the first gesture operation, without having to perform operations on the multiple snapshot windows that need to be split-screen separately, thereby reducing the operation process and improving the efficiency of split-screen.

[0093] This embodiment discloses a split screen processing method, and its flow chart is as follows: Figure 8 As shown, including:

[0094] Step S81, determining that the display screen is in a first interface state, the first interface state including a plurality of snapshot windows;

[0095] Step S82: obtaining a first gesture operation for at least two snapshot windows among the multiple snapshot windows;

[0096] Step S83, determining a first operation track of the first gesture operation;

[0097] Step S84: if it is determined that the first operation track includes two partial tracks, and the two partial tracks meet the preset condition, at least two snapshot windows through which the two partial tracks pass are determined, and the at least two snapshot windows are controlled to be displayed in split screens on the display screen.

[0098] When the display screen is in a first interface state, a first gesture operation is obtained. If a first operation trajectory of the first gesture operation is a two-part trajectory that meets a preset condition, and the two parts of the trajectory pass through at least two snapshot windows, then at least two snapshot windows passed by the two parts of the trajectory can be controlled to be displayed in split screen on the display screen.

[0099] Among them, the first operation trajectory meets the preset conditions, which can be: the first operation trajectory is: the movement trajectory of two touch points on the touch screen, and meets the preset conditions: the straight-line distance between the two touch points decreases, specifically: two fingers perform a pinch operation on the touch screen.

[0100] The two-part trajectory can be Fig. 9 or Fig.11 As shown, Fig. 9 In the figure, the first partial track 91 is generated by the movement of the first touch point and the second partial track 92 is generated by the movement of the second touch point. Before the movement starts, the straight-line distance between the position of the first touch point and the position of the second touch point is the farthest. As the first touch point and the second touch point move, the straight-line distance between the two points decreases, forming the first partial track and the second partial track. The first partial track 91 and the second partial track 92 belong to the same first operation track. The first gesture operation corresponding to the first operation track including the first partial track 91 and the second partial track 92 can be directly determined as an operation that meets the split-screen gesture condition. Based on the first partial track 91 and the second partial track 92, YouTube, which the first partial track 91 passes through, and the Play Store, which the second partial track 92 passes through, can be directly displayed in split screen on the display screen, such as Fig.10 shown.

[0101] In addition, when determining that the first operation trajectory includes two partial trajectories, that is, when the first operation trajectory is formed by the movement of two touch points, the trajectory directions of the first partial trajectory 91 and the second partial trajectory 92 may be ignored, that is, whether the straight-line distance between the first touch point and the second touch point decreases or increases with the movement of the touch point is ignored, and it is directly determined that the first gesture operation corresponding to the first operation trajectory including the first partial trajectory 91 and the second partial trajectory 92 meets the split-screen gesture condition; wherein, as the touch point moves, the straight-line distance between the first touch point and the second touch point decreases, which means that the two fingers are pinching together on the touch screen, and as the touch point moves, the straight-line distance between the first touch point and the second touch point increases, which means that the two fingers are moving away from each other on the touch screen.

[0102] Alternatively, it may also be: when determining that the first operation trajectory includes two partial trajectories, that is, when the first operation trajectory is formed by the movement of two touch points, it is necessary to further consider the trajectory directions of the first partial trajectory 91 and the second partial trajectory 92, that is, consider whether the straight-line distance between the first touch point and the second touch point decreases or increases with the movement of the touch point. Only when the straight-line distance between the first touch point and the second touch point decreases with the movement of the touch point, is it determined that the first gesture operation corresponding to the first operation trajectory including the first partial trajectory 91 and the second partial trajectory 92 meets the split-screen gesture condition.

[0103] In a specific scenario, when the display screen is in the first interface state, the user touches the display screen with two fingers. When the two fingers move toward each other, it can be determined that the operation of the two fingers moving toward each other meets the split-screen gesture condition, and the interface of the application corresponding to the snapshot window passed by the two fingers is controlled to be displayed in split screen on the display screen.

[0104] It can also be: Fig.11 As shown, the first partial track 111 is formed by the movement of the first touch point, and the second partial track 112 is formed by the movement of the second touch point. If the first partial track 111 and the second partial track 112 belong to the same first operation track, then the first partial track 111 and the second partial track 112 are obtained at the same time. Then, for the first partial track 111 and the second partial track 112 obtained at the same time, the first gesture operation corresponding to the first operation track including the first partial track 111 and the second partial track 112 can be directly determined as an operation that meets the split-screen gesture condition, and the display interface of the application corresponding to the Chrome snapshot window corresponding to the first partial track 111 and the display interface of the application corresponding to the Play Store snapshot window corresponding to the second partial track 112 are controlled to be displayed in split screen on the display screen, as shown in FIG. Fig.12 shown.

[0105] Furthermore, no matter whether the snapshot windows passed by the first partial trajectory and the second partial trajectory are two, three, or four, etc., the display interfaces corresponding to the multiple snapshot windows passed by the first partial trajectory and the second partial trajectory can be controlled to be displayed in split screen on the display screen, thereby realizing three-split screen or four-split screen.

[0106] For example: Fig. 9 As an example, if the display screen is in the first interface state, the display screen may present more than one snapshot window in one interface. Fig. 9The number of snapshot windows is not 4 as shown, but 6, that is, there are two snapshot windows above the row where YouTube and Chrome are located, or 9, that is, there are three snapshot windows on the left side of the column where Chrome and Settings are located. Then, the starting point of the second part track 92 can be the snapshot window above the snapshot window of YouTube, and the ending point of the second part track 92 is still located on the snapshot window of YouTube. Then, the snapshot windows passed by the second part track 92 include YouTube and the snapshot window above YouTube. At this time, the number of snapshot windows passed by the first part track 91 and the second part track 92 is at least 3, and the display interface controlling these 3 snapshot windows is displayed in split screen on the display screen;

[0107] Or, Fig.11 Taking the directions of the first and second partial tracks shown in as an example, if the display screen is in the first interface state, there are 9 or even more snapshot windows presented in one interface of the display screen, such as: there are two snapshot windows above the row where YouTube and Chrome are located, and there are three snapshot windows on the left side of the column where Chrome and Settings are located. The starting point of the first partial track 111 can be the snapshot window at the upper left corner of the Chrome snapshot window, and the ending point is still in the Chrome snapshot window. The snapshot windows passed by the first partial track 111 include the Chrome snapshot window and the snapshot window at the upper left corner of the Chrome snapshot window. At this time, the snapshot windows passed by the first partial track 111 and the second partial track 112 are 3, and the display interface controlling these 3 snapshot windows is displayed in split screen on the display screen.

[0108] The split-screen processing method disclosed in this embodiment determines that the display screen is in a first interface state, the first interface state includes multiple snapshot windows, obtains a first gesture operation for at least two snapshot windows among the multiple snapshot windows, determines a first operation trajectory of the first gesture operation, and if it is determined that the first operation trajectory includes two partial trajectories, the two partial trajectories are located on a straight line, determines at least two snapshot windows passed by the two partial trajectories, and controls at least two snapshot windows to be displayed in split screen on the display screen. When the snapshot windows in the display screen are split-screen displayed, this solution directly implements the split-screen of the above two snapshot windows based on the two snapshot windows passed by the first operation trajectory of the first gesture operation, without having to perform operations on the multiple snapshot windows that need to be split-screen separately, thereby reducing the operation process and improving the split-screen efficiency.

[0109] This embodiment discloses a split screen processing method, and its flow chart is as follows: Fig.13 As shown, including:

[0110] Step S131, determining that the display screen is in a first interface state, the first interface state including a plurality of snapshot windows;

[0111] Step S132: obtaining a first gesture operation for two snapshot windows among the multiple snapshot windows;

[0112] Step S133: determining that the first gesture operation meets the split-screen gesture condition, and controlling the two snapshot windows to be displayed in split-screen on the display screen;

[0113] Step S134: when the two snapshot windows are displayed in split screens on the display screen, obtaining a display instruction for returning one of the split screens to the first interface state;

[0114] Step S135, controlling one split screen of the display screen to switch to the first interface state;

[0115] Step S136: obtaining a second operation gesture for at least two snapshot windows among the multiple snapshot windows in the first interface state;

[0116] Step S137: If the second operation gesture meets the split-screen gesture condition, control at least two snapshot windows to be displayed in split-screen on one split screen of the display screen.

[0117] When the display interfaces of applications corresponding to two snapshot windows are displayed in the form of two split screens on the display screen, if you need to add a split screen so that the display interfaces of applications corresponding to three different snapshot windows are displayed on the display screen, you can exit the two-split screen in full screen, so that the display screen is still in the first interface state, and then split the screen again to achieve three-split screen of the full screen.

[0118] As in the above-mentioned embodiment, the display screen displays the display interface of the application corresponding to the first snapshot window and the display interface of the application corresponding to the second snapshot window, and the display screen is split into two screens in the form of upper and lower split screens or left and right split screens, such as Figure 5 At this time, if you want to add a display interface of the application corresponding to the snapshot window on the display screen, you can choose to exit the two-screen split and keep the display screen in the first interface state, such as Figure 2 As shown, in order to facilitate Figure 2 The screen is re-trimmed into three parts in the first interface state shown, such as: after the screen is re-trimmed into three parts, the display screen displays the display interface of the application corresponding to the first snapshot window, the display interface of the application corresponding to the second snapshot window, and the display interface of the application corresponding to the third snapshot window.

[0119] In another embodiment, in the case of a two-split screen, it is necessary to add a display interface of an application corresponding to a snapshot window. Then, one of the split screens can be directly controlled to exit the split-screen mode, so that the half-screen position of the display screen that exits the split-screen mode is in the first interface state, and a second gesture operation that meets the split-screen gesture condition is performed at the half-screen position, and the two snapshot windows are reselected, so that the two reselected snapshot windows are displayed in split screen at the half-screen position of the display screen that exits the split-screen mode, while the other half-screen position that has not exited the split-screen mode still displays the display interface displayed when the display screen is in the two-split screen mode.

[0120] As in the above-mentioned embodiment, the display screen displays the display interface of the application corresponding to the first snapshot window and the display interface of the application corresponding to the second snapshot window, and the display screen is split into two screens in the form of upper and lower split screens or left and right split screens, such as Figure 5 As shown, the display interface of the first snapshot window is displayed on the left half of the display screen, and the display interface of the second snapshot window is displayed on the right half of the display screen. When it is necessary to add a display interface of a snapshot window in the split-screen mode, the right half of the display screen where the display interface of the second snapshot window is located is selected, and a display instruction for returning the split screen to the first interface state is executed on the right half of the screen. Based on the display instruction, the right half of the display screen no longer displays the display interface of the second snapshot window, but is in the first interface state, that is, only the right half of the display screen is in the first interface state, and at this time, the left half of the display screen still displays the display interface of the first snapshot window.

[0121] Among them, the right half of the display screen is in the first interface state, and the multiple snapshot windows displayed in the first interface state do not include the first snapshot window, that is, the multiple snapshot windows displayed relative to the display screen in the first interface state lack the first snapshot window. This is because the display interface of the first snapshot window is currently displayed on the left half of the display screen. At this time, the first snapshot window is no longer needed in the multiple snapshot windows displayed in the right half of the screen, so as to reduce useless snapshot windows displayed when the right half of the screen is in the first interface state.

[0122] When the right half of the display screen is in the first interface state, a second operation gesture can be obtained, so as to control at least two snapshot windows related to the second operation gesture to be displayed in split screen on the right half of the display screen when the second operation gesture meets the split-screen gesture condition, so that the left half of the display screen displays the display interface of one snapshot window, and the right half of the display screen displays the display interface of at least two snapshot windows, thereby realizing split-screen display of the display interfaces of multiple snapshot windows, and being able to ensure that the snapshot window that requires split-screen display on a larger display screen directly occupies half of the display screen, so as to improve the user's split-screen experience.

[0123] In one embodiment, the second operation gesture can be performed on the right half of the display screen, and the second operation trajectory of the second operation gesture corresponds to at least two snapshot windows, then at least two snapshot windows are controlled to be displayed in split screen on the right half of the display screen.

[0124] In one embodiment, if the second operation trajectory of the second operation gesture includes at least two snapshot windows in the vertical direction, the at least two snapshot windows are controlled to be displayed in split screen on the right half of the screen of the display screen; or, if the second operation trajectory of the second operation gesture is parallel to the boundaries of the at least two snapshot windows, and the distance between the second operation trajectory and the boundaries of the at least two snapshot windows is respectively less than a second preset distance, the at least two snapshot windows are controlled to be displayed in split screen on the right half of the screen of the display screen, wherein the second preset distance is proportional to the first preset distance, such as: the first preset distance is twice the second preset distance; or, the second operation trajectory includes two partial trajectories, the two partial trajectories meet the preset conditions, at least two snapshot windows passed by the two partial trajectories are determined, and the at least two snapshot windows are controlled to be displayed in split screen on the right half of the screen of the display screen.

[0125] The second operation gesture may be the same as or different from the first operation gesture.

[0126] Among them, when the display screen is split, executing the display instruction corresponding to the half screen to return to the first interface state on the half screen can obtain the third operation gesture on the half screen.

[0127] In one embodiment, a third operation gesture is obtained. If it is determined that the third operation gesture meets the split-screen closing gesture condition, at least two snapshot windows are controlled to be closed on the split-screen display screen, and the split-screen display is exited.

[0128] That is, when half of the display screen displays a snapshot window display interface and the other half of the screen displays at least two snapshot windows display interfaces, if a third operation gesture is obtained and the third operation gesture meets the conditions for closing the split-screen gesture, the split-screen display of the display screen can be closed.

[0129] In one embodiment, if the third operation gesture meets the condition of closing the full-screen split-screen gesture, what is closed based on the third operation gesture is a half-screen of the display interface that displays one snapshot window, and also a half-screen of the display interface that displays at least two snapshot windows, that is, the full screen of the control display screen is not in a split-screen display state, and when exiting the full-screen split-screen display, the display screen can be in the first interface state, or in the main interface of the electronic device, or in the display interface display state of a certain application;

[0130] If the third gesture operation meets the condition of closing the half-screen split gesture, it can be further determined which half-screen the third gesture operation is for, such as determining which half-screen the operation track of the third gesture operation corresponds to. If the third gesture operation is for the half-screen where the display interface of a snapshot window is located, it is determined as the first half-screen, such as the left half-screen, then the first half-screen is controlled to no longer display the display interface of the snapshot window, but to be in the first interface state, display multiple snapshot windows, but the multiple snapshot windows displayed by the first half-screen in the first interface state do not include at least two snapshot windows displayed by the other half-screen of the display screen, such as at least two snapshot windows displayed by the second half-screen; if the third gesture operation is for the half-screen where the display interface of at least two snapshot windows is located, that is, the second half-screen, then the second half-screen is controlled to no longer display the display interface of at least two snapshot windows, but to be in the first interface state, display multiple snapshot windows, but the multiple snapshot windows displayed by the second half-screen in the first interface state do not include the snapshot window displayed by the first half-screen. Wherein, the first half-screen and the second half-screen are combined to form a display screen.

[0131] In addition, the third operation gesture for the full screen and the third operation gesture for the half screen can be the same, but the area corresponding to the third operation trajectory of the third operation gesture is different, so it controls the full screen or a half screen. For example: if the third operation trajectory passes through both the first half screen and the second half screen, it can be determined that the third operation trajectory is for the full screen of the display screen, and is used to control the full screen of the display screen to turn off the split screen display; if the third operation trajectory only passes through the first half screen, it can be determined that the third operation trajectory is for the first half screen of the display screen, and is only used to control the first half screen to turn off the split screen display; if the third operation trajectory only passes through the second half screen, it can be determined that the third operation trajectory is for the second half screen of the display screen, and is only used to control the second half screen to turn off the split screen display.

[0132] In addition, when the display screen is split, a display instruction for returning the split screen corresponding to the half screen to the first interface state is executed on the half screen, or a split screen closing instruction is directly obtained, so as to exit the split screen display based on the split screen closing instruction. The split screen closing instruction can be directly input by the user, for the full screen of the display screen, or for any half screen of the display screen.

[0133] Furthermore, to realize the three-part screen of the display screen, it is also possible to: determine that the first gesture operation is a sliding operation, the operation trajectory of the sliding operation is a straight line or a broken line composed of two mutually perpendicular straight lines, determine that the sliding operation corresponds to at least three snapshot windows, and control the at least three snapshot windows to be displayed in split screen on the display screen.

[0134] That is, when the display screen is in the first interface state in full screen, the display screen is directly controlled to be in a three-screen state, and the first operation trajectory can be a straight line, and there are three snapshot windows in the vertical direction of the straight line, such as: there are 2 snapshot windows on one side of the first operation trajectory and 1 snapshot window on the other side, then the three snapshot windows are controlled to be displayed in split screen on the display screen, that is, three-screen; or, the first operation trajectory which is a straight line is parallel to the boundaries of the three snapshot windows, and the distance between the first operation trajectory and the boundaries of the three snapshot windows is less than the first preset distance, then the three snapshot windows are controlled to be displayed in split screen on the display screen.

[0135] Alternatively, when the display screen is in the first interface state, the first operation track may be a broken line, which is composed of two straight lines perpendicular to each other, such as Fig.14 As shown, the first operation track 141 is a broken line composed of two mutually perpendicular straight lines. The vertical direction of the first straight line on the broken line includes two snapshot windows of Chrome and YouTube, and the vertical direction of the second straight line on the broken line includes two snapshot windows of YouTube and Play Store. Based on the broken line, the display interface of the three snapshot windows of Chrome, YouTube and Play Store can be controlled to split the screen into three parts on the display screen.

[0136] Alternatively, the first operation track includes two partial tracks, the two partial tracks meet a preset condition, and it is determined that the two partial tracks pass through three snapshot windows, then the three snapshot windows are controlled to be displayed in split screens on the display screen.

[0137] Furthermore, to realize the four-split screen of the display screen, it can be as follows: determine that the first operation trajectory of the first gesture operation is two mutually perpendicular and intersecting straight lines, and then control at least two snapshot windows adjacent to the two mutually perpendicular and intersecting straight lines to be split-screen displayed on the display screen.

[0138] like Fig.15 As shown, two perpendicular and intersecting straight lines are 151 and 152, wherein there are four snapshot windows adjacent to the straight line 151 and the straight line 152, namely: Chrome, YouTube, Settings and Play Store, and the above four snapshot windows are controlled to be split into four parts on the display screen.

[0139] Among them, being adjacent to two mutually perpendicular and intersecting straight lines may be: if the boundary of the snapshot window is parallel to any one of the two straight lines, and the distance between the boundary and the straight line is less than a first preset distance, then the snapshot window is determined to be adjacent to the straight line; or, if the snapshot window is located in the vertical direction of any one of the two straight lines, and the distance between a boundary of the snapshot window and a perpendicular straight line is within a certain preset distance; or, if any one of the two straight lines passes through the snapshot window, then the snapshot window is determined to be adjacent to the straight line.

[0140] It should be noted that the left half screen and the right half screen of the display screen described in this embodiment are exemplary descriptions, and may also be the upper half screen, the lower half screen, or only half screen, which is not specifically limited here.

[0141] The split-screen processing method disclosed in the present embodiment can, when the display screen is in a two-split-screen state, perform an operation of switching back to the first interface state on one of the split screens, and at the split-screen position switched back to the first interface state, still receive a second operation gesture that meets the split-screen gesture condition, so that at least two snapshot windows determined by the second operation gesture can be displayed in split screen at the split-screen position switched back to the first interface state, thereby realizing the state of switching from a two-split screen to a three-split screen or a four-split screen, and by switching from a two-split screen to a three-split screen or a four-split screen in this way, one split screen in the two-split screen state is always at the size of the two-split screen, and does not decrease with the increase of the split screen area.

[0142] This embodiment discloses an electronic device, and its structural diagram is as follows: Fig.16 As shown, including:

[0143] Display screen 161 and processor 162.

[0144] In one embodiment, the display screen may be a touch screen;

[0145] Among them, the processor 162 is used to determine that the display screen 161 is in a first interface state, the first interface state includes multiple snapshot windows, obtain a first gesture operation for at least two snapshot windows among the multiple snapshot windows, determine that the first gesture operation meets the split-screen gesture condition, and control at least two snapshot windows to be displayed in split screen on the display screen.

[0146] The electronic device disclosed in this embodiment is implemented based on the split-screen processing method disclosed in the above embodiment, which will not be described in detail here.

[0147] The electronic device disclosed in this embodiment determines that the display screen is in a first interface state, the first interface state includes multiple snapshot windows, obtains a first gesture operation for at least two snapshot windows among the multiple snapshot windows, determines that the first gesture operation meets the split-screen gesture condition, and controls the at least two snapshot windows to be displayed in split screen on the display screen. When the snapshot windows in the display screen are displayed in split screen, the present solution can realize the split-screen display directly based on the first gesture operation that meets the split-screen gesture condition, without having to perform operations on the multiple snapshot windows that need to be split screen separately, thereby reducing the operation process and improving the split-screen efficiency.

[0148] In this specification, each embodiment is described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the embodiments can be referred to each other. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the method part.

[0149] Professionals may further appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in the above description according to function. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professionals and technicians may use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0150] The steps of the method or algorithm described in conjunction with the embodiments disclosed herein may be implemented directly using hardware, a software module executed by a processor, or a combination of the two. The software module may be placed in a random access memory (RAM), a memory, a read-only memory (ROM), an electrically programmable ROM, an electrically erasable programmable ROM, a register, a hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.

[0151] The above description of the disclosed embodiments enables those skilled in the art to implement or use the present application. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, the present application will not be limited to the embodiments shown herein, but will conform to the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. A split screen processing method, comprising: Determining that the display screen is in a first interface state, wherein the first interface state includes a plurality of snapshot windows; Obtaining a first gesture operation for at least two snapshot windows among the plurality of snapshot windows; Determine that the first gesture operation meets the split-screen gesture condition, and control the at least two snapshot windows to be displayed in split-screen on the display screen.

2. The method according to claim 1, wherein: The determining that the first gesture operation meets the split-screen gesture condition, and controlling the at least two snapshot windows to be displayed in split-screen on the display screen, includes: Determine a first operation trajectory of a first gesture operation; If it is determined that the first operation track corresponds to at least two snapshot windows, the at least two snapshot windows are controlled to be displayed in split screens on the display screen.

3. The method according to claim 2, wherein: If it is determined that the first operation track corresponds to at least two snapshot windows, controlling the at least two snapshot windows to be displayed on the display screen in split screens includes: If it is determined that the first operation track includes two snapshot windows in the vertical direction, controlling the two snapshot windows in the vertical direction of the first operation track to be displayed on the display screen in split screen; or, If it is determined that the first operation track is parallel to the boundaries of the two snapshot windows, and the distances between the first operation track and the boundaries of the two snapshot windows are respectively less than first preset distances, the two snapshot windows are controlled to be displayed in split screens on the display screen.

4. The method according to claim 2, wherein: If it is determined that the first operation track corresponds to at least two snapshot windows, controlling the at least two snapshot windows to be displayed on the display screen in split screens includes: If it is determined that the first operation trajectory includes two partial trajectories and the two partial trajectories meet a preset condition, at least two snapshot windows passed by the two partial trajectories are determined, and the at least two snapshot windows are controlled to be displayed on the display screen in split screens.

5. The method according to claim 3 or 4, wherein: Also includes: When the two snapshot windows are displayed in split screens on the display screen, obtaining a display instruction for returning one of the split screens to the first interface state; Controlling the one split screen of the display screen to switch to a first interface state; Obtaining, in the first interface state, a second operation gesture for at least two snapshot windows among the plurality of snapshot windows; If the second operation gesture meets the split-screen gesture condition, the at least two snapshot windows are controlled to be displayed in split-screen on the one split screen of the display screen.

6. The method according to claim 1, wherein: The determining that the first gesture operation meets the split-screen gesture condition, and controlling the at least two snapshot windows to be displayed in split-screen on the display screen, includes: Determining that the first gesture operation is a sliding operation, and an operation track of the sliding operation is a straight line or a broken line formed by two mutually perpendicular straight lines; Determine that the sliding operation corresponds to at least three snapshot windows, and control the at least three snapshot windows to be displayed in split screens on a display screen.

7. The method according to claim 1, wherein: Also includes: Obtaining a third operation gesture; If it is determined that the third operation gesture meets the split-screen closing gesture condition, controlling the at least two snapshot windows to be displayed on the display screen in split screen and closed; or, Obtain a split-screen closing instruction, and exit the split-screen display based on the split-screen closing instruction.

8. The method according to claim 1, wherein: The determining that the first gesture operation meets the split-screen gesture condition, and controlling the at least two snapshot windows to be displayed in split-screen on the display screen, includes: If it is determined that the first operation track of the first gesture operation is two mutually perpendicular and intersecting straight lines, at least two snapshot windows adjacent to the two mutually perpendicular and intersecting straight lines are controlled to be displayed in split screen on the display screen.

9. The method according to claim 1, wherein: The step of determining that the display screen is in the first interface state includes: Determine at least one application that is in a running state on the electronic device and whose running time meets a preset time condition, and the at least one application is displayed on the display screen in the form of a snapshot window, then determine that the display screen is in a first interface state.

10. An electronic device comprising: Display screen; A processor, configured to determine that the display screen is in a first interface state, wherein the first interface state includes a plurality of snapshot windows; Obtain a first gesture operation for at least two snapshot windows among the multiple snapshot windows; determine that the first gesture operation meets a split-screen gesture condition, and control the at least two snapshot windows to be displayed in split-screen on the display screen.