CN110618769B - Application window processing method and device - Google Patents

Application window processing method and device Download PDF

Info

Publication number
CN110618769B
CN110618769B CN201910780176.6A CN201910780176A CN110618769B CN 110618769 B CN110618769 B CN 110618769B CN 201910780176 A CN201910780176 A CN 201910780176A CN 110618769 B CN110618769 B CN 110618769B
Authority
CN
China
Prior art keywords
display area
display
application window
display areas
sliding operation
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910780176.6A
Other languages
Chinese (zh)
Other versions
CN110618769A (en
Inventor
范威威
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN202111339038.8A priority Critical patent/CN114168047B/en
Priority to CN201910780176.6A priority patent/CN110618769B/en
Publication of CN110618769A publication Critical patent/CN110618769A/en
Application granted granted Critical
Publication of CN110618769B publication Critical patent/CN110618769B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04842Selection of displayed objects or displayed text elements
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04845Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range for image manipulation, e.g. dragging, rotation, expansion or change of colour
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/0485Scrolling or panning

Abstract

The embodiment of the application discloses an application window processing method and device, which are used for simply and quickly processing a plurality of application windows simultaneously. The method in the embodiment of the application comprises the following steps: when processing an application window displayed in a split screen, firstly, parameters of sliding operation triggered by a user on a screen are analyzed, so that at least two display areas in a plurality of display areas on the screen are determined according to an analysis result, then, according to the sliding operation of the user, the application windows respectively displayed in the determined at least two display areas are simultaneously processed, and therefore, when the application window is processed, only one-step sliding operation triggered by the user on the screen is needed, the user is not required to execute a plurality of steps to process the plurality of application windows, and the problems that the operation of the current user is complicated when the user processes the plurality of application windows and the experience is poor are solved.

Description

Application window processing method and device
Technical Field
The present application relates to the field of mobile terminals, and in particular, to a method and an apparatus for processing an application window.
Background
With the continuous development of intelligent terminals, the functions of terminals are more and more abundant, applications installed on terminals are more and more, and with the popularization of intelligent terminal devices such as folding screens, double screens and large screens, the scenes that a user uses the applications to split screens on the intelligent terminal devices are more and more, therefore, when the user opens multiple applications on the same intelligent terminal device by splitting screens at the same time, the situation that the multiple application windows need to be processed at the same time may be met, but at present, the user often needs to execute multiple steps to process the multiple application windows.
For example, when a user performs an exchange between two application windows, at least three steps need to be performed, that is, first, one of the application windows needs to be closed to exit the split-screen function, so that the other application window occupies a full-screen display position, then, the split-screen function of the intelligent terminal is opened, and then, the closed application window is re-opened and displayed at an original display position of the other application window, so as to implement the exchange between the display positions of the two application windows.
For another example, when exiting multiple application windows, a user can only exit each application window one by one, and cannot exit multiple application windows simultaneously. Therefore, the operation of simply and quickly processing a plurality of application windows simultaneously cannot be realized on the same intelligent terminal device at present, and a user is often required to execute a plurality of steps to process the plurality of application windows, so that the problems of complicated user operation and poor experience are caused.
Disclosure of Invention
The embodiment of the application window processing method and device is used for solving the problems of complex operation and poor experience when a plurality of application windows are processed in the prior art.
In a first aspect, the present application provides an application window processing method, which may be applied to a mobile terminal, and the method includes: when the mobile terminal performs split-screen display, firstly, a sliding operation triggered by a user is received, wherein the split-screen display refers to displaying a plurality of application windows in a plurality of display areas, such as an application window a and an application window B which are simultaneously opened in a split-screen mode in two display areas on the mobile terminal device shown in fig. 1. Then, the mobile terminal analyzes parameters contained in the received sliding operation triggered by the user, so as to determine at least two display areas from the plurality of display areas according to the analysis result. And then, the mobile terminal simultaneously processes the application window corresponding to each display area in the at least two determined display areas according to the received sliding operation triggered by the user.
Compared with the prior art, the method and the device have the advantages that the user only needs to trigger one-step sliding operation on the screen, and the user does not need to execute multiple steps to process multiple application windows, so that the problems that the operation of the user is complex and the experience is poor when the user processes the multiple application windows at present are solved. In one possible implementation, the sliding operation is a multi-touch point sliding operation.
In the embodiment of the application, the sliding operation triggered by the user and received by the mobile terminal is the sliding operation of the multiple touch points, so that the multi-mode processing of the application window can be realized according to the analysis result through the analysis of the sliding operation of the multiple touch points, and the operation experience of the user is improved conveniently.
In a possible implementation manner, the at least two display areas determined by the mobile terminal according to the sliding operation triggered by the user include a first display area and a second display area.
Then, simultaneously processing the application window corresponding to each of the at least two display areas according to the sliding operation includes: and exchanging the first application window displayed in the first display area and the second application window displayed in the second display area according to the sliding operation.
In the embodiment of the application, the mobile terminal can directly exchange the first application window displayed in the first display area and the second application window displayed in the second display area according to the sensed one-step sliding operation triggered by the user on the screen, so that the user experience is improved. Furthermore, the determination of at least two display areas from the plurality of display areas according to the parameters of the sliding operation may have the following three possible implementations:
in a first way, the parameters of the sliding operation include the starting point position of the multi-touch point.
Then, determining at least two display regions from the plurality of display regions according to the parameter of the sliding operation includes: when the starting point positions of the multi-touch points are located in two display areas of the plurality of display areas, the two display areas are respectively determined as a first display area and a second display area. By the method, when the starting point position of the multi-touch point is located in the two display areas, the mobile terminal can directly determine the two display areas as the first display area and the second display area, and the determination efficiency is high.
On this basis, a possible design is that exchanging the first application window displayed by the first display area and the second application window displayed by the second display area according to the sliding operation includes: and when the multiple touch points all reach the preset area, exchanging a first application window displayed in the first display area and a second application window displayed in the second display area. Therefore, by setting the designated area on the mobile terminal in advance, the mobile terminal can exchange the first application window displayed by the determined first display area and the second application window displayed by the second display area only by judging that the multi-contact simultaneously reaches the designated area in the sliding process, and the user experience is improved.
In an optional embodiment, after identifying the two display regions as the first display region and the second display region, respectively, the method further includes: and displaying an area mark for identifying the preset area. Therefore, the corresponding area mark is displayed in the preset area to inform the user that the area is the designated area for triggering the exchange of the application window, so that the user can conveniently click the preset area to realize the exchange of the application window.
Another possible design is that the sliding direction of the touch point with the starting point located in the first display area is the same as or opposite to the sliding direction of the touch point with the starting point located in the second display area. By judging the sliding directions of the multiple touch points, whether the sliding operation of the user triggers the function of exchanging the application windows can be further judged, and when the sliding of the corresponding touch points in the first display area and the second display area is judged to be the same or opposite, the operation of exchanging the application windows is triggered.
Yet another possible design is that the parameters of the sliding operation also include the location of the end point of the multi-touch point.
Then, swapping the first application window displayed in the first display area and the second application window displayed in the second display area according to the sliding operation includes: determining a straight line according to the starting point position and the ending point position of each touch point in the multi-touch points; and when the straight lines corresponding to each touch point in the multi-touch point are intersected, exchanging a first application window displayed in the first display area and a second application window displayed in the second display area. Therefore, whether the first application window displayed in the first display area and the second application window displayed in the second display area are exchanged or not can be determined only by judging whether straight lines where sliding tracks of the touch points are located intersect or not through the mobile terminal, a plurality of steps are not required to be triggered by a user, and user experience is improved.
In a second way, the parameters of the sliding operation include the start point position and the end point position of the multi-touch point.
Then, determining at least two display regions from the plurality of display regions according to the parameter of the sliding operation includes: when the starting point positions of the multi-touch points are all located in one of the display areas, and the ending point positions of the multi-touch points are all located in the other display area, determining one display area as a first display area, and determining the other display area as a second display area. Therefore, the mobile terminal can directly determine the two display areas as the first display area and the second display area when judging that the starting point positions of the multi-touch points are all located in the same display area and the end point positions are all located in the other same display area, and the determination efficiency is high.
In a third way, the parameters of the sliding operation include the starting point position and the sliding direction of the multi-touch point.
Then, determining at least two display regions from the plurality of display regions according to the parameter of the sliding operation includes: when the starting point positions of the multiple touch points are all located in one of the display areas, and the sliding directions of the multiple touch points point to the other display area in the display areas, determining the one display area as a first display area, and determining the other display area as a second display area. Therefore, the mobile terminal can directly determine the two display areas as the first display area and the second display area when judging that the starting point positions of the multiple touch points are all located in the same display area and the sliding directions of the multiple touch points point to the other same display area, and the determination efficiency is high.
On the basis, a possible design is that when the starting point positions of the multi-touch points are all located in one of the display areas, the method further comprises: and floating the application window displayed in one of the display areas, and moving the floating application window according to the multi-touch point sliding operation.
In this embodiment of the application, when the starting point positions of the multiple touch points are all located in one of the display areas, the application window displayed in the display area may be floated, and the floating window is moved along with the sliding of the multiple touch points, so as to give a visual feeling to a user, and prompt that the floating window may be exchanged with a window to which a sliding operation is directed.
Another possible design is that, when the starting point positions of the multi-touch points are all located in one of the display areas, the method further includes: floating the application window displayed in one of the display areas, and moving the floating application window according to the multi-touch point sliding operation; and when the superposed area of the floating application window and the application window in the other display area in the plurality of display areas is larger than or equal to the preset area, determining the other display area as a second display area.
In the embodiment of the application, when the starting point position of the multi-touch point is located in one of the display areas, the display area can be determined as a first display area, the application window displayed in the first display area is floated, the floating window is moved along with the sliding of the multi-touch point, when the overlapping area of the floating window and the application window displayed in another display area reaches a preset value, the display area is determined as a second display area, the exchange between the application window displayed in the display area and the floating window is triggered, so as to give a visual feeling to a user, when the sliding operation of one display area to the other display area is triggered, and the area of the floating application window and the area of the non-floating application window in the two display areas reach the preset overlapping area, the exchange of the two application windows can be realized, the operation steps of the user are simplified, and the user experience is improved.
In one possible implementation, the processing, according to the sliding operation, the application window corresponding to each of the at least two display regions simultaneously includes: and simultaneously exiting the application window corresponding to each display area in the at least two display areas according to the sliding operation.
In the embodiment of the application, the mobile terminal can exit the application window corresponding to each display area in the at least two display areas simultaneously according to the sensed one-step sliding operation triggered by the user on the screen, and the user experience is improved without performing multi-step operation.
In addition, the application window corresponding to each of the at least two display areas simultaneously exits according to the sliding operation, and there may be three possible implementation manners as follows:
in a first mode, the parameters of the sliding operation include the starting point positions of the multi-touch points, and the starting point positions of the multi-touch points are located in at least two display areas.
Then, exiting the application window corresponding to each of the at least two display areas simultaneously according to the sliding operation includes: and when the end point positions of the multi-touch points are all located in the preset area, simultaneously exiting the application window corresponding to each display area in the at least two display areas. Therefore, by setting the designated area on the mobile terminal in advance, the mobile terminal can exit the application window correspondingly displayed in each display area of the determined at least two display areas simultaneously only by judging that the end point positions of the multi-contact points in the sliding process are all located in the designated area, and a user does not need to execute a plurality of steps, so that the user experience is improved.
Based on this, an optional embodiment is that, after determining at least two display areas from the plurality of display areas according to the parameter of the sliding operation, the method further comprises: and displaying an area mark for identifying the preset area. Therefore, the corresponding area mark is displayed in the preset area to inform the user that the area is the designated area for triggering and quitting the application window at the same time, so that the user can conveniently click the preset area to quit the application window at the same time.
One possible design is that the sliding directions of the multiple touch points are the same or opposite. Through the judgment of the sliding directions of the multiple touch points, whether the sliding operation of the user triggers the function of simultaneously exiting the application windows can be further judged, and when the sliding directions of the multiple touch points are judged to be the same or opposite, the operation of simultaneously exiting the application windows is triggered.
The second way is that the parameters of the sliding operation include the starting point position and the ending point position of the multi-touch point, the starting point position of the multi-touch point is located in one of the at least two display areas, and the ending point position of the multi-touch point is located in the other display areas of the at least two display areas respectively.
In the embodiment of the application, the mobile terminal can determine that the starting point positions of the multiple touch points are all located in one of the at least two display areas through parameter analysis of sliding operation, the end point positions of the multiple touch points are respectively located in other display areas of the at least two display areas, at this moment, the at least two display areas can be determined, the determination efficiency is high, and meanwhile, the operation of exiting the application windows corresponding to each display area of the at least two display areas simultaneously is triggered, namely, the application windows can be simultaneously exited without a user executing multiple operation steps, and user experience is improved.
One possible design is that, when the parameters of the sliding operation include a start point position and an end point position of the multi-touch point, exiting the application window corresponding to each of the at least two display areas simultaneously according to the sliding operation includes: and when the straight lines corresponding to each touch point in the multi-touch points are intersected, simultaneously exiting the application window corresponding to each display area in the at least two display areas.
In the embodiment of the application, when the parameters of the sliding operation include the start point position and the end point position of the multi-touch point, a straight line can be determined according to the start point position and the end point position of each touch point in the multi-touch point, and when the straight line corresponding to each touch point in the multi-touch point is judged to be intersected, the application window corresponding to each display area in the at least two display areas can be simultaneously withdrawn, a user does not need to execute a plurality of operation steps, and user experience is improved.
Another possible design is that the parameters of the sliding operation include a start point position and an end point position of the multi-touch points, the number of the multi-touch points is greater than or equal to three, and when the straight lines corresponding to each touch point in the multi-touch points intersect, exiting the application window corresponding to each display area in the at least two display areas simultaneously includes: when the straight lines corresponding to each touch point in the multi-touch points are intersected pairwise and the intersection points are located in a circle with a preset radius, the application window corresponding to each display area in the at least two display areas exits at the same time.
In the embodiment of the application, the parameters of the sliding operation comprise the starting point position and the ending point position of the multi-touch points, the number of the multi-touch points is more than or equal to three, whether the intersection point of the straight lines corresponding to each touch point is within the preset range can be distinguished by using a circle with a preset radius, if the intersection point of every two intersected straight lines corresponding to each touch point is within the critical range (namely the circle with the preset radius), the application windows corresponding to each of the at least three display areas can be simultaneously exited, otherwise, if the intersection points of the pairwise intersecting straight lines corresponding to each touch point are not all located within the critical range (i.e., the circle with the preset radius), the simultaneous exiting of the multiple application windows cannot be realized, therefore, the user does not need to execute a plurality of operation steps, the simultaneous exit of a plurality of application windows can be realized, and the user experience is improved.
The third mode is that the parameters of the sliding operation comprise the starting point position and the sliding direction of the multi-touch point, the starting point position of the multi-touch point is located in one of the at least two display areas, and the sliding direction of the multi-touch point points to the other display areas in the at least two display areas.
In this embodiment, the sliding operation triggered by the user is to slide from one display area to another display area, and then parameters included in the sliding operation of the user can be obtained by analyzing the sliding track and the extension line thereof, after the mobile terminal analyzes the parameters of the sliding operation, when it is determined that the starting point positions of the multi-touch points are both located in one of the at least two display areas, and the sliding directions of the multi-touch points respectively point to other display areas of the at least two display areas, at this time, the at least two display areas can be determined, the determination efficiency is higher, and at the same time, it is also indicated that the operation of simultaneously exiting the application windows corresponding to each of the at least two display areas is triggered, that is, the application windows can be simultaneously exited without the user performing multiple operation steps, the user can exit the application window corresponding to each display area in the at least two display areas at the same time only by triggering the sliding operation of sliding from one display area to the other display areas on the screen, so that the operation steps of the user are simplified, and the user experience is improved.
In a second aspect, the present application further provides an application window processing apparatus, which may be applied to a mobile terminal, and the apparatus includes: the receiving unit is used for receiving sliding operation triggered by a user during split screen display; the split screen display is that a plurality of application windows are displayed in a plurality of display areas; a determination unit configured to determine at least two display areas from the plurality of display areas according to a parameter of the sliding operation; and the processing unit is used for simultaneously processing the application window corresponding to each display area in the at least two display areas according to the sliding operation.
In one possible implementation, the sliding operation is a multi-touch point sliding operation.
In one possible implementation, the at least two display regions include a first display region and a second display region;
the processing unit is specifically configured to: and exchanging the first application window displayed in the first display area and the second application window displayed in the second display area according to the sliding operation.
In one possible implementation, the parameter of the sliding operation includes a starting point position of the multi-touch point;
the determination unit is specifically configured to: when the starting point positions of the multi-touch points are located in two display areas of the plurality of display areas, the two display areas are respectively determined as a first display area and a second display area.
In a possible implementation manner, the processing unit is specifically configured to: and when the multiple touch points all reach the preset area, exchanging a first application window displayed in the first display area and a second application window displayed in the second display area.
In a possible implementation manner, the apparatus further includes: and the first display unit is used for displaying an area mark for marking the preset area after the two display areas are respectively confirmed as the first display area and the second display area.
In one possible implementation manner, the sliding direction of the touch point with the starting point position located in the first display area is the same as or opposite to the sliding direction of the touch point with the starting point position located in the second display area.
In a possible implementation manner, the parameters of the sliding operation further include the position of an end point of the multi-touch point;
the processing unit includes: the straight line determining subunit is used for determining a straight line according to the starting point position and the ending point position of each touch point in the multi-touch points; and the window exchanging subunit is used for exchanging the first application window displayed in the first display area and the second application window displayed in the second display area when the straight lines corresponding to each touch point in the multi-touch points are intersected.
In one possible implementation, the parameters of the sliding operation include the starting point position and the ending point position of the multi-touch point;
the determination unit is specifically configured to: when the starting point positions of the multi-touch points are all located in one of the display areas, and the ending point positions of the multi-touch points are all located in the other display area, determining one display area as a first display area, and determining the other display area as a second display area.
In a possible implementation manner, the parameters of the sliding operation include the starting point position and the sliding direction of the multi-touch point;
the determination unit is specifically configured to: when the starting point positions of the multiple touch points are all located in one of the display areas, and the sliding directions of the multiple touch points point to the other display area in the display areas, determining one of the display areas as a first display area, and determining the other display area as a second display area.
In one possible implementation manner, when the starting point positions of the multiple touch points are located in one of the multiple display areas, the apparatus further includes: and the first floating unit is used for floating the application window displayed in one of the display areas and moving the floating application window according to the multi-touch point sliding operation.
In one possible implementation manner, when the starting point positions of the multiple touch points are located in one of the multiple display areas, the apparatus further includes: the second floating unit is used for floating the application window displayed in one of the display areas and moving the floating application window according to the multi-touch point sliding operation; and the area determining unit is used for determining the other display area as the second display area when the superposed area of the floating application window and the application window in the other display area in the plurality of display areas is larger than or equal to the preset area.
In a possible implementation manner, the processing unit is specifically configured to: and simultaneously exiting the application window corresponding to each display area in the at least two display areas according to the sliding operation.
In one possible implementation, the parameters of the sliding operation include a starting point position of the multi-touch point, and the starting point position of the multi-touch point is located in at least two display areas.
In a possible implementation manner, the processing unit is specifically configured to: and when the end point positions of the multi-touch points are all located in the preset area, simultaneously exiting the application window corresponding to each display area in the at least two display areas.
In a possible implementation manner, the apparatus further includes: a second display unit for displaying a region mark for identifying the preset region after determining at least two display regions from the plurality of display regions according to the parameter of the sliding operation.
In one possible implementation, the sliding directions of the multiple touch points are the same or opposite.
In one possible implementation, the parameters of the sliding operation include the starting point position and the ending point position of the multi-touch point; the starting point positions of the multi-touch points are all located in one of the at least two display areas, and the end point positions of the multi-touch points are respectively located in the other display areas of the at least two display areas.
In a possible implementation manner, the parameters of the sliding operation include the starting point position and the sliding direction of the multi-touch point; the starting point positions of the multiple touch points are all located in one of the at least two display areas, and the sliding directions of the multiple touch points point to other display areas in the at least two display areas.
In one possible implementation, the parameters of the sliding operation include the starting point position and the ending point position of the multi-touch point;
the processing unit is specifically configured to: and when the straight lines corresponding to each touch point in the multi-touch points are intersected, simultaneously exiting the application window corresponding to each display area in the at least two display areas.
In one possible implementation, the number of the multi-touch points is greater than or equal to three;
the processing unit is specifically configured to: when the straight lines corresponding to each touch point in the multi-touch points are intersected pairwise and the intersection points are located in a circle with a preset radius, the application window corresponding to each display area in the at least two display areas exits at the same time.
In a third aspect, the present application further provides an application window processing apparatus, including: a memory, a processor and a control unit,
a memory to store instructions; and the processor is used for executing the instructions in the memory and executing the method.
In a fourth aspect, the present application also provides a computer-readable storage medium comprising instructions which, when run on a computer, cause the computer to perform the above-described method.
According to the technical scheme, the embodiment of the application has the following advantages:
when the application window displayed in the split screen is processed, firstly, parameters of sliding operation triggered by a user on the screen are analyzed, so that at least two display areas in a plurality of display areas on the screen are determined according to an analysis result, then, the application windows respectively and respectively displayed in the determined at least two display areas are simultaneously processed according to the sliding operation, and therefore, when the application window is processed, only one-step sliding operation triggered by the user on the screen is needed, the user is not required to execute a plurality of steps to process the plurality of application windows, and the problems that the operation of the current user is complicated when the application window is processed, and the experience is poor are solved.
Drawings
FIG. 1 is a diagram of a current two-screen swap application window;
FIG. 2 is a flow chart illustrating a current two-screen swap application window;
fig. 3 is a flowchart of an application window processing method according to an embodiment of the present application;
fig. 4 is one of schematic diagrams illustrating a first application window displayed by exchanging a first display area and a second application window displayed by exchanging the first display area and the second display area according to an embodiment of the present application;
fig. 5 is a second schematic diagram of swapping a first application window displayed in a first display area and a second application window displayed in a second display area according to an embodiment of the present application;
fig. 6 is a third schematic diagram illustrating swapping a first application window displayed in a first display area and a second application window displayed in a second display area according to an embodiment of the present application;
fig. 7 is a fourth schematic diagram illustrating swapping a first application window displayed in a first display area and a second application window displayed in a second display area according to an embodiment of the present application;
fig. 8 is a fifth schematic diagram illustrating a first application window displayed by exchanging a first display area and a second application window displayed by exchanging a second display area according to an embodiment of the present application;
fig. 9 is a sixth schematic diagram illustrating a first application window displayed by exchanging a first display area and a second application window displayed by exchanging a second display area according to an embodiment of the present application;
fig. 10 is a seventh schematic diagram illustrating a first application window displayed by swapping a first display area and a second application window displayed by a second display area according to an embodiment of the present application;
fig. 11 is an eighth schematic diagram illustrating a first application window displayed by swapping a first display area and a second application window displayed by a second display area according to an embodiment of the present application;
FIG. 12 is a schematic diagram illustrating an application window exiting from each of at least two display areas simultaneously according to an embodiment of the present application;
FIG. 13 is a second schematic diagram of an application window exiting from each of at least two display areas simultaneously according to an embodiment of the present application;
fig. 14 is a third schematic diagram of an application window exiting from each of at least two display areas simultaneously according to the embodiment of the present application;
FIG. 15 is a fourth schematic diagram illustrating an application window exiting from each of at least two display areas simultaneously according to an embodiment of the present application;
fig. 16 is a block diagram illustrating an application window processing apparatus according to an embodiment of the present application;
fig. 17 is a schematic structural diagram of an application window processing device according to an embodiment of the present application.
Detailed Description
The embodiment of the application window processing method and device is used for realizing simple and quick application window exchange on a mobile terminal so as to improve the operation experience of a user.
Embodiments of the present application are described below with reference to the accompanying drawings.
At present, more and more scenes of using split screens of applications by a user on a mobile terminal exist, and when the user opens a plurality of application windows on the same mobile terminal device in a split screen mode, a plurality of steps are often required to be executed to process the plurality of application windows. For example, as shown in fig. 1, when the display positions of an application window a and an application window B that are simultaneously opened in a split-screen manner on a mobile terminal device are exchanged, a user is generally required to operate multiple steps on the mobile terminal device, resulting in a poor user experience. Specifically, as shown in fig. 2, in the process of exchanging the application window a and the application window B, firstly, a user is required to drag a display area dividing line (which refers to a boundary between a display area where the application window a is located and a display area where the application window B is located) on a screen to the left, close the application window a, reserve the application window B, and enable the application window B to occupy a full-screen display position, then, open a split-screen display function of the mobile terminal device, and then, reopen the closed application window a, and display the closed application window a at an original display position of the application window B, so as to implement the exchange of the application window a and the application window B.
For another example, for an application window a and an application window B that are simultaneously opened in a split-screen manner as shown in the left diagram of fig. 1, when exiting the application window a and the application window B, a user is usually required to exit the application window a first and then exit the application window B, or exit the application window B first and then exit the application window a, that is, simple and convenient operation cannot be implemented, and the application window a and the application window B are simultaneously exited, thereby causing the problems of complicated user operation and poor experience.
In order to solve the above problem, the present application provides an application window processing method, which can implement simple and fast processing of multiple application windows simultaneously. Specifically, parameters of sliding operation triggered by a user on a screen can be analyzed firstly, so that at least two display areas in a plurality of display areas on the screen are determined according to an analysis result, then, according to the sliding operation of the user, application windows respectively displayed in the at least two determined display areas are processed simultaneously, and therefore, when the application windows are processed, only one step of sliding operation triggered by the user on the screen is needed, the user is not required to execute a plurality of steps to process the plurality of application windows, and the problems that the operation is complicated and the experience is poor when the user processes the plurality of application windows at present are solved.
Referring to fig. 3, which shows a flowchart of an application window processing method provided in an embodiment of the present application, the method may be applied to a mobile terminal, and specifically may include the following steps:
s301: receiving sliding operation triggered by a user during split screen display; wherein the split screen display is to display a plurality of application windows in a plurality of display areas.
In this embodiment, when processing a plurality of application windows displayed on a split screen, the mobile terminal first needs to receive a sliding operation triggered by a user on a screen of the mobile terminal, where the sliding operation may be a sliding operation of a single touch point, for example, the user may touch a whole finger on the screen to implement a single-finger sliding operation triggered by the screen, or alternatively, the sliding operation triggered by the user may also be a sliding operation of a multi-touch point, for example, a two-finger sliding operation or a multi-finger sliding operation triggered by the user on the screen, and then, the sliding operation may be analyzed through subsequent steps to simultaneously implement processing of the plurality of application windows according to an analysis result.
It should be noted that, displaying an application window on a mobile terminal in a split-screen manner refers to displaying multiple application windows in multiple display areas on the screen, that is, when displaying in a split-screen manner, the screen of the mobile terminal may be divided into multiple display areas, and a unique application window is displayed in each display area.
For example, the following steps are carried out: as shown in fig. 1, when the application window a and the application window B are displayed on the mobile terminal in a split-screen manner, the screen of the mobile terminal may be divided into two display areas, and each display area correspondingly displays a unique application window, as shown in the left side diagram of fig. 1, the application window a may be displayed in the left side display area of the mobile terminal, and the application window B may be displayed in the right side display area of the mobile terminal, or as shown in the right side diagram of fig. 1, the application window B may be displayed in the left side display area of the mobile terminal, and the application window a may be displayed in the right side display area of the mobile terminal.
S302: at least two display regions are determined from the plurality of display regions according to the parameter of the sliding operation.
In this embodiment, during split-screen display, after receiving the sliding operation triggered by the user in step S301, the sliding operation may be further analyzed to obtain each parameter included in the sliding operation, and according to a value of each parameter, at least two different display areas corresponding to the parameters are determined from the plurality of display areas of the mobile terminal.
When the sliding operation triggered by the user is a multi-touch-point sliding operation, parameters included in the sliding operation can be obtained through analysis of the sliding operation, and different sliding operations correspondingly include different parameters, for example, values of the parameters specifically include the following three implementation manners:
the first may include the starting point location of the multi-touch point; the second type may include a start point location and an end point location of the multi-touch point; a third may include a start point position and a sliding direction of the multi-touch point.
Further, at least two different display areas can be determined according to three different values of the analyzed parameters, and the detailed implementation process of determining the at least two different display areas according to the three different values of the parameters of the sliding operation can be referred to in the detailed description of the following embodiments.
It should be noted that the value of the parameter is not limited to only include the above three implementation manners, and those skilled in the art may determine other implementation manners according to actual situations, which is not limited in the embodiment of the present application.
S303: and simultaneously processing the application window corresponding to each display area in the at least two display areas according to the sliding operation.
In this embodiment, after the at least two different display areas are determined according to the parameters of the sliding operation in step S302, the application window corresponding to each of the at least two display areas may be processed simultaneously according to the sliding operation triggered by the user.
It should be noted that, when the sliding operation triggered by the user is the multi-touch-point sliding operation, the sliding operation may include the three different parameters introduced in step S302, and determine at least two display areas according to different parameter values, on this basis, the application window corresponding to each of the at least two display areas may be processed simultaneously according to the sliding operation triggered by the user.
Specifically, in the specific implementation process of step S303, the process of processing the application window corresponding to each of the at least two display regions simultaneously may be divided into two scenarios, one scenario is to exchange the application window corresponding to each of the at least two display regions, and the other scenario is to exit the application window corresponding to each of the at least two display regions simultaneously, and the specific implementation processes of the two scenarios may respectively refer to the descriptions of the following embodiments.
In summary, in the application window processing method provided in this embodiment, when processing an application window displayed on a split screen, first, parameters of a sliding operation triggered by a user on a screen are analyzed to determine at least two display areas in a plurality of display areas on the screen according to an analysis result, and then, according to the sliding operation of the user, the application windows respectively displayed in the at least two determined display areas are simultaneously processed.
Next, this embodiment will describe a specific implementation procedure of a scene of "simultaneously process an application window corresponding to each of the at least two display regions according to the sliding operation" in step S303, that is, a specific implementation procedure of a scene of "exchanging an application window corresponding to each of the at least two display regions according to the sliding operation" will be described.
In this embodiment, an optional implementation manner is that the at least two display areas determined in step S302 may include a first display area and a second display area; then, step S303 specifically includes: and exchanging a first application window displayed in the first display area and a second application window displayed in the second display area according to the sliding operation.
Specifically, in this implementation manner, after receiving a sliding operation triggered by a user, the sliding operation may be further analyzed to obtain each parameter included in the sliding operation, and according to a value of each parameter, two different display areas corresponding to the parameters are determined from a plurality of display areas of the mobile terminal and are respectively defined as the first display area and the second display area. Then, the first application window displayed in the first display area and the second application window displayed in the second display area can be exchanged according to the sliding operation triggered by the user.
It should be noted that, when the sliding operation triggered by the user is the multi-touch-point sliding operation, the parameter value of the sliding operation may include three different implementation manners introduced in the step S302, and then the corresponding first display area and the second display area may be determined according to different parameter values, on this basis, the first application window displayed in the first display area and the second application window displayed in the second display area may be further exchanged according to the sliding operation triggered by the user.
Next, this embodiment will describe three specific implementation processes of determining the first display area and the second display area through step S302, and a specific implementation process of step S303 (that is, exchanging the first application window displayed in the first display area and the second application window displayed in the second display area according to the sliding operation triggered by the user) corresponding to each implementation process:
(1) in a first implementation manner of this embodiment, after analyzing the received sliding operation triggered by the user, the obtained parameter of the sliding operation may include a starting point position of the multi-touch point, and then step S302 may include: when the starting point positions of the multi-touch points are located in two display areas of the plurality of display areas, the two display areas are respectively determined as a first display area and a second display area.
In this implementation manner, the parameters of the sliding operation include starting point positions of the multi-touch points, and when two starting point positions of the starting point positions are respectively located in two display areas of the multiple display areas on the screen, the two display areas can be respectively determined as the first display area and the second display area.
For example, the following steps are carried out: as shown in fig. 4, a user performs a two-finger sliding operation on the mobile terminal device by using a thumb and an index finger, and in the sliding operation of two touch points corresponding to the thumb and the index finger, starting point positions of the two touch points corresponding to the thumb and the index finger are respectively located in a left display area and a right display area of the screen, and then the two display areas can be respectively determined as a first display area and a second display area.
Further, after the first display area and the second display area are determined in the above manner, the implementation process of step S303 (that is, exchanging the first application window displayed in the first display area and the second application window displayed in the second display area according to the sliding operation triggered by the user) may include: and when the multiple touch points all reach the preset area, exchanging a first application window displayed in the first display area and a second application window displayed in the second display area.
Specifically, after the first display area and the second display area are determined in the above manner, it can be further determined whether each touch point slides to a preset area after starting from the starting point of the display area where the touch point is located, and if yes, the first application window displayed in the first display area and the second application window displayed in the second display area can be exchanged; if not, no exchange is performed. The preset area refers to a preset position area for triggering the exchange of the application window, and the area can be identified by using guidance contents such as characters, symbols, pictures and the like so as to prompt a user that the position area is the preset position area for triggering the exchange window.
Thus, an alternative implementationIn this way, after the first display area and the second display area are determined, an area mark for identifying the preset area may be displayed, for example, a character "swap application" or a symbol of a double arrow may be displayed on the preset area
Figure BDA0002176315940000111
The method comprises the steps of marking the preset area as an appointed position area for triggering two application windows to be exchanged, and further exchanging a first application window displayed in the first display area and a second application window displayed in the second display area when each touch point slides to the preset area.
For example, the following steps are carried out: based on the above example, as shown in fig. 4, after the first display area and the second display area are determined, the preset area above the screen dividing line may be marked with a character "swap application" to identify the preset area as a designated location area for triggering the swap of the application window a and the application window B, so that when both the thumb and the index finger of the user slide to the preset area "swap application" along the direction indicated by the arrow in fig. 4, the application window a and the application window B may be swapped.
Therefore, the two application windows can be exchanged only by triggering the sliding operation on the screen by the user, so that the operation steps of the user are simplified, and the user experience is improved.
It should be noted that after the first display area and the second display area are determined, the area mark for identifying the preset area may not be directly displayed, but the area mark of the preset area is displayed only when it is detected that the multiple touch points all slide to the preset area, so as to prompt the user to trigger the specified touch operation, for example, when the multiple touch points all slide to the preset area, the area mark text "swap application" of the preset area may be displayed, so as to inform the user that the operation of swapping the application window has been triggered, thereby implementing the swap of the first application window displayed in the first display area and the second application window displayed in the second display area.
It should be further noted that, in the embodiment of the present application, a display form of the area mark of the preset area is not limited, for example, characters, pictures, symbols, and the like may be used as the area mark, or the area mark of the preset area may not be displayed, and a specific display manner and display content may be set according to an actual situation, which is not limited in the embodiment of the present application.
Or after the first display area and the second display area are determined in the above manner, the sliding direction of each touch point after sliding from the starting point of the display area where the touch point is located can be further determined. Specifically, after the sliding track of the finger of the user is acquired, the sliding direction of the touch point with the starting point located in the first display area and the sliding direction of the touch point with the starting point located in the second display area can be obtained by analyzing the sliding track, and when the two sliding directions are judged to be the same, it indicates that the user has triggered the operation of exchanging the application windows, and the first application window displayed in the first display area and the second application window displayed in the second display area can be exchanged.
In a specific judgment process, whether the angle between the two sliding directions is smaller than a preset angle threshold value or not can be judged by analyzing the sliding track of the finger of the user, if so, the two sliding directions can be judged to be in the same direction (such as upward, downward, leftward and rightward, or in the same direction, such as upward and upward directions) so as to exchange the application windows. The preset angle threshold refers to a critical value used for distinguishing whether the sliding directions are the same, if the angle between the two sliding directions is smaller than the critical value, it can be determined that the two sliding directions are in the same direction, and further the exchange of the application windows can be performed, otherwise, it can be determined that the two sliding directions are not in the same direction, and further the exchange of the application windows cannot be performed.
For example, the following steps are carried out: as shown in the four diagrams in fig. 5, the user performs a two-finger sliding operation on the mobile terminal device with the thumb and the index finger, and if it is determined that the sliding direction of the thumb touch point with the starting point position located in the first display area (left display area) is the same as the sliding direction of the index finger touch point with the starting point position located in the second display area (right display area) in the sliding operation of the two touch points corresponding to the thumb and the index finger (the sliding directions shown in the four diagrams in fig. 5 are respectively the same direction, and the same direction), the application window a and the application window B may be exchanged.
Correspondingly, if the sliding tracks of the fingers of the user are analyzed, and the two sliding directions are determined to be opposite, it is further determined whether the sliding distance between the two touch points exceeds a preset distance threshold, if so, it is indicated that the user triggers an operation of exchanging the application windows, and the first application window displayed in the first display area and the second application window displayed in the second display area can be exchanged, and if not, the application windows are not exchanged. The preset distance threshold refers to a critical value used for distinguishing whether to perform application window exchange, if the sliding distance exceeds the critical value, the application window exchange is performed, otherwise, the application window exchange is not performed, it should be noted that a specific value of the preset distance threshold may be set according to an actual situation, which is not limited in the embodiment of the present application.
For example, the following steps are carried out: as shown in fig. 6 and 7, a user performs a two-finger sliding operation on a mobile terminal device by using a thumb and an index finger, if, in the sliding operation of two touch points corresponding to the thumb and the index finger, it is determined that a sliding direction of a thumb touch point whose starting point is located in a first display area (left display area) is opposite to a sliding direction of an index finger touch point whose starting point is located in a second display area (right display area) (both sliding directions point to a dividing line in fig. 6 and both sliding directions face away from the dividing line in fig. 7), and further, after it is determined that a sliding distance between the two touch points exceeds a preset distance threshold, for example, exceeds the preset distance threshold by 2 cm, it may indicate that the user has triggered an operation of exchanging an application window, and may exchange the application window a and the application window B.
Therefore, the user can realize the exchange of the two application windows on the screen only by triggering the sliding operation in the same direction or the reverse direction on the screen, thereby simplifying the operation steps of the user and improving the user experience.
Or, after the first display area and the second display area are determined in the above manner, when the parameters of the sliding operation further include the end point position of the multi-touch point, the implementation process of step S303 (that is, exchanging the first application window displayed in the first display area and the second application window displayed in the second display area according to the sliding operation triggered by the user) may include: determining a straight line according to the starting point position and the ending point position of each touch point in the multi-touch points; and when the straight lines corresponding to each touch point in the multi-touch point are intersected, exchanging a first application window displayed in the first display area and a second application window displayed in the second display area.
Specifically, after the first display area and the second display area are determined in the above manner, an end point position corresponding to each touch point can be further detected according to a sliding track of each touch point in the multi-touch points, at this time, a straight line can be determined according to the detected end point position and start point position corresponding to each touch point, and then whether the straight lines corresponding to each touch point intersect or not is determined, if yes, the first application window displayed in the first display area and the second application window displayed in the second display area can be exchanged; if not, no exchange is performed.
For example, the following steps are carried out: as shown in fig. 8, after the first display area and the second display area are determined, when two end point positions obtained by sliding the user along the arrow direction by using the thumb and the index finger are detected, a straight line can be further determined by using the end point position and the start point position corresponding to the thumb, and another straight line can be determined by using the end point position and the start point position corresponding to the index finger, so that when the two straight lines are determined to intersect, the application window a and the application window B can be exchanged.
Therefore, the two application windows can be exchanged only by triggering the sliding operation on the screen by the user, so that the operation steps of the user are simplified, and the user experience is improved.
(2) In a second implementation manner of this embodiment, after analyzing the received sliding operation triggered by the user, the obtained parameters of the sliding operation may include a start point position and an end point position of the multi-touch point, and then step S302 may include: when the starting point positions of the multi-touch points are all located in one of the display areas, and the end point positions of the multi-touch points are all located in the other display area, determining one display area as a first display area, and determining the other display area as a second display area.
In this implementation manner, if the sliding operation triggered by the user is to slide from one display area to another display area, the parameters of the sliding operation may include the starting point position and the ending point position of the multi-touch points, at this time, the same display area to which the starting point positions of the multi-touch points belong may be determined as the first display area, and the other same display area to which the ending point positions of the multi-touch points belong may be determined as the second display area; alternatively, the same display region to which the start point positions of the multi-touch points belong may be determined as the second display region, and the other same display region to which the end point positions of the multi-touch points belong may be determined as the first display region.
For example, the following steps are carried out: as shown in fig. 9, it is assumed that the user simultaneously touches the display area of the application window a with the index finger and the middle finger, i.e., "selects" the display area of the application window a, and slides to the right in the direction indicated by the arrow in the figure until both the index finger and the middle finger slide to the display area of the application window B. In the sliding operation, the starting point positions of the index finger and the middle finger are both located in the left display area, and the ending point positions are both located in the right display area, at this time, the left display area to which the application window a belongs may be determined as the first display area, and the right display area to which the application window B belongs may be determined as the second display area; alternatively, the left display area to which the application window a belongs may be determined as the second display area, and the right display area to which the application window B belongs may be determined as the first display area.
Further, after the first display area and the second display area are determined in the above manner, the implementation process of step S303 (that is, exchanging the first application window displayed in the first display area and the second application window displayed in the second display area according to the sliding operation triggered by the user) may include: if the starting point positions of the multi-touch points are all located in the first display area, after the ending point positions of the multi-touch points are detected to be all located in the second display area, triggering the operation of exchanging the application windows, and exchanging the first application window displayed in the first display area and the second application window displayed in the second display area; or if the starting point positions of the multi-touch points are all located in the second display area, after the ending point positions of the multi-touch points are detected to be all located in the first display area, triggering the operation of exchanging the application windows, and exchanging the first application window displayed in the first display area and the second application window displayed in the second display area.
For example, the following steps are carried out: based on the above example, as shown in fig. 9, if it is determined that the left display area to which the application window a belongs is the first display area, the right display area to which the application window B belongs is the second display area, and the user simultaneously touches the display area to which the application window a belongs with the index finger and the middle finger (as shown by the hand shape of the solid line frame in fig. 9), that is, "selecting" the left display area to which the application window a belongs, and sliding rightward along the direction indicated by the arrow in the drawing until the index finger and the middle finger both slide to the display area to which the application window B belongs (as shown by the hand shape of the dotted line frame in fig. 9), at this time, it can be detected that the end point positions of the two touch points corresponding to the index finger and the middle finger both lie in the second display area, an operation of exchanging the application window is triggered, and the application window a and the application window B can be exchanged.
Therefore, the user can realize the exchange of the two application windows displayed in the two display areas by triggering the sliding operation from one display area to the other display area on the screen, thereby simplifying the operation steps of the user and improving the user experience.
(3) In a third implementation manner of this embodiment, after analyzing the received sliding operation triggered by the user, the obtained parameters of the sliding operation may include a start point position and a sliding direction of the multi-touch point, and then step S302 may include: when the starting point positions of the multiple touch points are all located in one of the display areas, and the sliding directions of the multiple touch points point to the other display area in the display areas, determining one of the display areas as a first display area, and determining the other display area as a second display area.
In this implementation manner, if the sliding operation triggered by the user slides from one display area to another display area, parameters included in the sliding operation of the user can be obtained by analyzing the sliding track and the extension line thereof, where the parameters may include the starting point position and the sliding direction of the multi-touch points, at this time, the same display area to which the starting point positions of the multi-touch points belong may be determined as the first display area, and another display area to which the sliding directions of the multi-touch points all point is determined as the second display area; alternatively, the same display region to which the starting point positions of the multiple touch points belong may be determined as the second display region, and another display region to which the sliding directions of the multiple touch points point may be determined as the first display region.
For example, the following steps are carried out: as shown in the left diagram of fig. 10, it is assumed that the user simultaneously touches the display area where the application window a is located with the index finger and the middle finger, i.e., "selects" the display area where the application window a is located, and slides to the right in the direction indicated by the arrow in the figure. By analyzing the sliding track and the extension line thereof, the starting point positions of the index finger and the middle finger are both positioned in the left display area, and the sliding directions of the index finger and the middle finger both point to the right display area, at this time, the left display area to which the application window A belongs can be determined as a first display area, and the right display area to which the application window B belongs can be determined as a second display area; alternatively, the left display area to which the application window a belongs may be determined as the second display area, and the right display area to which the application window B belongs may be determined as the first display area.
Further, after the first display area and the second display area are determined in the above manner, the implementation process of step S303 (that is, exchanging the first application window displayed in the first display area and the second application window displayed in the second display area according to the sliding operation triggered by the user) may include: when the starting point positions of the multiple touch points are all located in the first display area, after the sliding track and the extension lines thereof are analyzed, if the sliding directions of the touch points are all pointed to the second display area, the operation of exchanging application windows is triggered, and the first application window displayed in the first display area and the second application window displayed in the second display area can be exchanged; or when the starting point positions of the multiple touch points are all located in the second display area, after the sliding track and the extension lines thereof are analyzed, if the sliding directions of the touch points are all directed to the first display area, the operation of exchanging the application windows is triggered, and the second application window displayed in the second display area and the first application window displayed in the first display area can be exchanged.
For example, the following steps are carried out: based on the above example, as shown in the left diagram of fig. 10, if it is determined that the left display area to which the application window a belongs is the first display area, the right display area to which the application window B belongs is the second display area, and the user touches the display area to which the application window a belongs with the index finger and the middle finger at the same time, that is, "selects" the left display area to which the application window a belongs, and slides rightward along the direction indicated by the arrow in the diagram, it may be determined that the sliding directions of the touch points all point to the second display area, and then an operation of exchanging the application window is triggered, and the application window a and the application window B may be exchanged.
Alternatively, as shown in the right-side diagram of fig. 10, if it is determined that the left display area to which the application window a belongs is the first display area, the display area below the right side to which the application window C belongs is the second display area, and the user touches the display area to which the application window a belongs with the index finger and the middle finger at the same time, that is, "selects" the left display area to which the application window a belongs, and slides along the lower-right direction indicated by the arrow in the diagram, it may be determined that the sliding directions of the touch points all point to the second display area (that is, the display area to which the application C belongs), an operation of exchanging the application window is triggered, and the application window a and the application window C may be exchanged.
Therefore, the user can realize the exchange of the two application windows displayed by the two display areas by only triggering the sliding operation of sliding from one display area to the other display area on the screen, thereby simplifying the operation steps of the user and improving the user experience.
In addition, in the process of exchanging the application windows according to the second implementation manner or the third implementation manner, when it is determined that the starting point positions of the multiple touch points are all located in one of the display areas, one possible implementation manner may be that the application window displayed in the one of the display areas is floated, and the floated application window is moved according to the sliding operation of the multiple touch points.
In the present embodiment, when the user "selects" one of the plurality of display regions with the multi-finger and slides from the display region to another display region when exchanging the application windows in the second or third implementation, the application window in the "selected" display region may be floated and moved to another display region in the sliding direction of the sliding operation, or the application window in the display region indicated by the sliding direction may be floated and moved in the direction of the "selected" display region, and the exchange of the two application windows displayed in the two display regions may be realized.
For example, the following steps are carried out: as shown in fig. 11, if it is determined that the left display area to which the application window a belongs is a display area touched by the user with the index finger and the middle finger at the same time, that is, a "selected" display area, and the sliding operation of the user is to slide rightward in the direction indicated by the arrow in the figure, at this time, the application window a in the "selected" display area may be floated and moved to the right display area in the sliding direction of the sliding operation, or the application window B in the right display area indicated by the sliding direction may be floated and moved in the direction of the "selected" left display area (not shown in fig. 11), and the application window a and the application window B may be exchanged.
In addition, another implementation manner is provided in the embodiments of the present application, when it is determined that the starting point positions of the multiple touch points are all located in one of the multiple display areas, the application window displayed in the one of the multiple display areas may be floated, the floated application window is moved according to a sliding operation of the multiple touch points, and in the moving process, when an area where the floated application window is overlapped with an application window in another one of the multiple display areas is greater than or equal to a preset area, the another one of the multiple display areas is determined as the second display area.
In this implementation manner, a user may "select" one of the display regions with multiple fingers as a first display region, and along with a sliding operation of the multiple fingers of the user, float an application window in the "selected" first display region, move the application window to another display region along a sliding direction of the sliding operation, and during the moving process, when an area of the moved floating application window overlapping with an application window in another display region is greater than or equal to a preset area, determine the other display region as a second display region. The preset area refers to a critical value for distinguishing the first display area from the second display area, if the area of the application window in the other display area superimposed on the floating application window exceeds the critical value, the other display area may be determined as the second display area, otherwise, the other display area may not be determined as the second display area, it should be noted that a specific value of the preset area may be set according to an actual situation, which is not limited in the embodiment of the present application.
For example, the following steps are carried out: as shown in fig. 11, if the left display region touched by the user with the index finger and the middle finger at the same time, that is, the "selected" display region, is used as the first display region, and the sliding operation of the user is to slide rightward in the direction indicated by the arrow in the figure, the application window a in the "selected" display region may be floated and moved to the right display region in the sliding direction of the sliding operation, and, during the movement, when the area of the application window a superimposed on the application window B in the right display region is greater than or equal to the preset area, the right display region may be determined as the second display region.
Further, when the first display area and the second display area are determined through the above method, an operation of exchanging the application windows may be triggered, that is, the first application window displayed in the first display area and the second application window displayed in the second display area may be exchanged.
For example, the following steps are carried out: based on the above example, as shown in fig. 11, in the moving process of the floating application window a, when the area overlapped with the application window B in the right display area is greater than or equal to the preset area, the operation of exchanging the application windows is also triggered while the right display area is determined as the second display area, that is, the application window a and the application window B may be exchanged at this time.
Therefore, the user can realize the exchange of the two application windows displayed in the two display areas by triggering the sliding operation from one display area to the other display area on the screen, thereby simplifying the operation steps of the user and improving the user experience.
In summary, in the application window processing method provided in this embodiment, when performing position exchange on an application window displayed on a split screen, parameters of a sliding operation triggered by a user on the screen are first analyzed to determine two display areas in different display areas on the screen according to an analysis result, and then two application windows respectively corresponding to the two determined display areas are exchanged according to the sliding operation triggered by the user.
Next, this embodiment will describe a specific implementation procedure of another scenario of "simultaneously processing an application window corresponding to each of the at least two display areas according to a sliding operation" in step S303.
In this embodiment, step S303 may specifically include: and simultaneously exiting the application window corresponding to each display area in the at least two display areas according to the sliding operation.
Specifically, after at least two different display areas are determined according to the parameters of the sliding operation in step S302, the application window corresponding to each of the at least two display areas may be simultaneously exited according to the sliding operation triggered by the user.
It should be noted that, when the sliding operation triggered by the user is the multi-touch-point sliding operation, the parameter value of the sliding operation may include three different implementation manners introduced in the step S302, and then at least two display areas may be determined according to different parameter values, on this basis, the application window corresponding to each display area in the at least two display areas may be simultaneously exited according to the sliding operation triggered by the user.
Next, this embodiment will describe three specific implementation processes of determining the at least two display regions in step S302 and a specific implementation process of step S303 corresponding to each implementation process (i.e., simultaneously exiting the application window corresponding to each display region in the at least two display regions according to the sliding operation):
(1) in a first implementation manner of this embodiment, after analyzing the received sliding operation triggered by the user, the obtained parameter of the sliding operation may include a starting point position of the multi-touch point, and then step S302 may include: and determining at least two display areas from the plurality of display areas to which the starting point positions of the multi-touch points belong, namely, the starting point positions of the multi-touch points are positioned in the at least two display areas.
For example, the following steps are carried out: as shown in the left diagram of fig. 12, the user performs a two-finger sliding operation on the mobile terminal device by using the thumb and the index finger, and in the sliding operation of the two touch points corresponding to the thumb and the index finger, the starting point positions corresponding to the thumb and the index finger are respectively located in the left display area and the right upper display area of the screen, that is, the starting point positions of the two touch points corresponding to the thumb and the index finger are located in two different display areas; or, as shown in the right diagram of fig. 12, the user performs a three-finger sliding operation on the mobile terminal device by using the thumb, the index finger and the middle finger, and in the sliding operation of the touch points corresponding to the three fingers, the starting point position corresponding to the thumb is located in the left display area of the screen, the starting point position corresponding to the index finger is located in the display area above the right side of the screen, and the starting point position corresponding to the middle finger is located in the display area below the right side of the screen, that is, the starting point positions of the three touch points corresponding to the thumb, the index finger and the middle finger are located in three different display areas.
Further, after determining at least two display areas where the starting point positions of the multi-touch points are located in the above manner, the implementation process of step S303 (i.e. exiting the application window corresponding to each of the at least two display areas simultaneously according to the sliding operation) may include: and when the end point positions of the multi-touch points are all located in the preset area, simultaneously exiting the application window corresponding to each display area in the at least two display areas.
Specifically, after at least two display areas where the starting point positions of the multi-touch points are located are determined through the above method, it can be further determined whether the corresponding end point positions are preset areas after each touch point starts to slide from the starting point position of the display area where the touch point is located, and if so, the application window corresponding to each display area in the at least two display areas can be simultaneously exited; and if not, not performing the operation of simultaneously exiting the application windows. The preset area refers to a preset position area for triggering simultaneous exit of the application window, and the area can be identified by using guidance contents such as characters, symbols, pictures and the like so as to prompt a user that the position area is the preset position area for triggering simultaneous exit of the application window.
Therefore, an optional implementation manner is that after at least two display areas are determined, an area mark for indicating the preset area may be displayed, for example, a text "exit at the same time" may be displayed in the preset area to identify that the preset area is a designated position area for triggering simultaneous exit of multiple application windows, and then when an end point position corresponding to each touch point is located in the preset area, an application window corresponding to each display area in the at least two display areas may exit at the same time.
For example, the following steps are carried out: based on the above example, as shown in the left diagram of fig. 12, after two different display areas where the start point positions of two touch points corresponding to the thumb and the index finger are located are determined, the preset area above the screen dividing line may be marked with a text "exit at the same time" to identify the preset area as a designated area for triggering simultaneous exit of the application window a and the application window B, so that when the thumb and the index finger of the user slide to the preset area "exit at the same time" along the direction indicated by the arrows in the diagram (i.e. the end point positions of the two touch points corresponding to the thumb and the index finger are both located in the preset area "exit at the same time"), the application window a and the application window B may exit at the same time.
Alternatively, based on the above example, as shown in the right-side diagram of fig. 12, after three different display areas where the starting point positions of the three touch points corresponding to the thumb, the index finger and the middle finger are located are determined, a preset area below the screen dividing line may be marked with a character "exit at the same time" to identify the preset area as a designated position area for triggering the simultaneous exit of the application window a, the application window B and the application window C, so that when the thumb, the index finger and the middle finger of the user respectively slide to the preset area "exit at the same time" along the direction indicated by the arrows in the diagram (i.e. the end point positions of the three touch points corresponding to the thumb, the index finger and the middle finger are all located in the preset area "exit at the same time"), the application window a, the application window B and the application window C may be exited at the same time.
Therefore, the user can quit at least two application windows simultaneously only by triggering the sliding operation on the screen, so that the operation steps of the user are simplified, and the user experience is improved.
It should be noted that after at least two display areas are determined, an area mark for identifying a preset area may not be directly displayed, but when it is detected that the end point positions of the multi-touch points triggered by the user are all located in the preset area, the area mark of the preset area is displayed to prompt the user to trigger a specified touch operation, for example, when the end point positions of the multi-touch points triggered by the user are all located in the preset area, the area mark characters of the preset area may be displayed as "exit at the same time" to inform the user that the operation of exiting the application windows at the same time has been triggered, so that the application windows corresponding to each of the at least two display areas are simultaneously exited.
It should be further noted that, in the embodiment of the present application, a display form of the area mark of the preset area is not limited, for example, characters, pictures, symbols, and the like may be used as the area mark, or the area mark of the preset area may not be displayed, and a specific display manner may be set according to an actual situation, which is not limited in the embodiment of the present application.
Or after the first display area and the second display area are determined in the above manner, the sliding direction of each touch point in the sliding operation can be obtained.
Specifically, after the sliding track of the finger of the user is acquired, whether the sliding directions of the multiple touch points are the same or opposite can be judged by analyzing the sliding track, if so, the user is indicated to trigger the operation of exiting the application window simultaneously, and the application window corresponding to each of the at least two display areas can be exited simultaneously; and if not, not performing the operation of simultaneously exiting the application windows. For a specific judgment manner, reference may be made to the related content of the specific implementation manner in the above "implementation of application window swapping" in the embodiment (1), and fig. 5, fig. 6, and fig. 7, which are not described herein again.
Therefore, the user can quit the application window corresponding to each display area in the at least two display areas at the same time only by triggering the same-direction or reverse-direction sliding operation on the screen, so that the operation steps of the user are simplified, and the user experience is improved.
(2) In a second implementation manner of this embodiment, after analyzing the received sliding operation triggered by the user, the obtained parameters of the sliding operation may include a start point position and an end point position of a multi-touch point, where the start point position of the multi-touch point is located in one of the at least two display areas, and the end point position of the multi-touch point is located in the other display areas of the at least two display areas, respectively.
For example, the following steps are carried out: as shown in fig. 13, it is assumed that the user touches the display area of the application window a with the thumb and the index finger at the same time, i.e., "selects" the display area of the application window a (as shown by the hand shape of the solid line box in fig. 13), and slides to the display area of the application window B and the display area of the application window C respectively in the direction indicated by the arrows in the figure until the thumb slides to the display area of the application window B and the index finger slides to the display area of the application window C (as shown by the hand shape of the dashed line box in fig. 13). It can be seen that, in the sliding operation, the starting point positions of the respective touch points corresponding to the thumb and the index finger are located in the left display area, and the ending point positions are located in the right upper display area and the right lower display area, respectively, at this time, the three display areas can be determined as the three display areas determined by the application according to the parameters of the sliding operation.
And when the at least two display areas are determined through the above method, it can also be determined that the starting point positions of the multi-touch points are all located in one of the at least two display areas, and the ending point positions of the multi-touch points are respectively located in the other display areas of the at least two display areas, at this time, it indicates that the operation of exiting the application windows corresponding to each of the at least two display areas simultaneously is triggered, that is, the application windows can be simultaneously exited.
For example, the following steps are carried out: based on the above example, as shown in fig. 13, while the three display areas are determined in the above manner, it may also be determined that the starting point positions of the touch points corresponding to the thumb and the index finger of the user are both located in the left display area of the three display areas, and the ending point positions are respectively located in the upper right display area and the lower right display area of the three display areas, at this time, it indicates that an operation of exiting the application windows corresponding to the three display areas at the same time is triggered, that is, exiting the application window a, the application window B, and the application window C at the same time may be implemented.
Therefore, the user can simultaneously quit the application window corresponding to each display area in the display areas only by triggering the sliding operation from one display area to other display areas on the screen, so that the operation steps of the user are simplified, and the user experience is improved.
Or, while at least two display areas are determined by the above method, a straight line can be determined according to the start point position and the end point position of each touch point in the multi-touch points; and when the straight lines corresponding to each touch point in the multi-touch points are intersected, simultaneously exiting from the application window corresponding to each display area in the at least two display areas.
For example, the following steps are carried out: as shown in fig. 8, while the two display areas are determined in the above manner, a straight line may be determined by using the end point position and the start point position corresponding to the thumb, and another straight line may be determined by using the end point position and the start point position corresponding to the index finger, so that when it is determined that the two straight lines intersect, exiting of the application window a and exiting of the application window B may be simultaneously achieved.
Therefore, the user can exit the two application windows simultaneously only by triggering the sliding operation on the screen, so that the operation steps of the user are simplified, and the user experience is improved.
Or if the number of the multi-touch points is greater than or equal to three, determining at least three display areas by the above method, and determining a straight line according to the start point position and the end point position of each touch point in the multi-touch points, that is, determining a straight line corresponding to each touch point, and when the straight lines corresponding to each touch point are intersected in pairs and the intersection points are all located in a circle with a preset radius, exiting the application window corresponding to each display area in the at least three display areas at the same time.
The circle with the preset radius is used for distinguishing whether the intersection point of the straight line corresponding to each touch point is in a critical range value of a preset range, if the intersection point of the straight line corresponding to each touch point is in the critical range, the application windows corresponding to each display area in the at least three display areas can be simultaneously exited, otherwise, if the intersection point of the straight line corresponding to each touch point is not in the critical range, the multiple application windows cannot be exited simultaneously. It should be noted that a specific value of the radius of the preset circle may be set according to an actual situation, which is not limited in the embodiment of the present application.
For example, the following steps are carried out: as shown in fig. 14, while three display regions are determined in the above manner, a straight line may be determined by using the end point position and the start point position corresponding to the thumb, a straight line may be determined by using the end point position and the start point position corresponding to the index finger, and a straight line may be determined by using the end point position and the start point position corresponding to the middle finger.
Therefore, the user can exit the application windows simultaneously only by triggering the sliding operation on the screen, so that the operation steps of the user are simplified, and the user experience is improved.
(3) In a third implementation manner of this embodiment, after analyzing the received sliding operation triggered by the user, the obtained parameters of the sliding operation may include a start point position and a sliding direction of a multi-touch point, where the start point position of the multi-touch point is located in one of the at least two display areas, and the sliding direction of the multi-touch point points to other display areas of the at least two display areas.
In this implementation, if the sliding operation triggered by the user is sliding from one display area to another display area, parameters included in the sliding operation of the user can be obtained by analyzing the sliding track and the extension line thereof, where the parameters may include starting point positions and sliding directions of multiple touch points, and the starting point positions of the multiple touch points are located in one of the at least two display areas, and the sliding directions of the multiple touch points point to the other display areas of the at least two display areas.
For example, the following steps are carried out: as shown in fig. 15, it is assumed that the user touches the display area where the application window a is located with the thumb and the index finger at the same time, that is, "selects" the display area where the application window a is located, and slides to the display area where the application window B is located and the display area where the application window C is located respectively along the directions indicated by arrows in the figure, at this time, the three display areas to which the application window a, the application window B, and the application window C belong may be determined as the three display areas determined by the present application according to the parameters of the sliding operation.
Further, when at least two display areas are determined through the above method, when it is determined that the starting point positions of the multiple touch points are both located in one of the at least two display areas and the sliding directions of the multiple touch points respectively point to the other display areas of the at least two display areas, it is indicated that an operation of exiting the application windows corresponding to each of the at least two display areas at the same time is triggered, that is, the application windows can be simultaneously exited.
For example, the following steps are carried out: based on the above example, as shown in fig. 15, while the three display areas to which the application window a, the application window B, and the application window C belong are determined in the above manner, it may also be determined that the starting point positions of the touch points corresponding to the thumb and the index finger of the user are located in the left display area of the three display areas, and the sliding directions of the touch points corresponding to the thumb and the index finger point to the right upper display area and the right lower display area of the three display areas, at this time, it indicates that the operation of exiting the application windows corresponding to the three display areas at the same time is triggered, that is, the application window a, the application window B, and the application window C may be exited at the same time.
Therefore, the user can exit the application window corresponding to each display area in the at least two display areas at the same time only by triggering the sliding operation of sliding from one display area to the other display areas on the screen, so that the operation steps of the user are simplified, and the user experience is improved.
In summary, according to the application window processing method provided in this embodiment, when exiting an application window displayed in a split-screen manner, first, parameters of a sliding operation triggered by a user on a screen are analyzed to determine at least two display areas in different display areas on the screen according to an analysis result, and then, according to the sliding operation triggered by the user, an application window corresponding to each determined display area is simultaneously exited.
In order to better implement the above-mentioned solution of the embodiments of the present application, the following also provides a related apparatus for implementing the above-mentioned solution, and the apparatus can be applied to a mobile terminal. Referring to fig. 16, an application window processing apparatus 1600 according to an embodiment of the present application is shown. The apparatus 1600 may include: a receiving unit 1601, a determining unit 1602, and a processing unit 1603. Wherein the receiving unit 1601 is configured to execute S301 in the embodiment shown in fig. 3. The determination unit 1602 is configured to execute S302 in the embodiment shown in fig. 3. Processing unit 1603 is configured to perform S303 in the embodiment illustrated in fig. 3. In particular, the method comprises the following steps of,
a receiving unit 1601, configured to receive a sliding operation triggered by a user during split-screen display; the split screen display is that a plurality of application windows are displayed in a plurality of display areas;
a determining unit 1602, configured to determine at least two display areas from the plurality of display areas according to the parameter of the sliding operation;
a processing unit 1603, configured to simultaneously process the application window corresponding to each of the at least two display areas according to the sliding operation.
In one implementation of the present embodiment, the sliding operation is a multi-touch point sliding operation.
In one implementation of this embodiment, the at least two display regions include a first display region and a second display region;
the processing unit 1603 is specifically configured to: and exchanging the first application window displayed in the first display area and the second application window displayed in the second display area according to the sliding operation.
In one implementation manner of the embodiment, the parameter of the sliding operation includes a starting point position of the multi-touch point;
the determination unit 1603 is specifically configured to: when the starting point positions of the multi-touch points are located in two display areas of the plurality of display areas, the two display areas are respectively determined as a first display area and a second display area.
In an implementation manner of this embodiment, the processing unit 1603 is specifically configured to: and when the multiple touch points all reach the preset area, exchanging a first application window displayed in the first display area and a second application window displayed in the second display area.
In an implementation manner of this embodiment, the apparatus further includes:
and the first display unit is used for displaying the area mark for marking the preset area after the two display areas are respectively confirmed as the first display area and the second display area.
In an implementation manner of this embodiment, a sliding direction of the touch point with the start point position located in the first display area is the same as or opposite to a sliding direction of the touch point with the start point position located in the second display area.
In an implementation manner of this embodiment, the parameters of the sliding operation further include an end point position of the multi-touch point;
the processing unit 1603 includes:
the straight line determining subunit is used for determining a straight line according to the starting point position and the ending point position of each touch point in the multi-touch points;
and the window exchanging subunit is used for exchanging the first application window displayed in the first display area and the second application window displayed in the second display area when the straight lines corresponding to each touch point in the multi-touch points are intersected.
In one implementation manner of this embodiment, the parameters of the sliding operation include a start point position and an end point position of the multi-touch point;
the determination unit 1603 is specifically configured to: when the starting point positions of the multi-touch points are all located in one of the display areas, and the ending point positions of the multi-touch points are all located in the other display area, determining one display area as a first display area, and determining the other display area as a second display area.
In one implementation manner of this embodiment, the parameters of the sliding operation include a start point position and a sliding direction of the multi-touch point;
the determination unit 1603 is specifically configured to: when the starting point positions of the multiple touch points are all located in one of the display areas, and the sliding directions of the multiple touch points point to the other display area in the display areas, determining one of the display areas as a first display area, and determining the other display area as a second display area.
In one implementation manner of this embodiment, when the starting point positions of the multi-touch points are all located in one of the display areas, the apparatus further includes:
and the first floating unit is used for floating the application window displayed in one of the display areas and moving the floating application window according to the multi-touch point sliding operation.
In one implementation manner of this embodiment, when the starting point positions of the multi-touch points are all located in one of the display areas, the apparatus further includes:
the second floating unit is used for floating the application window displayed in one of the display areas and moving the floating application window according to the multi-touch point sliding operation;
and the area determining unit is used for determining the other display area as the second display area when the superposed area of the floating application window and the application window in the other display area in the plurality of display areas is larger than or equal to the preset area.
In an implementation manner of this embodiment, the processing unit 1603 is specifically configured to: and simultaneously exiting the application window corresponding to each display area in the at least two display areas according to the sliding operation.
In one implementation manner of this embodiment, the parameter of the sliding operation includes a start point position of the multi-touch point, and the start point position of the multi-touch point is located in at least two display areas.
In an implementation manner of this embodiment, the processing unit 1603 is specifically configured to: and when the end point positions of the multi-touch points are all located in the preset area, simultaneously exiting the application window corresponding to each display area in the at least two display areas.
In an implementation manner of this embodiment, the apparatus further includes: a second display unit for displaying a region mark for identifying the preset region after determining at least two display regions from the plurality of display regions according to the parameter of the sliding operation.
In one implementation of the present embodiment, the sliding directions of the multiple touch points are the same or opposite.
In one implementation manner of this embodiment, the parameters of the sliding operation include a start point position and an end point position of the multi-touch point; the starting point positions of the multi-touch points are all located in one of the at least two display areas, and the end point positions of the multi-touch points are respectively located in the other display areas of the at least two display areas.
In one implementation manner of this embodiment, the parameters of the sliding operation include a start point position and a sliding direction of the multi-touch point; the starting point positions of the multiple touch points are all located in one of the at least two display areas, and the sliding directions of the multiple touch points point to other display areas in the at least two display areas.
In one implementation manner of this embodiment, the parameters of the sliding operation include a start point position and an end point position of the multi-touch point;
the processing unit 1603 is specifically configured to: and when the straight lines corresponding to each touch point in the multi-touch points are intersected, simultaneously exiting the application window corresponding to each display area in the at least two display areas.
In one implementation of this embodiment, the number of multi-touch points is greater than or equal to three;
the processing unit 1603 is specifically configured to: when the straight lines corresponding to each touch point in the multi-touch points are intersected pairwise and the intersection points are located in a circle with a preset radius, the application window corresponding to each display area in the at least two display areas exits at the same time.
To sum up, in the application window processing apparatus provided in this application embodiment, when processing an application window displayed in a split-screen manner, first, parameters of a sliding operation triggered by a user on a screen are analyzed to determine at least two display areas in a plurality of display areas on the screen according to an analysis result, and then, according to the sliding operation of the user, the application windows respectively displayed in the determined at least two display areas are processed respectively.
Referring to fig. 17, an embodiment of the present application provides an application window processing apparatus 1700, which includes a memory 1701, a processor 1702, and a communication interface 1703,
a memory 1701 for storing instructions;
a processor 1702 for executing instructions in the memory 1701 to perform the application window processing method applied to the embodiment shown in fig. 3;
a communication interface 1703 for performing communication.
The memory 1701, processor 1702 and communication interface 1703 are interconnected by a bus 1704; the bus 1704 may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown in FIG. 17, but this does not mean only one bus or one type of bus.
In a specific embodiment, the processor 1702 is configured to receive a sliding operation triggered by a user during split-screen display, where the split-screen display is to display a plurality of application windows in a plurality of display areas, determine at least two display areas from the plurality of display areas according to a parameter of the sliding operation, and simultaneously process an application window corresponding to each of the at least two display areas according to the sliding operation. For a detailed processing procedure of the processor 1702, please refer to the detailed description of S301, S302, and S203 in the embodiment shown in fig. 3, which is not described herein again.
The memory 1701 may be a random-access memory (RAM), a flash memory (flash), a read-only memory (ROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), a register (register), a hard disk, a removable hard disk, a CD-ROM, or any other form of storage medium known to those skilled in the art.
The processor 1702 may be, for example, a Central Processing Unit (CPU), a general purpose processor, a Digital Signal Processor (DSP), an application-specific integrated circuit (ASIC), a Field Programmable Gate Array (FPGA), other programmable logic devices (FPGAs), a transistor logic device, a hardware component, or any combination thereof. Which may implement or perform the various illustrative logical blocks, modules, and circuits described in connection with the disclosure. A processor may also be a combination of computing functions, e.g., comprising one or more microprocessors, a DSP and a microprocessor, or the like.
The communication interface 1703 may be, for example, an interface card or the like, and may be an ethernet (ethernet) interface or an Asynchronous Transfer Mode (ATM) interface.
An embodiment of the present application further provides a computer-readable storage medium, which includes instructions that, when executed on a computer, cause the computer to execute the application window processing method.
The terms "first," "second," "third," "fourth," and the like in the description and in the claims of the present application and in the drawings described above, if any, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that the embodiments described herein may be practiced otherwise than as specifically illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other manners. For example, the above-described embodiments of the apparatus are merely illustrative, and for example, a division of a unit is only a logical division, and an actual implementation may have another division, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
Units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, each service unit in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a hardware form, and can also be realized in a software service unit form.
The integrated unit, if implemented in the form of a software business unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application may be substantially implemented or contributed to by the prior art, or all or part of the technical solution may be embodied in a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method of the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
Those skilled in the art will recognize that, in one or more of the examples described above, the services described in this disclosure may be implemented in hardware, software, firmware, or any combination thereof. When implemented in software, the services may be stored on or transmitted over as one or more instructions or code on a computer-readable medium. Computer-readable media includes both computer storage media and communication media including any medium that facilitates transfer of a computer program from one place to another. A storage media may be any available media that can be accessed by a general purpose or special purpose computer.
The above embodiments are intended to explain the objects, aspects and advantages of the present invention in further detail, and it should be understood that the above embodiments are merely illustrative of the present invention.
The above embodiments are only used to illustrate the technical solutions of the present application, and not to limit the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present application.

Claims (38)

1. An application window processing method is applied to a mobile terminal, and the method comprises the following steps:
receiving sliding operation triggered by a user during split screen display; the split screen display is used for displaying a plurality of application windows in a plurality of display areas, and the sliding operation comprises multi-touch point sliding operation;
determining at least two display areas from the plurality of display areas according to the parameters of the sliding operation;
simultaneously processing the application window corresponding to each display area in the at least two display areas according to the sliding operation;
the at least two display areas include a first display area and a second display area, and the processing, according to the sliding operation, of the application window corresponding to each of the at least two display areas simultaneously includes:
and when the multi-touch point reaches a preset area, exchanging a first application window displayed in the first display area and a second application window displayed in the second display area, or when the end point positions of the multi-touch point are both located in the preset area, simultaneously exiting the first application window and the second application window according to the sliding operation, wherein the preset area is a preset position area for triggering the application window to be processed.
2. The method of claim 1, wherein the parameters of the swipe operation include a starting point location of a multi-touch point;
the determining at least two display regions from the plurality of display regions according to the parameter of the sliding operation includes:
and when the starting point positions of the multi-touch points are positioned in two display areas of the plurality of display areas, respectively confirming the two display areas as a first display area and a second display area.
3. The method of claim 1, wherein after identifying the two display regions as a first display region and a second display region, respectively, the method further comprises:
and displaying an area mark for identifying the preset area.
4. The method according to claim 1 or 2, wherein the sliding direction of the touch point with the start point position in the first display area is the same as or opposite to the sliding direction of the touch point with the start point position in the second display area.
5. The method of claim 2, wherein the parameters of the sliding operation further include an end point location of a multi-touch point;
the swapping, according to the sliding operation, the first application window displayed in the first display area and the second application window displayed in the second display area includes:
determining a straight line according to the starting point position and the ending point position of each touch point in the multi-touch points;
and when the straight lines corresponding to each touch point in the multi-touch points are intersected, exchanging a first application window displayed in the first display area and a second application window displayed in the second display area.
6. The method of claim 1, wherein the parameters of the sliding operation include a start point location and an end point location of the multi-touch point;
the determining at least two display regions from the plurality of display regions according to the parameter of the sliding operation includes:
and when the starting point positions of the multi-touch points are all located in one of the display areas, and the end point positions of the multi-touch points are all located in the other display area, determining the one display area as a first display area, and determining the other display area as a second display area.
7. The method of claim 1, wherein the parameters of the sliding operation include a start point position and a sliding direction of the multi-touch point;
the determining at least two display regions from the plurality of display regions according to the parameter of the sliding operation includes:
and when the starting point positions of the multi-touch points are all located in one of the display areas and the sliding directions of the multi-touch points point to the other display area in the display areas, determining the one display area as a first display area and determining the other display area as a second display area.
8. The method according to claim 6 or 7, wherein when the starting point positions of the multi-touch points are all located in one of the plurality of display areas, the method further comprises:
and floating the application window displayed in one of the display areas, and moving the floating application window according to the multi-touch point sliding operation.
9. The method of claim 1, wherein when the starting point positions of the multi-touch points are all located in one of the plurality of display areas, the method further comprises:
floating the application window displayed in one of the display areas, and moving the floating application window according to the multi-touch point sliding operation;
and when the superposed area of the floating application window and the application window in the other display area in the plurality of display areas is larger than or equal to the preset area, determining the other display area as a second display area.
10. The method of claim 1, wherein the at least two display areas include at least three display areas, and wherein the number of multi-touch points is greater than or equal to three;
the processing, according to the sliding operation, the application window corresponding to each of the at least two display areas simultaneously includes:
and simultaneously exiting the application window corresponding to each display area in the at least three display areas according to the sliding operation.
11. The method of claim 10, wherein the parameters of the swipe operation include a starting point location of a multi-touch point, the starting point location of the multi-touch point being located in the at least three display regions.
12. The method according to claim 11, wherein the exiting the application window corresponding to each of the at least three display areas simultaneously according to the sliding operation comprises:
and when the end point positions of the multi-touch points are all located in a preset area, simultaneously exiting from the application window corresponding to each display area in the at least three display areas.
13. The method of claim 12, wherein after determining at least three display regions from the plurality of display regions according to the parameters of the sliding operation, the method further comprises:
and displaying an area mark for identifying the preset area.
14. The method of claim 11, wherein the sliding directions of the multi-touch points are the same or opposite.
15. The method of claim 10, wherein the parameters of the sliding operation include a start point location and an end point location of the multi-touch point; the starting point positions of the multiple touch points are all located in one of the at least three display areas, and the end point positions of the multiple touch points are respectively located in other display areas of the at least three display areas.
16. The method of claim 10, wherein the parameters of the sliding operation include a start point position and a sliding direction of the multi-touch point; the starting point positions of the multiple touch points are all located in one of the at least three display areas, and the sliding directions of the multiple touch points point to other display areas in the at least three display areas.
17. The method of claim 10, wherein the parameters of the sliding operation include a start point location and an end point location of the multi-touch point;
the exiting of the application window corresponding to each of the at least three display areas simultaneously according to the sliding operation includes:
and when the straight lines corresponding to each touch point in the multi-touch points are intersected, simultaneously exiting from the application window corresponding to each display area in the at least three display areas.
18. The method of claim 17, wherein when the straight lines corresponding to each touch point in the multi-touch point intersect, exiting the application window corresponding to each display area in the at least three display areas simultaneously comprises:
and when the straight lines corresponding to each touch point in the multi-touch points are intersected pairwise and the intersection points are all positioned in a circle with a preset radius, simultaneously exiting from the application window corresponding to each display area in the at least three display areas.
19. An application window processing device, applied to a mobile terminal, the device comprising:
the receiving unit is used for receiving sliding operation triggered by a user during split screen display; the split screen display is used for displaying a plurality of application windows in a plurality of display areas, and the sliding operation comprises multi-touch point sliding operation;
a determination unit configured to determine at least two display areas from the plurality of display areas according to a parameter of the sliding operation;
the processing unit is used for simultaneously processing the application window corresponding to each display area in the at least two display areas according to the sliding operation;
the at least two display areas include a first display area and a second display area, the processing unit is configured to: and when the multi-touch point reaches a preset area, exchanging a first application window displayed in the first display area and a second application window displayed in the second display area, or when the end point positions of the multi-touch point are both located in the preset area, simultaneously exiting the first application window and the second application window according to the sliding operation, wherein the preset area is a preset position area for triggering the application window to be processed.
20. The apparatus of claim 19, wherein the parameters of the sliding operation include a starting point location of a multi-touch point;
the determining unit is specifically configured to:
and when the starting point positions of the multi-touch points are positioned in two display areas of the plurality of display areas, respectively confirming the two display areas as a first display area and a second display area.
21. The apparatus of claim 20, further comprising:
and the first display unit is used for displaying an area mark for marking the preset area after the two display areas are respectively confirmed as the first display area and the second display area.
22. The device according to claim 19 or 20, wherein the sliding direction of the touch point with the start point position in the first display area is the same as or opposite to the sliding direction of the touch point with the start point position in the second display area.
23. The apparatus of claim 20, wherein the parameters of the sliding operation further comprise an end point location of a multi-touch point;
the processing unit includes:
the straight line determining subunit is used for determining a straight line according to the starting point position and the ending point position of each touch point in the multi-touch points;
and the window exchanging subunit is used for exchanging the first application window displayed in the first display area and the second application window displayed in the second display area when the straight lines corresponding to each touch point in the multi-touch points intersect.
24. The apparatus of claim 19, wherein the parameters of the sliding operation include a start point location and an end point location of the multi-touch point;
the determining unit is specifically configured to:
and when the starting point positions of the multi-touch points are all located in one of the display areas, and the end point positions of the multi-touch points are all located in the other display area, determining the one display area as a first display area, and determining the other display area as a second display area.
25. The apparatus of claim 19, wherein the parameters of the sliding operation include a start point position and a sliding direction of the multi-touch point;
the determining unit is specifically configured to:
and when the starting point positions of the multi-touch points are all located in one of the display areas and the sliding directions of the multi-touch points point to the other display area in the display areas, determining the one display area as a first display area and determining the other display area as a second display area.
26. The apparatus according to claim 24 or 25, wherein when the starting point positions of the multi-touch points are located in one of the plurality of display areas, the apparatus further comprises:
and the first floating unit is used for floating the application window displayed in one of the display areas and moving the floating application window according to the multi-touch point sliding operation.
27. The apparatus of claim 19, wherein when the starting point positions of the multi-touch points are located in one of the plurality of display areas, the apparatus further comprises:
the second floating unit is used for floating the application window displayed in one of the display areas and moving the floating application window according to the multi-touch point sliding operation;
and the area determining unit is used for determining the other display area as a second display area when the superposed area of the floating application window and the application window in the other display area in the plurality of display areas is larger than or equal to the preset area.
28. The apparatus of claim 19, wherein the at least two display areas comprise at least three display areas, and wherein the number of multi-touch points is greater than or equal to three;
the processing unit is specifically configured to:
and simultaneously exiting the application window corresponding to each display area in the at least three display areas according to the sliding operation.
29. The apparatus of claim 28, wherein the parameters of the swipe operation include a starting point location of a multi-touch point, the starting point location of the multi-touch point being located in the at least three display regions.
30. The apparatus according to claim 29, wherein the processing unit is specifically configured to:
and when the end point positions of the multi-touch points are all located in a preset area, simultaneously exiting from the application window corresponding to each display area in the at least three display areas.
31. The apparatus of claim 30, further comprising:
a second display unit for displaying an area mark for identifying the preset area after determining at least three display areas from the plurality of display areas according to the parameter of the sliding operation.
32. The device of claim 29, wherein the sliding directions of the multi-touch points are the same or opposite.
33. The apparatus of claim 28, wherein the parameters of the sliding operation include a start point location and an end point location of the multi-touch point; the starting point positions of the multiple touch points are all located in one of the at least two display areas, and the end point positions of the multiple touch points are respectively located in other display areas of the at least three display areas.
34. The apparatus of claim 28, wherein the parameters of the sliding operation include a start point position and a sliding direction of the multi-touch point; the starting point positions of the multiple touch points are all located in one of the at least two display areas, and the sliding directions of the multiple touch points point to other display areas in the at least two display areas.
35. The apparatus of claim 28, wherein the parameters of the sliding operation include a start point location and an end point location of the multi-touch point;
the processing unit is specifically configured to:
and when the straight lines corresponding to each touch point in the multi-touch points are intersected, simultaneously exiting from the application window corresponding to each display area in the at least two display areas.
36. The apparatus of claim 35, wherein the number of multi-touch points is greater than or equal to three;
the processing unit is specifically configured to:
and when the straight lines corresponding to each touch point in the multi-touch points are intersected pairwise and the intersection points are positioned in a circle with a preset radius, simultaneously exiting from the application window corresponding to each display area in the at least two display areas.
37. An application window processing device, characterized in that the device comprises a memory, a processor;
the memory to store instructions;
the processor, configured to execute the instructions in the memory, to perform the method of any of claims 1-18.
38. A computer-readable storage medium comprising instructions which, when executed on a computer, cause the computer to perform the method of any of claims 1-18 above.
CN201910780176.6A 2019-08-22 2019-08-22 Application window processing method and device Active CN110618769B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202111339038.8A CN114168047B (en) 2019-08-22 2019-08-22 Application window processing method and device
CN201910780176.6A CN110618769B (en) 2019-08-22 2019-08-22 Application window processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910780176.6A CN110618769B (en) 2019-08-22 2019-08-22 Application window processing method and device

Related Child Applications (1)

Application Number Title Priority Date Filing Date
CN202111339038.8A Division CN114168047B (en) 2019-08-22 2019-08-22 Application window processing method and device

Publications (2)

Publication Number Publication Date
CN110618769A CN110618769A (en) 2019-12-27
CN110618769B true CN110618769B (en) 2021-11-19

Family

ID=68922449

Family Applications (2)

Application Number Title Priority Date Filing Date
CN202111339038.8A Active CN114168047B (en) 2019-08-22 2019-08-22 Application window processing method and device
CN201910780176.6A Active CN110618769B (en) 2019-08-22 2019-08-22 Application window processing method and device

Family Applications Before (1)

Application Number Title Priority Date Filing Date
CN202111339038.8A Active CN114168047B (en) 2019-08-22 2019-08-22 Application window processing method and device

Country Status (1)

Country Link
CN (2) CN114168047B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111338550A (en) * 2018-05-14 2020-06-26 北京字节跳动网络技术有限公司 Window control method, device and equipment
CN111190532B (en) * 2019-12-31 2021-01-08 北京奇才天下科技有限公司 Interaction method and device based on gesture recognition and electronic equipment
CN111813356A (en) * 2020-06-12 2020-10-23 彭程 Multimedia resource display method and electronic equipment
CN112261220A (en) * 2020-09-18 2021-01-22 湖北亿咖通科技有限公司 Split screen display method applied to terminal
CN112306341A (en) * 2020-10-14 2021-02-02 广州朗国电子科技有限公司 Display area moving method and device, storage medium and electronic whiteboard
CN112988312B (en) * 2021-05-11 2022-05-13 亿咖通(湖北)技术有限公司 Desktop application window management system and method

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106716330A (en) * 2014-09-16 2017-05-24 日本电气株式会社 Multi-screen display position switching method, information processing device, and control method and control program therefor
CN107765983A (en) * 2017-10-13 2018-03-06 深圳天珑无线科技有限公司 Terminal and its multi-screen display method, storage device based on flexible display screen
CN108228035A (en) * 2011-09-01 2018-06-29 Z124 The method of moving window and dual screen communication device between multi-screen device
CN108519902A (en) * 2018-03-30 2018-09-11 广州视源电子科技股份有限公司 The interface location method of adjustment and device of interactive intelligence equipment
CN108958629A (en) * 2018-07-05 2018-12-07 Oppo广东移动通信有限公司 Split screen exits method, apparatus, storage medium and electronic equipment

Family Cites Families (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008090902A1 (en) * 2007-01-25 2008-07-31 Sharp Kabushiki Kaisha Multi-window managing device, program, storage medium, and information processing device
KR101957173B1 (en) * 2012-09-24 2019-03-12 삼성전자 주식회사 Method and apparatus for providing multi-window at a touch device
CN103246433A (en) * 2013-05-06 2013-08-14 苏州三星电子电脑有限公司 Screen user-defined window-dividing display control method
JP5848732B2 (en) * 2013-08-26 2016-01-27 シャープ株式会社 Information processing device
CN103473027B (en) * 2013-09-16 2017-01-04 张智锋 A kind of communicating terminal split screen multi-task interaction method and communicating terminal
US10254942B2 (en) * 2014-07-31 2019-04-09 Microsoft Technology Licensing, Llc Adaptive sizing and positioning of application windows
US20160239200A1 (en) * 2015-02-16 2016-08-18 Futurewei Technologies, Inc. System and Method for Multi-Touch Gestures
CN105677231B (en) * 2016-02-23 2019-10-15 努比亚技术有限公司 Associated application split screen display available device, method and terminal
CN105867815A (en) * 2016-03-28 2016-08-17 乐视控股(北京)有限公司 Split screen display method and device
CN106020592A (en) * 2016-05-09 2016-10-12 北京小米移动软件有限公司 Split screen display method and device
CN106775313B (en) * 2016-12-07 2020-05-01 北京安云世纪科技有限公司 Split screen operation control method and mobile terminal
CN107315523B (en) * 2017-06-29 2020-08-28 努比亚技术有限公司 Split screen processing method, mobile terminal and computer readable storage medium
CN107589900A (en) * 2017-09-06 2018-01-16 广东欧珀移动通信有限公司 Multi-screen display method, device, terminal and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108228035A (en) * 2011-09-01 2018-06-29 Z124 The method of moving window and dual screen communication device between multi-screen device
CN106716330A (en) * 2014-09-16 2017-05-24 日本电气株式会社 Multi-screen display position switching method, information processing device, and control method and control program therefor
CN107765983A (en) * 2017-10-13 2018-03-06 深圳天珑无线科技有限公司 Terminal and its multi-screen display method, storage device based on flexible display screen
CN108519902A (en) * 2018-03-30 2018-09-11 广州视源电子科技股份有限公司 The interface location method of adjustment and device of interactive intelligence equipment
CN108958629A (en) * 2018-07-05 2018-12-07 Oppo广东移动通信有限公司 Split screen exits method, apparatus, storage medium and electronic equipment

Also Published As

Publication number Publication date
CN110618769A (en) 2019-12-27
CN114168047B (en) 2022-08-26
CN114168047A (en) 2022-03-11

Similar Documents

Publication Publication Date Title
CN110618769B (en) Application window processing method and device
US10956035B2 (en) Triggering display of application
CN106406734B (en) Touch operation processing method and terminal device
US11693544B2 (en) Mobile terminal display picture control method, apparatus, and device and storage medium
US9069386B2 (en) Gesture recognition device, method, program, and computer-readable medium upon which program is stored
US20160124638A1 (en) Method for touch input and device therefore
EP2738654B1 (en) Touch screen operation method and terminal
JP2019516189A (en) Touch screen track recognition method and apparatus
CN105354474A (en) Method and device for avoiding misoperation by fingerprint confirmation, and mobile terminal
EP2953017A1 (en) Method, apparatus and terminal device for controlling movement of application interface
US20150286283A1 (en) Method, system, mobile terminal, and storage medium for processing sliding event
US20140123036A1 (en) Touch screen display process
CN113448479B (en) Single-hand operation mode starting method, terminal and computer storage medium
CN113741763A (en) Electronic book display method and device and electronic equipment
EP4180927A1 (en) Information display method, electronic device and storage medium
CA2743154A1 (en) Method for simulating a page turn in an electronic document
CN105446629A (en) Content pane switching method, device and terminal
US20130212517A1 (en) Electronic Device and Display Processing Method
CN106951168B (en) Word processing method and mobile terminal
CN106648339B (en) Window switching method and device
CN110088719A (en) The display methods and mobile device of mobile device
CN103150118A (en) Method, device and mobile terminal for selecting contents based on multi-point touch technology
EP2977883B1 (en) Terminal device and method for selecting object
CN112130741A (en) Control method of mobile terminal and mobile terminal
WO2014117619A1 (en) Method and apparatus for controlling application interface to move, and terminal device

Legal Events

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