Application interface switching method, device, terminal and storage medium
Through the application interface switching method, the user can view the first application interface in a larger display area and continue to view the content of the second application interface, solving the problem of low switching efficiency between applications in the prior art and achieving efficient switching between applications.
Patent Information
- Application Number
- CN202010719533.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-07-23
- Publication Date
- 2025-01-07
- Estimated Expiration
- 2040-07-23
AI Technical Summary
In multiple application scenarios, when users need to switch applications frequently, the existing technology can only display a single application interface in full screen, resulting in low switching efficiency between applications and inability to view information of front and back applications at the same time.
By providing an application interface switching method, users can view the first application interface in a larger display area through the interface switching operation, and continue to view the content of the second application interface, achieving efficient switching between applications and avoiding the application process being killed Restart problems.
The efficiency of switching between applications in multiple application usage scenarios is improved, allowing users to view the content of the first application interface in a larger display area, and continue to view the information of the second application interface, enhancing the user experience.
Smart Images

Figure CN111782332B_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present application relate to the field of terminal technology, and in particular to an application interface switching method, device, terminal and storage medium. Background Art
[0002] With the continuous development of terminal technology, more and more application programs are installed in terminals. When using application programs, users often need to switch between application programs.
[0003] For example, a user first uses a taxi-hailing app to hail a taxi, and while waiting for the taxi to arrive, switches to a news reading app to browse. During the browsing process, the news reading app is in the foreground, while the taxi-hailing app is switched to the background. During the browsing process, when the user needs to check the specific location of the taxi, the taxi-hailing app needs to be switched to the foreground again, and the news reading app needs to be switched to the background. Summary of the invention
[0004] The embodiment of the present application provides an application interface switching method, device, terminal and storage medium. The technical solution is as follows:
[0005] On the one hand, an embodiment of the present application provides an application interface switching method, the method comprising:
[0006] Displaying a first application interface in a first display mode;
[0007] Receiving an interface switching operation on the first application interface, wherein the interface switching operation is used to trigger switching of an interface display mode of the application interface;
[0008] When there is a second application interface displayed through a second display mode, in response to the interface switching operation, the second application interface is displayed through the first display mode, and the first application interface is displayed through the second display mode, wherein the interface size of the application interface displayed through the first display mode is smaller than the interface size of the application interface displayed through the second display mode.
[0009] On the other hand, an embodiment of the present application provides an application interface switching device, the device comprising:
[0010] A display module, configured to display a first application interface in a first display mode;
[0011] An operation receiving module, used to receive an interface switching operation on the first application interface, wherein the interface switching operation is used to trigger switching of an interface display mode of the application interface;
[0012] A switching module is used to display the second application interface through the first display mode and the first application interface through the second display mode in response to the interface switching operation when there is a second application interface displayed through the second display mode, wherein the interface size of the application interface displayed through the first display mode is smaller than the interface size of the application interface displayed through the second display mode.
[0013] On the other hand, an embodiment of the present application provides a terminal, which includes a processor and a memory; the memory stores at least one instruction, and the at least one instruction is used to be executed by the processor to implement the application interface switching method described in the above aspect.
[0014] On the other hand, an embodiment of the present application provides a computer-readable storage medium, which stores at least one instruction, and the at least one instruction is used to be executed by a processor to implement the application interface switching method described in the above aspect.
[0015] On the other hand, an embodiment of the present application provides a computer program product or a computer program, which includes a computer instruction stored in a computer-readable storage medium. A processor of a computer device reads the computer instruction from the computer-readable storage medium, and the processor executes the computer instruction, so that the computer device executes the application interface switching method provided in the above aspect.
[0016] The technical solution provided by the embodiments of the present application includes at least the following beneficial effects:
[0017] In an embodiment of the present application, when a first application interface is displayed, if there is a second application interface that uses a different display method from the first application interface and has an interface size larger than the first application interface, the user can trigger the terminal to switch the interface display methods 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 continue to view the interface content of the second application interface while viewing the first application interface in a larger display area, which helps to improve the efficiency of switching between applications in multi-application usage scenarios. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] Figure 1 It is a schematic diagram of an interface of an application switching process in a related art;
[0019] Figure 2 A method flow chart of an application interface switching method provided by an exemplary embodiment of the present application is shown;
[0020] Figure 3 is an interface schematic diagram of an application interface switching process shown in an exemplary embodiment;
[0021] Figure 4 A method flow chart of an application interface switching method provided by another exemplary embodiment of the present application is shown;
[0022] Figure 5 yes Figure 4 An interface schematic diagram of an application interface switching process shown in an exemplary embodiment of the application interface switching method;
[0023] Figure 6 A method flow chart of an application interface switching method provided by another exemplary embodiment of the present application is shown;
[0024] Figures 7 to 9 yes Figure 4 An interface schematic diagram of an application interface switching process shown in an exemplary embodiment of the application interface switching method;
[0025] Fig.10 A method flow chart of an application interface switching method provided by another exemplary embodiment of the present application is shown;
[0026] Fig.11 yes Fig.10 An interface schematic diagram of an application interface switching process shown in an exemplary embodiment of the application interface switching method;
[0027] Fig.12 A method flow chart of an application interface switching method provided by another exemplary embodiment of the present application is shown;
[0028] Fig.13 yes Fig.12 An interface schematic diagram of an application interface switching process shown in an exemplary embodiment of the application interface switching method;
[0029] Fig.14 A structural block diagram of an application interface switching device provided by an embodiment of the present application is shown;
[0030] Fig.15 A structural block diagram of a terminal provided by an exemplary embodiment of the present application is shown. DETAILED DESCRIPTION
[0031] In order to make the objectives, technical solutions and advantages of the present application clearer, the implementation methods of the present application will be further described in detail below with reference to the accompanying drawings.
[0032] The term "multiple" as used herein refers to two or more than two. "And / or" describes the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the related objects are in an "or" relationship.
[0033] For ease of understanding, the nouns involved in the embodiments of the present application are first explained.
[0034] 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, which includes all interface elements in the application interface; or, the first type floating window displays core interface elements in the application interface, which are pre-set by the application.
[0035] For example, for taxi-hailing applications, the terminal proportionally reduces the taxi-hailing interface in full-screen display state, and then displays the reduced taxi-hailing interface in the first type of floating window; for recording applications, the terminal extracts the recording duration and recording controls (i.e., core interface elements) in the recording interface, and then only displays the recording duration and recording controls in the first type of floating window.
[0036] Since the default size of the floating window is usually small, in some possible implementations, the first type of floating window is only used for displaying the application interface and cannot respond to in-application operations on the displayed application interface. In other possible implementations, in addition to being used for displaying the application interface, the first type of floating window also supports responding to in-application operations. For example, when the core interface elements in the application interface are displayed in the first type of floating window, it can respond to touch operations on the core interface elements.
[0037] In some embodiments, the first type of floating window can be displayed on the system main interface, the upper layer of the full-screen application interface, or the upper layer of the split-screen application interface, and supports the simultaneous display of two or more first type floating windows. In addition, the first type of floating window supports movement and size adjustment, that is, the user can change the display position or display size of the first type of floating window according to needs.
[0038] Second type of floating window: a floating window for displaying an application interface. Compared to the first type of floating window, the default size of the second type of floating window is larger. Optionally, in addition to being used for displaying the application interface, the second type of floating window also supports responding to in-application operations of the displayed application interface. For example, when the news reading interface of a news reading application is displayed in the second type of floating window, the user can slide up or down the news reading interface through sliding operations; when the recording interface of a recording application is displayed in the second type of floating window, the user can control the recording progress by clicking the recording control in the recording interface. Optionally, the application interface displayed in the second type of floating window is a reduced application interface.
[0039] In some embodiments, the second type of floating window can be displayed on the system main interface, the upper layer of the full-screen application interface, or the upper layer of the split-screen application interface, and supports the simultaneous display of two or more second type floating windows. In the embodiment of the present application, the first type of floating window and the second type of floating window support simultaneous display. In addition, the second type of floating window supports movement and size adjustment, that is, the user can change the display position or display size of the second type of floating window according to needs.
[0040] In the related art, switching between multiple applications is achieved by using a multi-task switching function. Figure 1 As shown, the user first uses the taxi application to hail a taxi, and the terminal displays the taxi interface 11 in full screen; while waiting for the vehicle to arrive, the user switches the taxi application to the background, and opens the news reading application to read news, and the terminal displays the news reading interface 12 in full screen; while reading the news, when it is necessary to check the current location of the vehicle, the user needs to switch the news reading application to the background through the multitasking function, and switch the taxi application to the foreground again (the foreground and background switching can be achieved through the multitasking interface), and the terminal displays the taxi interface 11 in full screen again.
[0041] Obviously, when using the above method to switch between applications, since the terminal can only display the application interface of a single application in full screen at the same time, the user cannot view the application information in the application interface before and after the switch at the same time, so it is necessary to frequently switch between the foreground and background applications, and the application switching efficiency is low.
[0042] An embodiment of the present application provides an application interface switching method. After adopting this method, a terminal can display a first application interface that has a switching demand through a first display mode, and a user can simultaneously view application information in the first application interface while operating in a second application interface (using the second display mode); when the user needs to perform an in-application operation on the first application interface, an interface switching operation can be performed on the first application interface to trigger the terminal to switch the interface display mode of the first application interface and the second application, and display the first application interface in a larger display area, so as to facilitate 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, after the user completes the operation on the first application interface, the user can perform an interface switching operation on the second application interface to switch the interface display mode of the second application interface and the first application interface again, thereby realizing efficient switching between applications.
[0043] The application interface switching method provided in the embodiment of the present application can be used in a terminal with a touch display screen, which can be a smart phone, a tablet computer, a digital player, a smart wearable device or a personal computer, etc., and the embodiment of the present application is not limited to this.
[0044] Please refer to Figure 2, which shows a method flow chart of an application interface switching method provided by an exemplary embodiment of the present application. The method may include the following steps.
[0045] Step 201: display a first application interface in a first display mode.
[0046] In some embodiments, the first display mode is a display mode other than full-screen display, such as floating window display, split-screen display, etc.
[0047] In the embodiment of the present application, the first application interface is a real-time application interface, that is, changes in interface elements in the application are displayed in real time in the first application interface. For example, when the first application interface is a navigation interface, the display position of the navigation object in the navigation interface map will change in real time during the movement of the navigation object.
[0048] Indicatively, Figure 3 As shown, the terminal displays the taxi-hailing interface of the taxi-hailing application in the first type floating window 31.
[0049] It should be noted that the display position and display size of the first application interface can be adjusted as needed. For example, the user can drag the first application interface to change the display position of the first application interface, and can stretch the interface edge of the first application interface to change the display size of the first application interface.
[0050] Step 202: receiving an interface switching operation on the first application interface, where the interface switching operation is used to trigger switching of the interface display mode of the application interface.
[0051] Optionally, the interface switching operation can be a preset touch operation such as a single-click operation, a double-click operation, a press operation, or a long press operation; or, the interface switching operation can be a preset gesture operation; or, the interface switching operation can be a trigger operation of the interface switching control corresponding to the first application interface. The embodiment of the present application does not limit the operation type of the interface switching operation.
[0052] In an embodiment of the present application, the interface switching operation is used to trigger switching of the interface display mode of the first application interface, and after switching the interface display mode, the interface size of the first application interface is larger than the interface size before switching the interface display mode.
[0053] Indicatively, Figure 3 As shown, when a double-click operation on the taxi-hailing interface in the first type floating window 31 is received, the terminal determines that an interface switching operation has been received.
[0054] Step 203, when there is a second application interface displayed through the second display mode, in response to the interface switching operation, the second application interface is displayed through the first display mode, and the first application interface is displayed through the second display mode, wherein the interface size of the application interface displayed through the first display mode is smaller than the interface size of the application interface displayed through the second display mode.
[0055] In a possible implementation, after receiving the interface switching operation, the terminal detects whether there is a second application interface displayed in the second display mode, and if so, switches the interface display modes of the second application interface and the first application interface. The second application interface displayed in the second display mode is in the foreground display state, and the interface size of the second application interface is larger than the interface size of the first application interface.
[0056] 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.
[0057] Regarding the method of switching the first application interface and the second application interface, in some embodiments, the terminal obtains the original display area of the second application interface, thereby displaying 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.
[0058] Indicatively, Figure 3 As shown, when a double-click operation on the taxi-hailing interface is received, the terminal determines that the news reading interface displayed in full screen is determined as the second application interface, thereby displaying the news reading interface in the first type floating window 31 and displaying the taxi-hailing interface in full screen.
[0059] Obviously, the solution provided in the embodiment of the present application can be used to achieve mutual switching between application interfaces through simple interface switching operations. While improving the efficiency of application switching, it can avoid the problem in related technologies that the switched application process is killed, resulting in the need to restart the application.
[0060] In a possible implementation, when there is no second application interface displayed in the second display mode, the terminal does not respond to the interface switching operation. For example, when the first application interface is in the system main interface (i.e., there is no other application displayed in the foreground), the terminal does not respond to the interface switching operation, or when other application interfaces displayed in the foreground do not support the first display mode, or when 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.
[0061] In other possible implementations, when there is no second application interface displayed in the second display mode, the terminal performs a response other than switching the interface display mode. For example, when the first application interface is in the system main interface (i.e., there is no other application displayed in the foreground), the terminal switches the first application interface to full screen display according to the interface switching operation.
[0062] Optionally, when there is no second application interface displayed in the second display mode, the terminal displays a prompt message to prompt the user under what circumstances the interface can be switched through the interface switching operation.
[0063] To summarize, in the embodiments of the present application, when a first application interface is displayed, if there is a second application interface that uses a different display mode from the first application interface and whose interface size is larger than that of the first application interface, the user can trigger the terminal to switch the interface 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 continue to view the interface content of the second application interface while viewing the first application interface in a larger display area, which helps to improve the efficiency of switching between applications in multi-application usage scenarios.
[0064] In one possible implementation, while displaying the first application interface, when there is at least one second application interface displayed in a second display mode, the terminal determines a target application interface from the at least one second application interface, and thus, in response to the interface switching operation, displays the target application interface in the first display mode, and displays the first application interface in the second display mode, thereby realizing the interface display mode switching.
[0065] Optionally, when the first display mode adopted by the first application interface is the first floating window display, the first application interface is displayed in the first type floating window, and accordingly, the application interface displayed in full screen, second floating window, or split screen is the second application interface that meets the interface switching condition. When the second floating window is displayed, the application interface is displayed in the second type floating window, and the floating window size of the first type floating window is smaller than the floating window size of the second type floating window.
[0066] In some embodiments, the second application interface displayed by the terminal may include at least one of the following situations:
[0067] 1. Full screen application interface;
[0068] 2. At least one floating window application interface (displayed in the second type of floating window);
[0069] 3. Full-screen application interface and at least one floating window application interface;
[0070] 4. At least two split-screen application interfaces.
[0071] The following describes the process of determining the target application interface and switching the interface display mode in the above-mentioned various situations through illustrative embodiments.
[0072] Please refer to Figure 4 , which shows a method flow chart of an application interface switching method provided by another exemplary embodiment of the present application. The method may include the following steps.
[0073] Step 401: display a first application interface in a first type of floating window.
[0074] Step 402: Receive an interface switching operation on a first application interface.
[0075] The implementation of the above steps 401 to 402 may refer to steps 201 to 202, and will not be described in detail in this embodiment.
[0076] Step 403: When there is a second application interface displayed in full screen, determine the second application interface as the target application interface.
[0077] While displaying the first application interface, a full-screen application (i.e., the application corresponding to the second application interface) is displayed. The terminal determines the second application interface as the target application interface that meets the application interface switching conditions, and then switches the interface display mode of the first application interface and the second application interface.
[0078] Indicatively, Figure 5 As shown, the terminal displays the taxi-hailing interface corresponding to the taxi-hailing application in the first type floating window 51, and at the same time displays the news reading interface of the news application in full screen. When a double-click operation on the taxi-hailing interface is received, the terminal determines the news reading interface as the target application interface.
[0079] Step 404, in response to the interface switching operation, the first application interface is displayed in full screen, and the target application interface is displayed in a first type floating window.
[0080] When the interface display modes of the first application interface and the target application interface are switched, the terminal displays the first application interface in full screen and displays the target application interface in the first type floating window. After switching the interface display modes, the user can perform in-application operations in the first application interface displayed in full screen, and view the interface content of the target application interface through the first type floating window.
[0081] Indicatively, Figure 5 As shown, after receiving the double-click operation on the first type floating window 51 , the terminal displays the taxi-hailing interface in full screen and displays the news reading interface in the first type floating window 51 .
[0082] Step 405: receiving an interface switching operation on the target application interface.
[0083] After the user has finished viewing the first application interface or completed the in-application operation on the first application interface, it may be necessary to switch the interface again in order to continue the in-application operation on the target application interface. At this time, the user can switch the interface on the target application interface in the first display mode to trigger another switching of the application interface.
[0084] Indicatively, Figure 5 As shown, when the terminal receives a double-click operation on the news reading interface in the first type floating window 51, it determines that the interface display mode of the taxi-hailing interface and the news reading interface needs to be switched again.
[0085] Step 406, in response to the interface switching operation, display the first application interface in the first type floating window, and display the target application interface in full screen.
[0086] Since there is no other second application interface except the target application interface, the terminal determines that the interface switching operation is used to switch the interface display mode of the first application interface and the target application interface, and then displays the first application interface in the first type of floating window and displays the target application interface in full screen.
[0087] Indicatively, Figure 5 As shown, after receiving the double-click operation on the first type floating window 51, the terminal re-displays the taxi-hailing interface in the first type floating window 51 and re-displays the news reading interface in full screen.
[0088] By operating the interface switching operation on the first type floating window, the user can switch back and forth between the interface display mode of the full-screen application and the application in the first type floating window, thereby improving the switching efficiency between applications.
[0089] Please refer to Figure 6 , which shows a method flow chart of an application interface switching method provided by another exemplary embodiment of the present application. The method may include the following steps.
[0090] Step 601: display a first application interface in a first type of floating window.
[0091] Step 602: Receive an interface switching operation on a first application interface.
[0092] The implementation of the above steps 601 to 602 may refer to steps 201 to 202, and will not be described in detail in this embodiment.
[0093] Step 603, when there is at least one second application interface displayed in a second type floating window, obtain the most recent use time of the applications in each second type floating window; determine the second type floating window with the smallest interval between the most recent use time and the current time as the target second type floating window; determine the second application interface displayed in the target second type floating window as the target application interface.
[0094] In a possible implementation, if at least one second type of floating window is displayed while displaying the first type of floating window, the terminal determines that there is a second application interface that meets the application interface switching condition. Further, if there is one second type of floating window, the terminal determines the second application interface displayed in the second type of floating window as the target application interface; if there are at least two second type of floating windows, the terminal determines the target application interface from the second application interfaces displayed in the at least two second type of floating windows according to the preset interface switching logic.
[0095] Indicatively, Figure 7 As shown, when the upper layer of the system main interface 71 displays a first type floating window 72 and a second type floating window 73, the first type floating window 72 displays a recording interface of a recording application, and the second type floating window 73 displays a taxi-hailing interface of a taxi-hailing application. When a double-click operation is received on the first type floating window 72, the terminal determines the taxi-hailing interface as the target application interface.
[0096] In a possible implementation, since the user usually switches between the two most recently used applications, when there are at least two second-type floating windows, the terminal obtains the most recently used time of the application corresponding to each second-type floating window, and determines the time interval between the most recently used time and the current time, thereby determining the second-type floating window corresponding to the minimum time interval as the target second-type floating window, and then determining the second application interface displayed in the target second-type floating window as the target application interface. Among them, the most recently used time of the application in each second-type floating window can be obtained from the task stack, and the embodiment of the present application is not limited to this.
[0097] In an exemplary example, the current time is 10:00:00. If two second-type floating windows are displayed on the system main interface, and the corresponding applications were last used at 9:59:50 and 9:58:00 respectively, the terminal will determine the floating window application with the last used time of 9:59:50 as the target application (its corresponding application interface is the target application interface).
[0098] Step 604, when there is at least one second application interface displayed in a second type floating window, display the switching options corresponding to each second type floating window; in response to receiving a selection operation for a target switching option in at least one switching option, determine the second type floating window corresponding to the target switching option as the target second type floating window; determine the second application interface displayed in the target second type floating window as the target application interface.
[0099] In addition to determining the target application interface based on the most recent usage time, in order to further improve the accuracy of application switching, in a possible implementation, when an interface switching operation is received and at least one second-type floating window is displayed, the terminal displays the switching options corresponding to each second-type floating window (i.e., each second application interface). The switching options can be displayed at the edge of the window of the first-type floating window, and the switching options can be in the form of controls such as buttons. The embodiment of the present application does not limit the display form and display position of the switching options.
[0100] Correspondingly, when receiving a selection operation on a target switching option among at least one switching option, the terminal determines the second type floating window corresponding to the target switching option as the target second type floating window.
[0101] Indicatively, Figure 8 As shown, the system main interface 81 displays a first type floating window 82, a second type floating window 83, and a second type floating window 84, wherein the first type floating window 82 displays a recording interface of a recording application, the second type floating window 83 displays a taxi-hailing interface of a taxi-hailing application, and the second type floating window 84 displays a navigation interface of a navigation application. When a double-click operation on the first type floating window 82 is received, the terminal displays a first switching option 85 corresponding to the navigation application and a second switching option 86 corresponding to the taxi-hailing application on the left side of the first type floating window 82. Further, when a click operation on the second switching option 86 is received, the terminal determines the taxi-hailing application as the target application.
[0102] In addition to determining the target application through the above two methods, in other possible implementations, the terminal may also determine the second application with the highest frequency of historical application 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, or determine the second application associated with the first application as the target application, and then determine the target application interface based on the target application, which is not limited in this embodiment.
[0103] Step 605 , in response to the interface switching operation, display the first application interface in the target second type floating window, and display the target application interface in the first type floating window.
[0104] Further, the terminal displays the first application interface in the target second type floating window, and displays the target application interface in the first type floating window. It should be noted that this embodiment takes the first application interface supporting display in the second type floating window as an example for explanation. If the first application interface does not support display in the second type floating window, the terminal does not respond to the interface switching operation.
[0105] Indicatively, Figure 7As shown, the terminal displays the recording interface in the second type floating window 73 and the taxi-hailing interface in the first type floating window 72 according to the interface switching operation; Figure 8 As shown, the terminal displays the recording interface in the second type floating window 83 and the taxi-hailing interface in the first type floating window 82 according to the selection operation of the switching option.
[0106] Step 606: receiving an interface switching operation on the target application interface.
[0107] The implementation of this step may refer to the above step 405, and this embodiment will not be described in detail here.
[0108] When there is only one second type floating window, the terminal will switch the interface display mode of the first application interface and the target application interface again. Figure 7 As shown, when the terminal receives a double-click operation on the first type floating window 72 again, it determines that the interface display mode of the taxi-hailing interface and the recording interface needs to be switched again, so that the recording interface is redisplayed in the first type floating window 72, and the taxi-hailing interface is redisplayed in the second type floating window 73.
[0109] When there are at least two second-type floating windows, the user's interface switching operation on the first-type floating window may be used to indicate switching back to the original interface display mode, and may also be used to indicate switching the interface display mode with other second-type floating windows. Therefore, when there are at least two second-type floating windows, after the terminal receives the interface switching operation on the first-type floating window, it is necessary to further determine the interface switching intention of the interface switching operation.
[0110] 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.
[0111] Normally, when the interface display mode meets the user's expectations, the user will perform in-application operations in the first application interface, or switch the interface display mode again after maintaining the current interface display mode for a period of time; when the interface display mode does not meet the user's expectations, the user will not perform in-application operations in the application interface, and will switch the interface display mode again in a short time. Therefore, in a possible implementation, the terminal can determine the operation time interval between two adjacent interface switching operations, and then determine the actual switching intention of this interface switching operation based on the length of the operation time interval and the user's operation on the first application interface within the operation time interval.
[0112] Optionally, each time after receiving an interface switching operation, the terminal will record the operation time of the interface switching operation, and when receiving the interface switching operation again, determine the operation time interval between the previous interface switching operation. The terminal detects whether the operation time interval is greater than the interval threshold, and detects whether an interface operation on 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 on the first application interface is received within the operation time interval, execute the following step 608; if the operation time interval is less than the interval threshold, and no interface operation on the first application interface is received within the operation time interval, execute the following step 609.
[0113] Step 608, if the operation time interval is greater than the interval threshold, or an interface operation on 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.
[0114] When the operation time interval is greater than the interval threshold, or when an interface operation on the first application interface is received within the operation time interval, it indicates that the last interface display mode switch met the user's expectations. Therefore, the terminal determines that the interface switching operation received this time is used to trigger the restoration of the interface display mode of the first application interface and the target application interface, thereby re-displaying the first application interface in the first type floating window and re-displaying the target application interface in the second type floating window.
[0115] For example, the interval threshold may be 5s, 10s, or 15s, etc., which is not limited in the embodiments of the present application.
[0116] Indicatively, Fig. 9 As shown, the system main interface 81 displays a first type floating window 82, a second type floating window 83 and a second type floating window 84, wherein the first type floating window 82 displays the recording interface of the recording application, the second type floating window 83 displays the taxi-hailing interface of the taxi-hailing application, and the second type floating window 84 displays the navigation interface of the navigation application. When a double-click operation on the first type floating window 82 is received, the terminal determines the taxi-hailing application as the target application, thereby displaying the taxi-hailing interface in the first type floating window 82 and the recording interface in the second type floating window 83. After completing the interface switching, the user clicks the pause recording control in the recording interface and double-clicks the first type floating window 82 again. Since the recording application (i.e., the first application) is operated on the interface between two consecutive interface switching operations, the terminal re-displays the recording interface in the first type floating window 82 according to the interface switching operation received this time, and re-displays the application interface corresponding to the taxi-hailing application in the second type floating window 83.
[0117] Step 609, if the operation time interval is less than the interval threshold and no interface operation on 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 the interface display mode, and display the candidate application interface through the first display mode, and display the first application interface through the second display mode.
[0118] When the operation time interval is less than the interval threshold and no interface operation on the first application interface is received within the operation time interval (that is, the interface switching operation on the first type of floating window is continuously received), it indicates that the last interface display mode switching did not meet the user's expectations. Therefore, the terminal determines that the interface switching operation received this time is used to trigger another switching of the interface display mode.
[0119] In one possible implementation, the terminal determines a candidate application interface from a second application interface other than the target application interface, and restores it to the original interface display mode (which can be achieved by undoing the response to the last interface switching operation), thereby displaying the first application interface in a second type of floating window corresponding to the candidate application interface, and displaying the candidate application interface in the first type of floating window.
[0120] Indicatively, Fig. 9 As shown, when the user double-clicks the first type floating window 82 continuously in a short period of time, the last interface display mode adjustment of the terminal does not meet expectations, so the interface 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.
[0121] In this embodiment, when a first application interface is displayed in a first type of floating window and at least two second type of floating windows are displayed, if an interface switching operation is received for the first type of floating window, the target second type of floating window for switching the interface display mode is determined according to the last use time of the application in the second type of floating window, or according to the switching option corresponding to the second type of floating window, which helps to improve the accuracy of the interface switching; and when interface switching operations are received continuously, the terminal determines whether to restore the original interface display mode or switch the interface display mode again according to the operation time interval and the interface operation of the first application within the interval, which further improves the accuracy of the interface switching.
[0122] Please refer to Fig.10 , which shows a method flow chart of an application interface switching method provided by another exemplary embodiment of the present application. The method may include the following steps.
[0123] Step 1001: display a first application interface in a first type of floating window.
[0124] Step 1002: Receive an interface switching operation on a first application interface.
[0125] The implementation of the above steps 1001 to 1002 may refer to steps 201 to 202, and will not be repeated herein in this embodiment.
[0126] Step 1003: When there is a second application interface displayed in full screen and at least one second application interface displayed in a second type of floating window, the second application interface displayed in full screen is determined as the target application interface.
[0127] In a possible implementation, the terminal determines the full-screen application as the default application for interface switching with the application in the first type floating window. Therefore, when a full-screen application and at least one application displayed in the second type floating window are displayed, the terminal preferentially determines the full-screen application as the target application.
[0128] Of course, in other possible implementations, the terminal may also determine the application displayed in the second type of floating window as the default application for interface switching with the application in the first type of floating window. Accordingly, the terminal preferentially determines the target application from the applications displayed in at least one second type of floating window (the method for determining the target application can refer to the above embodiment).
[0129] Step 1004, when there is a second application interface displayed in full screen, and at least one second application interface displayed in a second type of floating window, display the switching options corresponding to each second application interface; in response to receiving a selection operation on a target switching option in the switching options, determine the second application interface corresponding to the target switching option as the target application interface.
[0130] In order to further improve the accuracy of application switching, in another possible implementation, when an interface switching operation is received and a full-screen application and at least one floating window application are displayed, the terminal displays the switching options corresponding to each application. The switching options can be displayed at the edge of the window of the first type of floating window, and the switching options can be in the form of controls such as buttons. The embodiment of the present application does not limit the display form and display position of the switching options.
[0131] Correspondingly, when receiving a selection operation on a target switching option among at least one switching option, the terminal determines the application corresponding to the target switching option as the target application, and the target application may be a full-screen application or a floating window application.
[0132] In addition to determining the target application through the above two methods, in other possible implementations, the terminal may also determine the second application with the highest historical application switching frequency between the first application and each second application as the target application based on the historical application switching record between the first application and each second application, or determine the second application associated with the first application as the target application, or determine the most recently used second application as the target application based on the most recently used time of each second application, which is not limited in this embodiment.
[0133] Step 1005 , in response to the target application interface being the second application interface displayed in full screen, the first application interface is displayed in full screen, and the target application interface is displayed in a first type floating window.
[0134] When the target application is determined to be a full-screen application, the terminal displays the first application interface in full screen, and displays the target application interface in a first-type floating window. Figure 5 .
[0135] Step 1006: In response to the target application interface being the second application interface displayed in the second floating window, display the first application interface in the second type floating window, and display the target application interface in the first type floating window.
[0136] When the target application is determined to be a floating window application, the terminal displays the first application interface in the second type floating window, and displays the target application interface in the first type floating window. Figure 7 .
[0137] Step 1007: receiving an interface switching operation on the target application interface.
[0138] The implementation of this step may refer to the above step 405, and this embodiment will not be described in detail here.
[0139] Since there are at least two second application interfaces available for switching (i.e., the application interface of the full-screen application and at least one floating window application), the interface switching operation on the target application interface may indicate restoring the original interface display mode, or may indicate switching again with other second application interfaces. Therefore, the terminal needs to further determine the intention of performing the interface switching operation again.
[0140] Step 1008: Obtain the operation time interval between two adjacent interface switching operations.
[0141] The implementation of this step may refer to step 607, and this embodiment will not be described in detail again.
[0142] Step 1009, if the operation time interval is greater than the interval threshold, or an interface operation on 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.
[0143] Similar to the above step 608, the terminal re-displays the first application interface in the first display mode, and re-displays the target application interface in the second display mode. When the target application interface is a full-screen application interface, the terminal re-displays the target application interface in full screen, and when the target application interface is a floating window application interface, the terminal re-displays the target application interface in the second type of floating window.
[0144] Step 1010: If the operation time interval is less than the interval threshold and no interface operation on 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 the interface display mode, and display the candidate application interface through the first display mode, and display the first application interface through the second display mode.
[0145] Similar to the above step 609, the terminal cancels the response to the last interface switching operation, and switches the interface display mode of the first application interface and the candidate application interface.
[0146] In an illustrative example, Fig.11 As shown, the terminal displays a full-screen application 1101, a first-type floating window 1102, and a second-type floating window 1103, wherein the full-screen application 1101 is a taxi-hailing 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. When a double-click operation on the first-type floating window 1102 is received, the terminal determines the full-screen application 1101 as the target application, thereby displaying the taxi-hailing interface in the first-type floating window 1102 and displaying the recording interface in full screen. Since the user expects to display the recording application in the second-type floating window 1103, the user double-clicks the first-type floating window 1102 again. After receiving the interface switching operation, the terminal cancels the last interface switching operation, and displays the recording interface in the second-type floating window 1103, and displays the navigation interface in the first-type floating window 1102.
[0147] Please refer to Fig.12 , which shows a method flow chart of an application interface switching method provided by another exemplary embodiment of the present application. The method may include the following steps.
[0148] Step 1201, displaying a first application interface in a first type of floating window.
[0149] Step 1202: Receive an interface switching operation on the first application interface.
[0150] The implementation of the above steps 1201 to 1202 can refer to steps 201 to 202, and this embodiment will not be repeated here.
[0151] Step 1203, when there are at least two second application interfaces displayed in split screen, determine the 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.
[0152] Normally, when the split-screen function is turned on, the user usually moves the floating window to the split-screen area with less attention, so as to avoid the floating window blocking the split-screen area with higher attention. Therefore, in one possible implementation, when a first type of floating window is displayed while displaying at least two split-screen applications, and an interface switching operation for the first type of floating window is received, the terminal obtains the current display area of the first type of floating window, and thereby determines the target split-screen area where the first type of floating window is located based on the current display area and the split-screen range of each split-screen area, and then determines the second application interface located in the target split-screen area as the target application. Among them, the intersection area of the first type of floating window and the target split-screen area is larger than the intersection area of the first type of floating window and other split-screen areas.
[0153] In another possible implementation, in order to prevent the first type of floating window from blocking the first application interface after switching the display, the terminal determines a split-screen area other than the split-screen area where the first type of floating window is located as a target split-screen area.
[0154] Indicatively, Fig.13 As shown, the terminal displays the first split-screen application 1301 and the second split-screen application 1302 in split screen, and displays the recording application in the first type floating window 1303. Among them, the first split-screen application 1301 is a taxi-hailing application, and the second split-screen application 1302 is a news reading 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, so as to avoid blocking the recording interface after the subsequent switching interface display.
[0155] Step 1204, when there are at least two second application interfaces displayed in split screen, display the switching options corresponding to each second application interface; in response to receiving a selection operation for a target switching option in at least one switching option, determine the second application interface corresponding to the target switching option as the target application interface.
[0156] In order to further improve the accuracy of application switching, in another possible implementation, when an interface switching operation is received and at least two split-screen applications are displayed, the terminal displays the corresponding switching options of each split-screen application (corresponding to the second application interface). The switching options can be displayed at the edge of the window of the first type of floating window, and the switching options can be in the form of controls such as buttons. The embodiment of the present application does not limit the display form and display position of the switching options.
[0157] Correspondingly, when receiving a selection operation for a target switching option in at least one switching option, the terminal determines the split-screen application corresponding to the target switching option as the target application, and accordingly, the second application interface corresponding to the target application is the target application interface.
[0158] Of course, in addition to the above methods, the terminal may also determine 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, based on the historical application switching records between the first application and each split-screen application, determine the split-screen application with the highest historical application switching frequency between the first application and the first application as the target application, or, determine the split-screen application associated with the first application as the target application, or, based on the most recent use time of each split-screen application, determine the most recently used split-screen application as the target application. This embodiment does not limit this.
[0159] Step 1205, in response to the interface switching operation, display the first application interface in the split-screen area corresponding to the target application interface, and display the target application interface in the first type floating window.
[0160] Indicatively, Fig.13 As shown, the terminal displays the recording interface in the original split-screen area corresponding to the second split-screen application 1302 , and displays the news reading interface in the first type floating window 1303 .
[0161] It should be noted that this embodiment is described by taking the case where the first application supports split-screen display as an example. If the first application does not support split-screen display, the terminal does not respond to the interface switching operation.
[0162] Step 1206: receiving an interface switching operation on the target application interface.
[0163] Step 1207, obtaining the operation time interval between two adjacent interface switching operations.
[0164] Similar to the above embodiment, since there are at least two split-screen applications, the terminal needs to further determine the switching intention of the interface switching operation.
[0165] Step 1208, if the operation time interval is greater than the interval threshold, or an interface operation on 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.
[0166] Similar to the above embodiment, when it is determined that the switching intention of the interface switching operation is to restore the original interface display mode, the terminal re-displays the first application interface in the first type of floating window and re-displays the target application interface in the original split-screen area of the target application interface.
[0167] Step 1209, if the operation time interval is less than the interval threshold, and no interface operation on 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 the interface display mode, and display the candidate application interface through the first display mode, and display the first application interface through the second display mode.
[0168] Similar to the above embodiment, when it is determined that the switching intention of the interface switching operation is to reselect the split-screen application to be switched, the terminal cancels the last response to the interface switching operation, and displays the first application interface in the split-screen area corresponding to the candidate application interface, and displays the candidate application interface in the first type of floating window.
[0169] It should be noted that the above embodiment only uses the above four cases as examples for schematic illustration. In other possible cases (such as displaying at least two split-screen applications and at least one floating window application), the terminal can refer to the above implementation principle to switch the application interface, and this embodiment will not be repeated here.
[0170] Please refer to Fig.14 , which shows a structural block diagram of an application interface switching device provided by an embodiment of the present application. The device can be implemented as all or part of a terminal through software, hardware, or a combination of both. The device includes:
[0171] Display module 1401, used to display a first application interface in a first display mode;
[0172] An operation receiving module 1402 is used to receive an interface switching operation on the first application interface, where the interface switching operation is used to trigger switching of an interface display mode of the application interface;
[0173] The switching module 1403 is used to display the second application interface through the first display mode and display the first application interface through the second display mode in response to the interface switching operation when there is a second application interface displayed through the second display mode, wherein the interface size of the application interface displayed through the first display mode is smaller than the interface size of the application interface displayed through the second display mode.
[0174] Optionally, the switching module 1403 includes:
[0175] an application determining unit, configured to determine a target application interface from at least one of the second application interfaces when there is at least one second application interface displayed in the second display mode;
[0176] A switching unit is used to display the target application interface through the first display mode and display the first application interface through the second display mode in response to the interface switching operation.
[0177] 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;
[0178] Among them, when the first floating window is displayed, the application interface is displayed in the first type floating window, and when the second floating window is displayed, the application interface is displayed in the second type floating window, and the floating window size of the first type floating window is smaller than the floating window size of the second type floating window.
[0179] Optionally, the second display mode is full screen display;
[0180] The application determination unit is used to:
[0181] Determine the second application interface displayed in full screen as the target application interface;
[0182] The switching unit is used for:
[0183] The first application interface is displayed in full screen, and the target application interface is displayed in the first type floating window.
[0184] Optionally, the second display mode is a second floating window display;
[0185] The application determination unit is used to:
[0186] Obtaining the most recent use time of the applications in each second-type floating window; determining the second-type floating window with the smallest interval between the most recent use time and the current time as the target second-type floating window; determining the second application interface displayed in the target second-type floating window as the target application interface; or,
[0187] displaying the switching options corresponding to each of the second-type floating windows; in response to receiving a selection operation of a target switching option among at least one of the 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;
[0188] The switching unit is used for:
[0189] The first application interface is displayed in the target second-type floating window, and the target application interface is displayed in the first-type floating window.
[0190] Optionally, the second display mode includes full-screen display and second floating window display;
[0191] The application determination unit is used to:
[0192] Determine the second application interface displayed in full screen as the target application interface; or,
[0193] displaying the switching options corresponding to each of the second application interfaces; in response to receiving a selection operation of a target switching option in the switching options, determining the second application interface corresponding to the target switching option as the target application interface;
[0194] The switching unit is used for:
[0195] 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 the first type of floating window;
[0196] In response to the target application interface being the second application interface displayed in a second floating window, the first application interface is displayed in the second type floating window, and the target application interface is displayed in the first type floating window.
[0197] Optionally, the second display mode is split-screen display;
[0198] The application determination unit is used to:
[0199] Determine a target split-screen area where the first type floating window is located; determine the second application interface located in the target split-screen area as the target application interface; or,
[0200] displaying the switching options corresponding to each of the second application interfaces; in response to receiving a selection operation of a target switching option among at least one of the switching options, determining the second application interface corresponding to the target switching option as the target application interface;
[0201] The switching unit is used for:
[0202] The first application interface is displayed in the split-screen area corresponding to the target application interface, and the target application interface is displayed in the first type floating window.
[0203] Optionally, the operation receiving module 1402 is used to receive the interface switching operation on the target application interface;
[0204] The device also includes:
[0205] A restoration module is used to display the first application interface in the first display mode in response to the interface switching operation when the second application interface other than the target application interface does not exist, and to display the target application interface in the second display mode.
[0206] Optionally, the device further comprises:
[0207] an interval acquisition module, 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 the interface switching operation if the operation time interval is greater than an interval threshold or an interface operation on the first application interface is received within the operation time interval;
[0208] The restoration module is further configured to display the first application interface in the first type of floating window and display the target application interface in the original display area if the operation time interval is greater than an interval threshold or an interface operation on the first application interface is received within the operation time interval;
[0209] The switching module 1403 is also used to determine a candidate application interface from the second application interfaces other than the target application interface in response to the operation time interval being less than the interval threshold and no interface operation on the first application interface being received within the operation time interval; and to restore the interface display mode in response to the interface switching operation, and display the candidate application interface through the first display mode, and display the first application interface through the second display mode.
[0210] To summarize, in the embodiments of the present application, when a first application interface is displayed, if there is a second application interface that uses a different display mode from the first application interface and whose interface size is larger than that of the first application interface, the user can trigger the terminal to switch the interface 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 continue to view the interface content of the second application interface while viewing the first application interface in a larger display area, which helps to improve the efficiency of switching between applications in multi-application usage scenarios.
[0211] Please refer to Fig.15 , which shows a block diagram of a terminal provided by an exemplary embodiment of the present application. The terminal in the present application may include one or more of the following components: a processor 1510 and a memory 1520.
[0212] The processor 1510 may include one or more processing cores. The processor 1510 uses various interfaces and lines to connect various parts of the entire terminal, and executes various functions of the terminal and processes data by running or executing instructions, programs, code sets or instruction sets stored in the memory 1520, and calling data stored in the memory 1520. Optionally, the processor 1510 can be implemented in at least one hardware form of digital signal processing (DSP), field programmable gate array (FPGA), and programmable logic array (PLA). The processor 1510 can integrate one or more combinations of a central processing unit (CPU), a graphics processing unit (GPU), a neural network processor (NPU), and a modem. Among them, the CPU mainly processes the operating system, user interface, and application programs; the GPU is responsible for rendering and drawing the content that needs to be displayed on the touch display; the NPU is used to implement artificial intelligence (AI) functions; and the modem is used to process wireless communications. It is understandable that the above-mentioned modem may not be integrated into the processor 1510, but may be implemented by a separate chip.
[0213] The memory 1520 may include a random access memory (RAM) or a read-only memory (ROM). Optionally, the memory 1520 includes 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, wherein the program storage area may store instructions for implementing an operating system, instructions for at least one function (such as a touch function, a sound playback function, an image playback function, etc.), instructions for implementing the following various method embodiments, etc.; the data storage area may store data created according to the use of the terminal (such as audio data, a phone book), etc.
[0214] The terminal in the embodiment of the present application also includes a display screen 1530. The display screen 1530 is used to display images, and it can be a full screen, a special-shaped screen, a curved screen, a folding screen, or a double-sided screen, which is not limited in the embodiment of the present application. In addition, the display screen 1530 can also have a touch function, and the user can touch the elements in the interface with a finger or a stylus.
[0215] In addition, those skilled in the art will appreciate that the structure of the terminal shown in the above drawings does not constitute a limitation on the terminal, and the terminal may include more or fewer components than shown, or combine certain components, or arrange the components differently. For example, the terminal also includes a radio frequency circuit, an input unit, a sensor, an audio circuit, a speaker, a microphone, a power supply, and other components, which will not be described in detail here.
[0216] An embodiment of the present application also provides a computer-readable storage medium, which stores at least one instruction, and the at least one instruction is used to be executed by a processor to implement the application interface switching method as described in the above embodiment.
[0217] The embodiment of the present application provides a computer program product or a computer program, which includes a computer instruction stored in a computer-readable storage medium. The processor of the computer device reads the computer instruction from the computer-readable storage medium, and the processor executes the computer instruction, so that the computer device executes the application interface switching method provided in the above embodiment.
[0218] Those skilled in the art should be aware that in one or more of the above examples, the functions described in the embodiments of the present application can be implemented with hardware, software, firmware, or any combination thereof. When implemented using 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 include computer storage media and communication media, wherein the communication media include any media that facilitates the transmission of a computer program from one place to another. The storage medium can be any available medium that a general or special-purpose computer can access.
[0219] The above description is only an optional embodiment of the present application and is not intended to limit the present application. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application shall be included in the protection scope of the present application.
Claims
1. A method for switching an application interface, characterized in that: The method comprises: Displaying a first application interface in a first display mode; the first display mode is a first floating window display, in which the application interface is displayed in a first type of floating window, and the first application interface using the first display mode does not support in-application operations; Receiving an interface switching operation on the first application interface, wherein the interface switching operation is used to trigger switching of an interface display mode of the application interface; When there is at least one second application interface displayed in the second display mode, the most recent use time of the application in each second type floating window is obtained, and the second display mode is the second floating window display; the second type floating window with the smallest interval between the most recent use time and the current time is determined as the target second type floating window; the second application interface displayed in the target second type floating window is determined as the target application interface; or, based on the historical application switching records between the first application corresponding to the first application interface and each second application corresponding to each second application interface, the second application interface corresponding to the second application with the highest historical application switching frequency is determined as the target application interface; In response to the interface switching operation, the first application interface is displayed in the target second-type floating window, and the target application interface is displayed in the first-type floating window, wherein the interface size of the application interface displayed in the first display mode is smaller than the interface size of the application interface displayed in the second display mode, and when the second floating window is displayed, the application interface is displayed in the second-type floating window, the floating window size of the first-type floating window is smaller than the floating window size of the second-type floating window, and the first application interface using the second display mode supports in-application operations; When the second application interface displayed by the second display mode does not exist, or the second application interface does not support the first display mode, or the first application interface does not support the second display mode, a response other than switching the interface display mode is executed.
2. The method according to claim 1, characterized in that After displaying the first application interface in the target second-type floating window and displaying the target application interface in the first-type floating window, the method further includes: Receiving the interface switching operation on the target application interface; When the second application interface other than the target application interface does not exist, 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.
3. The method according to claim 2, characterized in that After receiving the interface switching operation on the target application interface, the method further includes: When the second application interface other than the target application interface exists, obtaining an operation time interval between two adjacent interface switching operations; If the operation time interval is greater than the interval threshold, or an interface operation on 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; If the operation time interval is less than the interval threshold and no interface operation on the first application interface is received within the operation time interval, determine a candidate application interface from the second application interfaces other than the target application interface; in response to the interface switching operation, restore the interface display mode, display the candidate application interface through the first display mode, and display the first application interface through the second display mode.
4. An application interface switching device, characterized in that: The device comprises: A display module, configured to display a first application interface in a first display mode; the first display mode is a first floating window display, in which the application interface is displayed in a first type of floating window, and the first application interface using the first display mode does not support in-application operations; An operation receiving module, used to receive an interface switching operation on the first application interface, wherein the interface switching operation is used to trigger switching of an interface display mode of the application interface; A switching module, configured to obtain the most recent use time of the applications in each second-type floating window when there is at least one second application interface displayed in a second display mode, and the second display mode is a second floating window display; determine the second-type floating window with the smallest interval between the most recent use time and the current time as a target second-type floating window; determine the second application interface displayed in the target second-type floating window as a target application interface; or, based on the historical application switching records between the first application corresponding to the first application interface and each second application corresponding to each second application interface, determine the second application interface corresponding to the second application with the highest historical application switching frequency as the target application interface; In response to the interface switching operation, the first application interface is displayed in the target second-type floating window, and the target application interface is displayed in the first-type floating window, wherein the interface size of the application interface displayed in the first display mode is smaller than the interface size of the application interface displayed in the second display mode, and when the second floating window is displayed, the application interface is displayed in the second-type floating window, the floating window size of the first-type floating window is smaller than the floating window size of the second-type floating window, and the first application interface using the second display mode supports in-application operations; A response module is used to execute a response other than switching the interface display mode when the second application interface displayed by the second display mode does not exist, or the second application interface does not support the first display mode, or the first application interface does not support the second display mode.
5. A terminal, characterized in that: The terminal includes a processor and a memory; the memory stores at least one instruction, and the at least one instruction is used to be executed by the processor to implement the application interface switching method as described in any one of claims 1 to 3.
6. A computer-readable storage medium, characterized in that: The storage medium stores at least one instruction, and the at least one instruction is used to be executed by the processor to implement the application interface switching method as described in any one of claims 1 to 3.
Citation Information
Patent Citations
Method for quickly calling out small windows in full-screen display video, graphical user interface and terminal
CN109445572A
Cited By
Systems and methods for docking virtual objects with virtual displays
US12669848B2