CN110727381A - Application switching method and electronic equipment - Google Patents

Application switching method and electronic equipment Download PDF

Info

Publication number
CN110727381A
CN110727381A CN201910829054.1A CN201910829054A CN110727381A CN 110727381 A CN110727381 A CN 110727381A CN 201910829054 A CN201910829054 A CN 201910829054A CN 110727381 A CN110727381 A CN 110727381A
Authority
CN
China
Prior art keywords
application
display area
display
interface
screen
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.)
Pending
Application number
CN201910829054.1A
Other languages
Chinese (zh)
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 CN201910829054.1A priority Critical patent/CN110727381A/en
Publication of CN110727381A publication Critical patent/CN110727381A/en
Priority to PCT/CN2020/111151 priority patent/WO2021043029A1/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04847Interaction techniques to control parameter settings, e.g. interaction with sliders or dials
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/04817Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance using icons
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Abstract

The application discloses an application switching method and electronic equipment, relates to the technical field of electronics, and can provide convenient and fast application switching experience for a user when an application interface is displayed on the electronic equipment in a split-screen mode. In the scheme, the electronic device can receive the operation of the user, determine whether to switch the application displayed in the first display area or the application displayed in the second display area according to the instruction indicated by the user operation, and make a corresponding switching response. For the user, the operation is convenient, the switching flexibility is higher, and the experience is better.

Description

Application switching method and electronic equipment
Technical Field
The embodiment of the application relates to the technical field of electronics, in particular to an application switching method and electronic equipment.
Background
With the continuous development of screen technologies, more and more electronic devices (such as smart phones) with display screens are widely applied to daily life and work of people to provide users with richer information and bring users with better use experience.
The task-oriented display screen is used for meeting the requirement that a user can simultaneously carry out multiple tasks when using the electronic equipment with the display screen. The electronic device may support split-screen display of interfaces of a plurality of Applications (APPs) on a display screen. Under the circumstances, how to switch the application displayed in the split-screen display area conveniently and quickly according to needs is a subject to be researched.
Disclosure of Invention
The embodiment of the application switching method and the electronic device can provide convenient and fast application switching experience for a user when the electronic device displays an application interface in a split screen mode.
In order to achieve the above purpose, the embodiment of the present application adopts the following technical solutions:
in a first aspect, a method for switching applications is provided, where the method is applied to an electronic device in which a plurality of applications are installed, and the method includes: the electronic equipment displays a first interface in a first display area and displays a second interface in a second display area; the first interface is an interface of a first application, and the second interface is an interface of a second application; the electronic equipment receives a first operation, responds to the first operation, displays a third interface in the first display area, and displays a second interface in the second display area; wherein the third interface is an interface of a third application, and the third application is different from the first application; the electronic equipment receives a second operation, responds to the second operation, displays the third interface in the first display area, and displays a fourth interface in the second display area; the fourth interface is an interface of a fourth application, and the fourth application is different from the second application.
In the technical solution provided by the first aspect, the electronic device may receive an operation of a user, determine to switch the application displayed in the first display area or switch the application displayed in the second display area according to an instruction indicated by the user operation, and make a corresponding switching response. By the method, when the electronic equipment displays the application interface in a split screen mode, the experience of switching the application is provided for the user conveniently and quickly.
With reference to the first aspect, in a first possible implementation manner, a first floating button is displayed in the first display area, and a second floating button is displayed in the second display area; the operation is preset gesture operation of a user in a first display area or operation of clicking the first suspension button by the user; the preset gesture operation comprises a sliding operation. The second operation is preset gesture operation of the user in the second display area or operation of clicking the second floating button by the user. The application switching method provided by the application can receive preset gesture operation of a user or operation of clicking a floating button by the user, determine to switch the application displayed in the first display area or switch the application displayed in the second display area, and make a corresponding switching response. By the method, when the electronic equipment displays the application interface in a split screen mode, the experience of switching the application is provided for the user conveniently and quickly.
With reference to the first aspect, in a second possible implementation manner, a third hover button is displayed in the first display area or the second display area; the third floating button is used for switching the application displayed in the first display area, or the third floating button is used for switching the application displayed in the second display area; if the first display area is the focus display area, the third floating button is used for switching the application displayed in the first display area; if the second display area is the focus display area, the third floating button is used for switching the application displayed in the second display area; the focus display area refers to a display area which is operated by a user last time; the first operation is an operation of clicking a third hover button by the user when the first display area is the focus display area; the second operation is an operation in which the user clicks the third hover button when the second display area is the focus display area. The application switching method provided by the application can receive the operation of clicking the floating button by a user and combine the current focus display area, determine to switch the application displayed in the first display area or switch the application displayed in the second display area, and make a corresponding switching response. By the method, when the electronic equipment displays the application interface in a split screen mode, the experience of switching the application is provided for the user conveniently and quickly.
With reference to the first aspect, in a third possible implementation manner, a split-screen management key is displayed on a display screen of the electronic device, where the split-screen management key is a navigation key for managing split screens when the electronic device displays an application interface in a split-screen manner; if the first display area is the focus display area, the split screen management key is used for switching the application displayed in the first display area; if the second display area is the focus display area, the split screen management key is used for switching the application displayed in the second display area; the focus display area refers to a display area which is operated by a user last time; the first operation is an operation that the user clicks the split screen management key when the first display area is the focus display area; the second operation is an operation in which the user clicks the split screen management key when the second display area is the focus display area. The application switching method provided by the application can receive the operation of clicking the split screen management key by a user and combine the current focus display area, determine to switch the application displayed in the first display area or the application displayed in the second display area, and make a corresponding switching response. By the method, when the electronic equipment displays the application interface in a split screen mode, the experience of switching the application is provided for the user conveniently and quickly.
With reference to the first aspect, in a fourth possible implementation manner, the third application is any one of the following applications: within a preset time, running the application with the maximum number of times in the electronic equipment in a split-screen display mode; within a preset time, the application which runs in the electronic equipment for the most times in a split-screen display mode with the second application; within a preset time, running an application with the longest duration in the electronic equipment in a split-screen display mode; an application that was recently run in electronic equipment in a split-screen display format; the application which is operated in the electronic equipment in a full-screen display mode at the last time or the application which is operated in the electronic equipment in a split-screen display mode with the second application at the last time; the fourth application is any one of the following applications: within a preset time, running the application with the maximum number of times in the electronic equipment in a split-screen display mode; within a preset time, the application which runs in the electronic equipment for the most times in a split-screen display mode with the third application; within a preset time, running the application with the longest running time in the electronic equipment in a split-screen display mode; an application that was recently run in electronic equipment in a split-screen display format; the application running in the electronic device in a full-screen display form at the last time or the application running in the electronic device in a split-screen display form with the third application at the last time. The application switching method can intelligently predict the application which the user wants to switch according to the actual situation of the application running of the electronic equipment, and improves user experience.
With reference to the first aspect, in a fifth possible implementation manner, the third application or the fourth application is determined by the electronic device according to the location information of the electronic device. The application switching method can intelligently determine the contextual model of the electronic equipment according to the position information of the electronic equipment, further predict the application which a user wants to switch, and improve user experience.
With reference to the first aspect, in a sixth possible implementation manner, an application list is preset in the electronic device, and the third application or the fourth application is determined by the electronic device according to the application list. The application switching method can switch the applications according to the application sequence in the preset application list, and is high in flexibility and better in user experience.
With reference to the sixth possible implementation manner of the first aspect, in a seventh possible implementation manner, the application list is user-defined, or the application list is determined by the electronic device. The application switching method provided by the application switching method can switch the application according to the application sequence in the user-defined application list, or can switch the application according to the application sequence in the application list determined by the electronic equipment, so that the flexibility is higher, and the user experience is better.
In a second aspect, an electronic device is provided, in which a plurality of applications are installed, the electronic device including: the display unit comprises at least two display areas, wherein the at least two display areas comprise a first display area and a second display area, and the first display area and the second display area are not overlapped; the first display area is used for displaying a first interface; the first interface is an interface of a first application; the second display area is used for displaying a second interface; the second interface is an interface of a second application; the above electronic device further includes: a detection unit for receiving a first operation; the first display area is further used for responding to the first operation and displaying a third interface in the first display area; the third interface is an interface of a third application, the third application being different from the first application; the detection unit is further configured to receive a second operation; the second display area is further used for responding to a second operation and displaying a fourth interface in the second display area; the fourth interface is an interface of a fourth application, the fourth application being different from the second application.
In the technical solution provided by the second aspect, the electronic device may receive an operation of a user, determine to switch the application displayed in the first display area or switch the application displayed in the second display area according to an instruction indicated by the user operation, and make a corresponding switching response. By the method, when the electronic equipment displays the application interface in a split screen mode, the experience of switching the application is provided for the user conveniently and quickly.
With reference to the second aspect, in a first possible implementation manner, the first display area is further configured to display a first hover button; the second display area is also used for displaying a second suspension button; the first floating button is used for switching the application displayed in the first display area, and the second floating button is used for switching the application displayed in the second display area; the first operation is preset gesture operation of a user in the first display area or operation of clicking a first floating button by the user; the preset gesture operation comprises a sliding operation; the second operation is preset gesture operation of the user in the second display area or operation of clicking the second floating button by the user. The electronic equipment can receive preset gesture operation of a user or operation of clicking a floating button by the user, determine to switch the application displayed in the first display area or switch the application displayed in the second display area, and make a corresponding switching response. By the method, when the electronic equipment displays the application interface in a split screen mode, the experience of switching the application is provided for the user conveniently and quickly.
With reference to the second aspect, in a second possible implementation manner, the first display area is further configured to display a third hover button; or the second display area is also used for displaying a third floating button; the third floating button is used for switching the application displayed in the first display area, or the third floating button is used for switching the application displayed in the second display area; if the first display area is the focus display area, the third floating button is used for switching the application displayed in the first display area; if the second display area is the focus display area, the third floating button is used for switching the application displayed in the second display area; the focus display area refers to a display area which is operated by a user last time; the first operation is an operation of clicking a third hover button by the user when the first display area is the focus display area; the second operation is an operation in which the user clicks the third hover button when the second display area is the focus display area. The electronic equipment can accept the operation of clicking the hover button by the user and determine whether to switch the application displayed in the first display area or the application displayed in the second display area in combination with the current focus display area, and make a corresponding switching response. By the method, when the electronic equipment displays the application interface in a split screen mode, the experience of switching the application is provided for the user conveniently and quickly.
With reference to the second aspect, in a third possible implementation manner, the display unit is further configured to display a split-screen management key, where the split-screen management key is a navigation key for managing split screens when the electronic device displays an application interface in a split screen manner; if the first display area is the focus display area, the split screen management key is used for switching the application displayed in the first display area; if the second display area is the focus display area, the split screen management key is used for switching the application displayed in the second display area; the focus display area refers to a display area which is operated by a user last time; the first operation is an operation that the user clicks the split screen management key when the first display area is the focus display area; the second operation is an operation in which the user clicks the split screen management key when the second display area is the focus display area. The electronic equipment can receive the operation of clicking the split screen management key by the user and combines the current focus display area, determine to switch the application displayed in the first display area or the application displayed in the second display area, and make a corresponding switching response. By the method, when the electronic equipment displays the application interface in a split screen mode, the experience of switching the application is provided for the user conveniently and quickly.
With reference to the second aspect, in a fourth possible implementation manner, the third application is any one of the following applications: within a preset time, running the application with the maximum number of times in the electronic equipment in a split-screen display mode; within a preset time, the application which runs in the electronic equipment for the most times in a split-screen display mode with the second application; within a preset time, running an application with the longest duration in the electronic equipment in a split-screen display mode; an application that was recently run in electronic equipment in a split-screen display format; the application which is operated in the electronic equipment in a full-screen display mode at the last time or the application which is operated in the electronic equipment in a split-screen display mode with the second application at the last time; the fourth application is any one of the following applications: within a preset time, running the application with the maximum number of times in the electronic equipment in a split-screen display mode; within a preset time, the application which runs in the electronic equipment for the most times in a split-screen display mode with the third application; within a preset time, running the application with the longest running time in the electronic equipment in a split-screen display mode; an application that was recently run in electronic equipment in a split-screen display format; the application running in the electronic device in a full-screen display form at the last time or the application running in the electronic device in a split-screen display form with the third application at the last time. By intelligently predicting the application which the user wants to switch according to the actual situation of the application running by the electronic equipment, the user experience can be improved.
With reference to the second aspect, in a fifth possible implementation manner, the electronic device further includes an analysis unit, and the third application or the fourth application is determined by the analysis unit according to the location information of the electronic device. The contextual model of the electronic equipment is intelligently determined according to the position information of the electronic equipment, and then the application which the user wants to switch is predicted, so that the user experience can be improved.
With reference to the second aspect, in a sixth possible implementation manner, the electronic device further includes a storage unit and an analysis unit, where the storage unit is preset with an application list, and the third application or the fourth application is determined by the analysis unit according to the application list. By switching the applications according to the application sequence in the preset application list, the flexibility is higher, and the user experience is better.
With reference to the sixth possible implementation manner of the second aspect, in a seventh possible implementation manner, the application list is user-defined, or the application list is determined by the electronic device. By switching the applications according to the application sequence in the user-defined application list or according to the application sequence in the application list determined by the electronic device, the flexibility is higher and the user experience is better.
In a third aspect, an electronic device is provided, in which a plurality of applications are installed, the electronic device including: a memory for storing computer program code, the computer program code comprising instructions; the display screen is used for displaying an application interface; the display screen comprises at least two display areas, wherein the at least two display areas comprise a first display area and a second display area, and the first display area and the second display area are not overlapped; the processor is used for executing the instruction, so that the first display area displays a first interface, and the second display area displays a second interface; the first interface is an interface of a first application, and the second interface is an interface of a second application; the processor is further used for receiving a first operation, and responding to the first operation to enable the first display area to display a third interface and enable the second display area to display a second interface; receiving a second operation, and enabling the first display area to display a third interface and the second display area to display a fourth interface in response to the second operation; wherein the third interface is an interface of a third application, and the third application is different from the first application; the fourth interface is an interface of a fourth application, and the fourth application is different from the second application.
In the technical solution provided by the third aspect, the electronic device may receive an operation of a user, determine to switch the application displayed in the first display area or switch the application displayed in the second display area according to an instruction indicated by the user operation, and make a corresponding switching response. By the method, when the electronic equipment displays the application interface in a split screen mode, the experience of switching the application is provided for the user conveniently and quickly.
With reference to the third aspect, in a first possible implementation manner, the first display area is further configured to display a first hover button; the second display area is also used for displaying a second suspension button; the first floating button is used for switching the application displayed in the first display area, and the second floating button is used for switching the application displayed in the second display area; the first operation is preset gesture operation of a user in the first display area or operation of clicking a first floating button by the user; the preset gesture operation comprises a sliding operation; the second operation is preset gesture operation of the user in the second display area or operation of clicking the second floating button by the user. The electronic equipment can receive preset gesture operation of a user or operation of clicking a floating button by the user, determine to switch the application displayed in the first display area or switch the application displayed in the second display area, and make a corresponding switching response. By the method, when the electronic equipment displays the application interface in a split screen mode, the experience of switching the application is provided for the user conveniently and quickly.
With reference to the third aspect, in a second possible implementation manner, the first display area is further configured to display a third hover button; or the second display area is also used for displaying a third floating button; the third floating button is used for switching the application displayed in the first display area, or the third floating button is used for switching the application displayed in the second display area; if the first display area is the focus display area, the third floating button is used for switching the application displayed in the first display area; if the second display area is the focus display area, the third floating button is used for switching the application displayed in the second display area; the focus display area refers to a display area which is operated by a user last time; the first operation is an operation of clicking a third hover button by the user when the first display area is the focus display area; the second operation is an operation in which the user clicks the third hover button when the second display area is the focus display area. The electronic equipment can accept the operation of clicking the hover button by the user and determine whether to switch the application displayed in the first display area or the application displayed in the second display area in combination with the current focus display area, and make a corresponding switching response. By the method, when the electronic equipment displays the application interface in a split screen mode, the experience of switching the application is provided for the user conveniently and quickly.
With reference to the third aspect, in a third possible implementation manner, the display screen is further configured to display a split-screen management key, where the split-screen management key is a navigation key for managing split-screen when the electronic device displays an application interface in a split-screen manner; if the first display area is the focus display area, the split screen management key is used for switching the application displayed in the first display area; if the second display area is the focus display area, the split screen management key is used for switching the application displayed in the second display area; the focus display area refers to a display area which is operated by a user last time; the first operation is an operation that the user clicks the split screen management key when the first display area is the focus display area; the second operation is an operation in which the user clicks the split screen management key when the second display area is the focus display area. The electronic equipment can receive the operation of clicking the split screen management key by the user and combines the current focus display area, determine to switch the application displayed in the first display area or the application displayed in the second display area, and make a corresponding switching response. By the method, when the electronic equipment displays the application interface in a split screen mode, the experience of switching the application is provided for the user conveniently and quickly.
With reference to the third aspect, in a fourth possible implementation manner, the third application is any one of the following applications: within a preset time, running the application with the maximum number of times in the electronic equipment in a split-screen display mode; within a preset time, the application which runs in the electronic equipment for the most times in a split-screen display mode with the second application; within a preset time, running an application with the longest duration in the electronic equipment in a split-screen display mode; an application that was recently run in electronic equipment in a split-screen display format; the application which is operated in the electronic equipment in a full-screen display mode at the last time or the application which is operated in the electronic equipment in a split-screen display mode with the second application at the last time; the fourth application is any one of the following applications: within a preset time, running the application with the maximum number of times in the electronic equipment in a split-screen display mode; within a preset time, the application which runs in the electronic equipment for the most times in a split-screen display mode with the third application; within a preset time, running the application with the longest running time in the electronic equipment in a split-screen display mode; an application that was recently run in electronic equipment in a split-screen display format; the application running in the electronic device in a full-screen display form at the last time or the application running in the electronic device in a split-screen display form with the third application at the last time. By intelligently predicting the application which the user wants to switch according to the actual situation of the application running by the electronic equipment, the user experience can be improved.
With reference to the third aspect, in a fifth possible implementation manner, the processor is further configured to execute the instruction, and determine the third application or the fourth application according to the location information of the electronic device. The contextual model of the electronic equipment is intelligently determined according to the position information of the electronic equipment, and then the application which the user wants to switch is predicted, so that the user experience can be improved.
With reference to the third aspect, in a sixth possible implementation manner, an application list is preset in the memory, and the third application or the fourth application is determined by the processor according to the application list. By switching the applications according to the application sequence in the preset application list, the flexibility is higher, and the user experience is better.
With reference to the sixth possible implementation manner of the third aspect, in a seventh possible implementation manner, the application list is user-defined, or the application list is determined by the electronic device. By switching the applications according to the application sequence in the user-defined application list or according to the application sequence in the application list determined by the electronic device, the flexibility is higher and the user experience is better.
In a fourth aspect, a computer-readable storage medium is provided, which has stored thereon computer-executable instructions, which when executed by a processor, implement the method for switching applications as in any one of the possible implementations of the first aspect.
In a fifth aspect, a chip system is provided, which may include a storage medium to store instructions; processing circuitry configured to execute the instructions to implement a method for switching applications as in any one of the possible implementations of the first aspect. The chip system may be formed by a chip, and may also include a chip and other discrete devices.
A sixth aspect provides a computer program product comprising program instructions for implementing a method for switching applications as in any one of the possible implementations of the first aspect when the program instructions are run on a computer. For example, the computer may be at least one storage node.
Drawings
FIG. 1 is a schematic diagram of a landscape screen state and a portrait screen state of an electronic device according to an embodiment of the present application;
fig. 2 is an exemplary diagram of an application interface displayed in a split screen of an electronic device according to an embodiment of the present application;
fig. 3 is a schematic view of a folding screen electronic device according to an embodiment of the present disclosure;
fig. 4 is a schematic hardware structure diagram of an electronic device according to an embodiment of the present disclosure;
fig. 5 is a schematic diagram of a software structure of an electronic device according to an embodiment of the present application;
FIG. 6 is a schematic diagram of a display process provided by an embodiment of the present application;
fig. 7 is a flowchart of a method for switching applications according to an embodiment of the present application;
fig. 8 is a first exemplary diagram of a handover application according to an embodiment of the present application;
fig. 9 is a second exemplary diagram of a handover application according to an embodiment of the present application;
fig. 10 is a diagram illustrating several examples of the first operation (or the second operation) provided by the embodiment of the present application;
FIG. 11 is an illustration of several schematic representations of a suspension provided in an embodiment of the present application;
fig. 12 is a first schematic diagram of a handover application according to an embodiment of the present application;
fig. 13 is a second schematic diagram of a handover application according to an embodiment of the present application;
fig. 14 is a third schematic diagram of a handover application according to an embodiment of the present application;
fig. 15 is a first schematic structural diagram of an electronic device according to an embodiment of the present disclosure;
fig. 16 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The embodiment of the application switching method can be applied to the process of displaying a plurality of application interfaces on the electronic equipment in a split screen mode. Specifically, the method can be applied to the process of switching the application displayed on the split screen of the electronic device when the electronic device displays a plurality of applications on the split screen.
When the electronic device displays the plurality of application interfaces in a split screen manner, the electronic device can display the plurality of application interfaces in a plurality of non-overlapping display areas of the display screen. In general, different display areas may display interfaces of different applications. Of course, some or all of the display regions that do not overlap with each other may also display the interface of the same application.
And for each display area, the electronic equipment can respond to the operation of the user in the display area, and display the interface triggered by the operation of the user in the display area. The user operation received by the electronic device in one display area does not trigger the display content of other display areas to change.
Of course, the electronic device may set one of the plurality of non-overlapping display regions as the focus display region. In response to the operation of the user on any display area of the display screen or the operation of any physical key on the electronic equipment, the electronic equipment can display an interface triggered by the operation of the user in the focus display area.
The method for switching the applications can be suitable for the process that the electronic equipment displays a plurality of application interfaces in a split screen mode when the electronic equipment is in a horizontal screen state or a vertical screen state.
It is understood that the display screen of the electronic device may include four sides, where the four sides include two longer sides that are parallel and equal to each other, which may be referred to as long sides of the display screen; the four sides also include two short sides which are parallel and equal to each other, and can be called as short sides of the display screen. When the electronic device is in a landscape state, the long side of the display screen of the electronic device is parallel to the horizontal plane (for example, as shown in fig. 1 (a)), that is, the included angle between the long side of the display screen and the horizontal plane is 0; or an included angle 03 between the long side 01 of the display screen and a projection 02 of the long side 01 on the horizontal plane is smaller than or equal to a preset value a (for example, as shown in fig. 1 (b)), that is, the included angle between the long side of the display screen and the horizontal plane is smaller than or equal to the preset value a. The preset value a is less than or equal to 45 °, and the specific value of the preset value a may be set according to an actual application scenario, for example, the preset value a may be 20 °. In the landscape screen state, the display screen of the electronic device is substantially in a landscape bar shape. When the electronic device is in the landscape state, the height of the display screen of the electronic device is smaller than the width of the display screen, and the aspect ratio (i.e. the ratio of the height to the width) of the display screen is smaller than 1. The height of the display screen is the length of the side with a smaller included angle between the display screen and the vertical plane, and the width of the display screen is the length of the side with a smaller included angle between the display screen and the horizontal plane. The height of the display screen can also be understood as the longitudinal length of the display screen, the width of the display screen can also be understood as the transverse length of the display screen, and the aspect ratio of the display screen can also be understood as the aspect ratio (i.e. the ratio of the longitudinal length to the transverse length) of the display screen.
When the electronic device is in the vertical screen state, the long side of the display screen of the electronic device is perpendicular to the horizontal plane (e.g., as shown in fig. 1 (c)); or the angle 03 between the long side 01 of the display screen and the projection 02 of the long side 01 on the horizontal plane is greater than a preset value a (e.g., the preset value a is greater than or equal to 45 ° as shown in (d) of fig. 1). When the electronic equipment is in a vertical screen state, the height of the display screen of the electronic equipment is larger than the width of the display screen, the height-width ratio of the display screen is larger than 1, and the display screen of the electronic equipment is basically in a vertical bar shape.
Referring to fig. 2, fig. 2 is a schematic view illustrating an electronic device for displaying multiple application interfaces in a split-screen manner according to an embodiment of the present application. As shown in fig. 2 (a), the electronic device is in a vertical screen state, and a display screen of the electronic device displays a plurality of application interfaces in a split screen manner. The display screen of the electronic equipment comprises a first display area 201-a and a second display area 202-a, wherein the first display area 201-a is positioned at the upper half part of the display screen of the electronic equipment, and an interface of an application A is displayed on the first display area 201-a; the second display area 202-a is located below the first display area 201-a and at the lower half of the display screen, and an interface of the application B is displayed on the second display area 202-a, wherein the first display area 201-a and the second display area 202-a are not overlapped with each other.
Or the display screen of the electronic device can display a plurality of application interfaces in a left-right split screen mode. As shown in (b) of fig. 2, the electronic device is in a landscape state, the display screen of the electronic device includes a first display area 201-b and a second display area 202-b, the first display area 201-b is located in the left half portion of the display screen of the electronic device, and the first display area 201-b displays the interface of the application a; the second display area 202-B is located at the right side of the first display area 201-B and on the right half of the display screen, and an interface of the application B is displayed on the second display area 202-B, wherein the first display area 201-B and the second display area 202-B are not overlapped with each other.
It should be noted that (a) in fig. 2 and (b) in fig. 2 are examples in which the display screen is divided into two display areas of the same size. In the method for switching applications provided by the embodiment of the application, a display screen of the electronic device can be divided into N display areas, where N is a positive integer and N > 1. In addition, the sizes of the N display areas may be equal or unequal, which is not limited in the embodiment of the present application. In addition, in the embodiment of the application, when the electronic device is in a vertical screen state and is displayed in a split screen mode, the display area on the upper half part of the display screen is a first display area, and the display area on the lower half part of the display screen is a second display area; and when the electronic device is in a horizontal and vertical screen state and is displayed in a left-right split screen mode, a display area located at the upper left half of the display screen is taken as a first display area, and a display area located at the lower right half of the display screen is taken as a second display area. The first display region and the second display region are not limited to the above-described several regions. For example, the display screen of the electronic device may further include three display areas, where the three display areas are respectively located at the left portion, the middle portion, and the right portion of the display screen of the electronic device in the landscape state; the first display area may be a display area in the middle of the electronic device.
The method for switching the applications provided by the embodiment of the application can also be applied to electronic equipment with a foldable display screen (such as a folding screen mobile phone), and when the electronic equipment with the foldable display screen is unfolded, the display screen of the electronic equipment with the foldable display screen can also be divided into a plurality of display areas. For example, the display screen of the electronic device is divided into two display areas with the position of the folded edge as a boundary.
Fig. 3 is a schematic product form diagram of an electronic device with a foldable screen according to an embodiment of the present disclosure. Fig. 3 (a) is a schematic view of the folded-out screen after being completely folded. When the folded screen is fully folded, the display screen of the electronic device is visible to the user with the A and B screens facing away from each other. The fold-out screen is unfolded along the folding edge in the directions 301a and 301b shown in fig. 3 (a), and is unfolded as shown in fig. 3 (b). Continuing the deployment in the directions 302a and 302b shown in fig. 3 (b), the deployed state shown in fig. 3 (c) can be formed. In the unfolded state shown in fig. 3 (c), the display screen of the electronic device may be divided into two display areas by using the position of the folding edge as a boundary: a first display area 301 and a second display area 302. The first display area 301 displays an interface of an application a, and the second display area 302 displays an interface of an application B.
It should be noted that fig. 3 is only an example of a folding screen electronic device, and the electronic device in the embodiment of the present application may also be a folding screen that is turned inward (referred to as an inward-folded folding screen). Or folding screen electronic devices with other structures, and the embodiments of the present application are not limited thereto.
In the method for switching applications provided in the embodiment of the present application, a first display area (e.g., 201-a in (a) in fig. 2, 201-b in (b) in fig. 2, or 301 in fig. 3) may display an interface of a first application, and a second display area (e.g., 202-a in (b) in fig. 2, 202-b in (b) in fig. 2, or 302 in fig. 3) may display an interface of a second application. For example, the first display area displays an interface for playing a movie in a "video player", and the second display area displays a "WeChat" chat interface; the user can chat with friends while watching the movie. Among them, the electronic device has installed therein a plurality of applications, such as "you and cool", "QQ music", "today's headline", "WeChat", "microblog", "Baidu map", "hundredth and so on", "Payment for treasure", "shared bicycle", "browser", "video player" and "Taobao". The first application is any application installed in the electronic equipment, and the second application is an application installed in the electronic equipment and different from the first application.
Alternatively, the first display area (e.g., 201-a in (a) of fig. 2, 201-b in (b) of fig. 2, or 301 in fig. 3) may display the interface 1 of the first application, and the second display area (e.g., 202-a in (b) of fig. 2, 202-b in (b) of fig. 2, or 302 in fig. 3) may display the interface 2 of the first application.
The interface 1 of the first application and the interface 2 of the first application may have a top-bottom hierarchical relationship, may also have the same top level, and may also have no hierarchical relationship. Alternatively, the interface 1 of the first application and the interface 2 of the first application may also be the same interface. For example, the first display area and the second display area both display an interface for "WeChat" public. The application interface displayed on different display areas is not limited in the embodiments of the present application.
The method for switching the applications can be applied to mobile phones (including folding screen mobile phones), tablet computers or netbooks. It is also applicable to other desktop type devices, laptop type devices, handheld type devices, wearable devices, smart home devices, vehicle-mounted type devices, etc. having a radio communication function, such as a Personal computer (UMPC), a netbook, a smart watch, a smart camera, a netbook, a Personal Digital Assistant (PDA), a Portable Multimedia Player (PMP), a dedicated media Player, or an AR (augmented reality)/VR (virtual reality) device, etc. The embodiment of the present application does not limit the specific type of the electronic device.
Referring to fig. 4, as shown in fig. 4, a hardware structure diagram of an electronic device according to an embodiment of the present application is shown. As shown in fig. 4, the electronic device 100 may include a processor 410, a memory (including an external memory interface 420 and an internal memory 421), a Universal Serial Bus (USB) interface 430, a charging management module 440, a power management module 441, a battery 442, an antenna 1, an antenna 2, a mobile communication module 450, a wireless communication module 460, an audio module 470, a speaker 470A, a receiver 470B, a microphone 470C, a headset interface 470D, a sensor module 480, keys 490, a motor 491, an indicator 492, a camera 493, a display screen 494, a Subscriber Identification Module (SIM) card interface 495, and the like. Among them, the sensor module 480 may include a pressure sensor 480A, a gyro sensor 480B, a magnetic sensor 480C, an acceleration sensor 480D, a fingerprint sensor 480E, a touch sensor 480F, an ambient light sensor, a distance sensor, a proximity light sensor, an air pressure sensor, a temperature sensor, a bone conduction sensor, etc.
It is to be understood that the illustrated structure of the embodiment of the present invention does not specifically limit the electronic device 100. In other embodiments of the present application, electronic device 100 may include more or fewer components than shown, or some components may be combined, some components may be split, or a different arrangement of components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
Processor 410 may include one or more processing units, such as: the processor 410 may include an Application Processor (AP), a modem processor, a Graphics Processor (GPU), an Image Signal Processor (ISP), a controller, a video codec, a Digital Signal Processor (DSP), a baseband processor, and/or a neural-Network Processing Unit (NPU), among others. The different processing units may be separate devices or may be integrated into one or more processors.
The controller can generate an operation control signal according to the instruction operation code and the timing signal to complete the control of instruction fetching and instruction execution.
A memory may also be provided in processor 410 for storing instructions and data. In some embodiments, the memory in the processor 410 is a cache memory. The memory may hold instructions or data that have just been used or recycled by the processor 410. If the processor 410 needs to use the instruction or data again, it can be called directly from the memory. Avoiding repeated accesses reduces the latency of the processor 410, thereby increasing the efficiency of the system.
In some embodiments, processor 410 may include one or more interfaces. The interface may include an integrated circuit (I2C) interface, an integrated circuit built-in audio (I2S) interface, a Pulse Code Modulation (PCM) interface, a universal asynchronous receiver/transmitter (UART) interface, a Mobile Industry Processor Interface (MIPI), a general-purpose input/output (GPIO) interface, a Subscriber Identity Module (SIM) interface, and/or a Universal Serial Bus (USB) interface, etc.
It should be understood that the connection relationship between the modules according to the embodiment of the present invention is only illustrative, and is not limited to the structure of the electronic device 100. In other embodiments of the present application, the electronic device 100 may also adopt different interface connection manners or a combination of multiple interface connection manners in the above embodiments.
The charging management module 440 is configured to receive charging input from a charger. The charger may be a wireless charger or a wired charger.
The power management module 441 is used to connect the battery 442, the charging management module 440 and the processor 410. The power management module 441 receives input from the battery 442 and/or the charging management module 440 and provides power to the processor 410, the internal memory 421, the display screen 494, the camera 493, the wireless communication module 460, and the like. The power management module 441 may also be used to monitor parameters such as battery capacity, battery cycle number, battery state of health (leakage, impedance), etc.
The wireless communication function of the electronic device 100 may be implemented by the antenna 1, the antenna 2, the mobile communication module 450, the wireless communication module 460, the modem processor, the baseband processor, and the like.
The antennas 1 and 2 are used for transmitting and receiving electromagnetic wave signals. Each antenna in the electronic device 100 may be used to cover a single or multiple communication bands. Different antennas can also be multiplexed to improve the utilization of the antennas. For example: the antenna 1 may be multiplexed as a diversity antenna of a wireless local area network. In other embodiments, the antenna may be used in conjunction with a tuning switch.
The mobile communication module 450 may provide a solution including 2G/3G/4G/5G wireless communication applied on the electronic device 100. The mobile communication module 450 may include at least one filter, a switch, a power amplifier, a Low Noise Amplifier (LNA), and the like. The mobile communication module 450 may receive the electromagnetic wave from the antenna 1, and filter, amplify, etc. the received electromagnetic wave, and transmit the electromagnetic wave to the modem processor for demodulation. The mobile communication module 450 can also amplify the signal modulated by the modem processor, and convert the signal into electromagnetic wave through the antenna 1 to radiate the electromagnetic wave. In some embodiments, at least some of the functional modules of the mobile communication module 450 may be disposed in the processor 410. In some embodiments, at least some of the functional blocks of the mobile communication module 450 may be disposed in the same device as at least some of the blocks of the processor 410.
The modem processor may include a modulator and a demodulator. The modulator is used for modulating a low-frequency baseband signal to be transmitted into a medium-high frequency signal. The demodulator is used for demodulating the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then passes the demodulated low frequency baseband signal to a baseband processor for processing. The low frequency baseband signal is processed by the baseband processor and then transferred to the application processor. The application processor outputs sound signals through an audio device (not limited to the speaker 470A, the receiver 470B, etc.) or displays images or video through the display screen 494. In some embodiments, the modem processor may be a stand-alone device. In other embodiments, the modem processor may be separate from the processor 410, and may be located in the same device as the mobile communication module 450 or other functional modules.
The wireless communication module 460 may provide a solution for wireless communication applied to the electronic device 100, including Wireless Local Area Networks (WLANs), such as Wi-Fi networks, Bluetooth (BT), Global Navigation Satellite Systems (GNSS), Frequency Modulation (FM), Near Field Communication (NFC), Infrared (IR), and the like. The wireless communication module 460 may be one or more devices integrating at least one communication processing module. The wireless communication module 460 receives electromagnetic waves via the antenna 2, performs frequency modulation and filtering processing on electromagnetic wave signals, and transmits the processed signals to the processor 410. The wireless communication module 460 may also receive a signal to be transmitted from the processor 410, perform frequency modulation and amplification on the signal, and convert the signal into electromagnetic waves through the antenna 2 to radiate the electromagnetic waves.
In some embodiments, antenna 1 of electronic device 100 is coupled to mobile communication module 450 and antenna 2 is coupled to wireless communication module 460, such that electronic device 100 may communicate with networks and other devices via wireless communication techniques. The wireless communication technology may include global system for mobile communications (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), time-division code division multiple access (time-division code division multiple access, TD-SCDMA), Long Term Evolution (LTE), LTE, BT, GNSS, WLAN, NFC, FM, and/or IR technologies, etc.
The electronic device 100 implements display functions via the GPU, the display screen 494, and the application processor, among other things. The GPU is an image processing microprocessor connected to a display screen 494 and an application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. Processor 410 may include one or more GPUs that execute program instructions to generate or alter display information.
The display screen 494 is used to display images, videos, and the like. The display screen 494 includes a display panel. In some embodiments, the electronic device 100 may include 1 or N display screens 494, N being a positive integer greater than 1.
In some embodiments, the touch sensor 480F may be configured in the display screen 494 to perform touch operation recognition and acquisition functions, i.e., the touch sensor 480F may be integrated with the display screen 494 to perform touch operation recognition functions of the electronic device 100. In this case, the touch sensor is disposed in the display screen 494, may be a part of the display screen 494, and may be otherwise disposed in the display screen 494. In addition, the touch sensor 480F may also be implemented as a full panel touch operation recognition device. Therefore, the display screen 494 can be regarded as a panel that can be recognized by touch operations at any position. The touch sensor 480F may send the collected touch operations to the processor 410 for the processor 410 to determine the touch event type. Visual output associated with the touch operation is then provided via the display screen 494.
The electronic device 100 may implement a shooting function through the ISP, the camera 493, the video codec, the GPU, the display screen 494, the application processor, and the like. The ISP is used to process the data fed back by the camera 493. The camera 493 is used to capture still images or video. In some embodiments, the electronic device 100 may include 1 or N cameras 493, N being a positive integer greater than 1. The digital signal processor is used for processing digital signals, and can process digital image signals and other digital signals. For example, when the electronic device 100 selects a frequency bin, the digital signal processor is used to perform fourier transform or the like on the frequency bin energy.
The external memory interface 420 may be used to connect an external memory card, such as a Micro SD card, to extend the memory capability of the electronic device 100. The external memory card communicates with the processor 410 through the external memory interface 420 to implement data storage functions.
The internal memory 421 may be used to store computer-executable program code, including instructions. The internal memory 421 may include a program storage area and a data storage area. The storage program area may store an operating system, an application program (such as a sound playing function, an image playing function, etc.) required by at least one function, and the like. The storage data area may store data (such as audio data, phone book, etc.) created during use of the electronic device 100, and the like. In addition, the internal memory 421 may include a high-speed random access memory, and may further include a nonvolatile memory, such as at least one magnetic disk storage device, a flash memory device, a universal flash memory (UFS), and the like. The processor 410 executes various functional applications of the electronic device 100 and data processing by executing instructions stored in the internal memory 421 and/or instructions stored in a memory provided in the processor.
Electronic device 100 may implement audio functions via audio module 470, speaker 470A, microphone 470C, headset interface 470D, and an application processor, among others. Such as music playing, recording, etc.
The pressure sensor 480A is used for sensing a pressure signal, and converting the pressure signal into an electrical signal. In some embodiments, the pressure sensor 480A may be disposed on the display screen 494. The pressure sensor 480A may be of a variety of types, such as a resistive pressure sensor, an inductive pressure sensor, a capacitive pressure sensor, and the like. The capacitive pressure sensor may be a sensor comprising at least two parallel plates having an electrically conductive material. When a force acts on the pressure sensor 480A, the capacitance between the electrodes changes. The electronic device 100 determines the strength of the pressure from the change in capacitance. When a touch operation is applied to the display screen, the electronic apparatus 100 detects the intensity of the touch operation according to the pressure sensor 480A. The electronic apparatus 100 may also calculate the touched position based on the detection signal of the pressure sensor 480A. In some embodiments, the touch operations that are applied to the same touch position but different touch operation intensities may correspond to different operation instructions. For example: and when the touch operation with the touch operation intensity smaller than the first pressure threshold value acts on the short message application icon, executing an instruction for viewing the short message. And when the touch operation with the touch operation intensity larger than or equal to the first pressure threshold value acts on the short message application icon, executing an instruction of newly building the short message.
The gyro sensor 480B may be used to determine the motion pose of the electronic device 100. In some embodiments, the angular velocity of the electronic device 100 about three axes (i.e., the x, y, and z axes) may be determined by the gyroscope sensor 480B. In some embodiments, the electronic device 100 may be switched from the portrait state to the landscape state based on data detected by the gyro sensor 480B; or the horizontal screen state is switched to the vertical screen state.
The magnetic sensor 480C includes a hall sensor. The electronic device 100 may detect the opening and closing of the flip holster using the magnetic sensor 480C. In some embodiments, when the electronic device 100 is a flip phone, the electronic device 100 may detect the opening and closing of the flip according to the magnetic sensor 480C. And then according to the opening and closing state of the leather sheath or the opening and closing state of the flip cover, the automatic unlocking of the flip cover is set.
The acceleration sensor 480D may detect the magnitude of acceleration of the electronic device 100 in various directions (typically three axes). The magnitude and direction of gravity can be detected when the electronic device 100 is stationary. The method can also be used for recognizing the posture of the electronic equipment, and is applied to switching between a vertical screen state and a horizontal screen state, pedometers and the like.
The fingerprint sensor 480E is used to collect a fingerprint. The electronic device 100 can utilize the collected fingerprint characteristics to unlock the fingerprint, access the application lock, photograph the fingerprint, answer an incoming call with the fingerprint, and so on.
The touch sensor 480F is also referred to as a "touch panel". The touch sensor 480F is used to detect a touch operation applied thereto or therearound. The touch sensor 480F can communicate the detected touch operation to an application processor to determine the touch event type. In some embodiments, the touch sensor 480F may be disposed in the display screen 494. In other embodiments, the touch sensor 480F can be disposed on a surface of the electronic device 100 at a different location than the display screen 494.
The indicator 492 may be an indicator light, and may be used to indicate a charging status, a change in charge level, or a message, a missed call, a notification, etc.
The keys 490 include a power-on key, a volume key, etc. The keys 490 may be mechanical keys. Or may be touch keys. The motor 491 may generate a vibration indication. The indicator 492 may be an indicator light, and may be used to indicate a charging status, a change in charge level, or a message, a missed call, a notification, etc. The SIM card interface 495 is used to connect a SIM card. The SIM card can be attached to and detached from the electronic apparatus 100 by being inserted into the SIM card interface 495 or being pulled out from the SIM card interface 495.
Referring to fig. 5, fig. 5 shows a block diagram of a software structure of the electronic device 100 according to an embodiment of the present application in an Android (Android) operating system. As shown in fig. 5, the Android operating system may be divided into four layers, which are an application layer, an application framework layer, an Android runtime (Android runtime) and system library, and a kernel layer from top to bottom.
The application layer may provide, among other things, core applications such as cameras, calendars, maps, music, short messages, WLAN, galleries, conversations, navigation, bluetooth, video, and so on. For convenience of description, the application program will be simply referred to as an application hereinafter.
The application framework layer provides an Application Programming Interface (API) and a programming framework for the application programs of the application layer. The application framework layer includes a number of predefined functions. As shown in fig. 5, the application framework layer may include a window manager service (VMS), an Activity Manager Server (AMS), an input event manager server (IMS), a content provider, a view system, a phone manager, a resource manager, a notification manager, and the like. For specific descriptions of the VMS, AMS, IMS, content provider, view system, phone manager, resource manager, notification manager, etc., reference may be made to explanations and descriptions in the conventional art, and the embodiments of the present application are not described herein again.
The android runtime is responsible for scheduling and managing an android operating system.
The system library may include a plurality of functional modules. For example: surface managers (surface managers), Media Libraries (Media Libraries), three-dimensional graphics processing Libraries (e.g., OpenGL ES), 2D graphics engines (e.g., SGL), and the like. For specific descriptions of the surface manager, the media library, the three-dimensional graphics processing library, the 2D graphics engine, and the like, reference may be made to explanations and descriptions in the conventional technology, and details are not repeated herein in the embodiments of the present application.
The kernel layer is a layer between hardware and software. The kernel layer may contain display drivers, input/output device drivers (e.g., keyboard, touch screen, headphones, speakers, microphones, etc.), device nodes, camera drivers, audio drivers, and sensor drivers, among others. The user carries out input operation through the input device, and the kernel layer can generate a corresponding original input event according to the input operation and store the original input event in the device node.
As shown in fig. 5, the application framework layer may further include an Activity Startup Policy Manager (ASPM) for determining startup parameters of an Activity (Activity), and other information.
Based on the software structure shown in fig. 5, in the embodiment of the present application, reference may be made to fig. 6 for a process of displaying an application in a display area of a display screen. In particular, the input/output device driver may detect an input event by a user. For example, the user clicks an icon of a certain application to open an input event of the certain application, or the user issues an instruction to switch the applications, or the like. The input/output device driver reports the input event of the user to the IMS. The IMS distributes incoming events to the respective applications. The application calls the startActivity interface in the AMS to start the Activity corresponding to the input event. The AMS requests the ASPM for the start parameters. The ASPM determines the startup parameters and returns the startup parameters to the AMS. The AMS calls a Windows Management Service (WMS) interface according to the start parameter. And the WMS draws a window corresponding to the Activity according to the starting parameter, and calls a display driver to realize the display of the interface.
Among them, the applications in the application layer shown in fig. 6 may include the applications in the application program layer shown in fig. 5, that is, the applications installed in the electronic device 100 when the operating system is installed before the electronic device 100 is shipped from the factory. And may also include a third-party application (e.g., an application installed by a user via an application store), which is not limited in the embodiments of the present application.
Specifically, the ASPM may determine an Activity initiation parameter according to the Activity initiation scenario. Activities' launch parameters include, but are not limited to, the way the Activity window is displayed, the location where the Activity window is launched, the stack where the Activity window is launched, the width of the application launch config, and so on. The display mode comprises full-screen display or area display. The Activity starting scene includes whether the Activity is started from a desktop, from the inside of the application, or other application calls to be started, whether the electronic device 100 is in a landscape state or a portrait state, whether a display screen of the electronic device 100 is in a full-screen display application interface or a split-screen display application interface, and the like.
If the Activity startup parameter is already stored in the electronic device 100 (for example, a startup parameter set during application development, or a corresponding startup parameter when the electronic device 100 is in a portrait screen mode), when the startup parameter determined by the ASPM is different from the stored startup parameter, the ASPM may modify the previously stored startup parameter into the currently determined startup parameter of the ASPM. For example, if a split-screen display mode is adopted, in the start parameter determined by the ASPM, the start position of the window may be the position of the ith display area on the touch screen when the touch screen is in a landscape mode, for example, when the display screen includes the first display area and the second display area, the start position of the window may be the first display area or the second display area. The Stack (Stack) of the start window is Freeform Stack (i.e. the multi-window dedicated Stack native to Android). The high and wide information in the application start config may be width information and height information of the ith display area. For another example, if the display screen is currently a full-screen display application interface, the window is started in a full screen position in the start parameters determined by the ASPM; the Stack (Stack) of the start window may be a full screen Stack (fullscreenstack); the high-width information in the application start config may be width information and height information of the display screen at the full screen.
The method for switching applications provided in the embodiment of the present application may be implemented in an electronic device having a hardware structure as shown in fig. 4, an electronic device having a software structure as shown in fig. 5, or an electronic device having a similar hardware structure and software structure, or may also be implemented in an electronic device having other hardware and software structures.
In the following, taking a mobile phone having a hardware structure shown in fig. 4 and a software structure shown in fig. 5 as an example, taking the state shown in (a) in fig. 1 as a landscape state and the state shown in (c) in fig. 1 as a portrait state, a display screen of the mobile phone is divided into two display areas: the first display area and the second display area are taken as examples to specifically explain technical solutions provided by the embodiments of the present application. Wherein, a plurality of applications are installed in the mobile phone.
As shown in fig. 7, the method for switching applications provided in the embodiment of the present application may include steps S701 to S703:
s701, the mobile phone displays a first interface in the first display area and displays a second interface in the second display area. Wherein the first interface is an interface of a first application and the second interface may be an interface of a second application.
Wherein the first application is any one of a plurality of applications installed in the mobile phone. The second application may be the same as the second application, or the second application may be another application, other than the first application, among a plurality of applications installed in the mobile phone.
If the second application is the same as the first application, the second interface and the first interface may have a top-bottom hierarchical relationship, may also have the same top-bottom hierarchical relationship, and may also have no hierarchical relationship. For example, the first display area displays an interface of a 'WeChat' public number, and the second display area displays a 'WeChat' chat interface; wherein, the interface of the 'WeChat' public number and the 'WeChat' chat interface have the same upper level. For another example, the first display area displays the interface of the 'WeChat' public number, and the second display area displays the interface of the public number a; wherein, the interface of the public number a is the next level of the interface of the WeChat public number. For another example, the first display area displays a chat interface with friend b, and the second display area displays an interface of public number a; wherein, the chat interface with the friend b has no hierarchical relation with the interface of the public number a.
Alternatively, if the second application is the same as the first application, the second interface and the first interface may also be the same interface. For example, the first display area and the second display area both display an interface for "WeChat" public. The application interface displayed on different display areas is not limited in the embodiments of the present application.
In the embodiment of the present application, different interfaces of the same application may correspond to the same Activity (Activity) or different activities. When different interfaces correspond to the same Activity, the interfaces may correspond to the same hierarchy. When different interfaces correspond to different Activity, the interfaces correspond to different hierarchies. In response to a user operating on one interface, the interface may invoke another interface. For example, in response to a user clicking on "friend b" on the "WeChat" address book interface, the "WeChat" address book interface invokes a chat interface with "friend b".
In some embodiments, before S701, the display screen of the mobile phone displays the main interface (i.e., the first interface) of the "today' S headline" in full screen, as shown at 801 in (a) in fig. 8. The mobile phone can respond to the operation (such as operation 802 in (a) in fig. 8) of long-pressing a multi-task key in the three-key navigation by a user, and trigger the mobile phone to display an application interface in a split screen mode through the first display area and the second display area; the first display area displays a main interface 803 (i.e., a first interface) of "this day top bar", and the second display area displays a preset application interface 804 (e.g., a main screen interface or a preset split screen application interface, etc.) including a plurality of application icons, as shown in fig. 8 (b). In response to the user clicking on the icon of "pan" (i.e., the second application) in the interface including the plurality of application icons described above (as in operation 805 in (c) of fig. 8), the cell phone displays a "pan" home page (i.e., the second interface) in the second display area, as shown at 806 in (d) of fig. 8.
In other embodiments, before S701, the display screen of the mobile phone may display the main interface (i.e., the first interface) of "today' S headline" in full screen, as shown at 901 in (a) in fig. 9. The mobile phone can respond to the situation that the mobile phone is switched from the vertical screen state to the horizontal screen state, and the mobile phone is triggered to display an application interface in a split screen mode through the first display area and the second display area; the first display area displays a home interface 902 (i.e., a first interface) of "today's headline", and the second display area displays a home interface 903 of the mobile phone, as shown in fig. 9 (b). In response to the user clicking on the icon of "pan" (i.e., the second application) in the main interface of the handset displayed in the second display area (as in operation 904 in (b) of fig. 9), the handset displays a "pan" home page 905 (i.e., the second interface) in the second display area (as shown in (c) of fig. 9).
Fig. 8 is an example in which, in response to an operation of a user pressing a multi-task key in a three-key navigation for a long time, the mobile phone displays a preset application interface (as shown in 804 in fig. 8 (b)) in the second display area; fig. 9 is an example in which the mobile phone displays the mobile phone main interface (shown as 903 in (b) of fig. 9) in the second display area in response to the mobile phone switching from the portrait screen state to the landscape screen state. The mobile phone can also display patterns (such as wallpaper patterns) in the second display area in response to the operation of long pressing of a multi-task key in three-key navigation by a user or in response to the switching of the mobile phone from the vertical screen state to the horizontal screen state; or displaying the desktop background, i.e. exposing part of the desktop background, etc. The embodiments of the present application do not limit this.
It is understood that when the mobile phone has a full screen display application interface switched to a split screen display application interface, the multitask key in the three-key navigation displayed on the display screen of the mobile phone can be switched to a split screen management key (such as 807 in fig. 8 and 906 in fig. 9). The split screen management key is a navigation key for managing split screens when the mobile phone displays an application interface in a split screen mode. If the mobile phone responds to the operation of long pressing of a multi-task key in the three-key navigation by the user or responds to the mobile phone switching from the vertical screen state to the horizontal screen state, displaying a pattern (such as a wallpaper pattern) in the second display area; or displaying the desktop background, i.e. exposing part of the desktop background, etc. The mobile phone can also display a split-screen application interface (for example, a main screen interface or a preset split-screen application interface and the like) comprising a plurality of application icons in the second display area in response to the operation of clicking the split-screen management key by the user. For the user to select therefrom the application to be displayed in the second display area.
In other embodiments, before S701, the mobile phone may also display the application interface in a split screen manner, that is, the application interface is displayed in the first display area and the second display area respectively. In the embodiment of the present application, before S701, the display state of the display screen of the mobile phone is not limited.
S702, the mobile phone receives a first operation; and responding to the first operation, the mobile phone displays the third interface in the first display area and displays the second interface in the second display area.
The first operation is used for instructing switching of the application displayed in the first display area. The third interface is an interface of a third application, the third application being different from the first application.
In some embodiments, the first operation may be any one of the following three operations (a), (b), or (c):
(a) the first operation is a preset gesture operation of a user in the first display area, such as a sliding operation. Illustratively, the first operation may be as operation 1001 in (a) in fig. 10, operation 1003 in (b) in fig. 10, operation 1005 in (c) in fig. 10, operation 1007 in (d) in fig. 10, or operation 1009 in (e) in fig. 10. Wherein the operation 1001 is a sliding operation into the first display region along the left edge of the first display region; operation 1003 is a sliding operation into the first display region along the right edge of the first display region; operation 1005 is a three finger slide operation within the first display region; operation 1007 is a slide operation into the first display region along the left edge of the first display region; operation 1009 is a three finger swipe operation within the first display region.
It should be noted that the operation 1001, the operation 1003, the operation 1005, the operation 1007, or the operation 1009 are only examples of several gestures of the first operation, and the first operation may also be other preset gesture operations, which is not limited in this embodiment of the present application.
If the first operation is a sliding operation of the user in the first display area, the mobile phone can switch the interface of the first application displayed in the first display area to the interface of the third application in response to the first operation.
For example, it is assumed that the first display area displays an interface of application a and the second display area displays an interface of application B, as shown in (a) of fig. 12. In response to an operation 1201 of the user in the first display area, the mobile phone switches the interface of the application a displayed in the first display area to the interface of the application C, and the second display area still displays the interface of the application B, as shown in (B) of fig. 12.
(b) The first operation is an operation in which the user clicks a hover button.
In some embodiments, a first hover button (shown as 1101 in (a) of fig. 11, 1103 in (b) of fig. 11, or 1105 in (c) of fig. 11) may be displayed within the first display region, and a second hover button (shown as 1102 in (a) of fig. 11, 1104 in (b) of fig. 11, or 1106 in (c) of fig. 11) may be displayed within the second display region. The first operation may be an operation in which the user clicks the first hover button 1101, 1103, or 1105. The first operation is used for instructing switching of the application displayed in the first display area.
In other embodiments, the display screen of the mobile phone may only display one hover button (e.g., a third hover button), and if the first display area is the focus display area, the third hover button is used to switch the application displayed in the first display area; and if the second display area is the focus display area, the third floating button is used for switching the application displayed in the second display area.
The focus display area is a display area that a user has operated most recently. For example, if the user is currently operating on the first display region, then the focus display region is the first display region. As another example, the last operation by the user on the touch screen (i.e., the display screen) is an operation in the second display region, and then the focus display region is the second display region. In some embodiments, the focus identification may also be displayed on the display of the handset. If the focus mark is displayed in the first display area, indicating that the first display area is a focus display area; and if the focus mark is displayed in the second display area, indicating that the second display area is the focus display area. The focus indicator may be an icon, as shown in (d) in fig. 11 and (e) in fig. 11, the focus indicator 1109 is displayed in a first display region, and the color of the focus indicator is used to remind the user that the first display region is the focus display region. The focus indication can also be embodied by a difference in display manner. For example, the navigation bar of the application interface in the first display area is displayed normally, the navigation bar of the application interface in the first display area is displayed in a gray scale, and the user is reminded that the first display area is the focus display area through the difference of the display modes. The specific mark form and display mode of the focus mark are not limited in the embodiments of the present application.
Illustratively, as shown by 1107 in (d) of fig. 11 or 1108 in (e) of fig. 11. The first operation may be an operation of clicking the hover button 1107 or 1108 by the user, and if the first display area is the focus display area, the mobile phone switches the application displayed in the first display area.
If the first operation area is not the focus display area, before S702, the method for switching applications according to the embodiment of the application may further include: the mobile phone receives a third operation; in response to the third operation, the mobile phone sets the first display area as a focus display area. Illustratively, the third operation may be a click operation of the user at any position of the first display area.
It should be noted that (a) in fig. 11 to (e) in fig. 11 are only examples of some floating buttons, and the floating button may be disposed at another position or may be a button with another shape, and the embodiment of the present application is not limited thereto.
If the first operation is an operation of clicking a hover button by a user, the mobile phone can switch the interface of the first application displayed in the first display area to the interface of the third application in response to the first operation.
For example, it is assumed that the first display area displays an interface of application a and the second display area displays an interface of application B, as shown in (a) of fig. 13. Assuming that the user is currently operating the interface of the application a, that is, the first display area is the focus display area, in response to the operation of clicking the hover button by the user (as in operation 1301 in (a) in fig. 13), the mobile phone switches the interface of the application a displayed in the first display area to the interface of the application C, and the second display area still displays the interface of the application B, as in (B) in fig. 13.
(c) The first operation is an operation in which the user clicks a split screen management key (e.g., 1110 in fig. 11) when the first display area is the focus display area.
And the user clicks the split screen management key to instruct to switch the application displayed in the focus display area. If the first display area is the focus display area, the split screen management key is used for switching the application displayed in the first display area; and if the second display area is the focus display area, the split screen management key is used for switching the application displayed in the second display area. For the description of the focus display area, reference may be made to the above explanations and descriptions, which are not repeated herein.
It should be noted that the operations (a), (b), and (c) are only examples of some first operations, and the first operations may also be other operations, which are not limited in the embodiments of the present application.
In some embodiments, the mobile phone may further display a third interface in the first display area and a fourth interface in the second display area in response to the first operation. Namely, the mobile phone switches the application displayed in the first display area and the application displayed in the second display area at the same time.
Illustratively, in response to a sliding operation 1402 of the user at the split screen line (1401 in (a) in fig. 14), the mobile phone switches the interface of the application a displayed in the first display area to the interface of the application C, and switches the application B displayed in the second display area to the application D, as shown in (B) in fig. 14.
And S703, the mobile phone receives a second operation.
The second operation is used for instructing to switch the application displayed in the second display area. The fourth interface is an interface of a fourth application, the fourth application being different from the second application.
Wherein the second operation may be any one of the following three operations (a), (B), or (C):
(A) and performing preset gesture operation, such as sliding operation, of the user in the second display area.
For example, the second operation may be as operation 1002 in (a) in fig. 10, operation 1004 in (b) in fig. 10, operation 1006 in (c) in fig. 10, operation 1008 in (d) in fig. 10, or operation 1010 in (e) in fig. 10. Wherein the operation 1002 is a sliding operation into the second display area along the left edge of the second display area; operation 1004 is a slide operation into the second display region along the second display region right edge; operation 1006 is a three finger slide operation within the second display area; operation 1008 is a sliding operation into the second display region along the second display region right edge; operation 1010 is a three finger slide operation within the second display area.
It should be noted that the operation 1002, the operation 1004, the operation 1006, the operation 1008, or the operation 1010 are only examples of several gestures of the first operation, and the first operation may also be other preset gesture operations, which is not limited in this embodiment of the present application.
(B) And the second operation is an operation of clicking the hover button by the user.
For example, the second operation may be an operation in which the user clicks a second hover button (such as 1102 in (a) in fig. 11, 1104 in (b) in fig. 11, or 1106 in (c) in fig. 11). For another example, if only one hover button (e.g., a third hover button) is displayed on the display screen of the mobile phone, the second operation may be an operation of the user clicking the hover button 1103. If the second display area is the focus display area, the mobile phone can switch the application displayed in the second display area. If the second operation area is not the focus display area, before S704, the method for switching applications according to the embodiment of the application may further include: the mobile phone receives a fourth operation; in response to the fourth operation, the mobile phone sets the second display area as the focus display area. Illustratively, the fourth operation may be a click operation of the user at any position of the second display area.
(C) The second operation is an operation in which the user clicks a split screen management key (e.g., 1110 in fig. 11) when the second display area is the focus display area.
And the user clicks the split screen management key to instruct to switch the application displayed in the focus display area. If the first display area is the focus display area, the split screen management key is used for switching the application displayed in the first display area; and if the second display area is the focus display area, the split screen management key is used for switching the application displayed in the second display area.
And S704, responding to the second operation, displaying the third interface on the first display area and displaying the fourth interface on the second display area by the mobile phone.
If the second operation is a preset gesture operation of the user in the second display area, the mobile phone responds to the second operation, and the interface of the second application displayed in the second display area can be switched to the interface of the fourth application.
Illustratively, when the mobile phone is in the display state as shown in (B) of fig. 12, in response to an operation 1202 of the user in the second display area, the mobile phone switches the interface of the application B displayed in the second display area to the interface of the application D, and the first display area still displays the interface of the application C as shown in (C) of fig. 12.
If the second operation is an operation of clicking the hover button by the user, the mobile phone may switch the interface of the second application displayed in the second display area to the interface of the fourth application in response to the second operation.
Illustratively, when the mobile phone is in the display state as shown in (B) of fig. 13, in response to an operation of clicking the hover button by the user (operation 1302 in (B) of fig. 13), the mobile phone switches the interface of the application C displayed in the first display area to the interface of the application D, and the interface of the application B is still displayed in the second display area, as shown in (C) of fig. 13.
If the second operation is an operation of clicking the split screen management key when the user is in the second display area, the mobile phone may also switch the interface of the second application displayed in the second display area to the interface of the fourth application in response to the second operation.
In some embodiments, after the mobile phone receives the first operation and before responding to the first operation, the method for switching applications in the embodiments of the present application may further include: the handset determines a third application. Or after the mobile phone receives the second operation and before responding to the second operation, the method for switching applications in the embodiment of the application may further include: the handset determines a fourth application.
In some embodiments, the third application may be any one of the following applications:
1. and in a preset time, running the application with the maximum number of times in the electronic equipment in a split-screen display mode.
2. And in a preset time, the application which runs in the electronic equipment for the most times in a split screen display mode with the second application.
3. And within a preset time, running the application with the longest running time in the electronic equipment in a split-screen display mode.
4. Applications that have recently been run in the electronic device in a split screen display format.
5. An application that was last run in the electronic device in full screen display form.
6. And the application which is operated in the electronic equipment in a split screen display mode with the second application at the last time.
In other embodiments, a list of applications and priorities of the applications in the list of applications may be preset in the handset. And responding to the first operation or the second operation, and the mobile phone can perform application switching according to the priority of the applications in the application list.
The mobile phone may determine the preset application list in the mobile phone according to any one of the following information 1, information 2, information 3, information 4, information 5, or information 6:
information 1, ranking the number of times that at least one application of a plurality of applications installed in the mobile phone runs in the mobile phone in a split-screen display mode within a preset time. The more times, the higher the ranking, the higher the priority; the fewer the number of times, the lower the ranking, the lower the priority. The operation is performed in the foreground of the mobile phone.
And information 2, ranking the running time length of at least one application and each other application in the mobile phone in a split-screen display mode in the preset time. The more the duration is, the higher the ranking is, and the higher the priority is; the less the duration, the lower the ranking, the lower the priority.
And 3, ranking the number of times that at least one application and each other application in the plurality of applications installed in the mobile phone run in the mobile phone in a split-screen display mode within a preset time. The more times, the higher the ranking, the higher the priority; the fewer the number of times, the lower the ranking, the lower the priority.
And 4, information and the latest m applications running in the mobile phone in a split-screen display mode. Wherein m is a positive integer.
And information 5, the latest n applications running in the mobile phone in a full-screen display mode. Wherein n is a positive integer.
Information 6, k applications matched with the position information of the mobile phone. Wherein k is a positive integer.
For example, the k applications may be k applications that are used at the most times/for the longest time per location/place of the mobile phone. The mobile phone can determine which kind of scenes the user is located in according to the location information, such as an airport, a mall, a highway, an office building, a high-speed rail, a movie theater or other places.
For example, if the location information of the mobile phone indicates that the mobile phone is located at an airport, the mobile phone may determine that k applications matching the location information of the mobile phone include "go to the local network", "take away", and the like.
It can be understood that the information 1 to the information 6 may reflect the habit of the user to use the application or the requirement of the user to use a certain application to some extent, and therefore, in the application list determined according to the information 1 to the information 6, the application with higher priority is more likely to meet the requirement of the user for switching. The third application or the fourth application determined according to the application list has a higher possibility of meeting the user switching requirement.
In other embodiments, the handset may also receive user customization, preset an application list and priorities of applications in the application list. And switching the application displayed in the first display area or the second display area by the mobile phone according to the application list.
For example, it is assumed that an application list and priorities of applications in the application list are preset in the mobile phone in a table form, as shown in table 1.
TABLE 1
Applications of Priority level
"the head of today" 1
'Weixin' 2
"Taobao" 3
Baidu map " 4
Hungry how " 5
…… ……
It will be appreciated that if the handset determines from table 1 that the third application is "today's headline". However, the user does not want to use "today's headline", and in this case, the user may further continue to switch the application displayed in the first display area through a preset gesture operation in the first display area, or an operation of clicking a hover button, or clicking a split screen management key, or the like. For a specific implementation process, reference may be made to the method for switching applications shown in fig. 7 in this embodiment, which is not described herein again.
In some embodiments, if the mobile phone determines that the mobile phone has switched all the applications continuously according to the application sequence in the preset application list, in response to the first operation, the mobile phone may further display a split-screen application interface including a plurality of application icons, or a main interface of the mobile phone, for the user to select an application that the user wants to use from.
By adopting the method for switching the applications, the mobile phone can predict the applications with high use possibility of the user, and the method is used for the user to adopt convenient and quick operation, so that the purpose of switching the applications can be achieved, and the user experience is improved.
It is to be understood that the electronic device comprises corresponding hardware structures and/or software modules for performing the respective functions in order to realize the functions of any of the above-described embodiments. Those of skill in the art would readily appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as hardware or combinations of hardware and computer software. Whether a function is performed as hardware or computer software drives hardware depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
The embodiment of the application can divide the functional modules of the electronic device, for example, each functional module can be divided corresponding to each function, or two or more functions can be integrated into one processing module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. It should be noted that, in the embodiment of the present application, the division of the module is schematic, and is only one logic function division, and there may be another division manner in actual implementation.
For example, in a case that each functional module is divided in an integrated manner, as shown in fig. 15, a schematic structural diagram of an electronic device provided in the embodiment of the present application is shown. The electronic device 100 may include a display unit 1510 and a detection unit 1520.
The display unit 1510 is configured to support the electronic device 100 to execute S701, and display the first interface and the second interface in a split screen manner. And/or other processes for the techniques described herein. The detection unit 1520 is used to support the electronic device 100 to perform the receiving first operation in S702, and to support the electronic device 100 to perform the receiving second operation in S703, and/or other processes for the techniques described herein. The display unit 1510 is further configured to support the electronic apparatus 100 to perform: responding to the first operation, displaying a third interface in the first display area, and displaying a second interface in the second display area; and supporting the electronic device 100 to perform: responding to the second operation, displaying a third interface in the first display area, and displaying a fourth interface in the second display area; and/or other processes for the techniques described herein.
As shown in fig. 15, the electronic device 100 in the embodiment of the present application may further include an analysis unit 1530 for determining the third application or determining the fourth application. For example, the analysis unit 1530 may predict the application that the user wants to switch according to the actual situation of the application run by the electronic device; alternatively, analysis unit 1530 may determine a contextual model of the electronic device based on the location information of the electronic device, and predict an application that the user wants to switch.
In one possible configuration, the electronic device 100 may also include a storage unit 1540, as shown in fig. 16. The storage unit 1540 may be preset with an application list, so that the analysis unit 1530 may determine the third application or the fourth application according to the application sequence in the application list, and/or perform other processes for the techniques described herein.
It should be noted that all relevant contents of each step related to the above method embodiment may be referred to the functional description of the corresponding functional module, and are not described herein again.
It should be noted that in one possible configuration, the electronic device 100 may further include a radio frequency circuit. Specifically, the electronic device 100 may receive and transmit wireless signals through the radio frequency circuit. Typically, the radio frequency circuitry includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency circuitry may also communicate with other devices via wireless communication. The wireless communication may use any communication standard or protocol including, but not limited to, global system for mobile communications, general packet radio service, code division multiple access, wideband code division multiple access, long term evolution, email, short message service, and the like.
In an alternative, when the data transfer is implemented using software, it may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the processes or functions described in the embodiments of the present application are implemented in whole or in part. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored in a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, from one website site, computer, server, or data center to another website site, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, Digital Subscriber Line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device, such as a server, a data center, etc., that incorporates one or more of the available media. The usable medium may be a magnetic medium (e.g., floppy Disk, hard Disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., Solid State Disk (SSD)), among others.
The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied in hardware or may be embodied in software instructions executed by a processor. The software instructions may consist of corresponding software modules that may be stored in RAM memory, flash memory, ROM memory, EPROM memory, EEPROM memory, registers, a hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art. An exemplary storage medium is coupled to the processor such the processor can read information from, and write information to, the storage medium. Of course, the storage medium may also be integral to the processor. The processor and the storage medium may reside in an ASIC. In addition, the ASIC may reside in a probing apparatus. Of course, the processor and the storage medium may reside as discrete components in the probe device.
Through the above description of the embodiments, it is clear to those skilled in the art that, for convenience and simplicity of description, the foregoing division of the functional modules is merely used as an example, and in practical applications, the above function distribution may be completed by different functional modules according to needs, that is, the internal structure of the device may be divided into different functional modules to complete all or part of the above described functions.
In the several embodiments provided in the present application, it should be understood that the disclosed user equipment and method may be implemented in other manners. For example, the above-described device embodiments are merely illustrative, and for example, the division of the modules or units is only one logical functional division, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or may be integrated into another device, 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.
The units described as separate parts may or may not be physically separate, and parts displayed as units may be one physical unit or a plurality of physical units, that is, may be located in one place, or may be distributed in a plurality of different places. 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, functional units 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 form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a readable storage medium. Based on such understanding, the technical solutions of the embodiments of the present application may be essentially or partially contributed to by the prior art, or all or part of the technical solutions may be embodied in the form of a software product, where the software product is stored in a storage medium and includes several instructions to enable a device (which may be a single chip, a chip, or the like) or a processor (processor) to execute all or part of the steps of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
The above description is only an embodiment of the present application, but the scope of the present application is not limited thereto, and any changes or substitutions within the technical scope of the present disclosure should be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (27)

1. A method for switching applications, applied to an electronic device in which a plurality of applications are installed, the method comprising:
the electronic equipment displays a first interface in a first display area and displays a second interface in a second display area; wherein the first interface is an interface of a first application and the second interface is an interface of a second application;
the electronic equipment receives a first operation, responds to the first operation, displays a third interface in the first display area, and displays the second interface in the second display area; wherein the third interface is an interface of a third application, the third application being different from the first application;
the electronic equipment receives a second operation, responds to the second operation, and displays the third interface in the first display area and displays a fourth interface in the second display area; wherein the fourth interface is an interface of a fourth application, the fourth application being different from the second application.
2. The method of claim 1, wherein the first display area displays a first hover button and the second display area displays a second hover button; the first floating button is used for switching the application displayed in the first display area, and the second floating button is used for switching the application displayed in the second display area;
the first operation is a preset gesture operation of a user in the first display area or an operation of clicking the first suspension button by the user; the preset gesture operation comprises a sliding operation;
the second operation is preset gesture operation of a user in the second display area or operation of clicking the second suspension button by the user.
3. The method of claim 1, wherein the first display area or the second display area is displayed with a third hover button; the third floating button is used for switching the application displayed in the first display area, or the third floating button is used for switching the application displayed in the second display area;
if the first display area is a focus display area, the third floating button is used for switching the application displayed in the first display area; if the second display area is a focus display area, the third floating button is used for switching the application displayed in the second display area; the focus display area refers to a display area which is operated by a user last time;
the first operation is an operation of clicking the third hover button by a user when the first display area is a focus display area;
the second operation is an operation in which the user clicks the third hover button when the second display area is a focus display area.
4. The method according to claim 1, wherein a split screen management key is displayed on a display screen of the electronic device, and the split screen management key is a navigation key for managing split screen when the electronic device displays an application interface in a split screen manner;
if the first display area is a focus display area, the split screen management key is used for switching the application displayed in the first display area; if the second display area is the focus display area, the split screen management key is used for switching the application displayed in the second display area; the focus display area refers to a display area which is operated by a user last time;
the first operation is an operation that a user clicks the split screen management key when the first display area is a focus display area;
and the second operation is the operation that the user clicks the split screen management key when the second display area is the focus display area.
5. The method according to any of claims 1-4, characterized in that the third application is any of the following applications:
within a preset time, running the application with the maximum number of times in the electronic equipment in a split-screen display mode; within a preset time, the application which runs in the electronic equipment for the most times in a split-screen display mode with the second application; within a preset time, running the application with the longest running time in the electronic equipment in a split-screen display mode; an application that was last run in the electronic device in a split screen display format; the application which is operated in the electronic equipment in a full-screen display mode at the last time or the application which is operated in the electronic equipment in a split-screen display mode with the second application at the last time;
the fourth application is any one of the following applications:
within a preset time, running the application with the maximum number of times in the electronic equipment in a split-screen display mode; within a preset time, the application which runs in the electronic equipment for the most times in a split-screen display mode with the third application; within a preset time, running the application with the longest running time in the electronic equipment in a split-screen display mode; an application that was last run in the electronic device in a split screen display format; the application which is operated in the electronic equipment in a full-screen display mode at the last time or the application which is operated in the electronic equipment in a split-screen display mode with the third application at the last time.
6. The method of any of claims 1-4, wherein the third application or the fourth application is determined by the electronic device based on location information of the electronic device.
7. The method according to any one of claims 1-4, wherein an application list is pre-set in the electronic device, and the third application or the fourth application is determined by the electronic device according to the application list.
8. The method of claim 7, wherein the application list is user-defined or determined by the electronic device.
9. An electronic device, wherein a plurality of applications are installed in the electronic device, the electronic device comprising: a display unit including at least two display regions including a first display region and a second display region, the first display region and the second display region being non-overlapping;
the first display area is used for displaying a first interface; the first interface is an interface of a first application;
the second display area is used for displaying a second interface; the second interface is an interface of a second application;
the electronic device further includes:
a detection unit for receiving a first operation;
the first display area is further used for responding to the first operation and displaying a third interface in the first display area; the third interface is an interface of a third application, the third application being different from the first application;
the detection unit is further used for receiving a second operation;
the second display area is further used for responding to the second operation and displaying a fourth interface in the second display area; the fourth interface is an interface of a fourth application, the fourth application being different from the second application.
10. The electronic device of claim 9, wherein the first display area is further configured to display a first hover button; the second display area is further used for displaying a second suspension button; the first floating button is used for switching the application displayed in the first display area, and the second floating button is used for switching the application displayed in the second display area;
the first operation is a preset gesture operation of a user in the first display area or an operation of clicking the first suspension button by the user; the preset gesture operation comprises a sliding operation;
the second operation is preset gesture operation of a user in the second display area or operation of clicking the second suspension button by the user.
11. The electronic device of claim 9, wherein the first display area is further configured to display a third hover button; or, the second display area is further configured to display a third hover button; the third floating button is used for switching the application displayed in the first display area, or the third floating button is used for switching the application displayed in the second display area;
if the first display area is a focus display area, the third floating button is used for switching the application displayed in the first display area; if the second display area is a focus display area, the third floating button is used for switching the application displayed in the second display area; the focus display area refers to a display area which is operated by a user last time;
the first operation is an operation of clicking the third hover button by a user when the first display area is a focus display area;
the second operation is an operation in which the user clicks the third hover button when the second display area is a focus display area.
12. The electronic device of claim 9, wherein the display unit is further configured to display a split screen management key, and the split screen management key is a navigation key for managing split screens when the electronic device displays an application interface in a split screen manner;
if the first display area is a focus display area, the split screen management key is used for switching the application displayed in the first display area; if the second display area is the focus display area, the split screen management key is used for switching the application displayed in the second display area; the focus display area refers to a display area which is operated by a user last time;
the first operation is an operation that a user clicks the split screen management key when the first display area is a focus display area;
and the second operation is the operation that the user clicks the split screen management key when the second display area is the focus display area.
13. Electronic device according to any of claims 9-12, characterized in that the third application is any of the following applications:
within a preset time, running the application with the maximum number of times in the electronic equipment in a split-screen display mode; within a preset time, the application which runs in the electronic equipment for the most times in a split-screen display mode with the second application; within a preset time, running the application with the longest running time in the electronic equipment in a split-screen display mode; an application that was last run in the electronic device in a split screen display format; the application which is operated in the electronic equipment in a full-screen display mode at the last time or the application which is operated in the electronic equipment in a split-screen display mode with the second application at the last time;
the fourth application is any one of the following applications:
within a preset time, running the application with the maximum number of times in the electronic equipment in a split-screen display mode; within a preset time, the application which runs in the electronic equipment for the most times in a split-screen display mode with the third application; within a preset time, running the application with the longest running time in the electronic equipment in a split-screen display mode; an application that was last run in the electronic device in a split screen display format; the application which is operated in the electronic equipment in a full-screen display mode at the last time or the application which is operated in the electronic equipment in a split-screen display mode with the third application at the last time.
14. The electronic device according to any of claims 9-12, wherein the electronic device further comprises an analysis unit, and the third application or the fourth application is determined by the analysis unit based on location information of the electronic device.
15. The electronic device according to any one of claims 9 to 12, wherein the electronic device further includes a storage unit and an analysis unit, wherein an application list is preset in the storage unit, and the third application or the fourth application is determined by the analysis unit according to the application list.
16. The electronic device of claim 15, wherein the application list is user-defined or determined by the analysis unit.
17. An electronic device, wherein a plurality of applications are installed in the electronic device, the electronic device comprising:
a memory for storing computer program code, the computer program code comprising instructions;
the display screen is used for displaying an application interface; the display screen comprises at least two display areas, wherein the at least two display areas comprise a first display area and a second display area, and the first display area and the second display area are not overlapped;
a processor configured to execute the instructions to cause the first display area to display a first interface and the second display area to display a second interface; wherein the first interface is an interface of a first application and the second interface is an interface of a second application; the processor is further configured to receive a first operation, and in response to the first operation, cause the first display area to display a third interface, and cause the second display area to display the second interface; and the number of the first and second groups,
receiving a second operation, and enabling the first display area to display the third interface and the second display area to display a fourth interface in response to the second operation;
wherein the third interface is an interface of a third application, the third application being different from the first application; the fourth interface is an interface of a fourth application, the fourth application being different from the second application.
18. The electronic device of claim 17, wherein the first display area is further configured to display a first hover button; the second display area is further used for displaying a second suspension button;
the first operation is a preset gesture operation of a user in the first display area or an operation of clicking the first suspension button by the user; the preset gesture operation comprises a sliding operation;
the second operation is preset gesture operation of a user in the second display area or operation of clicking the second suspension button by the user.
19. The electronic device of claim 17, wherein the first display area is further configured to display a third hover button; or, the second display area is further configured to display a third hover button; the third floating button is used for switching the application displayed in the first display area, or the third floating button is used for switching the application displayed in the second display area;
if the first display area is a focus display area, the third floating button is used for switching the application displayed in the first display area; if the second display area is a focus display area, the third floating button is used for switching the application displayed in the second display area; the focus display area refers to a display area which is operated by a user last time;
the first operation is an operation of clicking the third hover button by a user when the first display area is a focus display area;
the second operation is an operation in which the user clicks the third hover button when the second display area is a focus display area.
20. The electronic device of claim 17, wherein the display screen is further configured to display a split screen management key, and the split screen management key is a navigation key for managing split screens when the electronic device displays an application interface in a split screen manner;
if the first display area is a focus display area, the split screen management key is used for switching the application displayed in the first display area; if the second display area is the focus display area, the split screen management key is used for switching the application displayed in the second display area; the focus display area refers to a display area which is operated by a user last time;
the first operation is an operation that a user clicks the split screen management key when the first display area is a focus display area;
and the second operation is the operation that the user clicks the split screen management key when the second display area is the focus display area.
21. Electronic device according to any of claims 17-20, wherein the third application is any of the following applications:
within a preset time, running the application with the maximum number of times in the electronic equipment in a split-screen display mode; within a preset time, the application which runs in the electronic equipment for the most times in a split-screen display mode with the second application; within a preset time, running the application with the longest running time in the electronic equipment in a split-screen display mode; an application that was last run in the electronic device in a split screen display format; the application which is operated in the electronic equipment in a full-screen display mode at the last time or the application which is operated in the electronic equipment in a split-screen display mode with the second application at the last time;
the fourth application is any one of the following applications:
within a preset time, running the application with the maximum number of times in the electronic equipment in a split-screen display mode; within a preset time, the application which runs in the electronic equipment for the most times in a split-screen display mode with the third application; within a preset time, running the application with the longest running time in the electronic equipment in a split-screen display mode; an application that was last run in the electronic device in a split screen display format; the application which is operated in the electronic equipment in a full-screen display mode at the last time or the application which is operated in the electronic equipment in a split-screen display mode with the third application at the last time.
22. The electronic device of any of claims 17-20, wherein the processor is further configured to execute the instructions to determine the third application or the fourth application based on location information of the electronic device.
23. The electronic device according to any of claims 17-20, wherein the memory is pre-provisioned with an application list, and the third application or the fourth application is determined by the processor from the application list.
24. The electronic device of claim 23, wherein the list of applications is user-defined or determined by the memory.
25. A computer-readable storage medium having computer-executable instructions stored thereon which, when executed, implement the method of switching applications of any one of claims 1-8.
26. A chip system, comprising:
a storage medium to store instructions;
processing circuitry for executing said instructions to implement a method of switching an application as claimed in any one of claims 1 to 8.
27. A computer program product, characterized in that it comprises program instructions for implementing a method for switching applications according to any one of claims 1 to 8 when run on a computer.
CN201910829054.1A 2019-09-03 2019-09-03 Application switching method and electronic equipment Pending CN110727381A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201910829054.1A CN110727381A (en) 2019-09-03 2019-09-03 Application switching method and electronic equipment
PCT/CN2020/111151 WO2021043029A1 (en) 2019-09-03 2020-08-25 Method for switching application, and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910829054.1A CN110727381A (en) 2019-09-03 2019-09-03 Application switching method and electronic equipment

Publications (1)

Publication Number Publication Date
CN110727381A true CN110727381A (en) 2020-01-24

Family

ID=69217812

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910829054.1A Pending CN110727381A (en) 2019-09-03 2019-09-03 Application switching method and electronic equipment

Country Status (2)

Country Link
CN (1) CN110727381A (en)
WO (1) WO2021043029A1 (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111710315A (en) * 2020-06-15 2020-09-25 Oppo(重庆)智能科技有限公司 Image display method, image display device, storage medium and electronic equipment
WO2021043029A1 (en) * 2019-09-03 2021-03-11 华为技术有限公司 Method for switching application, and electronic device
CN113485173A (en) * 2021-06-11 2021-10-08 荣耀终端有限公司 Switch switching method and related device
CN113556601A (en) * 2021-07-19 2021-10-26 上海月猫科技有限公司 Screen splitting method, system and storage medium
WO2021213164A1 (en) * 2020-04-24 2021-10-28 华为技术有限公司 Application interface interaction method, electronic device, and computer readable storage medium
WO2023103902A1 (en) * 2021-12-06 2023-06-15 华为技术有限公司 Split-screen display method and electronic device
CN116541119A (en) * 2023-07-04 2023-08-04 深圳市极腾网络科技有限公司 Split screen display system based on android system
CN117453085A (en) * 2023-12-22 2024-01-26 荣耀终端有限公司 Display method, electronic device and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104859557A (en) * 2014-12-18 2015-08-26 北汽福田汽车股份有限公司 Sound split-screen display implementation method
CN106537319A (en) * 2016-10-31 2017-03-22 北京小米移动软件有限公司 Screen-splitting display method and device
CN106775313A (en) * 2016-12-07 2017-05-31 北京奇虎科技有限公司 Split screen method of controlling operation thereof and mobile terminal
CN108932094A (en) * 2018-07-03 2018-12-04 Oppo广东移动通信有限公司 Split screen application switching method, device, storage medium and electronic equipment
CN108958587A (en) * 2018-07-06 2018-12-07 Oppo广东移动通信有限公司 split screen processing method, device, storage medium and electronic equipment
CN109062479A (en) * 2018-07-09 2018-12-21 Oppo广东移动通信有限公司 Split screen application switching method, device, storage medium and electronic equipment

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170285886A1 (en) * 2016-03-31 2017-10-05 Ca, Inc. Creating, Updating, Sharing, Managing, and Monitoring a Plurality of Independent Interactive System Productivity Facility (ISPF) Windows
CN108829304A (en) * 2018-05-29 2018-11-16 维沃移动通信有限公司 A kind of display control method and terminal
CN109062467B (en) * 2018-07-03 2020-10-09 Oppo广东移动通信有限公司 Split screen application switching method and device, storage medium and electronic equipment
CN109782970B (en) * 2018-12-25 2021-01-08 维沃移动通信有限公司 Display method and terminal
CN110727381A (en) * 2019-09-03 2020-01-24 华为技术有限公司 Application switching method and electronic equipment

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104859557A (en) * 2014-12-18 2015-08-26 北汽福田汽车股份有限公司 Sound split-screen display implementation method
CN106537319A (en) * 2016-10-31 2017-03-22 北京小米移动软件有限公司 Screen-splitting display method and device
CN106775313A (en) * 2016-12-07 2017-05-31 北京奇虎科技有限公司 Split screen method of controlling operation thereof and mobile terminal
CN108932094A (en) * 2018-07-03 2018-12-04 Oppo广东移动通信有限公司 Split screen application switching method, device, storage medium and electronic equipment
CN108958587A (en) * 2018-07-06 2018-12-07 Oppo广东移动通信有限公司 split screen processing method, device, storage medium and electronic equipment
CN109062479A (en) * 2018-07-09 2018-12-21 Oppo广东移动通信有限公司 Split screen application switching method, device, storage medium and electronic equipment

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021043029A1 (en) * 2019-09-03 2021-03-11 华为技术有限公司 Method for switching application, and electronic device
WO2021213164A1 (en) * 2020-04-24 2021-10-28 华为技术有限公司 Application interface interaction method, electronic device, and computer readable storage medium
CN113645351A (en) * 2020-04-24 2021-11-12 华为技术有限公司 Application interface interaction method, electronic device and computer-readable storage medium
CN113645351B (en) * 2020-04-24 2022-10-28 华为技术有限公司 Application interface interaction method, electronic device and computer-readable storage medium
CN111710315A (en) * 2020-06-15 2020-09-25 Oppo(重庆)智能科技有限公司 Image display method, image display device, storage medium and electronic equipment
CN111710315B (en) * 2020-06-15 2022-06-14 Oppo(重庆)智能科技有限公司 Image display method, image display device, storage medium and electronic equipment
CN113485173A (en) * 2021-06-11 2021-10-08 荣耀终端有限公司 Switch switching method and related device
CN113556601A (en) * 2021-07-19 2021-10-26 上海月猫科技有限公司 Screen splitting method, system and storage medium
WO2023103902A1 (en) * 2021-12-06 2023-06-15 华为技术有限公司 Split-screen display method and electronic device
CN116541119A (en) * 2023-07-04 2023-08-04 深圳市极腾网络科技有限公司 Split screen display system based on android system
CN116541119B (en) * 2023-07-04 2024-03-01 深圳市极腾网络科技有限公司 Split screen display system based on android system
CN117453085A (en) * 2023-12-22 2024-01-26 荣耀终端有限公司 Display method, electronic device and storage medium

Also Published As

Publication number Publication date
WO2021043029A1 (en) 2021-03-11

Similar Documents

Publication Publication Date Title
CN111949345B (en) Application display method and electronic equipment
CN110727381A (en) Application switching method and electronic equipment
CN110389802B (en) Display method of flexible screen and electronic equipment
CN112217923B (en) Display method of flexible screen and terminal
CN115866121B (en) Application interface interaction method, electronic device and computer readable storage medium
CN112714901B (en) Display control method of system navigation bar, graphical user interface and electronic equipment
CN110543287B (en) Screen display method and electronic equipment
CN112671976B (en) Control method and device of electronic equipment, electronic equipment and storage medium
CN110633043A (en) Split screen processing method and terminal equipment
CN112615947B (en) Method for rapidly entering application and folding screen electronic equipment
CN111208925A (en) Method for establishing application combination and electronic equipment
CN113791850A (en) Information display method and electronic equipment
CN114885442A (en) Input device connection method, device and system
CN113050851B (en) Method for controlling screen display and electronic equipment
WO2020228735A1 (en) Method for displaying application, and electronic device
CN116301416B (en) Touch scanning method, touch screen and electronic equipment
CN111953767B (en) Content sharing method, device, equipment and storage medium
CN110764808B (en) Client upgrade detection method, device and computer readable storage medium
WO2023029985A1 (en) Method for displaying dock bar in launcher and electronic device
CN115993924A (en) Cross-device dragging method, electronic device and storage medium
CN114531435A (en) Data sharing method and related device
CN116027886A (en) Display method of folding screen and electronic equipment
CN116069224A (en) Input control method and electronic equipment
CN117555627A (en) Split screen display method and electronic equipment
CN117008772A (en) Display method of application window and electronic equipment

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20200124