Application interface switching method and device, terminal, and storage medium

The method and apparatus enhance application switching efficiency by allowing simultaneous viewing and interaction with multiple applications, addressing inefficiencies in existing terminal technologies.

JP7536173B2Active Publication Date: 2024-08-19GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
JP2023503197
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Priority Date
2020-07-23
Filing Date
2021-06-03
Publication Date
2024-08-19
Estimated Expiration
2041-06-03

AI Technical Summary

Technical Problem

Existing terminal technologies inefficiently manage application switching, requiring frequent foreground and background transitions, leading to inefficient user interaction.

Method used

A method and apparatus for switching application interfaces by displaying one application in a larger mode and another in a smaller mode, allowing simultaneous viewing and interaction, with adjustable display positions and sizes, and responsive to user operations.

Benefits of technology

Enhances application switching efficiency by allowing users to navigate and operate within one application while viewing another, reducing the need for frequent transitions and improving overall user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007536173000001
    Figure 0007536173000001
  • Figure 0007536173000008
    Figure 0007536173000008
  • Figure 0007536173000013
    Figure 0007536173000013
Patent Text Reader

Abstract

This application provides a method, device, terminal, and storage medium for switching application interfaces, and relates to the terminal technology field. The method includes: displaying a first application interface in a first display mode (201); receiving an interface switching operation for the first application interface; the interface switching operation being used to trigger switching of the display mode of the application interface (202); and, if there is a second application interface displayed in a second display mode, displaying the second application interface in the first display mode in response to the interface switching operation, and displaying the first application interface in the second display mode. The size of the application interface displayed in the first display mode is smaller than the size of the application interface displayed in the second display mode (203). The above method, device, terminal, and storage medium can improve the efficiency of switching between applications in multi-application usage scenarios.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] REFERENCE TO RELATED APPLICATIONS This application claims priority to Chinese Patent Application No. 202010719533.0, filed on July 23, 2020, entitled "Application interface switching method and device, terminal, and storage medium," the entire contents of which are incorporated herein by reference.

[0002] The present application relates to the field of terminal technology, and in particular to an application interface switching method and device, a terminal, and a storage medium. [Background technology]

[0003] With the continuous development of terminal technology, more and more applications are installed on terminals. During the use of an application, a user often needs to switch between applications.

[0004] For example, a user may first use a ride-hailing application to call a car, and then switch to a news application to browse while waiting for the car to arrive. While browsing, the news application is in the foreground and the ride-hailing application is switched to the background. While browsing, when the user needs to check the specific location of the car, they must again switch the ride-hailing application to the foreground and the news application to the background. Summary of the Invention

[0005] In the embodiments of the present application, an application interface switching method and device, a terminal and a storage medium are provided. Specific technical solutions are as follows:

[0006] In one aspect, an embodiment of the present application provides a method for switching application interfaces, the method including: displaying a first application interface in a first display mode; receiving an interface switching operation for the first application interface; the interface switching operation is used to trigger switching of a display mode of the application interface; if there is a second application interface displayed in the second display mode, displaying the second application interface in the first display mode in response to the interface switching operation, and displaying the first application interface in the second display mode; a size of the application interface displayed in the first display mode is smaller than a size of the application interface displayed in the second display mode.

[0007] In another aspect, an embodiment of the present application provides an application interface switching device, the device including: a display module, an operation receiving module, and a switching module. The display module is configured to display the first application interface in a first display mode. The operation receiving module is configured to receive an interface switching operation for the first application interface, the interface switching operation being used to trigger switching of a display mode of the application interface. The switching module is configured to, in response to the interface switching operation, display the second application interface in the first display mode when there is a second application interface displayed in the second display mode, and display the first application interface in the second display mode, where a size of the application interface displayed in the first display mode is smaller than a size of the application interface displayed in the second display mode.

[0008] In another aspect, an embodiment of the present application provides a terminal, the terminal comprising a processor and a memory, the memory storing at least one instruction, the at least one instruction being configured to be executed by the processor to implement the method for switching application interfaces according to the above aspect.

[0009] In another aspect, an embodiment of the present application provides a computer-readable storage medium having at least one instruction stored therein, the at least one instruction being configured to be executed by a processor to implement the method for switching application interfaces according to the above aspect.

[0010] In another aspect, an embodiment of the present application provides a computer program product or a computer program. The computer program product or computer program includes computer instructions. The computer instructions are stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium. The processor executes the computer instructions, enabling the computer device to perform the application interface switching method according to the above aspect. [Brief description of the drawings]

[0011] [Figure 1] FIG. 1 is a schematic diagram showing an interface during application switching in the related art. [Diagram 2] FIG. 2 is a flow chart illustrating a method for switching application interfaces according to an exemplary embodiment of the present application. [Diagram 3] FIG. 3 is a schematic diagram illustrating an interface during application interface switching illustrated in an exemplary embodiment. [Figure 4]FIG. 4 is a flowchart illustrating a method for switching application interfaces according to another exemplary embodiment of the present application. [Diagram 5] FIG. 5 is a schematic diagram illustrating an interface during application interface switching illustrated in the exemplary embodiment of the application interface switching method illustrated in FIG. [Figure 6] FIG. 6 is a flowchart illustrating a method for switching application interfaces according to another exemplary embodiment of the present application. [Figure 7] FIG. 7 is a schematic diagram illustrating an interface during application interface switching illustrated in the exemplary embodiment of the application interface switching method illustrated in FIG. [Figure 8] FIG. 8 is a schematic diagram illustrating an interface during application interface switching illustrated in the exemplary embodiment of the application interface switching method illustrated in FIG. [Figure 9] FIG. 9 is a schematic diagram illustrating an interface during application interface switching illustrated in the exemplary embodiment of the application interface switching method illustrated in FIG. [Figure 10] FIG. 10 is a flowchart illustrating a method for switching application interfaces according to another exemplary embodiment of the present application. [Figure 11] FIG. 11 is a schematic diagram illustrating an interface during application interface switching illustrated in the exemplary embodiment of the application interface switching method illustrated in FIG. [Figure 12] FIG. 12 is a flowchart illustrating a method for switching application interfaces according to another exemplary embodiment of the present application. [Figure 13]FIG. 13 is a schematic diagram illustrating an interface during application interface switching illustrated in the exemplary embodiment of the application interface switching method illustrated in FIG. [Figure 14] FIG. 14 is a block diagram illustrating the structure of an application interface switching device according to an embodiment of the present application. [Figure 15] FIG. 15 is a block diagram illustrating a structure of a terminal according to an exemplary embodiment of the present application. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0012] In order to make the objectives, technical solutions and advantages of the present application clearer, the embodiments of the present application are further described in detail below with reference to the drawings.

[0013] In this specification, the term "plurality" refers to two or more. The term "and / or" describes the relationship between related objects and indicates that three types of relationships exist. For example, A and / or B indicates three situations: only A exists, A and B exist simultaneously, and only B exists. In addition, the sign " / " generally indicates that the related objects before and after it are in an "or" relationship.

[0014] To facilitate understanding, first, terms used in the embodiments of the present application will be explained.

[0015] First type floating window: a floating window for displaying an application interface. Optionally, the application interface displayed in the first type floating window is a reduced application interface, including all interface elements in the application interface. Alternatively, the first type floating window displays core interface elements in the application interface, which are pre-arranged by the application.

[0016] For example, in a vehicle dispatching application, the terminal reduces a vehicle dispatching interface displayed in full screen to the same size and displays the reduced vehicle dispatching interface in a first type floating window. In a recording application, the terminal extracts the recording time and the recording control (i.e., core interface elements) in the recording interface and displays only the recording time and the recording control in the first type floating window.

[0017] In some possible embodiments, the first type of floating window is used only to display the application interface and cannot respond to operations within the application on the displayed application interface because the default size of the floating window is typically small. In some other possible embodiments, the first type of floating window, in addition to being used to display the application interface, can also respond to operations within the application. For example, if the first type of floating window displays a core interface element within the application interface, it can respond to touch operations on the core interface element.

[0018] In some embodiments, the first type floating window can be displayed on the main interface of the system, on a full-screen application interface or on a split-screen application interface, and two or more first type floating windows can be displayed simultaneously. Furthermore, the first type floating window can be moved and resized, that is, the user can change the display position or display size of the first type floating window according to needs.

[0019] Second-type floating window: a floating window for displaying an application interface. The default size of the second-type floating window is larger than the default size of the first-type floating window. Optionally, the second-type floating window can be used to display an application interface, and can also respond to an operation within the application on the displayed application interface. For example, when a news browsing interface of a news application is displayed in the second-type floating window, a user can swipe the news browsing interface up or down. When a recording interface of a recording application is displayed in the second-type floating window, a user can control the recording process by clicking a recording control in the recording interface. Optionally, the application interface displayed in the second-type floating window is a reduced application interface.

[0020] In some embodiments, the second type floating window can be displayed on the main interface of the system, on a full-screen application interface or on a split-screen application interface, and two or more second type floating windows can be displayed simultaneously. In an embodiment of the present application, the first type floating window and the second type floating window can be displayed simultaneously. Furthermore, the second type floating window can be moved and resized, that is, the user can change the display position or display size of the second type floating window according to needs.

[0021] In the related art, a multi-task switching function is used to realize switching between multiple applications. For example, as shown in FIG. 1, a user first uses a ride-hailing application to call a car, in which case the terminal displays a ride-hailing interface 11 in full screen. While waiting for the car to arrive, the user switches the ride-hailing application to the background and launches a news application to browse news, in which case the terminal displays a news browsing interface 12 in full screen. When the user needs to check the current location of the car while browsing the news, the user needs to use the multi-task switching function to switch the news application to the background and switch the ride-hailing application to the foreground again (the multi-task interface can realize the switching between the foreground and the background), in which case the terminal displays the ride-hailing interface 11 in full screen again.

[0022] Obviously, when the above method is used to realize switching between applications, the terminal can only display the application interface of a single application in full screen, and the user cannot simultaneously view the application information in the application interface before and after switching, so the application needs to be frequently switched to the foreground or background, resulting in poor application switching efficiency.

[0023] In an embodiment of the present application, a method for switching application interfaces is provided. Using the method, a terminal can display a first application interface for which switching is requested in a first display mode. A user can simultaneously view application information in the first application interface while operating in the second application interface (using the second display mode). When a user needs to perform an operation within an application on the first application interface, the user can trigger the terminal to switch the display modes of the first application interface and the second application interface by performing an interface switching operation on the first application interface. By displaying the first application interface in a larger display area, it is easier for the user to operate in the first application interface. At the same time, since the second application interface is still displayed in the first display mode, the user can switch the display modes of the second application interface and the first application interface again by performing an interface switching operation on the second application interface after completing the operation on the first application interface. Thereby, efficient switching between applications can be realized.

[0024] The application interface switching method according to the embodiment of the present application can be used in a terminal equipped with a touch display screen, which can be a smart phone, a tablet computer, a digital player, a smart wearable device, a personal computer, etc., and is not limited thereto in the embodiment of the present application.

[0025] Referring to Figure 2, Figure 2 is a flowchart illustrating an application interface switching method according to an exemplary embodiment of the present application. The method may include the following steps.

[0026] Step 201: Display a first application interface in a first display mode.

[0027] In some embodiments, the first display mode is a display mode other than full screen, examples of which may include a floating window display, a split screen display, and the like.

[0028] In an embodiment of the present application, the first application interface is a real-time application interface, i.e., any changes in interface elements in the application are displayed in real time in the first application interface. For example, if the first application interface is a navigation interface, the displayed position of the navigation object on the map in the navigation interface changes in real time while the navigation object is moving.

[0029] Illustratively, as shown in FIG. 3, the terminal displays a ride-hailing interface of a ride-hailing application in a first type floating window 31 .

[0030] In addition, the display position and the display size of the first application interface can be adjusted according to needs. For example, a user can change the display position of the first application interface by dragging the first application interface, and can change the display size of the first application interface by stretching the edge of the first application interface.

[0031] Step 202: Receive an interface switching operation for a first application interface. The interface switching operation is used to trigger switching of a display mode of the application interface.

[0032] Alternatively, the interface switching operation may be a preset touch operation, such as a single click operation, a double click operation, a press operation, or a long press operation. Alternatively, the interface switching operation may be a preset gesture operation. Alternatively, the interface switching operation may be a trigger operation on an interface switching control corresponding to the first application interface. In the embodiment of the present application, the type of the interface switching operation is not limited.

[0033] In an embodiment of the present application, the interface switching operation is used to trigger switching of a display mode of a first application interface, and after the display mode is switched, the size of the first application interface is larger than the size before the display mode is switched.

[0034] For example, as shown in FIG. 3, when a double-click operation on the vehicle dispatch interface in the first type floating window 31 is received, the terminal determines that an interface switching operation is received.

[0035] Step 203: if there is a second application interface displayed in the second display mode, in response to an interface switching operation, display the second application interface in the first display mode, and display the first application interface in the second display mode, where the size of the application interface displayed in the first display mode is smaller than the size of the application interface displayed in the second display mode.

[0036] In one possible embodiment, after receiving the interface switching operation, the terminal detects whether there is a second application interface displayed in the second display mode. If there is a second application interface displayed in the second display mode, switch the display mode of the second application interface and the first application interface. The second application interface displayed in the second display mode is displayed in the foreground. That is, before and after the display mode switching, the first application interface and the second application interface are displayed simultaneously, and the size of the second application interface is larger than the size of the first application interface.

[0037] Of course, the second application interface needs to support the first display mode, and the first application interface needs to support the second display mode, which will not be described in detail in this embodiment.

[0038] Regarding a method for switching between a first application interface and a second application interface, in some embodiments, the terminal obtains an original display area of ​​the second application interface, displays the first application interface in the original display area of ​​the second application interface, and displays the second application interface in the original display area of ​​the first application interface.

[0039] For example, as shown in FIG. 3, when a double-click operation on the vehicle dispatch interface is received, the terminal determines the full-screen displayed news browsing interface as the second application interface, displays the news browsing interface in the first type floating window 31, and displays the vehicle dispatch interface in full screen.

[0040] Apparently, the solution according to the embodiment of the present application enables a user to realize mutual switching between application interfaces through a simple interface switching operation, thereby improving the efficiency of application switching and avoiding the problem in the related art that the application process being switched to is killed and the application needs to be restarted.

[0041] In one possible embodiment, if there is no second application interface displayed in the second display mode, the terminal does not respond to the interface switching operation. For example, if the first application interface is in the main interface of the system (i.e., there is no other application displayed in the foreground), the terminal does not respond to the interface switching operation. Alternatively, if the other application interface displayed in the foreground does not support the first display mode, or if the first application interface does not support the second display mode corresponding to the application displayed in the foreground, the terminal does not respond to the interface switching operation.

[0042] In another possible embodiment, when there is no second application interface displayed in the second display mode, the terminal responds in a manner other than display mode switching. For example, when the first application interface is in the main interface of the system (i.e., there is no other application displayed in the foreground), the terminal switches the first application interface to full screen display based on the interface switching operation.

[0043] Optionally, when there is no second application interface displayed in the second display mode, the terminal displays prompt information to indicate to the user that interface switching can be realized by an interface switching operation under any circumstances.

[0044] As described above, in an embodiment of the present application, when a first application interface is displayed, if there is a second application interface whose display mode is different from that of the first application interface and whose size is larger than that of the first application interface, a user can trigger the terminal to switch the display modes of the first application interface and the second application interface by performing an interface switching operation on the first application interface, so that the user can view the first application interface in a larger display area and continue to view the content of the second application interface at the same time, which is helpful in improving the efficiency of switching between applications in a multi-application usage scenario.

[0045] Selectively, when there is a second application interface displayed in the second display mode, in response to an interface switching operation, displaying the second application interface in the first display mode and displaying the first application interface in the second display mode, determining a target application interface from the at least one second application interface when there is at least one second application interface displayed in the second display mode; Responsive to the interface switching operation, displaying the target application interface in the first display mode and displaying the first application interface in the second display mode.

[0046] Optionally, the first display mode is a first floating window display, and the second display mode includes at least one of a full screen display, a second floating window display, and a split screen display, in which in the first floating window display, the application interface is displayed in a first type of floating window, and in the second floating window display, the application interface is displayed in a second type of floating window, and the size of the first type of floating window is smaller than the size of the second type of floating window;

[0047] Optionally, the second display mode is a full screen display. Determining the target application interface from the at least one second application interface includes determining a full-screen displayed second application interface as the target application interface. Displaying the second application interface in the first display mode and displaying the first application interface in the second display mode includes displaying the first application interface full screen and displaying the target application interface in a first type floating window.

[0048] Optionally, the second display mode is a second floating window display. Determining the target application interface from the at least one second application interface includes: Obtaining a latest use time of an application in each of the second-type floating windows, determining the second-type floating window corresponding to the latest use time closest to the current time as a target second-type floating window, and determining a second application interface displayed in the target second-type floating window as a target application interface; or displaying switching options corresponding to each of the second type floating windows, and in response to a selection operation for a target switching option among the at least one switching option, determining the second type floating window corresponding to the target switching option as a target second type floating window, and determining a second application interface displayed in the target second type floating window as the target application interface. Displaying the second application interface in the first display mode and displaying the first application interface in the second display mode includes: Displaying the first application interface in a floating window of the target second type, and displaying the target application interface in a floating window of the first type.

[0049] Optionally, the second display mode includes a full screen display and a second floating window display. Determining the target application interface from the at least one second application interface includes: determining the second application interface displayed in full screen as the target application interface; or The method includes displaying switching options corresponding to each of the second application interfaces, and in response to a selection operation for a target switching option among the switching options, determining the second application interface corresponding to the target switching option as the target application interface. Displaying the target application interface in the first display mode and displaying the first application interface in the second display mode includes: in response to the target application interface being a second application interface displayed full screen, displaying the first application interface full screen and displaying the target application interface in a first type floating window; In response to the target application interface being the second application interface displayed in the second floating window, displaying the first application interface in a floating window of the second type and displaying the target application interface in a floating window of the first type.

[0050] Optionally, the second display mode is a split screen display. Determining the target application interface from the at least one second application interface includes: Determining a target split-screen area where the first type floating window is located, and determining a second application interface located in the target split-screen area as a target application interface; or The method includes displaying switching options corresponding to each of the second application interfaces, and in response to a selection operation for a target switching option among the at least one switching option, determining the second application interface corresponding to the target switching option as the target application interface. Displaying the second application interface in the first display mode and displaying the first application interface in the second display mode includes: Displaying the first application interface in a split screen area corresponding to the target application interface, and displaying the target application interface in a first type floating window.

[0051] Optionally, after displaying the target application interface in the first display mode and displaying the first application interface in the second display mode, the method further includes: receiving an interface switching operation for a target application interface, and displaying the first application interface in a first display mode and displaying the target application interface in a second display mode in response to the interface switching operation if there is no second application interface other than the target application interface;

[0052] Optionally, after receiving an interface switching operation for the target application interface, the method further includes: When there is a second application interface other than the target application interface, an operation time interval between two adjacent interface switching operations is obtained. When the operation time interval is greater than an interval threshold or an interface operation for the first application interface is received within the operation time interval, in response to the interface switching operation, the first application interface is displayed in the first display mode and the target application interface is displayed in the second display mode. When the operation time interval is smaller than the interval threshold and an interface operation for the first application interface is not received within the operation time interval, a candidate application interface is determined from a second application interface other than the target application interface, and in response to an interface switching operation, a display mode is restored, the candidate application interface is displayed in the first display mode, and the first application interface is displayed in the second display mode.

[0053] In one possible embodiment, when a first application interface is displayed and at least one second application interface is displayed in a second display mode, the terminal determines a target application interface from the at least one second application interface, and displays the target application interface in the first display mode and the first application interface in the second display mode in response to an interface switching operation, thereby realizing display mode switching.

[0054] Optionally, when the first display mode of the first application interface is a first floating window display, the first application interface is displayed in a first type of floating window. Correspondingly, the application interface in a full screen display, a second floating window display, or a split screen display is the second application interface that satisfies the interface switching condition. In the second floating window display, the application interface is displayed in a second type of floating window. The size of the first type of floating window is smaller than the size of the second type of floating window.

[0055] In some embodiments, the second application interface displayed on the terminal may include at least one of the following conditions: 1. Full-screen application interface; 2. At least one floating window application interface (displayed in the second type of floating window); 3. A full-screen application interface and at least one floating window application interface; 4, At least two split screen application interfaces.

[0056] The following describes the process of determining the target application interface and switching the display mode for each of the above situations according to an exemplary embodiment.

[0057] Referring to Figure 4, Figure 4 is a flowchart illustrating an application interface switching method according to another exemplary embodiment of the present application. The method may include the following steps.

[0058] Step 401: A first application interface is displayed in a first type of floating window.

[0059] Step 402: Receive an interface switch operation for a first application interface.

[0060] For the implementation of the above steps 401-402, reference can be made to steps 201-202, and they will not be described in detail in this embodiment.

[0061] Step 403: If there is a second application interface that is displayed in full screen, determine the second application interface as the target application interface.

[0062] When a first application interface is displayed and a full-screen application (i.e., an application corresponding to a second application interface) is displayed at the same time, the terminal determines the second application interface as a target application interface that satisfies an application interface switching condition, and switches the display modes of the first application interface and the second application interface.

[0063] 5, the terminal displays a ride-hailing interface of a ride-hailing application in a first type floating window 51, and simultaneously displays a news browsing interface of a news application in full screen. Upon receiving a double-click operation on the ride-hailing interface, the terminal determines the news browsing interface as a target application interface.

[0064] Step 404: In response to the interface switching operation, display the first application interface in full screen, and display the target application interface in a first type floating window.

[0065] When switching the display modes of the first application interface and the target application interface, the terminal displays the first application interface in a full screen and displays the target application interface in a first type floating window. After switching the display modes, the user can operate within the application in the first application interface displayed in the full screen and simultaneously view the contents of the target application interface in the first type floating window.

[0066] Illustratively, as shown in FIG. 5 , after the terminal receives a double-click operation on the first type floating window 51, it displays a vehicle dispatch interface in full screen and displays a news browsing interface in the first type floating window 51.

[0067] Step 405: Receive an interface switching operation for a target application interface.

[0068] After viewing or completing an operation within the application on the first application interface, the user may need to switch interfaces again to continue an operation within the application on the target application interface, in which case the user may perform an interface switching operation on the target application interface displayed in the first display mode, thereby triggering another switching of the application interface.

[0069] For example, as shown in FIG. 5 , when the terminal receives a double-click operation on the news browsing interface in the first type floating window 51, it determines that the display mode of the vehicle dispatch interface and the news browsing interface needs to be switched again.

[0070] Step 406: In response to the interface switching operation, display the first application interface in a first type floating window, and display the target application interface in full screen.

[0071] Because there is no other second application interface other than the target application interface, the terminal determines that the interface switching operation is used to switch the display mode of the first application interface and the target application interface, displays the first application interface in a first type floating window, and displays the target application interface full screen.

[0072] For example, as shown in FIG. 5, after receiving a double-click operation on the first type floating window 51, the terminal displays the vehicle dispatch interface again in the first type floating window 51, and displays the news browsing interface in full screen again.

[0073] Through the interface switching operation for the first type floating window, the user can repeatedly switch between the display modes of the full-screen application and the application in the first type floating window, thereby improving the efficiency of switching between applications.

[0074] Referring to Figure 6, Figure 6 is a flowchart illustrating an application interface switching method according to another exemplary embodiment of the present application. The method may include the following steps.

[0075] Step 601: A first application interface is displayed in a first type of floating window.

[0076] Step 602: Receive an interface switch operation for a first application interface.

[0077] For the implementation of the above steps 601 and 602, reference can be made to steps 201 and 202, and they will not be described in detail in this embodiment.

[0078] Step 603: When there is at least one second application interface displayed in the second-type floating window, obtain the latest use time of the application in each second-type floating window, determine the second-type floating window corresponding to the latest use time closest to the current time as the target second-type floating window, and determine the second application interface displayed in the target second-type floating window as the target application interface.

[0079] In one possible embodiment, when at least one second-type floating window is displayed while the first-type floating window is displayed, the terminal determines that there is a second application interface that satisfies the application interface switching condition. Furthermore, when there is one second-type floating window, the terminal determines the second application interface displayed in the second-type floating window as a target application interface. When there are at least two second-type floating windows, the terminal determines the target application interface from the second application interfaces displayed in the at least two second-type floating windows according to a preset interface switching logic.

[0080] 7, a first type floating window 72 and a second type floating window 73 are displayed on a main interface 71 of a system. A recording interface of a recording application is displayed in the first type floating window 72, and a vehicle dispatching interface of a vehicle dispatching application is displayed in the second type floating window 73. Upon receiving a double-click operation on the first type floating window 72, the terminal determines the vehicle dispatching interface as a target application interface.

[0081] In one possible embodiment, when there are at least two second-type floating windows, because the user usually switches between the two most recently used applications, the terminal obtains the latest use time of the application corresponding to each second-type floating window, determines the interval between each latest use time and the current time, determines the second-type floating window with the smallest interval as the target second-type floating window, and determines the second application interface displayed in the target second-type floating window as the target application interface. The latest use time of the application in each second-type floating window can be obtained from a task stack, and is not limited in the embodiment of the present application.

[0082] In one example, the current time is 10:00:00. If two second type floating windows are displayed on the main interface of the system, and the last used times of the corresponding applications are 9:59:50 and 9:58:00 respectively, the terminal determines the floating window application whose last used time is 9:59:50 as the target application (the application interface corresponding to the target application is the target application interface).

[0083] Step 604: When there is at least one second application interface displayed in a second type floating window, display switching options corresponding to each of the second type floating windows, and in response to a selection operation on a target switching option among the at least one switching option, determine the second type floating window corresponding to the target switching option as a target second type floating window, and determine the second application interface displayed in the target second type floating window as the target application interface.

[0084] In addition to determining the target application interface based on the latest use time, in order to further improve the accuracy of application switching, in one possible embodiment, when an interface switching operation is received and at least one second-type floating window is displayed, the terminal displays a switching option corresponding to each second-type floating window (i.e., each second application interface). The switching option may be displayed on the edge of the first-type floating window, and the switching option may use a control such as a button. In the embodiment of the present application, the display method and display position of the switching option are not limited.

[0085] Correspondingly, when receiving a selection operation for a target switching option among the at least one switching option, the terminal determines a second-type floating window corresponding to the target switching option as a target second-type floating window.

[0086] 8, a first type floating window 82, a second type floating window 83 and a second type floating window 84 are displayed on a main interface 81 of the system. The first type floating window 82 displays a recording interface of a recording application, the second type floating window 83 displays a dispatch interface of a ride-hailing application, and the second type floating window 84 displays a navigation interface of a navigation application. Upon receiving a double-click operation on the first type floating window 82, the terminal displays a first switching option 85 corresponding to the navigation application and a second switching option 86 corresponding to the ride-hailing application on the left side of the first type floating window 82. Furthermore, upon receiving a click operation on the second switching option 86, the terminal determines the ride-hailing application as a target application.

[0087] Besides the above two methods of determining the target application, in another possible embodiment, the terminal determines the second application with the highest switching frequency in the history of switching between the first application (the application to which the first application interface belongs) and each second application (the second application to which the second application interface belongs) as the target application based on the history of application switching between the first application. Or, the terminal determines the second application associated with the first application as the target application. Then, the terminal determines the target application interface based on the target application. In this embodiment, the method of determining the target application is not limited.

[0088] Step 605: In response to the interface switching operation, display the first application interface in a target second-type floating window, and display the target application interface in the first-type floating window.

[0089] Furthermore, the terminal displays the first application interface in a target second-type floating window, and displays the target application interface in the first-type floating window. Note that in this embodiment, the first application interface can be displayed in the second-type floating window as an example. If the first application interface cannot be displayed in the second-type floating window, the terminal does not respond to the interface switching operation.

[0090] Illustratively, as shown in Fig. 7, the terminal displays the recording interface in the second type floating window 73 and the vehicle dispatch interface in the first type floating window 72 based on an interface switching operation. As shown in Fig. 8, the terminal displays the recording interface in the second type floating window 83 and the vehicle dispatch interface in the first type floating window 82 based on a selection operation for a switching option.

[0091] Step 606: Receive an interface switch operation for the target application interface.

[0092] The implementation manner of step 606 can refer to step 405 above, and will not be described in detail in this embodiment.

[0093] When there is only one second-type floating window, the terminal again switches the display mode of the first application interface and the target application interface. Exemplarily, as shown in Fig. 7, when the terminal again receives a double-click operation on the first-type floating window 72, it determines that the display mode of the vehicle dispatch interface and the recording interface needs to be switched again, and displays the recording interface in the first-type floating window 72 again, and displays the vehicle dispatch interface in the second-type floating window 73 again.

[0094] When there are at least two floating windows of the second type, the user's interface switching operation on the first type floating window can be used to instruct switching to the original display mode, as well as to instruct switching of display modes between other floating windows of the second type. Therefore, when there are at least two floating windows of the second type, after the terminal receives an interface switching operation on the first type floating window, the terminal needs to further determine the intention of the interface switching operation.

[0095] Step 607: if there is a second application interface other than the target application interface, obtain the operation time interval between two adjacent interface switching operations.

[0096] Usually, when the display mode meets the user's expectation, the user performs an intra-application operation in the first application interface, or switches the display mode again after maintaining the current display mode for a certain period of time. When the display mode does not meet the user's expectation, the user does not perform an intra-application operation in the application interface, and switches the display mode again within a short period of time. Therefore, in one possible embodiment, the terminal determines an operation time interval between two adjacent interface switching operations, and determines an actual intention of the current interface switching operation according to the length of the operation time interval and the user's operation on the first application interface within the operation time interval.

[0097] Optionally, each time an interface switching operation is received, the terminal records the operation time of the interface switching operation, and when the interface switching operation is received again, determines the operation time interval between the operation and the previous interface switching operation. The terminal detects whether the operation time interval is greater than an interval threshold, and detects whether an interface operation for the first application interface is received within the operation time interval. If the operation time interval is greater than the interval threshold or an interface operation for the first application interface is received within the operation time interval, the terminal executes the following step 608. If the operation time interval is less than the interval threshold and an interface operation for the first application interface is not received within the operation time interval, the terminal executes the following step 609.

[0098] Step 608: If the operation time interval is greater than an interval threshold or an interface operation for the first application interface is received within the operation time interval, in response to an interface switching operation, display the first application interface in the first display mode, and display the target application interface in the second display mode.

[0099] If the operation time interval is greater than the interval threshold or an interface operation for the first application interface is received within the operation time interval, it is represented that the previous interface display mode switching meets the user's expectation, and therefore the terminal determines that the currently received interface switching operation is used to trigger the restoration of the display modes of the first application interface and the target application interface, and redisplays the first application interface in a first type floating window and the target application interface in a second type floating window.

[0100] For example, the interval threshold can be 5s, 10s, or 15s, etc., and is not limited in the embodiments of the present application.

[0101] Illustratively, as shown in FIG. 9, a first type floating window 82, a second type floating window 83 and a second type floating window 84 are displayed on the main interface 81 of the system. The first type floating window 82 displays the recording interface of the recording application, the second type floating window 83 displays the dispatch interface of the ride-hailing application, and the second type floating window 84 displays the navigation interface of the navigation application. Upon receiving a double-click operation on the first type floating window 82, the terminal determines the ride-hailing application as the target application, displays the dispatch interface on the first type floating window 82, and displays the recording interface on the second type floating window 83. After the interface switching is completed, the user clicks the recording pause control on the recording interface and double-clicks the first type floating window 82 again. Because an interface operation was performed on the recording application (i.e., the first application) between the two adjacent interface switching operations, the terminal displays the recording interface again on the first type floating window 82 and displays the application interface corresponding to the ride-hailing application again on the second type floating window 83 based on the interface switching operation received this time.

[0102] Step 609: When the operation time interval is less than the interval threshold and no interface operation for the first application interface is received within the operation time interval, determine a candidate application interface from a second application interface other than the target application interface. In response to the interface switching operation, restore a display mode, display the candidate application interface in the first display mode, and display the first application interface in the second display mode.

[0103] When the operation time interval is smaller than the interval threshold, and no interface operation for the first application interface is received within the operation time interval (i.e., interface switching operations for the first type of floating window are continuously received), it is represented that the previous interface display mode switching does not meet the user's expectations, and therefore the terminal determines that the currently received interface switching operation is used to trigger another display mode switching.

[0104] In one possible embodiment, the terminal determines a candidate application interface from a second application interface other than the target application interface, restores to the original display mode (which can be achieved by canceling the response to the previous interface switching operation), displays the first application interface in a second type floating window corresponding to the candidate application interface, and displays the candidate application interface in the first type floating window.

[0105] 9, when the user continuously double-clicks the first type floating window 82 within a short time, it indicates that the previous adjustment of the display mode of the terminal does not meet expectations, so the display mode is restored, and the navigation interface is displayed in the first type floating window 82, and the recording interface is displayed in the second type floating window 84.

[0106] In this embodiment, when a first application interface is displayed in a first type floating window and at least two second type floating windows are displayed, if an interface switching operation is received for the first type floating window, the target second type floating window whose display mode is to be switched is determined based on the latest use time of the application in the second type floating window or based on the switching option corresponding to the second type floating window, which helps to improve the accuracy of interface switching. In addition, when the interface switching operation is continuously received, the terminal determines to restore the original display mode or switch the display mode again based on the operation time interval and the interface operation for the first application within the interval, which can improve the accuracy of interface switching.

[0107] Referring to Figure 10, Figure 10 is a flowchart illustrating an application interface switching method according to another exemplary embodiment of the present application. The method may include the following steps.

[0108] Step 1001: A first application interface is displayed in a first type of floating window.

[0109] Step 1002: Receive an interface switch operation for a first application interface.

[0110] For the implementation of the above steps 1001 and 1002, reference can be made to steps 201 and 202, and they will not be described in detail in this embodiment.

[0111] Step 1003: If there is a second application interface displayed in full screen and at least one second application interface displayed in a floating window of a second type, determine the second application interface displayed in full screen as a target application interface.

[0112] In one possible embodiment, the terminal determines the full-screen application as a default application for which interface switching is performed between the application in the first type of floating window, so that when the full-screen application is displayed and at least one application is displayed in the second type of floating window, the terminal preferentially determines the full-screen application as a target application interface.

[0113] Of course, in other possible embodiments, the terminal may determine the application displayed in the second type floating window as a default application for which interface switching is performed between the application in the first type floating window, and correspondingly, the terminal preferentially determines the target application from the applications displayed in at least one second type floating window (the method for determining the target application may refer to the above embodiment).

[0114] Step 1004: When there are second application interfaces displayed full screen and at least one second application interface displayed in a floating window of a second type, switching options corresponding to each of the second application interfaces are displayed, and in response to a selection operation for a target switching option among the switching options, the second application interface corresponding to the target switching option is determined as the target application interface.

[0115] In order to further improve the accuracy of application switching, in another possible embodiment, when an interface switching operation is received and a full-screen application and at least one floating window application are displayed, the terminal displays a switching option corresponding to each application. The switching option may be displayed on the edge of the first type floating window, and the switching option may use a control such as a button. In the embodiment of the present application, the display method and display position of the switching option are not limited.

[0116] Correspondingly, when receiving a selection operation for a target switching option of the at least one switching option, the terminal determines an application corresponding to the target switching option as a target application, where the target application may be a full-screen application or a floating window application.

[0117] In addition to the above two methods of determining the target application, in another possible embodiment, the terminal determines, based on the application switching history between the first application and each second application, the second application with the highest switching frequency in the switching history between the first application and each second application as the target application. Or, the terminal determines, based on the latest use time of each second application, the second application that was used most recently as the target application. In this embodiment, the method of determining the target application is not limited.

[0118] Step 1005: In response to the target application interface being a second application interface displayed in full screen, display the first application interface in full screen, and display the target application interface in a first type floating window.

[0119] If the determined target application is a full-screen application, the terminal displays the first application interface in the full screen, and displays the target application interface in a first type floating window. For the switching display mode, see FIG. 5.

[0120] Step 1006: In response to the target application interface being a second application interface displayed in a second floating window, display the first application interface in a second type floating window, and display the target application interface in the first type floating window.

[0121] When the determined target application is a floating window application, the terminal displays the first application interface in a second type floating window and displays the target application interface in the first type floating window. For the switching display mode, see FIG. 7.

[0122] Step 1007: Receive an interface switching operation for the target application interface.

[0123] The implementation manner of step 1007 can refer to the above step 405, and will not be described in detail in this embodiment.

[0124] Since there are at least two switchable second application interfaces (i.e., the application interfaces of a full-screen application and at least one floating window application), an interface switching operation on a target application interface may indicate a restoration to the original display mode, or may indicate a re-switching between other second application interfaces. Therefore, the terminal needs to further confirm the intention of the re-operation of interface switching.

[0125] Step 1008: Obtain an operation time interval between two adjacent interface switching operations.

[0126] The implementation manner of step 1008 can refer to step 607, and will not be described in detail in this embodiment.

[0127] Step 1009: When the operation time interval is greater than an interval threshold or an interface operation for the first application interface is received within the operation time interval, in response to an interface switching operation, display the first application interface in the first display mode and display the target application interface in the second display mode.

[0128] Similarly to step 608 above, the terminal displays the first application interface again in the first display mode, and displays the target application interface again in the second display mode. If the target application interface is a full-screen application interface, the terminal displays the target application interface in full screen again. If the target application interface is a floating window application interface, the terminal displays the target application interface in a second type floating window again.

[0129] Step 1010: When the operation time interval is less than an interval threshold and no interface operation for the first application interface is received within the operation time interval, determine a candidate application interface from a second application interface other than the target application interface. In response to an interface switching operation, restore a display mode, display the candidate application interface in the first display mode, and display the first application interface in the second display mode.

[0130] Similar to the above step 609, the terminal cancels the response to the previous interface switching operation, and switches the display mode of the first application interface and the candidate application interfaces.

[0131] In one example, as shown in FIG. 11, the terminal displays a full-screen application 1101, a first-type floating window 1102, and a second-type floating window 1103. The full-screen application 1101 is a car dispatch application, the first-type floating window 1102 displays a recording interface of a recording application, and the second-type floating window 1103 displays a navigation interface of a navigation application. Upon receiving a double-click operation on the first-type floating window 1102, the terminal determines the full-screen application 1101 as the target application, displays the car dispatch interface on the first-type floating window 1102, and displays the recording interface in full screen. The user wants to display the recording application in the second-type floating window 1103, so the user double-clicks on the first-type floating window 1102 again. After receiving the interface switching operation, the terminal cancels the previous interface switching operation, displays the recording interface in the second-type floating window 1103, and displays the navigation interface in the first-type floating window 1102.

[0132] Referring to Figure 12, Figure 12 is a flowchart illustrating an application interface switching method according to another exemplary embodiment of the present application. The method may include the following steps.

[0133] Step 1201: A first application interface is displayed in a first type of floating window.

[0134] Step 1202: Receive an interface switch operation for a first application interface.

[0135] For the implementation of the above steps 1201 and 1202, reference can be made to steps 201 and 202, and they will not be described in detail in this embodiment.

[0136] Step 1203: When there are at least two second application interfaces split-displayed, determine a target split-screen area in which the first type floating window is located, and determine the second application interface located in the target split-screen area as the target application interface.

[0137] Usually, when activating the split screen function, the user moves the floating window to a split screen area with less attention to avoid the floating window obscuring the split screen area with more attention. Thus, in one possible embodiment, when at least two split screen applications are displayed and a first type floating window is displayed at the same time, and an interface switching operation for the first type floating window is received, the terminal obtains the current display area of ​​the first type floating window, and determines the target split screen area where the first type floating window is located according to the current display area and the split screen range of each split screen area, and determines the second application interface located in the target split screen area as the target application. The intersection area of ​​the first type floating window and the target split screen area is larger than the intersection area of ​​the first type floating window and other split screen areas.

[0138] In another possible embodiment, after interface switching, in order to avoid the first application interface being obscured by the first type floating window, the terminal determines a split screen area other than the split screen area in which the first type floating window is located as a target split screen area.

[0139] Illustratively, as shown in Fig. 13, the terminal splits and displays a first split screen application 1301 and a second split screen application 1302, and displays a recording application in a first type floating window 1303. The first split screen application 1301 is a ride-hailing application, and the second split screen application 1302 is a news application. When a double-click operation on the first type floating window 1303 is received, since the first type floating window 1303 is displayed in the split screen area corresponding to the first split screen application 1301, the terminal determines the split screen area corresponding to the second split screen application 1302 as the target split screen area, thereby avoiding occlusion of the recording interface after a subsequent interface switching.

[0140] Step 1204: When there are at least two second application interfaces displayed in a split manner, switching options corresponding to each of the second application interfaces are displayed, and in response to a selection operation on a target switching option among the at least one switching option, the second application interface corresponding to the target switching option is determined as the target application interface.

[0141] In order to further improve the accuracy of application switching, in another possible embodiment, when an interface switching operation is received and at least two split-screen applications are displayed, the terminal displays a switching option corresponding to each split-screen application (corresponding to a second application interface). The switching option may be displayed on the edge of the first type floating window, and the switching option may use a control such as a button. In the embodiment of the present application, the display method and display position of the switching option are not limited.

[0142] Correspondingly, when receiving a selection operation for a target switching option of the at least one switching option, the terminal determines a split-screen application corresponding to the target switching option as a target application, and correspondingly, a second application interface corresponding to the target application is a target application interface.

[0143] Of course, other than the above method, the terminal determines the split screen area with the largest display size as the target split screen area based on the display size of the split screen area. Or, the terminal determines the split screen application with the highest switching frequency in the history of switching between the first application and each split screen application as the target application based on the history of application switching between the first application and each split screen application. Or, the terminal determines the split screen application associated with the first application as the target application. Or, the terminal determines the most recently used split screen application as the target application based on the latest use time of each split screen application. In this embodiment, the method of determining the target application is not limited.

[0144] Step 1205: In response to the interface switching operation, display the first application interface in a split screen area corresponding to the target application interface, and display the target application interface in a first type floating window.

[0145] Illustratively, as shown in FIG. 13, the terminal displays a recording interface in the original split-screen area corresponding to the second split-screen application 1302, and displays a news browsing interface in the first type floating window 1303.

[0146] In addition, in the present embodiment, the first application can be displayed on a split screen as an example. If the first application cannot be displayed on a split screen, the terminal does not respond to the interface switching operation.

[0147] Step 1206: Receive an interface switch operation for the target application interface.

[0148] Step 1207: Obtain an operation time interval between two adjacent interface switching operations.

[0149] Similar to the above embodiment, since there are at least two split-screen applications, the terminal needs to further determine the intention of the interface switching operation.

[0150] Step 1208: If the operation time interval is greater than an interval threshold or an interface operation for the first application interface is received within the operation time interval, in response to the interface switching operation, display the first application interface in the first display mode, and display the target application interface in the second display mode.

[0151] Similar to the above embodiment, when it is determined that the intention of the interface switching operation is to restore the original display mode, the terminal re-displays the first application interface in the first type floating window, and re-displays the target application interface in the original split screen area of ​​the target application interface.

[0152] Step 1209: When the operation time interval is less than the interval threshold and no interface operation for the first application interface is received within the operation time interval, determine a candidate application interface from a second application interface other than the target application interface. In response to the interface switching operation, restore a display mode, display the candidate application interface in the first display mode, and display the first application interface in the second display mode.

[0153] Similar to the above embodiment, when it is determined that the intention of the interface switching operation is to re-select the split-screen application to be switched to, the terminal cancels the response to the previous interface switching operation, displays the first application interface in the split-screen area corresponding to the candidate application interface, and displays the candidate application interface in a first type floating window.

[0154] It should be noted that the above embodiment is illustratively described using only the above four situations as examples. In other possible situations (for example, when at least two split screen applications and at least one floating window application are displayed), application interface switching may be performed by the terminal with reference to the above execution principle, which will not be described in detail in this embodiment.

[0155] 14, which is a block diagram showing the structure of an application interface switching device according to an embodiment of the present application. The device can be implemented as a whole or part of a terminal through software, hardware, and a combination of both. The device includes a display module 1401, an operation receiving module 1402, and a switching module 1403. The display module 1401 is configured to display a first application interface in a first display mode. The operation receiving module 1402 is configured to receive an interface switching operation for a first application interface, where the interface switching operation is used to trigger switching of a display mode of the application interface. The switching module 1403 is configured to, in response to an interface switching operation, display the second application interface in the first display mode when there is a second application interface displayed in the second display mode, and display the first application interface in the second display mode, where the size of the application interface displayed in the first display mode is smaller than the size of the application interface displayed in the second display mode.

[0156] Optionally, the switching module 1403 includes an application determination unit and a switching unit. The application determining unit is configured to determine a target application interface from the at least one second application interface when there is at least one second application interface displayed in the second display mode. The switching unit is configured to display the target application interface in the first display mode and to display the first application interface in the second display mode in response to an interface switching operation.

[0157] Optionally, the first display mode is a first floating window display and the second display mode includes at least one of a full screen display, a second floating window display, and a split screen display. In the first floating window display, the application interface is displayed in a first type of floating window, and in the second floating window display, the application interface is displayed in a second type of floating window, and the size of the first type of floating window is smaller than the size of the second type of floating window.

[0158] Optionally, the second display mode is a full screen display. The application determining unit is configured to determine the second application interface displayed in full screen as a target application interface. The switching unit is configured to display the first application interface in full screen and display the target application interface in a first type floating window.

[0159] Optionally, the second display mode is a second floating window display. The application determination unit is Obtain a latest use time of the application in each of the second-type floating windows, and determine the second-type floating window corresponding to the latest use time closest to the current time as the target second-type floating window, and determine the second application interface displayed in the target second-type floating window as the target application interface; or The device is configured to display switching options corresponding to each of the second type floating windows, and in response to a selection operation for a target switching option among the at least one switching option, to determine the second type floating window corresponding to the target switching option as a target second type floating window, and to determine a second application interface displayed in the target second type floating window as a target application interface. The switching unit is configured to display the first application interface in a target second-type floating window, and display the target application interface in the first-type floating window.

[0160] Optionally, the second display mode includes a full screen display and a second floating window display. The application determination unit is determining the second application interface displayed in full screen as the target application interface; or The device is configured to display switching options corresponding to each of the second application interfaces, and in response to a selection operation for a target switching option among the switching options, to determine the second application interface corresponding to the target switching option as the target application interface. The switching unit is in response to the target application interface being a second application interface displayed in full screen, displaying the first application interface in full screen and displaying the target application interface in a first type floating window; In response to the target application interface being a second application interface displayed in a second floating window, the first application interface is configured to be displayed in a floating window of the second type, and the target application interface is configured to be displayed in a floating window of the first type.

[0161] Optionally, the second display mode is a split screen display. The application determination unit is Determine a target split-screen area where the first type floating window is located, and determine a second application interface located in the target split-screen area as a target application interface; or The device is configured to display switching options corresponding to each of the second application interfaces, and in response to a selection operation for a target switching option among the at least one switching option, to determine the second application interface corresponding to the target switching option as the target application interface. The switching unit is The first application interface is configured to be displayed in a split screen area corresponding to the target application interface, and the target application interface is configured to be displayed in a first type floating window.

[0162] Optionally, the operation receiving module 1402 is configured to receive the interface switching operation for the target application interface. The apparatus further comprises a restoration module. The restoration module is configured to display the first application interface in the first display mode and display the target application interface in the second display mode in response to an interface switching operation when there is no second application interface other than the target application interface.

[0163] Optionally, the apparatus further comprises a distance acquisition module. The interval acquisition module is configured to display the first application interface in the first display mode and display the target application interface in the second display mode in response to an interface switching operation when the operation time interval is greater than an interval threshold or an interface operation for the first application interface is received within the operation time interval. The restoration module is configured to display the first application interface in a first type floating window and display the target application interface in the original display area when the operation time interval is greater than an interval threshold or when an interface operation for the first application interface is received within the operation time interval. The switching module 1403 is configured to determine a candidate application interface from a second application interface other than the target application interface when the operation time interval is less than an interval threshold and an interface operation for the first application interface is not received within the operation time interval, and in response to the interface switching operation, restore the display mode, display the candidate application interface in the first display mode, and display the first application interface in the second display mode.

[0164] As described above, in an embodiment of the present application, when a first application interface is displayed, if there is a second application interface whose display mode is different from that of the first application interface and whose size is larger than that of the first application interface, a user can trigger the terminal to switch the display modes of the first application interface and the second application interface by performing an interface switching operation on the first application interface, so that the user can view the first application interface in a larger display area and continue to view the content of the second application interface at the same time, which is helpful in improving the efficiency of switching between applications in a multi-application usage scenario.

[0165] Referring to Figure 15, Figure 15 is a block diagram showing the structure of a terminal according to an exemplary embodiment of the present application. The terminal in the present application may include one or more processors 1510 and one or more memories 1520.

[0166] The processor 1510 may include one or more processing cores. The processor 1510 is connected to each part of the entire terminal through various interfaces and lines, and executes various functions and data processing of the terminal by executing instructions, programs, code sets or instruction sets stored in the memory 1520 and calling up data stored in the memory 1520. Alternatively, the processor 1510 may be implemented using at least one hardware of a digital signal processing (DSP), a field-programmable gate array (FPGA), and a programmable logic array (PLA). The processor 1510 may integrate one or more combinations of a central processing unit (CPU), a graphics processing unit (GPU), a neural-network processing unit (NPU), and a modem. The CPU is mainly used to process the operating system, the user interface, and applications. The GPU is used to render and draw the content that needs to be displayed on the touch display screen. The NPU is used to realize artificial intelligence (AI) functions. The modem is used to handle wireless communication. The modem may not be integrated into the processor 1510 and may be implemented in only one chip.

[0167] The memory 1520 may include a random access memory (RAM) or a read only memory (ROM). Optionally, the memory 1520 may include a non-transitory computer-readable storage medium. The memory 1520 may be used to store instructions, programs, codes, code sets, or instruction sets. The memory 1520 may include a program storage area and a data storage area. The program storage area may store instructions for implementing an operating system, instructions for at least one function (e.g., a touch function, a voice playback function, an image playback function, etc.), instructions for implementing each method embodiment, etc. The data storage area may store data (e.g., audio data, a phone book) generated according to the use of the terminal.

[0168] The terminal in the embodiment of the present application further includes a display screen 1530. The display screen 1530 is used for image display, and may be a full-screen screen, an irregular screen, a curved screen, a foldable screen, or a double-sided screen, and is not limited in the embodiment of the present application. In addition, the display screen 1530 may further include a touch control function, and a user may perform a touch operation on elements in the interface via a finger or a stylus pen.

[0169] In addition, it can be understood by those skilled in the art that the structure of the terminal shown in the drawings is not intended to limit the terminal, and the terminal may include more or less components than those shown in the drawings, may combine certain components, and may have different component arrangements. For example, the terminal may further include components such as a radio frequency circuit, an input unit, a sensor, an audio circuit, a speaker, a microphone, a power supply, etc., which will not be described in detail in this specification.

[0170] In an embodiment of the present application, a computer-readable storage medium is further provided, in which at least one instruction is stored, which is executed by a processor and used to realize the application interface switching method described in the above embodiment.

[0171] In an embodiment of the present application, a computer program product or a computer program is provided. The computer program product or computer program includes computer instructions. The computer instructions are stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium. The processor executes the computer instructions, enabling the computer device to perform the application interface switching method according to the embodiment.

[0172] In one or more examples above, it can be recognized by those skilled in the art that the functions described in the embodiments of the present application can be realized by hardware, software, firmware, or any combination thereof. If realized by software, these functions can be stored in a computer-readable medium or transmitted as one or more instructions or codes on a computer-readable medium. Computer-readable media can include computer storage media and communication media. Communication media includes any medium that facilitates the transfer of a computer program from one place to another. Storage media can be any medium accessible by a general-purpose or special-purpose computer.

[0173] The above are only the optional embodiments of the present application, and are not used to limit the present application. Any modifications, equivalent replacements, and improvements made based on the spirit and principles of the present application should all be included within the protection scope of the present application.

Claims

1. A display mode switching method applied to a terminal, comprising: displaying a first application interface in a first display mode and a second application interface in a second display mode; receiving a switching operation for the first application interface, the switching operation being used to trigger a switching of a display mode of the application interface; in response to the switching operation, displaying the second application interface in the first display mode, and displaying the first application interface in the second display mode; a size of the application interface displayed in the first display mode is smaller than a size of the application interface displayed in the second display mode; The second application interface includes at least two second application interfaces, and in response to the switching operation, displaying the second application interface in the first display mode and displaying the first application interface in the second display mode includes: determining a target application interface from the at least two second application interfaces; in response to the switching operation, displaying the target application interface in the first display mode and displaying the first application interface in the second display mode.

13. A method for switching an application interface, comprising:

2. the first display mode is a first floating window display, and the second display mode includes at least one of a full screen display, a second floating window display, and a split screen display; In the first floating window display, the application interface is displayed in a first type of floating window, and in the second floating window display, the application interface is displayed in a second type of floating window, and the size of the first type of floating window is smaller than the size of the second type of floating window; 2. The display mode switching method according to claim 1, wherein:

3. the second display mode is the second floating window display; Determining the target application interface from the at least two second application interfaces includes: Obtaining a latest use time of an application in each of the second-type floating windows, determining a second-type floating window corresponding to the latest use time closest to a current time as a target second-type floating window, and determining the second application interface displayed in the target second-type floating window as the target application interface; or displaying at least two switching options corresponding to the second type floating window, and in response to an operation of selecting a target switching option from the at least two switching options, determining the second type floating window corresponding to the target switching option as a target second type floating window, and determining the second application interface displayed in the target second type floating window as the target application interface; Displaying the second application interface in the first display mode and displaying the first application interface in the second display mode includes: displaying the first application interface in a floating window of the target second type, and displaying the target application interface in a floating window of the first type.

3. The display mode switching method according to claim 2.

4. the second display mode includes the full screen display and the second floating window display; Determining the target application interface from the at least two second application interfaces includes: determining the second application interface displayed in full screen as the target application interface; or displaying at least two switching options corresponding to the second application interface, and in response to an operation of selecting a target switching option from the at least two switching options, determining the second application interface corresponding to the target switching option as the target application interface; Displaying the target application interface in the first display mode and displaying the first application interface in the second display mode includes: in response to the target application interface being the second application interface displayed in full screen, displaying the first application interface in full screen and displaying the target application interface in a floating window of the first type; in response to the target application interface being the second application interface displayed in the second floating window display, displaying the first application interface in the second type of floating window and displaying the target application interface in the first type of floating window.

3. The display mode switching method according to claim 2.

5. the second display mode is the split screen display, Determining the target application interface from the at least two second application interfaces includes: Determine a target split-screen area where the first type floating window is located, and determine the second application interface located in the target split-screen area as the target application interface; or displaying at least two switching options corresponding to the second application interface, and in response to an operation of selecting a target switching option from the at least two switching options, determining the second application interface corresponding to the target switching option as the target application interface; Displaying the second application interface in the first display mode and displaying the first application interface in the second display mode includes: displaying the first application interface in a split screen region corresponding to the target application interface, and displaying the target application interface in a floating window of the first type.

3. The display mode switching method according to claim 2.

6. After displaying the target application interface in the first display mode and displaying the first application interface in the second display mode, the display mode switching method includes: receiving the switch operation for the target application interface; and displaying, in response to the switching operation, the first application interface in the first display mode and the target application interface in the second display mode, wherein the second application interface is absent other than the target application interface.

6. The display mode switching method according to claim 1, wherein the display mode switching method comprises:

7. After displaying the target application interface in the first display mode and displaying the first application interface in the second display mode, the display mode switching method includes: receiving a switch operation for the target application interface; Obtaining an operation time interval between two adjacent switching operations, where there is at least one second application interface other than the target application interface; and displaying the first application interface in the first display mode and displaying the target application interface in the second display mode in response to the switching operation when the operation time interval is greater than an interval threshold or an interface operation for the first application interface is received within the operation time interval; determining a candidate application interface from the at least one second application interface other than the target application interface when the operation time interval is less than the interval threshold and the interface operation for the first application interface is not received within the operation time interval, and in response to the switching operation, restoring the display mode, displaying the candidate application interface in the first display mode, and displaying the first application interface in the second display mode.

6. The display mode switching method according to claim 1, wherein the display mode switching method comprises:

8. A display mode switching device including a display module, an operation receiving module, and a switching module, the display module is configured to display a first application interface in a first display mode and a second application interface in a second display mode; The operation receiving module is configured to receive a switching operation for the first application interface, the switching operation being used to trigger switching of a display mode of the application interface; the switching module is configured to, in response to the switching operation, display the second application interface in the first display mode and display the first application interface in the second display mode, where a size of the application interface displayed in the first display mode is smaller than a size of the application interface displayed in the second display mode; The second application interface includes at least two second application interfaces, and the switching module includes an application determination unit and a switching unit; The application determination unit is configured to determine a target application interface from the at least two second application interfaces; the switching unit is configured to, in response to the switching operation, display the target application interface in the first display mode and display the first application interface in the second display mode. A display mode switching device comprising:

9. the first display mode is a first floating window display, and the second display mode includes at least one of a full screen display, a second floating window display, and a split screen display; In the first floating window display, the application interface is displayed in a first type of floating window, and in the second floating window display, the application interface is displayed in a second type of floating window, and the size of the first type of floating window is smaller than the size of the second type of floating window; 9. The display mode switching device according to claim 8.

10. A terminal comprising a processor and a memory, At least one instruction is stored in the memory, the at least one instruction being configured to be executed by the processor to implement the display mode switching method according to any one of claims 1 to 7. A terminal characterized by:

11. 1. A computer-readable storage medium, comprising: At least one instruction is stored on the storage medium, the at least one instruction being configured to be executed by a processor to implement the display mode switching method according to any one of claims 1 to 7. A computer-readable storage medium comprising:

Citation Information

Patent Citations

  • Method for quickly calling out small windows in full-screen display video, graphical user interface and terminal

    CN109445572A

  • Window controller

    JP1992333917A

  • Integrally displaying and processing method for a plurality of informations

    JP2002175141A

  • Information processor and program

    JP2008217130A