A multi-finger interaction method and an electronic device

Through the multi-finger interaction method, the multi-finger pinch operation is used to switch the display mode of electronic device applications, the problem of hidden interaction mode in the prior art is solved, convenient display mode switching is achieved, and user experience is improved.

CN113672133BActive Publication Date: 2025-06-10HUAWEI TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202010403409.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-05-13
Publication Date
2025-06-10
Estimated Expiration
2040-05-13

AI Technical Summary

Technical Problem

In existing electronic devices, the interaction method used to trigger the application to switch from full-screen display to split-screen display or floating window display is relatively hidden, making it difficult for users to implement this operation easily.

Method used

The multi-finger interaction method is used to switch the application's display mode by performing multi-finger pinching operations on the interface (such as two-finger pinching) to switch from full-screen display to suspended control display, or from split-screen display to full-screen display.

Benefits of technology

It provides an interactive method that facilitates user memory and operation, improves the interactive performance between electronic devices and users, and improves user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113672133B_ABST
    Figure CN113672133B_ABST
Patent Text Reader

Abstract

The present application discloses a multi-finger interaction method and an electronic device, relating to the field of terminal touch control, which can provide an interaction method that is convenient for users to remember and operate, so as to enable the electronic device to switch the application from full-screen display to floating control display, and can improve the interaction performance between the electronic device and the user. The specific solution includes: the electronic device displays a first interface of a first application in full screen; receives a first multi-finger operation of the user on the first interface; the first multi-finger operation is a pinching operation of at least two fingers; in response to the first multi-finger operation on the first interface, a second interface is displayed, and a first floating control is displayed on the second interface. The first floating control is used to display information of the first interface, and the first floating control is any one of a floating window, a floating ball, a floating card or a floating icon.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present application relate to the field of terminal touch control, and particularly to a multi-finger interaction method and an electronic device. Background Art

[0002] With the development of electronic technology and the improvement of the software and hardware performance of electronic devices, the processing power of electronic devices is getting higher and higher. At present, most electronic devices can perform multiple tasks simultaneously. For example, an electronic device (such as a mobile phone) can provide a split-screen display function or a floating window display function for multiple applications to meet the user's need to operate multiple applications simultaneously.

[0003] However, in existing electronic devices, the interaction method for triggering the electronic device to switch the application from full-screen display to split-screen display or floating window display is relatively hidden. Only a very small number of users know how to control the electronic device to switch the application from full-screen display to split-screen display or floating window display. That is to say, the electronic device cannot provide an interaction method that is convenient for users to remember and operate to conveniently switch the application of the electronic device from full-screen display to split-screen display or floating window display. Summary of the Invention

[0004] The present application provides a multi-finger interaction method and an electronic device, which can provide an interaction method that is convenient for users to remember and operate, so as to realize that the electronic device switches the application from full-screen display to split-screen display or floating control (such as a floating window) display, which can improve the interaction performance between the electronic device and the user, and further improve the user experience.

[0005] In a first aspect, the present application provides a multi-finger interaction method. In this method, the electronic device can full-screen display the first interface of the first application; then, the electronic device can receive a first multi-finger operation of the user on the first interface; in response to the first multi-finger operation on the first interface, the electronic device can display a second interface and display a first floating control on the second interface. Wherein, the first floating control is used to display the information of the first interface. The first floating control can be any one of a floating window, a floating ball, a floating card or a floating icon.

[0006] Wherein, the above-mentioned first multi-finger operation is a pinching operation of at least two fingers, that is, a multi-finger pinching operation. For example, the first multi-finger operation can be any multi-finger pinching operation such as a two-finger pinching operation, a three-finger pinching operation or a four-finger pinching operation.

[0007] It can be understood that switching the interface of the application from the large window of full-screen display to the small window of floating control display in the interaction manner of multi-finger pinching (such as two-finger pinching) conforms to the operation habits of most users and is convenient for users to remember and operate. In this way, the interaction performance between the electronic device and the user can be improved, and the user experience can be further improved.

[0008] In a possible design of the first aspect, the above-mentioned first floating control is used to display information of the first interface, and may include at least any one of the following display methods: (1) The electronic device displays the third interface of the first application in the first floating control, and the third interface is a reduced version of the first interface; (2) The electronic device displays the application icon of the first application in the first floating control; (3) The electronic device displays the dynamic information of the first interface in the first floating control.

[0009] Among them, the dynamic information of the first interface may include the dynamic change information in the first interface of the first application. For example, when the first application is an instant messaging application, the dynamic information of the first interface may include the chat messages received by the instant messaging application. Another example is that when the first application is a navigation application, the dynamic information of the first interface may include the real-time navigation status information. Another example is that when the first application is a game application, the dynamic information of the first interface displayed in the first floating control may include the loading status information of the game.

[0010] In another possible design of the first aspect, the above-mentioned second interface may be the main interface of the electronic device. Or, both the above-mentioned first interface and the second interface are interfaces of the first application, and the second interface is the home page of the first application or the interface at the upper level of the first interface. Or, the second interface is the interface of the second application, and the second application is any one of one or more applications that have been recently run and not closed on the electronic device except the first application.

[0011] In another possible design of the first aspect, the above-mentioned first multi-finger operation may include at least one of the following pinch operations. Two-finger pinch operation (1): One finger slides from the left border of the electronic device into the display screen of the electronic device, and the other finger slides from the right border of the electronic device into the display screen. Two-finger pinch operation (2): One finger slides from the upper border of the electronic device into the display screen of the electronic device, and the other finger slides from the lower border of the electronic device into the display screen. Two-finger pinch operation (3): One finger slides from the upper border or the lower border of the electronic device into the display screen of the electronic device, and the other finger slides from the left border or the right border of the electronic device into the display screen. Two-finger pinch operation (4): One finger slides from any side border of the electronic device into the display screen of the electronic device, and the other finger slides within the display screen. Two-finger pinch operation (5): Two fingers slide within the display screen of the electronic device.

[0012] In another possible design of the first aspect, the display position of the above-mentioned first floating control on the display screen of the electronic device is preset. For example, the electronic device may display the above-mentioned first floating control in the center.

[0013] In another possible design of the first aspect, the display position of the first floating control on the display screen of the electronic device is determined by two touch points on the display screen when the fingers corresponding to the two-finger pinch operation leave the display screen.

[0014] In one case, regardless of which multi-finger pinch operation the first multi-finger operation is (such as any one of the two-finger pinch operations (1)-(5) mentioned above), the intersection point of the center point of the first floating control and the first connection line coincides. Wherein, the first connection line is the connection line of the two touch points on the display screen when the fingers corresponding to the two-finger pinch operation leave the display screen.

[0015] In another case, the first multi-finger operation is the two-finger pinch operation (1), that is, one finger slides into the display screen from the left border of the electronic device, and the other finger slides into the display screen from the right border of the electronic device. In this case, the center point of the first floating control coincides with the intersection point of the first center line of the display screen and the first connection line.

[0016] Wherein, the first center line is parallel to the left border and the right border of the display screen, and the distance between the first center line and the left border of the display screen is equal to the distance between the first center line and the right border of the display screen. The first connection line is the connection line of the two touch points on the display screen when the fingers corresponding to the two-finger pinch operation leave the display screen.

[0017] In another case, the first multi-finger operation is the two-finger pinch operation (2), that is, one finger slides into the display screen from the upper border of the electronic device, and the other finger slides into the display screen from the lower border of the electronic device. In this case, the center point of the first floating control coincides with the intersection point of the second center line of the display screen and the first connection line.

[0018] Wherein, the second center line is parallel to the upper border and the lower border of the display screen, and the distance between the second center line and the upper border of the display screen is equal to the distance between the second center line and the lower border of the display screen; the first connection line is the connection line of the two touch points on the display screen when the fingers corresponding to the two-finger pinch operation leave the display screen.

[0019] In another case, the first multi-finger operation is the two-finger pinch operation (3), that is, the first multi-finger operation is a two-finger pinch operation in which one finger slides into the display screen from the upper border or the lower border of the electronic device, and the other finger slides into the display screen from the left border or the right border of the electronic device. In this case, the center point of the first floating control coincides with the first orthocenter.

[0020] Among them, the first orthocenter is the intersection point of the following two lines: a line perpendicular to the upper or lower border where a finger swipes in and passing through the touch point on the display screen when the finger leaves the display screen, and a line perpendicular to the left or right border where another finger swipes in and passing through the touch point on the display screen when the other finger leaves the display screen.

[0021] In another possible design of the first aspect, the size (i.e., dimensions) of the above-mentioned first floating control can be preset. This preset size can include a preset height and a preset width. That is to say, the above-mentioned display of the first floating control on the second interface can include: the electronic device displays a first floating control with a preset size on the second interface.

[0022] In another possible design of the first aspect, the size (i.e., dimensions) of the above-mentioned first floating control can be determined according to the first multi-finger operation (such as a two-finger pinch operation) input by the user. For example, the size of the first floating control can be determined according to the positions where the fingers leave the display screen after the user inputs a two-finger pinch operation. The electronic device can receive a two-finger pinch operation of the user on the first interface, calculate the two coordinate positions where the fingers leave the display screen after the user inputs the two-finger pinch operation; then, determine the size of the first floating control according to these two coordinate positions. For example, taking the above-mentioned first floating control as a rectangular floating window, the length of the line connecting these two coordinate positions can be used as the diagonal length of the rectangular floating window. Another example is that taking the above-mentioned first floating control as a circular floating icon, the length of the line connecting these two coordinate positions can be used as the diameter of the circular floating icon.

[0023] In another possible design of the first aspect, the size of the above-mentioned first floating control can change dynamically with the first multi-finger operation (such as a two-finger pinch operation). Specifically, the above-mentioned display of the first floating control on the second interface can include: the electronic device displays a dynamic image of the first floating control changing from large to small with the first multi-finger operation on the second interface until the finger leaves the display screen of the electronic device. In this way, the size of the first floating control can be controlled by the first multi-finger operation input by the user, which can improve the interaction performance between the electronic device and the user.

[0024] In another possible design of the first aspect, the size (i.e., dimensions) of the above-mentioned first floating control can be determined by the speed of the first multi-finger operation (two-finger pinch operation) input by the user. Specifically, the above-mentioned display of the first floating control on the second interface can include: if the moving speed of the touch point of the first multi-finger operation on the display screen of the electronic device is greater than a preset speed threshold, the electronic device displays a first floating control with a preset size on the second interface; if the moving speed is less than or equal to the preset speed threshold, the electronic device displays a dynamic image of the first floating control changing from large to small with the first multi-finger operation on the second interface until the finger leaves the display screen of the electronic device.

[0025] In another possible design of the first aspect, the electronic device can receive a multi-finger operation of the user on the first floating control and move the display position of the first floating control. Specifically, the above method may further include: the electronic device receives a second multi-finger operation of the user on the first floating control; the second multi-finger operation includes a multi-finger long-press operation and a drag operation, the multi-finger long-press operation is a long-press operation of at least two fingers, and the multi-finger long-press operation and the drag operation are continuous operations where the fingers do not leave the display screen of the electronic device; in response to the second multi-finger operation, the electronic device displays a dynamic image of the first floating control moving along the sliding trajectory of the drag operation until the fingers leave the display screen of the electronic device. In this design, in response to the second multi-finger operation of the user on the floating control, the electronic device can move the position of the first floating control. In this way, it is convenient for the user to move the position of the floating control.

[0026] In another possible design of the first aspect, the electronic device can receive a multi-finger operation of the user on the first floating control and move the display position of the first floating control. Specifically, the above method may further include: the electronic device receives a third multi-finger operation of the user on the first floating control, the third multi-finger operation includes a multi-finger long-press operation, and the multi-finger long-press operation is a long-press operation of at least two fingers; in response to the third multi-finger operation on the first floating control, the electronic device displays the first floating control in an editing state; the electronic device receives a drag operation of the user on the first floating control in the editing state, and the drag operation and the third multi-finger operation are continuous operations where the fingers do not leave the display screen of the electronic device; in response to the drag operation, the electronic device displays a dynamic image of the first floating control moving along the sliding trajectory of the drag operation until the fingers leave the display screen of the electronic device, and the first floating control exits the editing state. In this design, in response to the drag operation of the user on the floating control in the editing state, the electronic device can move the position of the first floating control. In this way, it is convenient for the user to move the position of the floating control.

[0027] In another possible design of the first aspect, during the process of the electronic device moving the display position of the first floating control in response to the above second multi-finger operation or third multi-finger operation. If the distance between the edge of the first floating control and the side border of the display screen is less than a preset distance threshold, the electronic device can display the first interface and the second interface in split-screen mode. That is to say, the electronic device responds to the first multi-finger operation or the second multi-finger operation of the user on the first floating control to realize the switch from the floating control display to the split-screen display, which can provide a convenient switching method for the user from the floating control display to the split-screen display.

[0028] In another possible design of the first aspect, after the electronic device displays the first floating control on the second interface, it can also receive a fourth multi-finger operation of the user on the first floating control. Among them, the fourth multi-finger operation can be a multi-finger expansion operation, that is, an expansion operation of at least two fingers. In response to the fourth multi-finger operation, the electronic device can display the first interface full screen.

[0029] It can be understood that switching the interface of the application from the small window displayed by the floating control to the large window displayed full screen in the interaction mode of multi-finger expansion conforms to the operation habits of most users and is convenient for users to remember and operate. In this way, the interaction performance between the electronic device (such as a mobile phone) and the user can be improved, and thus the user experience can be improved.

[0030] In another possible design of the first aspect, the electronic device can display multiple floating controls. For example, the above method can further include: the electronic device receives a first multi-finger operation of the user on the second interface; in response to the first multi-finger operation on the second interface, the electronic device displays a fourth interface and displays a first floating control and a second floating control on the fourth interface. Among them, the second floating control is used to display the information of the second interface. That is to say, the electronic device can display multiple floating controls at the same time.

[0031] In another possible design of the first aspect, the above multiple floating controls can be floating controls of one or more applications. When the electronic device receives a first multi-finger operation on the first floating control, it can display the application corresponding to the first floating control full screen. It should be noted that when the electronic device displays the application corresponding to the first floating control full screen, it can also display the second floating control. That is to say, the second floating control can be retained.

[0032] Specifically, when the electronic device displays the first floating control and the second floating control at the same time, the electronic device can receive a fourth multi-finger operation of the user on the first floating control, and the fourth multi-finger operation is an expansion operation of at least two fingers; in response to the fourth multi-finger operation, the electronic device can display the first interface (that is, the interface corresponding to the first floating control) full screen and display the second floating control on the first interface. That is to say, the second floating control can be retained.

[0033] In another possible design of the first aspect, the above-mentioned in response to the fourth multi-finger operation, the electronic device displays the first interface full screen, which can include: in response to the fourth multi-finger operation, the electronic device displays a dynamic image of the first floating control changing from small to large until the first interface is displayed full screen. That is to say, in response to the multi-finger expansion operation, the above-mentioned first floating control will change from small to large until the first interface is displayed full screen.

[0034] In another possible design of the first aspect, the above-mentioned full-screen display of the first interface by the electronic device in response to the fourth multi-finger operation may include: in response to the fourth multi-finger operation, the electronic device may display a dynamic image of the first floating control changing from small to large as the fourth multi-finger operation is performed, until the finger leaves the display screen of the electronic device, and then the electronic device full-screen displays the first interface. That is to say, in response to the multi-finger expansion operation, the above-mentioned first floating control will change from small to large as the user's finger expands; when the user's finger leaves the display screen, the electronic device may full-screen display the first interface.

[0035] In another possible design of the first aspect, the electronic device may determine whether to directly full-screen display the first application or display a dynamic image of the first floating control changing from small to large until full-screen display according to the speed at which the user inputs the fourth multi-finger operation.

[0036] Specifically, the above-mentioned full-screen display of the first interface by the electronic device in response to the fourth multi-finger operation may include: in response to the fourth multi-finger operation, if the moving speed of the touch points on the display screen of the electronic device is greater than a preset speed threshold, the electronic device directly full-screen displays the first interface; if the moving speed is less than or equal to the preset speed threshold, the electronic device displays a dynamic image of the first floating control changing from small to large until full-screen display of the first interface.

[0037] It can be understood that if the moving speed of the touch points on the display screen of the electronic device during the fourth multi-finger operation is greater than the preset speed threshold, it means that the user inputs the fourth multi-finger operation quickly; at this time, in order to match the user input, the electronic device can directly full-screen display the first interface. In this way, the response speed and follow-up performance of the electronic device used by the user can be improved. If the moving speed is less than or equal to the preset speed threshold, it means that the user inputs the fourth multi-finger operation slowly; at this time, in order to improve the follow-up performance of the electronic device, the electronic device can display a dynamic image of the first floating control changing from small to large until full-screen display of the first interface as the fourth multi-finger operation is performed.

[0038] In another possible design of the first aspect, the method of the embodiment of the present application may further include: the electronic device receives an operation of the user on the first floating control and provides relevant services of the first application for the user. That is to say, the electronic device can also interact with the user through the first floating control and provide relevant services of the first application for the user.

[0039] In another possible design of the first aspect, after the electronic device splits the screen to display the first interface and the second interface, the above method may further include: the electronic device receives a first multi-finger operation of the user on the first interface displayed in split screen; in response to the first multi-finger operation on the first interface displayed in split screen, the electronic device can full-screen display the second interface and display the first floating control on the second interface.

[0040] Of course, after the electronic device displays the first interface and the second interface in split-screen mode, the above method may further include: the electronic device receives a first multi-finger operation of the user on the second interface in split-screen display; in response to the first multi-finger operation on the second interface in split-screen display, the electronic device can display the first interface full-screen and display a second floating control on the first interface.

[0041] It can be understood that switching the interface of the application from the large window in split-screen display to the small window in floating control display in an interaction mode of multi-finger pinching (such as two-finger pinching) conforms to the operation habits of most users, which is convenient for users to remember and operate. In this way, the interaction performance between the electronic device and the user can be improved, and thus the user experience can be enhanced.

[0042] In another possible design of the first aspect, after the electronic device displays the first interface and the second interface in split-screen mode, the above method may further include: the electronic device receives a fourth multi-finger operation of the user on the second interface in split-screen display; the fourth multi-finger operation is an outward expansion operation of at least two fingers; in response to the fourth multi-finger operation on the second interface in split-screen display, the electronic device displays the second interface full-screen and displays a first floating control on the second interface.

[0043] Of course, after the electronic device displays the first interface and the second interface in split-screen mode, the above method may further include: the electronic device receives a fourth multi-finger operation of the user on the first interface in split-screen display; in response to the fourth multi-finger operation on the first interface in split-screen display, the electronic device displays the first interface full-screen and displays a second floating control on the first interface.

[0044] It can be understood that switching the interface of the application from the small window in split-screen display to the large window in full-screen display in an interaction mode of multi-finger outward expansion (such as two-finger outward expansion) conforms to the operation habits of most users, which is convenient for users to remember and operate. In this way, the interaction performance between the electronic device and the user can be improved, and thus the user experience can be enhanced.

[0045] In another possible design of the first aspect, the above in response to the fourth multi-finger operation on the second interface in split-screen display, the electronic device displays the second interface full-screen and displays the first floating control on the second interface may include: in response to the fourth multi-finger operation on the second interface in split-screen display, the electronic device displays a dynamic image of the second interface in split-screen display changing from small to large until full-screen display, and a dynamic image of the first interface in split-screen display changing from large to small to become the first floating control; or, in response to the fourth multi-finger operation on the second interface in split-screen display, the electronic device displays a dynamic image of the second interface in split-screen display changing from small to large along with the fourth multi-finger operation until the finger leaves the display screen of the electronic device, and then the electronic device displays the second interface full-screen and displays a dynamic image of the first interface in split-screen display changing from large to small to become the first floating control.

[0046] In this design method, the electronic device can display a dynamic image in which the second interface of the split-screen display changes from small to large until it fills the screen, and a dynamic image in which the first interface of the split-screen display changes from large to small and becomes the first floating control. In this way, the dynamic effect of the application switching from a small window of split-screen display to a large window of full-screen display can be demonstrated, the interaction performance between the electronic device and the user can be improved, and thus the user experience can be enhanced.

[0047] In another possible design method of the first aspect, after the electronic device displays the first interface and the second interface in split screen, the electronic device can receive a multi-finger operation of the user to adjust the positions of the first interface and the second interface displayed in split screen on the electronic device.

[0048] Specifically, after the electronic device displays the first interface and the second interface in split screen, the method of the present application may further include: the electronic device receives a third multi-finger operation of the user on the first interface displayed in split screen; in response to the third multi-finger operation on the first interface displayed in split screen, the electronic device displays the first interface in an editing state; the electronic device receives a dragging operation of the user on the first interface in the editing state, and the dragging operation and the third multi-finger operation are continuous operations in which the fingers do not leave the display screen of the electronic device; in response to the dragging operation, the electronic device displays a dynamic image in which the first interface in the editing state moves along the sliding trajectory of the dragging operation until the fingers leave the display screen of the electronic device, the first interface exits the editing state, and the electronic device adjusts the positions of the first interface and the second interface displayed in split screen.

[0049] In this design method, after the electronic device displays the first interface and the second interface in split screen, the electronic device can, in response to a multi-finger long-press operation of the user on the first interface or the second interface, control the corresponding interface to enter the editing state; then, in response to a dragging operation of the user on the interface in the editing state, the positions of the first interface and the second interface displayed in split screen on the display screen can be adjusted.

[0050] In another possible design method of the first aspect, after the electronic device displays the first interface and the second interface in split screen, the method of the present application may further include: the electronic device receives a fifth multi-finger operation of the user on the first interface; the fifth multi-finger operation is a pinching operation or an expanding operation of at least two fingers; in response to the fifth multi-finger operation on the second interface, the electronic device adjusts the sizes of the first interface and the second interface displayed in split screen.

[0051] Of course, after the electronic device displays the first interface and the second interface in split screen, the above method may further include: the electronic device receives a fifth multi-finger operation of the user on the first interface; in response to the fifth multi-finger operation on the first interface, the electronic device can adjust the sizes of the first interface and the second interface displayed in split screen.

[0052] It can be understood that adjusting the sizes of the interfaces of various applications in the application of split-screen display in an interaction manner of multi-finger outward expansion (such as two-finger outward expansion) or multi-finger pinching (such as two-finger pinching) conforms to the operation habits of most users and is convenient for users to remember and operate. In this way, the interaction performance between the electronic device and the user can be improved, and thus the user experience can be enhanced.

[0053] In another possible design manner of the first aspect, the above-mentioned fifth multi-finger operation is an outward expansion operation of at least two fingers. The electronic device adjusting the sizes of the first interface and the second interface in split-screen display may include: The electronic device displays a dynamic image in which the size of the second interface changes from small to large and the size of the first interface changes from large to small with the fifth multi-finger operation until the fingers leave the display screen of the electronic device.

[0054] It can be understood that when the electronic device displays multiple applications in split-screen mode, in an interaction manner of multi-finger outward expansion (such as two-finger outward expansion), enlarging the interface of one application in split-screen display from small to large conforms to the operation habits of most users and is convenient for users to remember and operate. Moreover, during the process of enlarging the interface of the above-mentioned one application from small to large, the interfaces of the other or multiple applications in split-screen display become smaller accordingly, enabling the electronic device to still display the above-mentioned multiple applications in split-screen on the display screen, which conforms to the visual habits of users and can enhance the user experience.

[0055] In another possible design manner of the first aspect, the electronic device displaying a dynamic image in which the size of the second interface changes from small to large and the size of the first interface changes from large to small with the fifth multi-finger operation until the fingers leave the display screen of the electronic device may include: The electronic device displays a dynamic image in which the size of the second interface changes from small to large along the sliding direction of at least one finger and the size of the first interface changes from large to small along the sliding direction of at least one finger with the fifth multi-finger operation until the fingers leave the display screen of the electronic device. In this way, the follow-up performance of the electronic device can be improved, and the user experience can be enhanced.

[0056] In another possible design manner of the first aspect, the above-mentioned fifth multi-finger operation is a pinching operation of at least two fingers. The electronic device adjusting the sizes of the first interface and the second interface in split-screen display may include: The electronic device displays a dynamic image in which the size of the second interface changes from large to small and the size of the first interface changes from small to large with the fifth multi-finger operation until the fingers leave the display screen of the electronic device.

[0057] It can be understood that when an electronic device displays multiple applications in split-screen mode, using an interaction method of multi-finger pinching (such as two-finger pinching) to reduce the size of the interface of one application displayed in split-screen from large to small conforms to the operation habits of most users and is convenient for users to remember and operate. Moreover, during the process of reducing the size of the interface of the above-mentioned one application from large to small, the interfaces of the other or multiple applications displayed in split-screen become larger accordingly, enabling the electronic device to still display the above-mentioned multiple applications in split-screen on the display screen, which conforms to the user's visual habits and can improve the user experience.

[0058] In another possible design of the first aspect, the size of the second interface displayed by the electronic device decreases from large to small with the fifth multi-finger operation, and a dynamic image in which the size of the first interface increases from small to large until the finger leaves the display screen of the electronic device, including: the electronic device displays a dynamic image in which the size of the second interface decreases from large to small along the sliding direction of at least one finger with the fifth multi-finger operation, and the size of the first interface increases from small to large along the sliding direction of at least one finger with the fifth multi-finger operation until the finger leaves the display screen of the electronic device. In this way, the follow-up performance of the electronic device can be improved, and the user experience can be enhanced.

[0059] In a second aspect, the present application provides a multi-finger interaction method. In this method, an electronic device displays a first interface of a first application and a second interface of a second application in split-screen; then, the electronic device can receive a first multi-finger operation of the user on the first interface displayed in split-screen; in response to the first multi-finger operation on the first interface displayed in split-screen, the electronic device can display the second interface full-screen and display a first floating control on the second interface.

[0060] Of course, after the electronic device displays the first interface and the second interface in split-screen, the above method may further include: the electronic device receives a first multi-finger operation of the user on the second interface displayed in split-screen; in response to the first multi-finger operation on the second interface displayed in split-screen, the electronic device can display the first interface full-screen and display a second floating control on the first interface.

[0061] In a third aspect, the present application provides a multi-finger interaction method. In this method, an electronic device displays a first interface of a first application and a second interface of a second application in split-screen; then, the electronic device can receive a fourth multi-finger operation of the user on the second interface displayed in split-screen; the fourth multi-finger operation is an outward expansion operation of at least two fingers; in response to the fourth multi-finger operation on the second interface displayed in split-screen, the electronic device displays the second interface full-screen and displays a first floating control on the second interface.

[0062] Of course, after the electronic device displays the first interface and the second interface in split-screen, the above method may further include: the electronic device receives a fourth multi-finger operation of the user on the first interface displayed in split-screen; in response to the fourth multi-finger operation on the first interface displayed in split-screen, the electronic device can display the first interface full-screen and display a second floating control on the first interface.

[0063] In a fourth aspect, the present application provides a multi-finger interaction method. In this method, the electronic device displays the first interface of the first application and the second interface of the second application in split screen; then, the electronic device can receive a fifth multi-finger operation of the user on the second interface; the fifth multi-finger operation is a pinching operation or an expanding operation of at least two fingers; in response to the fifth multi-finger operation on the second interface, the electronic device can adjust the sizes of the split-screen display of the first interface and the second interface.

[0064] Of course, after the electronic device displays the first interface and the second interface in split screen, the above method may further include: the electronic device receives a fifth multi-finger operation of the user on the first interface; in response to the fifth multi-finger operation on the first interface, the electronic device can adjust the sizes of the split-screen display of the first interface and the second interface.

[0065] It should be noted that for the detailed descriptions of the second, third, and fourth aspects, the possible design manners of the second, third, and fourth aspects, and the beneficial effects that can be achieved, reference can be made to the beneficial effects in the possible design manners of the first aspect, which will not be elaborated here.

[0066] In a fifth aspect, the present application provides an electronic device, which includes: a display screen, a memory, and a processor. Among them, the display screen is used to display the images or interfaces generated by the processor; the memory is used to store computer program codes, and the computer program codes include computer instructions; when the computer instructions are executed by the processor, the electronic device is caused to perform the following operations: full-screen display the first interface of the first application; receive a first multi-finger operation of the user on the first interface; where the first multi-finger operation is a pinching operation of at least two fingers; in response to the first multi-finger operation on the first interface, display a second interface, and display a first floating control on the second interface; where the first floating control is used to display information of the first interface, and the first floating control is any one of a floating window, a floating ball, a floating card, or a floating icon.

[0067] In a possible design manner of the fifth aspect, the above first multi-finger operation includes at least one of the following pinching operations: a two-finger pinching operation in which one finger slides into the display screen from the left border of the electronic device and the other finger slides into the display screen from the right border of the electronic device; or, a two-finger pinching operation in which one finger slides into the display screen from the upper border of the electronic device and the other finger slides into the display screen from the lower border of the electronic device; or, a two-finger pinching operation in which one finger slides into the display screen from the upper border or the lower border of the electronic device and the other finger slides into the display screen from the left border or the right border of the electronic device; or, a two-finger pinching operation in which one finger slides into the display screen from any side border of the electronic device and the other finger slides within the display screen; or, a two-finger pinching operation in which two fingers slide within the display screen.

[0068] In another possible design of the fifth aspect, the display position of the above-mentioned first floating control on the display screen is preset; or, the center point of the first floating control coincides with the intersection point of the first connection line; wherein, the first connection line is the connection line of two touch points on the display screen when the fingers corresponding to the two-finger pinching operation leave the display screen.

[0069] In another possible design of the fifth aspect, the above-mentioned first multi-finger operation is a two-finger pinching operation in which one finger slides into the display screen from the left border of the electronic device and the other finger slides into the display screen from the right border of the electronic device; the center point of the first floating control coincides with the intersection point of the first center line of the display screen and the first connection line. Wherein, the first center line is parallel to the left border and the right border of the display screen, and the distance between the first center line and the left border of the display screen is equal to the distance between the first center line and the right border of the display screen; the first connection line is the connection line of two touch points on the display screen when the fingers corresponding to the two-finger pinching operation leave the display screen.

[0070] In another possible design of the fifth aspect, the above-mentioned first multi-finger operation is a two-finger pinching operation in which one finger slides into the display screen from the upper border of the electronic device and the other finger slides into the display screen from the lower border of the electronic device. The center point of the first floating control coincides with the intersection point of the second center line of the display screen and the first connection line. Wherein, the second center line is parallel to the upper border and the lower border of the display screen, and the distance between the second center line and the upper border of the display screen is equal to the distance between the second center line and the lower border of the display screen; the first connection line is the connection line of two touch points on the display screen when the fingers corresponding to the two-finger pinching operation leave the display screen.

[0071] In another possible design of the fifth aspect, the above-mentioned first multi-finger operation is a two-finger pinching operation in which one finger slides into the display screen from the upper border or the lower border of the electronic device and the other finger slides into the display screen from the left border or the right border of the electronic device. The center point of the first floating control coincides with the first orthocenter. Wherein, the first orthocenter is the intersection point of the following two lines: a line perpendicular to the upper border or the lower border where one finger slides in and passing through the touch point on the display screen when the one finger leaves the display screen, and a line perpendicular to the left border or the right border where the other finger slides in and passing through the touch point on the display screen when the other finger leaves the display screen.

[0072] In another possible design of the fifth aspect, when the computer instructions are executed by the processor, the electronic device is further caused to perform the following operations: display a first floating control of a preset size on the second interface; or, display a dynamic image of the first floating control changing from large to small as the first multi-finger operation is performed on the second interface until the finger leaves the display screen; or, if the moving speed of the touch points of the first multi-finger operation on the display screen is greater than a preset speed threshold, display a first floating control of a preset size on the second interface, and if the moving speed is less than or equal to the preset speed threshold, display a dynamic image of the first floating control changing from large to small as the first multi-finger operation is performed on the second interface until the finger leaves the display screen.

[0073] In another possible design of the fifth aspect, when the computer instructions are executed by the processor, the electronic device is further caused to perform the following operations: receive a second multi-finger operation of the user on the first floating control; wherein, the second multi-finger operation includes a multi-finger long-press operation and a drag operation, the multi-finger long-press operation is a long-press operation of at least two fingers, and the multi-finger long-press operation and the drag operation are continuous operations where the fingers do not leave the display screen; in response to the second multi-finger operation, display a dynamic image of the first floating control moving along the sliding track of the drag operation until the finger leaves the display screen.

[0074] In another possible design of the fifth aspect, when the computer instructions are executed by the processor, the electronic device is further caused to perform the following operations: receive a third multi-finger operation of the user on the first floating control, the third multi-finger operation includes a multi-finger long-press operation, and the multi-finger long-press operation is a long-press operation of at least two fingers; in response to the third multi-finger operation on the first floating control, display the first floating control in an editing state; receive a drag operation of the user on the first floating control in the editing state, and the drag operation and the third multi-finger operation are continuous operations where the fingers do not leave the display screen; in response to the drag operation, display a dynamic image of the first floating control moving along the sliding track of the drag operation until the finger leaves the display screen, and the first floating control exits the editing state.

[0075] In another possible design of the fifth aspect, when the computer instructions are executed by the processor, the electronic device is further caused to perform the following operations: if the distance between the edge of the first floating control and the side border of the display screen is less than a preset distance threshold, the electronic device displays the first interface and the second interface in a split-screen manner.

[0076] In another possible design of the fifth aspect, when the computer instructions are executed by the processor, the electronic device is further caused to perform the following operations: receive a fourth multi-finger operation of the user on the first floating control, and the fourth multi-finger operation is an outward expansion operation of at least two fingers; in response to the fourth multi-finger operation, display the first interface full-screen.

[0077] In another possible design of the fifth aspect, when the computer instructions are executed by the processor, the electronic device further performs the following operations: in response to the fourth multi-finger operation, display a dynamic image in which the first floating control changes from small to large until the first interface is fully displayed; or, in response to the fourth multi-finger operation, display a dynamic image in which the first floating control changes from small to large along with the fourth multi-finger operation until the finger leaves the display screen, and then the electronic device fully displays the first interface; or, in response to the fourth multi-finger operation, if the moving speed of the touch points of the fourth multi-finger operation on the display screen is greater than a preset speed threshold, directly fully display the first interface, and if the moving speed is less than or equal to the preset speed threshold, display a dynamic image in which the first floating control changes from small to large until the first interface is fully displayed.

[0078] In another possible design of the fifth aspect, when the computer instructions are executed by the processor, the electronic device further performs the following operations: after the first interface and the second interface are displayed in split screen, receive a first multi-finger operation of the user on the first interface displayed in split screen; in response to the first multi-finger operation on the first interface displayed in split screen, fully display the second interface and display the first floating control on the second interface.

[0079] In another possible design of the fifth aspect, when the computer instructions are executed by the processor, the electronic device further performs the following operations: after the first interface and the second interface are displayed in split screen, receive a fourth multi-finger operation of the user on the second interface displayed in split screen; wherein, the fourth multi-finger operation is an outward expansion operation of at least two fingers; in response to the fourth multi-finger operation on the second interface displayed in split screen, fully display the second interface and display the first floating control on the second interface.

[0080] In another possible design of the fifth aspect, when the computer instructions are executed by the processor, the electronic device further performs the following operations: after the first interface and the second interface are displayed in split screen, receive a third multi-finger operation of the user on the first interface displayed in split screen; wherein, the third multi-finger operation includes a multi-finger long-press operation, and the multi-finger long-press operation is a long-press operation of at least two fingers; in response to the third multi-finger operation on the first interface displayed in split screen, display the first interface in an editing state; receive a dragging operation of the user on the first interface in the editing state, and the dragging operation and the third multi-finger operation are continuous operations where the finger does not leave the display screen; in response to the dragging operation, display a dynamic image in which the first interface in the editing state moves along the sliding trajectory of the dragging operation until the finger leaves the display screen, the first interface exits the editing state, and adjust the positions of the first interface and the second interface displayed in split screen.

[0081] In another possible design of the fifth aspect, when the computer instructions are executed by the processor, the electronic device further performs the following operations: after the first interface and the second interface are displayed in split screen, receive a fifth multi-finger operation of the user on the second interface; wherein, the fifth multi-finger operation is a pinching operation of at least two fingers or an expanding operation of at least two fingers; in response to the fifth multi-finger operation on the second interface, adjust the sizes of the first interface and the second interface displayed in split screen.

[0082] In another possible design of the fifth aspect, the above-mentioned fifth multi-finger operation is an expanding operation of at least two fingers. When the computer instructions are executed by the processor, the electronic device further performs the following operations: display a dynamic image in which the size of the second interface changes from small to large and the size of the first interface changes from large to small with the fifth multi-finger operation until the finger leaves the display screen.

[0083] In another possible design of the fifth aspect, the above-mentioned fifth multi-finger operation is a pinching operation of at least two fingers; when the computer instructions are executed by the processor, the electronic device further performs the following operations: display a dynamic image in which the size of the second interface changes from large to small and the size of the first interface changes from small to large with the fifth multi-finger operation until the finger leaves the display screen.

[0084] In another possible design of the fifth aspect, when the computer instructions are executed by the processor, the electronic device further performs the following operations: display a third interface of the first application in the first floating control, where the third interface is a shrunk first interface; or, display an application icon of the first application in the first floating control; or, display dynamic information of the first interface in the first floating control.

[0085] In another possible design of the fifth aspect, both the first interface and the second interface are interfaces of the first application, and the second interface is the home page of the first application or an interface at a higher level than the first interface; or, the second interface is an interface of a second application, and the second application is any one of one or more applications that have been recently run and not closed on the electronic device except the first application; or, the second interface is the main interface of the electronic device.

[0086] Sixth aspect, the present application provides a chip system, which is applied to an electronic device including a display screen and a memory. The chip system includes one or more interface circuits and one or more processors; the interface circuits and the processors are interconnected by lines. The interface circuit is used to receive signals from the memory and send signals to the processor, and the signals include computer instructions stored in the memory; when the processor executes the computer instructions, the electronic device executes the methods described in the first aspect to the fourth aspect and any of their possible design manners.

[0087] In a seventh aspect, the present application provides a computer-readable storage medium including computer instructions. When the computer instructions are run on an electronic device, the electronic device is caused to execute the method described in any possible design manner of the first aspect to the fourth aspect.

[0088] In an eighth aspect, the present application provides a computer program product. When the computer program product is run on a computer, the computer is caused to execute the method described in any possible design manner of the first aspect to the fourth aspect.

[0089] It can be understood that for the beneficial effects that can be achieved by the methods described in the second aspect to the fourth aspect, the electronic device described in the fifth aspect and any possible design manner thereof, the chip system described in the sixth aspect, the computer storage medium described in the seventh aspect, and the computer program product described in the eighth aspect, reference may be made to the beneficial effects in the first aspect and any possible design manner thereof, which will not be elaborated herein. BRIEF DESCRIPTION OF THE DRAWINGS

[0090] Figure 1A It is a schematic diagram of the hardware structure of an electronic device provided by an embodiment of the present application;

[0091] Figure 1B It is a flowchart of a multi-finger interaction method provided by an embodiment of the present application;

[0092] Figure 2 It is a schematic diagram of the display interface of an electronic device provided by an embodiment of the present application;

[0093] Figure 3A It is a schematic diagram of the display interface of another electronic device provided by an embodiment of the present application;

[0094] Figure 3B It is a schematic diagram of the display interface of another electronic device provided by an embodiment of the present application;

[0095] Figure 3C It is a schematic diagram of an electronic device displaying a floating control provided by an embodiment of the present application;

[0096] Figure 4A It is a schematic diagram of another electronic device displaying a floating control provided by an embodiment of the present application;

[0097] Figure 4B It is a schematic diagram of another electronic device displaying a floating control provided by an embodiment of the present application;

[0098] Figure 5 It is a schematic diagram of another electronic device displaying a floating control provided by an embodiment of the present application;

[0099] Figure 6Another schematic diagram of a floating control displayed on an electronic device provided by an embodiment of the present application;

[0100] Fig. 7A Another schematic diagram of a floating control displayed on an electronic device provided by an embodiment of the present application;

[0101] Figure 7B Another schematic diagram of a floating control displayed on an electronic device provided by an embodiment of the present application;

[0102] Fig. 8A Another schematic diagram of a floating control displayed on an electronic device provided by an embodiment of the present application;

[0103] Figure 8B Another schematic diagram of a floating control displayed on an electronic device provided by an embodiment of the present application;

[0104] Fig. 9 Another schematic diagram of a floating control displayed on an electronic device provided by an embodiment of the present application;

[0105] Fig.10 Another schematic diagram of a floating control displayed on an electronic device provided by an embodiment of the present application;

[0106] Fig.11A Another schematic diagram of a floating control displayed on an electronic device provided by an embodiment of the present application;

[0107] Fig. 11B Another schematic diagram of a display interface of an electronic device provided by an embodiment of the present application;

[0108] Fig. 11C A schematic diagram of a floating control provided by an embodiment of the present application;

[0109] Fig.12 Another schematic diagram of a floating control displayed on an electronic device provided by an embodiment of the present application;

[0110] Fig.13 Another schematic diagram of a floating control displayed on an electronic device provided by an embodiment of the present application;

[0111] Fig.14 Another schematic diagram of a floating control displayed on an electronic device provided by an embodiment of the present application;

[0112] Fig.15 Another schematic diagram of a floating control displayed on an electronic device provided by an embodiment of the present application;

[0113] Fig.16 Another schematic diagram of a floating control displayed on an electronic device provided by an embodiment of the present application;

[0114] Fig.17AAnother schematic diagram of a floating control displayed on an electronic device provided by an embodiment of this application;

[0115] Fig. 17B Another schematic diagram of a floating control displayed on an electronic device provided by an embodiment of this application;

[0116] Fig. 17C A schematic diagram of an electronic device displaying applications in split screen provided by an embodiment of this application;

[0117] Fig.18 Another schematic diagram of an electronic device displaying applications in split screen provided by an embodiment of this application;

[0118] Fig.19 Another schematic diagram of a display interface of an electronic device provided by an embodiment of this application;

[0119] Fig. 20 Another schematic diagram of a display interface of an electronic device provided by an embodiment of this application;

[0120] Fig.21 Another schematic diagram of a display interface of an electronic device provided by an embodiment of this application;

[0121] Fig. 22 Another schematic diagram of a display interface of an electronic device provided by an embodiment of this application;

[0122] Fig.23 Another schematic diagram of a display interface of an electronic device provided by an embodiment of this application;

[0123] Fig.24 Another schematic diagram of a display interface of an electronic device provided by an embodiment of this application;

[0124] Fig.25 Another schematic diagram of a display interface of an electronic device provided by an embodiment of this application;

[0125] Fig.26 Another schematic diagram of a display interface of an electronic device provided by an embodiment of this application;

[0126] Fig. 27 Another schematic diagram of a display interface of an electronic device provided by an embodiment of this application;

[0127] Fig.28 A schematic diagram of the structure of a chip system provided by an embodiment of this application. Detailed implementation manners

[0128] Hereinafter, the terms "first" and "second" are for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the quantity of the indicated technical features. Thus, features defined with "first" and "second" may explicitly or implicitly include one or more of such features. In the description of this embodiment, unless otherwise specified, the meaning of "a plurality" is two or more.

[0129] An embodiment of the present application provides a multi-finger interaction method and an electronic device. This method can be applied during the process of the electronic device switching between full-screen display, split-screen display, or display of floating controls (such as floating windows) of an application. Through this method, a multi-finger interaction method that is convenient for users to remember and operate can be provided to achieve the switching of the above display modes. In this way, the interaction performance between the electronic device and the user can be improved, and thus the user experience can be enhanced.

[0130] For example, in this method, when the electronic device displays an application in full screen, in response to a multi-finger pinching operation (such as a two-finger pinching operation) of the user on the interface of the application, the application can be displayed as a floating control (such as a floating window). That is, the switching of the application from full-screen display to floating control display is achieved. It can be understood that switching the interface of the application from a large full-screen display window to a small floating control display window in a multi-finger pinching (such as two-finger pinching) interaction manner conforms to the operation habits of most users and is convenient for users to remember and operate. In this way, the interaction performance between the electronic device and the user can be improved, and thus the user experience can be enhanced.

[0131] For the convenience of understanding, the terms related to the embodiments of the present application are introduced here in the embodiments of the present application:

[0132] (1) Full-screen display.

[0133] The "full-screen display" described in the embodiments of the present application means that the electronic device displays the interface of an application on the entire screen of the display. Among them, when the electronic device displays the interface of an application on the entire screen of the display, it means that all the display areas available for displaying applications on the display of the electronic device display the interface of this one application. It should be noted that when the electronic device displays the interface of an application on the entire screen of the display, it does not mean that the electronic device will not display other interface elements at the same time. For example, while the electronic device displays the interface of an application on the entire screen of the display, it can also display the status bar. Among them, information such as the mobile network identifier (such as 4G, 5G, or 3G, etc.) and the remaining battery level identifier of the electronic device can be displayed in the status bar. Of course, when some electronic devices display the interface of an application on the entire screen, they may not only display the above status bar but also display other interface elements, which are not elaborated here in the embodiments of the present application.

[0134] (2) Split-screen display.

[0135] In the embodiments of the present application, "split-screen display" refers to: an electronic device divides the display screen into multiple regions, and each region displays the interface of an application. At the same time, the electronic device can split-screen display the interfaces of multiple applications.

[0136] (3) Display of floating controls.

[0137] Exemplarily, the floating control described in the embodiments of the present application may be a floating window or a floating icon, etc. Among them, the specific content and form of the floating window or floating icon are related to the corresponding application, and the detailed description in the following embodiments can be referred to. The embodiments of the present application will not elaborate here. "Display of floating controls" described in the embodiments of the present application means that when the electronic device displays the interface of an application full-screen or splits the screen to display the interfaces of multiple applications, it can also display the relevant information (such as the interface or icon information of an application) of one or more other applications in the form of floating controls. Among them, when the electronic device displays the relevant information of one or more other applications in the form of floating controls, specifically, the electronic device can display one or more floating controls, and each floating control displays the relevant information of an application.

[0138] Exemplarily, the electronic device in the embodiments of the present application may be a mobile phone, a tablet computer, a smart watch, a desktop computer, a laptop computer, a handheld computer, a notebook computer, an ultra-mobile personal computer (UMPC), a netbook, and devices including touch screens such as cellular phones, personal digital assistants (PDAs), augmented reality (AR) / virtual reality (VR) devices, etc. The embodiments of the present application do not impose special restrictions on the specific form of the electronic device. Among them, the above mobile phone may include non-foldable mobile phones and foldable mobile phones.

[0139] The implementation manners of the embodiments of the present application will be described in detail below with reference to the accompanying drawings. Please refer to Figure 1A , which is a schematic structural diagram of an electronic device 100 provided by the embodiments of the present application. As Figure 1AAs shown, the electronic device 100 may include: a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, a headphone jack 170D, a sensor module 180, a button 190, a motor 191, an indicator 192, a camera 193, a display screen 194, and a subscriber identification module (SIM) card interface 195, etc.

[0140] Among them, the above-mentioned sensor module 180 may include sensors such as a pressure sensor 180A, a gyroscope sensor 180B, a barometric pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, and a bone conduction sensor 180M.

[0141] It can be understood that the structure illustrated in this embodiment does not constitute a specific limitation on the electronic device 100. In other embodiments, the electronic device 100 may include more or fewer components than shown, or combine certain components, or split certain components, or have different component arrangements. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.

[0142] The processor 110 may include one or more processing units. For example, the processor 110 may include an application processor (AP), a modem processor, a graphics processing unit (GPU), an image signal processor (ISP), a controller, a memory, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU), etc. Among them, different processing units may be independent devices or integrated in one or more processors.

[0143] The controller may be the nerve center and command center of the electronic device 100. The controller may generate operation control signals according to the instruction operation code and timing signal to complete the control of fetching and executing instructions.

[0144] A memory can also be provided in the processor 110 for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. This memory can hold the instructions or data that the processor 110 has just used or recycled. If the processor 110 needs to use the instruction or data again, it can directly call it from the memory. This avoids repeated accesses, reduces the waiting time of the processor 110, and thus improves the efficiency of the system.

[0145] In some embodiments, the processor 110 may include one or more interfaces. The interfaces can include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input / output (GPIO) interface, a subscriber identity module (SIM) interface, and / or a universal serial bus (USB) interface, etc.

[0146] It can be understood that the interface connection relationships between the modules illustrated in this embodiment are only illustrative and do not constitute a structural limitation on the electronic device 100. In other embodiments, the electronic device 100 may also adopt different interface connection methods in the above embodiments, or a combination of multiple interface connection methods.

[0147] The charging management module 140 is used to receive a charging input from a charger. The charger can be a wireless charger or a wired charger. In some embodiments of wired charging, the charging management module 140 can receive the charging input from a wired charger through the USB interface 130. In some embodiments of wireless charging, the charging management module 140 can receive the wireless charging input through the wireless charging coil of the electronic device 100. While charging the battery 142, the charging management module 140 can also supply power to the electronic device through the power management module 141.

[0148] The power management module 141 is used to connect the battery 142, the charging management module 140, and the processor 110. The power management module 141 receives the inputs from the battery 142 and / or the charging management module 140 and supplies power to the processor 110, the internal memory 121, the external memory, the display screen 194, the camera 193, the wireless communication module 160, etc. The power management module 141 can also be used to monitor parameters such as the battery capacity, the number of battery charge cycles, and the battery health status (leakage, impedance). In some other embodiments, the power management module 141 can also be disposed in the processor 110. In some other embodiments, the power management module 141 and the charging management module 140 can also be disposed in the same device.

[0149] The wireless communication function of the electronic device 100 can be implemented by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modulation and demodulation processor, and the baseband processor, etc.

[0150] The antenna 1 and the antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in the electronic device 100 can be used to cover a single or multiple communication frequency bands. Different antennas can also be multiplexed to improve the utilization rate of the antennas. For example, the antenna 1 can be multiplexed as the diversity antenna of the wireless local area network. In some other embodiments, the antenna can be used in combination with a tuning switch.

[0151] The mobile communication module 150 can provide solutions for wireless communications such as 2G / 3G / 4G / 5G applied to the electronic device 100. The mobile communication module 150 can include at least one filter, switch, power amplifier, low noise amplifier (LNA), etc. The mobile communication module 150 can receive electromagnetic waves through the antenna 1, filter, amplify, etc. the received electromagnetic waves, and transmit them to the modulation and demodulation processor for demodulation.

[0152] The mobile communication module 150 can also amplify the signal modulated by the modulation and demodulation processor and convert it into electromagnetic waves through the antenna 1 for radiation. In some embodiments, at least some functional modules of the mobile communication module 150 can be disposed in the processor 110. In some embodiments, at least some functional modules of the mobile communication module 150 and at least some modules of the processor 110 can be disposed in the same device.

[0153] The modulation and demodulation processor may include a modulator and a demodulator. Among them, the modulator is used to modulate the low-frequency baseband signal to be transmitted into a medium-high frequency signal. The demodulator is used to demodulate the received electromagnetic wave signal into a low-frequency baseband signal. Subsequently, the demodulator transmits the demodulated low-frequency baseband signal to the baseband processor for processing. After being processed by the baseband processor, the low-frequency baseband signal is transmitted to the application processor. The application processor outputs a sound signal through an audio device (not limited to the speaker 170A, the receiver 170B, etc.), or displays an image or video through the display screen 194. In some embodiments, the modulation and demodulation processor may be an independent device. In other embodiments, the modulation and demodulation processor may be independent of the processor 110 and be disposed in the same device as the mobile communication module 150 or other functional modules.

[0154] The wireless communication module 160 may provide solutions for wireless communications applied to the electronic device 100, including wireless local area networks (WLANs) (such as wireless fidelity (Wi-Fi) networks), Bluetooth (BT), global navigation satellite systems (GNSSs), frequency modulation (FM), near field communication (NFC), infrared technology (IR), etc.

[0155] The wireless communication module 160 may be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, performs frequency modulation and filtering processing on the electromagnetic wave signals, and transmits the processed signals to the processor 110. The wireless communication module 160 may also receive the signal to be transmitted from the processor 110, perform frequency modulation and amplification on it, and convert it into electromagnetic waves through the antenna 2 and radiate them out.

[0156] In some embodiments, antenna 1 of electronic device 100 is coupled to mobile communication module 150, and antenna 2 is coupled to wireless communication module 160, such that electronic device 100 can communicate with a network and other devices through wireless communication technologies. The wireless communication technologies may include global system for mobile communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), wideband code division multiple access (WCDMA), time-division code division multiple access (TD-SCDMA), long term evolution (LTE), BT, GNSS, WLAN, NFC, FM, and / or IR technologies, etc. The GNSS may include global positioning system (GPS), global navigation satellite system (GLONASS), beidou navigation satellite system (BDS), quasi-zenith satellite system (QZSS), and / or satellite based augmentation systems (SBAS).

[0157] Electronic device 100 implements a display function through a GPU, display screen 194, and an application processor, etc. The GPU is a microprocessor for image processing, and is connected to display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. Processor 110 may include one or more GPUs, which execute program instructions to generate or change display information.

[0158] The display screen 194 is used to display images, videos, etc. The display screen 194 includes a display panel. The display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), a Miniled, a MicroLed, a Micro-oLed, a quantum dot light-emitting diode (QLED), etc.

[0159] The electronic device 100 can implement the shooting function through the ISP, the camera 193, the video codec, the GPU, the display screen 194, and the application processor, etc.

[0160] The ISP is used to process the data fed back by the camera 193. For example, when taking a photo, the shutter is opened, and the light passes through the lens and is transmitted to the camera photosensitive element. The optical signal is converted into an electrical signal, and the camera photosensitive element transmits the electrical signal to the ISP for processing and converts it into an image visible to the naked eye. The ISP can also optimize the noise, brightness, and skin color of the image through algorithms. The ISP can also optimize parameters such as the exposure and color temperature of the shooting scene. In some embodiments, the ISP can be set in the camera 193.

[0161] The camera 193 is used to capture static images or videos. The object generates an optical image through the lens and projects it onto the photosensitive element. The photosensitive element can be a charge-coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The photosensitive element converts the optical signal into an electrical signal, and then transmits the electrical signal to the ISP to convert it into a digital image signal. The ISP outputs the digital image signal to the DSP for processing. The DSP converts the digital image signal into an image signal in standard RGB, YUV, etc. formats. In some embodiments, the electronic device 100 can include one or N cameras 193, where N is a positive integer greater than 1.

[0162] The digital signal processor is used to process digital signals. In addition to processing digital image signals, it can also process other digital signals. For example, when the electronic device 100 is selecting a frequency point, the digital signal processor is used to perform Fourier transform on the frequency point energy, etc.

[0163] The video codec is used to compress or decompress digital videos. The electronic device 100 may support one or more video codecs. In this way, the electronic device 100 can play or record videos in multiple encoding formats, such as Moving Picture Experts Group (MPEG) 1, MPEG2, MPEG3, MPEG4, etc.

[0164] The NPU is a neural-network (NN) computing processor. By referring to the structure of biological neural networks, such as the transmission mode between human brain neurons, it can quickly process input information and can also continuously learn by itself. Through the NPU, applications such as intelligent cognition of the electronic device 100 can be realized, such as image recognition, face recognition, speech recognition, text understanding, etc.

[0165] The external memory interface 120 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device 100. The external memory card communicates with the processor 110 through the external memory interface 120 to implement the data storage function. For example, files such as music and videos are saved in the external memory card.

[0166] The internal memory 121 can be used to store computer-executable program code, and the executable program code includes instructions. The processor 110 executes various functional applications and data processing of the electronic device 100 by running the instructions stored in the internal memory 121. For example, in the embodiments of this application, the processor 110 can execute the instructions stored in the internal memory 121, and the internal memory 121 may include a program storage area and a data storage area.

[0167] Among them, the program storage area can store the operating system, application programs required for at least one function (such as the sound playback function, the image playback function, etc.). The data storage area can store the data created during the use of the electronic device 100 (such as audio data, phone book, etc.). In addition, the internal memory 121 may include high-speed random access memory and may also include non-volatile memory, such as at least one disk storage device, a flash memory device, a Universal Flash Storage (UFS), etc.

[0168] The electronic device 100 can implement audio functions through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the headphone jack 170D, and the application processor, etc. Such as music playback, recording, etc.

[0169] The audio module 170 is used to convert digital audio information into an analog audio signal for output, and is also used to convert an analog audio input into a digital audio signal. The audio module 170 can also be used for encoding and decoding audio signals. In some embodiments, the audio module 170 can be disposed in the processor 110, or some functional modules of the audio module 170 can be disposed in the processor 110. The speaker 170A, also referred to as a "loudspeaker", is used to convert an audio electrical signal into a sound signal. The receiver 170B, also referred to as an "earpiece", is used to convert an audio electrical signal into a sound signal. The microphone 170C, also referred to as a "microphone" or "transmitter", is used to convert a sound signal into an electrical signal.

[0170] The headphone jack 170D is used to connect a wired headphone. The headphone jack 170D can be a USB interface 130, or can be a 3.5 mm open mobile terminal platform (OMTP) standard interface, or a cellular telecommunications industry association of the USA (CTIA) standard interface.

[0171] The keys 190 include a power-on key, volume keys, etc. The keys 190 can be mechanical keys or can be touch keys. The motor 191 can generate a vibration prompt. The motor 191 can be used for an incoming call vibration prompt or can be used for a touch vibration feedback. The indicator 192 can be an indicator light and can be used to indicate a charging state, a power change, or can be used to indicate a message, a missed call, a notification, etc. The SIM card interface 195 is used to connect a SIM card. The SIM card can be inserted into or removed from the SIM card interface 195 to achieve contact and separation from the electronic device 100. The electronic device 100 can support one or N SIM card interfaces, where N is a positive integer greater than 1. The SIM card interface 195 can support a Nano SIM card, a Micro SIM card, a SIM card, etc.

[0172] The methods in the following embodiments can all be implemented in the electronic device 100 having the above hardware structure. In the following embodiments, the above electronic device 100 is taken as an example of a mobile phone to specifically describe the technical solutions provided by the embodiments of the present application.

[0173] In the first application scenario of the embodiments of the present application, taking the mobile phone switching the first application from full-screen display to floating control display as an example, the method of the embodiments of the present application is introduced. As Figure 1B shown, a multi-finger interaction method provided by the embodiments of the present application can include S101-S102.

[0174] S101. The mobile phone full-screen displays a first interface of a first application.

[0175] Among them, the above-mentioned first application can be any application in the mobile phone, such as any type of application like an instant messaging application, an email application, a video application, a shopping application, or a map application, etc. The above-mentioned first interface can be any interface of the first application. For example, when the first application is an instant messaging application, the first interface can be the chat interface of the instant messaging application (including any one of the voice chat interface or the video chat interface). For another example, when the first application is a video application, the first interface can be the video playback interface of the video application. For another example, when the first application is a map application, the first interface can be the navigation interface of the map application.

[0176] S102. In response to the multi-finger operation 1 input by the user on the first interface, the mobile phone displays a second interface and displays a first floating control on the second interface. The first floating control is used to display the information of the first interface.

[0177] Among them, the multi-finger operation 1 described in the embodiments of the present application is the first multi-finger operation. The above-mentioned first floating control can be any control that floats and displays on the display screen of the mobile phone, such as a floating window or a floating icon, etc. For the detailed description of the first floating control and the specific manner in which the mobile phone displays the first floating control, reference can be made to the detailed description in the following embodiments, which will not be elaborated here.

[0178] Exemplarily, in the embodiments of the present application, here the first application is taken as an instant messaging application (or called a chat application) as an example. As Figure 2 shown in (a) below, the mobile phone can full-screen display the chat interface 201 of the instant messaging application (i.e., the first interface). The user can use the mobile phone to chat with friends on the chat interface 201. When the user wants to chat with friends while using the mobile phone for shopping, the user can input the multi-finger operation 1 on the chat interface 201. In response to the multi-finger operation 1 input by the user on the chat interface 201, the mobile phone can display the first floating control (such as a floating window) 202 of the instant messaging application.

[0179] Among them, the second interface (i.e., the background interface of the floating control) described in the embodiments of the present application is different from the first interface.

[0180] In some embodiments, the above-mentioned second interface can be the home screen of the mobile phone. For example, in response to the multi-finger operation 1 input by the user on the chat interface 201 shown in (a) below, the mobile phone can display Figure 2 the home screen 203 shown in (b) below (i.e., the second interface) and display the first floating control 202 (such as a floating window) on the home screen 203. In this way, the user can open the shopping application on the home screen of the mobile phone and use the mobile phone to chat with friends while shopping. For example, in response to the user in Figure 2 Figure 2 ​The operation of opening the shopping application input on the main interface 203 shown in (b) can be displayed on the mobile phone. Figure 3A The shopping interface 302 shown in (a) can be displayed, and the first floating control 301 (such as a floating window) of the instant messaging application can be displayed.

[0181] In some other embodiments, the second interface is the interface of a second application, which is different from the first application. Specifically, the second application is any one of one or more applications that have been recently run and not closed on the mobile phone except the first application. When the mobile phone does not close the second application, it means that the mobile phone runs the second application in the background.

[0182] Suppose the applications that have been recently run and not closed on the mobile phone include a shopping application, a settings application, and an instant messaging application. For example, in response to the multi-finger operation 1 input by the user on the first interface 201 shown in (a), the mobile phone can display Figure 2 The second interface 302 of the shopping application (i.e., the second application) shown in (a), and the first floating control 301 (such as a floating window) of the instant messaging application can be displayed on the second interface 302. In this way, the user can shop through the interface of the shopping application and chat with friends on the first floating control, that is, the user can use the mobile phone to chat with friends while shopping. Figure 3A In this way, the user can shop through the interface of the shopping application and chat with friends on the first floating control, that is, the user can use the mobile phone to chat with friends while shopping.

[0183] For another example, in response to the multi-finger operation 1 input by the user on the first interface 201 shown in (a), the mobile phone can display Figure 2 The second interface 304 of the settings application (i.e., the second application) shown in (b), and the first floating control 303 (such as a floating icon) of the instant messaging application can be displayed. Or, the mobile phone can display Figure 3A The second interface 305 of the settings application (i.e., the second application) shown in (c), and the first floating control 306 (such as a floating icon) of the instant messaging application can be displayed. In this way, the user can set the relevant parameters of the mobile phone through the settings application and chat with friends on the first floating control, that is, the user can use the mobile phone to chat with friends while setting the mobile phone. Figure 3A In this way, the user can set the relevant parameters of the mobile phone through the settings application and chat with friends on the first floating control, that is, the user can use the mobile phone to chat with friends while setting the mobile phone.

[0184] Optionally, if multiple applications are running in the background when the mobile phone displays the first interface; then, the above-mentioned second application can be the previous application that the mobile phone was running in the foreground before the mobile phone runs the first application in the foreground this time among the multiple applications. For example, assume that the mobile phone runs the settings application in the foreground from 13:00:00 to 13:05:02 on March 12th; the mobile phone switches the settings application from running in the foreground to running in the background at 13:05:03 and runs the shopping application in the foreground; the mobile phone runs the shopping application in the foreground from 13:05:03 to 13:12:04; the mobile phone switches the shopping application from running in the foreground to running in the background at 13:12:05 and runs the instant messaging application in the foreground. During the process of the mobile phone running the instant messaging application in the foreground, upon receiving the above-mentioned multi-finger operation 1, in response to the multi-finger operation 1, the mobile phone can display the second interface of the shopping application (i.e., the second application) and display the first floating control of the instant messaging application on the second interface.

[0185] In some other embodiments, both the above-mentioned second interface and the first interface are interfaces of the first application. For example, when the first interface is not the home page of the first application, the second interface can be the interface at the upper level of the first interface, or the second interface can be the home page of the first application.

[0186] Exemplarily, in response to the multi-finger operation 1 input by the user on the first interface, the mobile phone can determine whether the first interface is the home page of the first application (i.e., whether the first interface has an upper-level interface). If the first interface is not the home page of the first application (i.e., the first interface has an upper-level interface), the mobile phone can display the upper-level interface of the first interface or the home page of the first application (i.e., the second interface) and display the first floating control on the second interface. If the first interface is the home page of the first application (i.e., the first interface has no upper-level interface), the mobile phone can display the main interface of the mobile phone, that is, the second interface is the main interface, and display the first floating control on the main interface.

[0187] For example, assume that the mobile phone displays Figure 2 the chat interface 201 of the instant messaging application shown in (a) (i.e., the first interface), and this first interface 201 is not the home page of the instant messaging application. In response to the multi-finger operation 1 of the user on the first interface 201, the mobile phone can display Figure 3B the second interface 307 shown, and this second interface 307 is the home page of the instant messaging application. And, the mobile phone can display the first floating control 308 (such as a floating window) on the second interface 307.

[0188] It should be noted that the multi-finger operation 1 described in the embodiments of the present application may be a multi-finger pinching operation, that is, a pinching operation of at least two fingers. For example, the multi-finger operation 1 may be any one of a two-finger pinching operation, a three-finger pinching operation, a four-finger pinching operation, a five-finger pinching operation, etc. In the following embodiments, taking the above multi-finger operation 1 being a two-finger pinching operation as an example, the method of the embodiments of the present application will be introduced.

[0189] Among them, the above multi-finger pinching operation may be a pinching operation of any number of fingers of the user. For example, the two-finger pinching operation may be a pinching operation between the thumb and the index finger, or a pinching operation between the index finger and the middle finger, or a pinching operation between the two index fingers of the user's two hands, etc. For example, the three-finger pinching operation may be a pinching operation among the thumb, index finger, and middle finger. For example, the four-finger pinching operation may be a pinching operation among the thumb, index finger, middle finger, and ring finger. Of course, different users have different habits of inputting multi-finger pinching operations on the display screen, and the embodiments of the present application do not limit the specific forms of the above multi-finger pinching operations.

[0190] It can be understood that switching the interface of the application from a full-screen large window to a small window with a floating control displayed in the interactive manner of multi-finger pinching (such as two-finger pinching) conforms to the operation habits of most users and is convenient for users to remember and operate. In this way, the interaction performance between the electronic device (such as a mobile phone) and the user can be improved, and thus the user experience can be improved.

[0191] Among them, the above multi-finger operation 1 being a two-finger pinching operation may at least include the following five implementation manners: Implementation manner (1) - Implementation manner (5).

[0192] Implementation manner (1): The multi-finger operation 1 may be a two-finger pinching operation in which one finger swipes into the display screen of the mobile phone from the left side frame of the mobile phone, and the other finger swipes into the display screen of the mobile phone from the right side frame of the mobile phone.

[0193] For example, the above multi-finger operation 1 may be Figure 4A as shown in (a) of Figure 5 or Figure 6 as shown in (a) of

[0194] In one case of Implementation manner (1), the position of the above first floating control on the display screen may be preset (that is, the first floating control is displayed at a preset position on the display screen). For example, the mobile phone may display the above first floating control in the center of the display screen. That is, the center point of the first floating control is at the intersection of the first center line and the second center line of the display screen of the mobile phone.

[0195] Among them, the above first center line is parallel to the left and right borders of the display screen, and the distance between the first center line and the left border is equal to the distance between the first center line and the right border. For example, Figure 3C As shown in Figure 3C , L1 is the first center line of the display screen of the mobile phone. L1 is parallel to the left and right borders of the display screen, and the distance between L1 and the left border is equal to the distance between L1 and the right border.

[0196] The above second center line is parallel to the upper and lower borders of the display screen, and the distance between the second center line and the upper border is equal to the distance between the second center line and the lower border. For example, Figure 3C As shown in Figure 3C , L2 is the second center line of the display screen of the mobile phone. L2 is parallel to the upper and lower borders of the display screen, and the distance between L2 and the upper border is equal to the distance between L1 and the lower border.

[0197] Exemplarily, in response to the above multi-finger operation 1, the mobile phone can display Figure 3C the first floating control 305 shown in Figure 3C . As Figure 3C shown in Figure 3C , the center point O of the first floating control 305 is at the intersection of the first center line L1 and the second center line L2 of the display screen of the mobile phone. That is, the mobile phone centrally displays the first floating control 305 on the display screen.

[0198] In another case of implementation mode (1), the position of the first floating control in the first direction on the display screen can be a preset position. For example, the center point of the above first floating control is on the first center line of the display screen of the mobile phone. And the position of the first floating control in the second direction on the display screen (that is, the height of the first floating control on the display screen) can be determined according to the position of the multi-finger operation 1 on the display screen. Among them, the position of the multi-finger operation 1 on the display screen refers to: when the two fingers leave the display screen, the positions of the touch points of the two fingers on the display screen. For example, the position of the multi-finger operation 1 on the display screen can be Figure 4A the positions of the touch points a and b on the display screen shown in (a) of Figure 4A .

[0199] Exemplarily, the mobile phone can execute step a - step b to determine the position of the first floating control on the display screen. Step a: The mobile phone calculates the intersection point of the line connecting the touch points of the two fingers on the display screen (referred to as the first line) when the two fingers leave the display screen and the above first center line. Step b: The mobile phone makes the center point of the first floating control coincide with this intersection point and displays the above first floating control on the display screen. For example, as Figure 4B shown in Figure 4B , the mobile phone can calculate the intersection point Q1 of the line connecting the touch points a and b and the first center line L1. As Figure 4A shown in (b) of Figure 4A , the mobile phone can make the center point O1 of the first floating control coincide with the intersection point Q1.

[0200] For example, in response to the multi-finger operation 1 input by the user in the first interface 401 described in (a) of Figure 4A , the mobile phone can display the first floating control 402 shown in (b) of Figure 4A . As shown in (b) of Figure 4A , the center point O1 of the first floating control 402 is on the first center line L1 of the display screen of the mobile phone.

[0201] For another example, in response to the multi-finger operation 1 input by the user in the first interface 501 described in (a) of Figure 5 , the mobile phone can display the first floating control 502 shown in (b) of Figure 5 or the first floating control 503 shown in (c) of Figure 5 . As shown in (b) of Figure 5 , the center point O2 of the first floating control 502 is on the first center line L1 of the display screen of the mobile phone. As shown in (c) of Figure 5 , the center point O2 of the first floating control 503 is on the first center line L1 of the display screen of the mobile phone.

[0202] For another example, in response to the multi-finger operation 1 input by the user in the first interface 601 described in (a) of Figure 6 , the mobile phone can display the first floating control 602 shown in (b) of Figure 6 or the first floating control 603 shown in (c) of Figure 6 . As shown in (b) of Figure 6 , the center point O4 of the first floating control 602 is on the first center line L1 of the display screen of the mobile phone. As shown in (c) of Figure 6 , the center point O5 of the first floating control 603 is on the first center line L1 of the display screen of the mobile phone.

[0203] Among them, Figure 4A the L1 shown in (b) of Figure 5 , Figure 5 the L1 shown in (c) of Figure 6 , Figure 6 the L1 shown in (b) and (c) is the first center line of the display screen of the mobile phone. L1 is parallel to the left and right borders of the display screen, and the distance between L1 and the left border is equal to the distance between L1 and the right border.

[0204] In some embodiments, if the touch points of the multi-finger operation 1 on the display screen are relatively close to the lower border of the display screen, then the intersection point of the line connecting the touch points of the two fingers on the display screen (i.e., the first line) and the first center line calculated by the mobile phone when performing the above step a may be close to the lower border of the display screen. In this case, if the center point of the first floating control is coincident with this intersection point and the first floating control is displayed on the display screen, it may occur that the entire first floating control cannot be displayed on the display screen. For example, as shown in (a) of Figure 5 , the touch points of the multi-finger operation 1 on the display screen are relatively close to the lower border of the display screen, and the intersection point of the line connecting the touch points of the two fingers on the display screen and the first center line L1 is Q2. As shown in (c) of Figure 5 , if the mobile phone makes the center point O2 of the first floating control coincident with this intersection point Q2 and displays the first floating control 503 on the display screen; then, the entire first floating control 503 cannot be displayed on the display screen.

[0205] If the touch points of the multi-finger operation 1 on the display screen are relatively close to the upper border of the display screen, then the intersection point of the line connecting the touch points of the two fingers on the display screen and the first center line calculated by the mobile phone when performing the above step a may be close to the upper border of the display screen. In this case, if the center point of the first floating control is coincident with this intersection point and the first floating control is displayed on the display screen, it may also occur that the entire first floating control cannot be displayed on the display screen. For example, as shown in (a) of Figure 6 , the touch points of the multi-finger operation 1 on the display screen are relatively close to the lower border of the display screen, and the intersection point of the line connecting the touch points of the two fingers on the display screen and the first center line L1 is Q3. As shown in (c) of Figure 6 , if the mobile phone makes the center point O of the first floating control coincident with this intersection point Q3 and displays the first floating control 603 on the display screen; then, the entire first floating control 603 cannot be displayed on the display screen.

[0206] To enable the entire first floating control to be displayed on the display screen, after the above step a and before step b, the mobile phone may further perform steps 1 - 2. After steps 1 - 2, the method of the embodiment of the present application further includes steps 3 and 4.

[0207] Step 1: The mobile phone determines whether the distance between the intersection point described in step a and the lower border of the display screen is less than the first distance threshold. After step 1, if the distance between the intersection point and the lower border of the display screen is greater than or equal to the first distance threshold, the mobile phone executes step 2; if the distance between the intersection point and the lower border of the display screen is less than the first distance threshold, the mobile phone executes step 3. Among them, the above-mentioned first distance threshold can be one-half of the preset height. The preset height can be the height of the floating control in the pre-set size of the floating control. Among them, the pre-set size of the floating control can include a preset height and a preset width. The preset width can be the width of the floating control in the pre-set size of the floating control.

[0208] Step 2: The mobile phone determines whether the distance between the intersection point described in step a and the upper border of the display screen is less than the first distance threshold. After step 2, if the distance between the intersection point and the upper border of the display screen is greater than or equal to the first distance threshold, the mobile phone executes step b; if the distance between the intersection point and the upper border of the display screen is less than the first distance threshold, the mobile phone executes step 4.

[0209] It can be understood that after step 1, if the distance between the intersection point described in step a and the lower border of the display screen is less than the first distance threshold, it means that if the mobile phone aligns the center point of the first floating control with the intersection point described in step a, the display screen cannot display the complete first floating control. In this case, the mobile phone can attach the lower edge of the first floating control to the lower border of the display screen to display the first floating control. Specifically, the mobile phone can execute step 3.

[0210] Step 3: The mobile phone attaches the lower edge of the first floating control to the lower border of the display screen to display the first floating control. Among them, the center point of the first floating control is on the above-mentioned first center line.

[0211] For example, the mobile phone can execute step 3 to display Figure 5 the first floating control 502 shown in (b) of. Among them, the lower edge of the first floating control 502 is attached to the lower border of the display screen, and the center point O2 of the first floating control 502 is on the above-mentioned first center line L1. It should be noted that the center point O2 of the first floating control 502 does not coincide with the intersection point Q2.

[0212] It can be understood that after step 2, if the distance between the intersection point described in step a and the upper border of the display screen is less than the first distance threshold, it means that if the mobile phone aligns the center point of the first floating control with the intersection point described in step a, the display screen cannot display the complete first floating control. In this case, the mobile phone can attach the upper edge of the first floating control to the upper border of the display screen to display the first floating control. Specifically, the mobile phone can execute step 4.

[0213] Step 4: The mobile phone fits the lower edge of the first floating control to the upper border of the display screen and displays the first floating control. The center point of the first floating control is on the first center line described above.

[0214] For example, the mobile phone can display Figure 6 the first floating control 602 shown in (b) of. The upper edge of the first floating control 602 fits the upper border of the display screen, and the center point O of the first floating control 602 is on the first center line L1 described above. It should be noted that the center point O of the first floating control 602 does not coincide with the intersection point Q3.

[0215] In some other embodiments, regardless of whether the distance between the intersection point described in step a and the upper border of the display screen is less than the first distance threshold, and whether the distance between the intersection point described in step a and the lower border of the display screen is less than the first distance threshold, the mobile phone can perform step b to display the first floating control. For example, the mobile phone can display Figure 5 the first floating control 503 shown in (c) of, and the center point O2 of the first floating control 503 coincides with the intersection point Q2. Another example is that the mobile phone can display Figure 6 the first floating control 603 shown in (c) of, and the center point O of the first floating control 603 coincides with the intersection point Q3.

[0216] Implementation method (2): The multi-finger operation 1 can be: one finger swipes from the upper border of the mobile phone into the display screen of the mobile phone, and the other finger swipes from the lower border of the mobile phone into the display screen of the mobile phone for a two-finger pinch operation.

[0217] For example, the above multi-finger operation 1 can be Fig. 7A the two-finger pinch operation shown in (a) of, where one finger swipes from the upper border of the mobile phone into the display screen of the mobile phone, and the other finger swipes from the lower border of the mobile phone into the display screen of the mobile phone.

[0218] In one case of implementation method (2), the position of the first floating control on the display screen can be preset. For example, the mobile phone can display the first floating control in the center of the display screen. That is, the center point of the first floating control is at the intersection of the first center line and the second center line of the display screen of the mobile phone. The above first center line, second center line, and the method for the mobile phone to display the first floating control in the center of the display screen can refer to the detailed introduction in the above embodiments and will not be elaborated here.

[0219] In another case of implementation mode (2), the position of the first floating control along the second direction on the display screen (i.e., the height of the floating control) can be a preset position. For example, the center point of the above-mentioned first floating control is on the second center line of the display screen of the mobile phone. And the position of the first floating control along the first direction on the display screen (i.e., the left and right position of the first floating control on the display screen) can be determined according to the position of the multi-finger operation 1 on the display screen. Among them, the position of the multi-finger operation 1 on the display screen refers to: when two fingers leave the display screen, the positions of the touch points of the two fingers on the display screen.

[0220] Exemplarily, the mobile phone can execute step A - step B to determine the position of the first floating control on the display screen. Step A: The mobile phone calculates the intersection point of the line connecting the touch points of the two fingers on the display screen when the two fingers leave the display screen (i.e., the first line) and the above-mentioned second center line. Step B: The mobile phone makes the center point of the first floating control coincide with this intersection point and displays the first floating control on the display screen. For example, as Fig. 7A shown in (a) of, the mobile phone can calculate the intersection point P1 of the line connecting the touch points of the two fingers on the display screen and the second center line L2. As Fig. 7A shown in (b) of, the center point O of the first floating control coincides with the intersection point P1.

[0221] For example, in response to the multi-finger operation 1 input by the user in the Fig. 7A first interface 701 described in (a) of, the mobile phone can display the Fig. 7A first floating control 702 shown in (b) of. As Fig. 7A shown in (b) of, the center point O of the first floating control 702 is on the second center line L2 of the display screen of the mobile phone. Among them, Fig. 7A L2 shown in (a) of and Fig. 7A L2 shown in (b) of is the second center line of the display screen of the mobile phone. L2 is parallel to the upper and lower borders of the display screen, and the distance between L2 and the upper border is equal to the distance between L2 and the lower border.

[0222] In some embodiments, if the touch points of the multi-finger operation 1 on the display screen are closer to the right border of the display screen, then the intersection point of the line connecting the touch points of the two fingers on the display screen calculated by the mobile phone executing the above step A may be close to the right border of the display screen. In this case, if the center point of the first floating control coincides with this intersection point and the first floating control is displayed on the display screen, it may occur that the entire first floating control cannot be displayed on the display screen. For example, as Figure 7B shown in (a) of, the touch points of the multi-finger operation 1 on the display screen are closer to the right border of the display screen, and the intersection point of the line connecting the touch points of the two fingers on the display screen and the second center line L2 is P2. As Figure 7BAs shown in (c) therein, if the mobile phone makes the center point O of the first floating control coincide with the intersection point P2 and displays the first floating control 705 on the display screen, then the entire first floating control 705 cannot be displayed on the display screen.

[0223] If the touch points of the multi-finger operation 1 on the display screen are closer to the left border of the display screen, then the intersection point of the line connecting the touch points of the two fingers calculated by the mobile phone in step A above on the display screen and the second center line may be close to the left border of the display screen. In this case, if the center point of the first floating control coincides with this intersection point and the first floating control is displayed on the display screen, it is also possible that the entire first floating control cannot be displayed on the display screen (not shown in the drawings).

[0224] To enable the entire first floating control to be displayed on the display screen, after step A and before step B above, the mobile phone can also perform steps i - ii. After steps i - ii, the method of the embodiment of the present application further includes steps iii and iv.

[0225] Step i: The mobile phone determines whether the distance between the intersection point described in step A and the left border of the display screen is less than a second distance threshold. After step i, if the distance between the intersection point and the left border of the display screen is greater than or equal to the second distance threshold, the mobile phone performs step ii; if the distance between the intersection point and the left border of the display screen is less than the second distance threshold, the mobile phone performs step iii. Among them, the above-mentioned second distance threshold can be one-half of the above-mentioned preset width. The preset width can be the width of the floating control in the pre-set size of the floating control.

[0226] Step ii: The mobile phone determines whether the distance between the intersection point described in step A and the right border of the display screen is less than the second distance threshold. After step 2, if the distance between the intersection point and the right border of the display screen is greater than or equal to the first distance threshold, the mobile phone performs step B; if the distance between the intersection point and the right border of the display screen is less than the second distance threshold, the mobile phone performs step iv.

[0227] It can be understood that after step i, if the distance between the intersection point described in step A and the left border of the display screen is less than the second distance threshold, it means that if the mobile phone makes the center point of the first floating control coincide with the intersection point described in step A, the entire first floating control cannot be displayed on the display screen. In this case, the mobile phone can make the left edge of the first floating control fit the left border of the display screen and display the first floating control. Specifically, the mobile phone can perform step iii.

[0228] Step iii: The mobile phone makes the left edge of the first floating control fit the left border of the display screen and displays the first floating control. Among them, the center point of the first floating control is on the above-mentioned second center line.

[0229] It can be understood that after step ii, if the distance between the intersection point described in step A and the right border of the display screen is less than the second distance threshold, it means that if the center point of the first floating control on the mobile phone coincides with the intersection point described in step A, the display screen cannot display the complete first floating control. In this case, the mobile phone can attach the right edge of the first floating control to the right border of the display screen to display the first floating control. Specifically, the mobile phone can execute step iv.

[0230] Step iv: The mobile phone attaches the right edge of the first floating control to the right border of the display screen to display the first floating control. Among them, the center point of the first floating control is on the above-mentioned second center line.

[0231] For example, in response to a multi-finger operation 1 on the first interface 703 shown in (a) of Figure 7B , the mobile phone can display Figure 7B the first floating control 704 shown in (b) of . Among them, the right edge of the first floating control 704 is attached to the right border of the display screen, and the center point O of the first floating control 704 is on the above-mentioned second center line L2. It should be noted that the center point O of the first floating control 704 does not coincide with the intersection point P2.

[0232] In some other embodiments, regardless of whether the distance between the intersection point described in step A and the left border of the display screen is less than the second distance threshold, and whether the distance between the intersection point described in step A and the right border of the display screen is less than the second distance threshold, the mobile phone can execute step B to display the first floating control. For example, the mobile phone can display Figure 7B the first floating control 705 shown in (c) of , and the center point O of the first floating control 705 coincides with the intersection point P2.

[0233] Implementation method (3): The multi-finger operation 1 can be: one finger swipes from the upper border or the lower border of the mobile phone into the display screen of the mobile phone, and the other finger swipes from the left border or the right border of the mobile phone into the display screen of the mobile phone for a two-finger pinch operation.

[0234] For example, the above-mentioned multi-finger operation 1 can be Fig. 8A shown in (a) of , one finger swipes from the upper border of the mobile phone into the display screen of the mobile phone, and the other finger swipes from the left border of the mobile phone into the display screen of the mobile phone for a two-finger pinch operation.

[0235] In implementation method (3), the position of the first floating control on the display screen can be determined according to the position of the multi-finger operation 1 on the display screen. Among them, the position of the multi-finger operation 1 on the display screen refers to: when the two fingers leave the display screen, the positions of the touch points of the two fingers on the display screen.

[0236] Exemplarily, when two fingers leave the display screen, the mobile phone can calculate the centroid of the touch points of the two fingers on the display screen, and make the center point of the first floating control coincide with the centroid, and display the first floating control on the display screen. For example, as Fig. 8A shown in (a) of Fig. 8A , the mobile phone can calculate the centroid P3 of the touch points A1 and B1 of the two fingers on the display screen. As Fig. 8A shown in (b) of

[0237] , the center point O of the first floating control coincides with the centroid P3. Among them, Fig. 8A the centroid P3 shown in (a) of

[0237] is the intersection point of S1 and S2. S1 is parallel to the second direction and passes through the touch point A1. S2 is parallel to the first direction and passes through the touch point B1. And, S1 is perpendicular to the upper side border or the lower side border where the finger corresponding to the touch point A1 swipes in, and S2 is perpendicular to the left side border or the right side border where the finger corresponding to the touch point B1 swipes in.

[0237] For example, in response to the multi-finger operation 1 input by the user in the Fig. 8A first interface 801 shown in (a) of Fig. 8A , the mobile phone can display the Fig. 8A first floating control 802 shown in (b) of

[0238] . As Fig. 8A shown in (b) of

[0238] , the center point O of the first floating control 802 coincides with the centroid P3.

[0238] Exemplarily, when two fingers leave the display screen, the mobile phone can calculate the connection line of the touch points of the two fingers on the display screen, and make the center point of the first floating control coincide with the midpoint of the connection line, and display the first floating control on the display screen. For example, as Figure 8B shown in (a) of Figure 8B , the mobile phone can calculate the connection line A1B1 of the touch points A1 and B1 of the two fingers on the display screen. Figure 8B The P4 shown in (a) of Figure 8B is the midpoint of A1B1. As Figure 8B shown in (b) of

[0239] , the center point O of the first floating control coincides with the midpoint P4.

[0239] For example, in response to the multi-finger operation 1 input by the user in the Figure 8B first interface 801 shown in (a) of Figure 8B , the mobile phone can display the Figure 8B first floating control 803 shown in (b) of

[0240] . As Figure 8B shown in (b) of

[0240] , the center point O of the first floating control 803 coincides with the midpoint P4.

[0240] Implementation method (4): The multi-finger operation 1 can be: a two-finger pinch operation where one finger swipes from the side border (any side border) of the mobile phone into the display screen of the mobile phone, and the other finger slides within the display screen. For example, the above multi-finger operation 1 can be Fig. 9 shown in (a) of Fig. 9 , a two-finger pinch operation where one finger swipes from the left side border of the mobile phone into the display screen of the mobile phone, and the other finger slides within the display screen.

[0241] Exemplarily, when the mobile phone calculates the line connecting the touch points of two fingers on the display screen when the two fingers leave the display screen, the center point of the first floating control can be made to coincide with the midpoint of the line, and the first floating control is displayed on the display screen. For example, as shown in (a) of Fig. 9 , the mobile phone can calculate the line A2B2 connecting the touch points A2 and B2 of two fingers on the display screen. Fig. 9 P5 shown in (a) of Fig. 9 is the midpoint of A2B2. As shown in (b) of

[0242] For example, in response to a multi-finger operation 1 input by the user in the Fig. 9 first interface 901 shown in (a) of Fig. 9 , the mobile phone can display the Fig. 9 first floating control 902 shown in (b) of

[0243] Implementation method (5): The multi-finger operation 1 can be: a two-finger pinching operation with two fingers sliding within the display screen. For example, the above multi-finger operation 1 can be Fig.10 the two-finger pinching operation with two fingers sliding within the display screen shown in (a) of

[0244] It should be noted that in implementation method (5), the method for the mobile phone to determine the position of the first floating control can refer to the detailed description in the above implementation method (4), and will not be elaborated here.

[0245] It should be noted that in implementation method (4) or implementation method (5), when the mobile phone makes the center point of the first floating control coincide with the midpoint of the line connecting the touch points of two fingers on the display screen and displays the first floating control, there may be a problem that the display screen cannot display the complete first floating control as shown in implementation method (1) or implementation method (2). For example, in response to the user's Fig.10 multi-finger operation 1 on the first interface 1001 shown in (a) of Fig.10 , the mobile phone displays the

[0246] To solve the problem that the display screen cannot display the complete first floating control, the mobile phone can display the first floating control with the edge of the first floating control fitting the border of the display screen according to the methods described in the above implementation method (1) and implementation method (2). For example, in response to the user's Fig.10 multi-finger operation 1 on the first interface 1001 shown in (a) of Fig.10The first floating control 1002 shown in (b) therein.

[0247] It should be noted that the above multi-finger operation, which is a specific form of the two-finger pinch operation, includes but is not limited to the two-finger pinch operations described in the above implementation manners (1)-(5). Other forms of this multi-finger operation will not be elaborated in the embodiments of this application.

[0248] In some embodiments, the size (i.e., dimensions) of the first floating control can be preset. This preset size can include a preset height and a preset width. Among them, the first floating control can be any one of a floating window, a floating ball, a floating card, or a floating icon. In this embodiment, the size of the floating window or the floating icon can be preset.

[0249] In some other embodiments, the size (i.e., dimensions) of the above first floating control can be determined according to the multi-finger operation 1 (such as a two-finger pinch operation) input by the user. Among them, the first floating control can be a floating window or a floating icon. In this embodiment, the size of the floating window or the floating icon can be determined according to the multi-finger operation 1 (such as a two-finger pinch operation) input by the user.

[0250] In one implementation manner of this embodiment, taking the multi-finger operation 1 as a two-finger pinch operation as an example, the size of the first floating control can be determined according to the position where the fingers leave the display screen after the user inputs the two-finger pinch operation. The mobile phone can receive the two-finger pinch operation of the user on the first interface, calculate the two coordinate positions where the fingers leave the display screen after the user inputs the two-finger pinch operation; then, determine the size of the first floating control according to these two coordinate positions. For example, taking the above first floating control as a rectangular floating window, the length of the line connecting these two coordinate positions can be used as the diagonal length of the rectangular floating window. Another example is that taking the above first floating control as a circular floating icon, the length of the line connecting these two coordinate positions can be used as the diameter of the circular floating icon.

[0251] In another implementation manner of this embodiment, the size of the above first floating control can change dynamically along with the above multi-finger operation 1 (such as a two-finger pinch operation). Taking the multi-finger operation 1 as a two-finger pinch operation as an example, as the user pinches with two fingers, the size of the first floating control becomes smaller and smaller until the user's fingers leave the display screen.

[0252] In another implementation manner of this embodiment, the size (i.e., dimensions) of the first floating control can be determined by the speed of the multi-finger operation 1 (two-finger pinch operation) input by the user.

[0253] Among them, the speed of the multi-finger operation 1 input by the user can be the moving speed of the touch points of the above-mentioned multi-finger operation 1 on the display screen. The mobile phone can determine whether the moving speed is greater than a preset speed threshold. If the moving speed is greater than the preset speed threshold, the mobile phone can display the first floating control of the above-mentioned preset size. For example, the mobile phone can display Figure 2 the first floating control 202 shown in (b) of Figure 3A or the first floating control 301 shown in (a) of

[0254] In this case, the mobile phone can display the third interface of the first application on the first floating control, and the third interface is the first interface reduced according to the size of the first floating control. Fig.11A If the above-mentioned moving speed is less than or equal to the preset speed threshold, the mobile phone can display a dynamic image of the first floating control changing from large to small as the multi-finger operation 1 is performed. For example, in response to the user's multi-finger operation 1 on the first interface 1101, assuming that the speed of the multi-finger operation 1 is less than the preset speed threshold, the mobile phone can display Fig.11A the dynamic image of the first floating control changing from large to small shown in. As Fig.11A shown, as the user performs a two-finger pinching operation, the mobile phone can sequentially display the dynamic images of the first interface 1101 - floating control 1102 - floating control 1103 - floating control 1104. Among them,

[0255] the floating control 1104 shown in is the minimized floating window, floating ball, floating card or floating icon, etc.

[0256] It should be noted that when the mobile phone displays the floating control 1102, if the finger leaves the display screen, the mobile phone may not display the floating control 1103, but continue to display the floating control 1102.

[0257] In some other embodiments, if the above-mentioned moving speed is greater than the preset speed threshold, the mobile phone can directly display the minimized floating window, floating ball, card or icon, etc.

[0258] Optionally, the mobile phone can use any one of the display methods (1) - (3) to display the first application on the first floating control.

[0259] Display method (1): The mobile phone displays the third interface of the first application on the first floating control, and the third interface is the first interface reduced according to the size of the first floating control.

[0260] Among them, the mobile phone can be in Fig.11A The floating controls 1102 and 1103 shown display the third interface of the first application, and this third interface is the first interface reduced according to the size of the first floating control. For example, in response to a multi-touch operation 1 on the first interface 201 shown in (a) of Figure 2 , the mobile phone can display the first floating control 202. The third interface is displayed in the first floating control 202, and this third interface is the first interface 201 reduced according to the size of the first floating control 202.

[0261] Display method (2): The mobile phone displays the application icon of the first application in the first floating control.

[0262] Among them, in display method (2), the first floating control can be a minimized floating control, such as a floating ball, a card, or an icon, etc. The mobile phone can display Fig.11A the application icon of the first application in the floating control 1104 shown (i.e., the minimized floating control). For example, the mobile phone can display Figure 3A the first floating control 303 shown in (b) of . The application icon of the instant messaging application (i.e., the first application) is displayed in the first floating control 303.

[0263] Display method (3): The mobile phone displays the dynamic information of the above-mentioned first interface in the first floating control.

[0264] For example, the first floating control can be a minimized floating control, such as a floating ball, a card, or an icon, etc. For example, the mobile phone can display Figure 3A the first floating control 306 shown in (c) of . The dynamic information of the first interface 201, such as the nickname of the chat friend Bob, is displayed in the first floating control 306.

[0265] Among them, the dynamic information of the first interface can include the dynamic change information in the first interface of the first application.

[0266] Exemplarily, when the first application is an instant messaging application, the dynamic information of the first interface can include the chat messages received by the instant messaging application. For example, when the mobile phone displays Figure 3A the second interface 305 shown in (c) of and displays the first floating control 306 (displaying the nickname "Bob" of the friend) in the second interface 305, the mobile phone receives a chat message (such as "I'll pick you up at six o'clock this afternoon") from the friend "Bob" through the instant messaging application. As Fig. 11B shown in (a) of , the mobile phone can display this chat message, such as "I'll pick you up at six o'clock this afternoon", in the first floating control 1105 in the form of a bubble.

[0267] Exemplarily, when the first application is a navigation application, the dynamic information of the first interface may include real-time navigation status information. For example, as shown in (b) of Fig. 11B , the mobile phone can display real-time navigation status information in the first floating control 1106 in the form of a bubble, such as "You have arrived at Station M381. Please transfer to M391".

[0268] Exemplarily, when the first application is a game application, the dynamic information of the first interface displayed by the first floating control may include the loading status information of the game, such as the first floating control 1111 shown in Fig. 11C . When the first application is a taxi-hailing application, the dynamic information of the first interface displayed by the first floating control may include the real-time status information of the taxi-hailing order (such as information about the vehicle's location and distance), such as the first floating control 1108 shown in Fig. 11C . When the first application is a navigation application, the dynamic information of the first interface displayed by the first floating control may include real-time navigation status information, such as the first floating control 1107 shown in Fig. 11C . When the first application is an audio application, the dynamic information of the first interface displayed by the first floating control may include lyrics synchronized with the audio played on the mobile phone. When the first application is a phone application, the dynamic information of the first interface displayed by the first floating control may include call status information, such as the first floating control 1109 or the first floating control 1110 shown in Fig. 11C .

[0269] In some other embodiments, the mobile phone can display multiple floating controls. For example, when the above-mentioned second interface is the display interface of the second application, the mobile phone can receive a multi-finger operation 1 of the user on the second interface. In response to the multi-finger operation 1 of the user on the second interface, the mobile phone can display a second floating control. The second floating control is used to display the second application. At this time, the mobile phone can display the first floating control and the second floating control simultaneously. Among them, the mobile phone displaying multiple floating controls simultaneously can facilitate the user to operate multiple applications on the same interface.

[0270] In some other embodiments, after the mobile phone displays the first floating control on the second interface, the mobile phone can also receive a multi-finger operation 2 of the user on the first floating control. The multi-finger operation 2 is a second multi-finger operation. In response to the multi-finger operation 2, the mobile phone can change the position of the first floating control on the second interface.

[0271] Among them, the multi-finger operation 2 is different from the above-mentioned multi-finger operation 1. For example, the above-mentioned multi-finger operation 1 is a multi-finger pinching operation; while the multi-finger operation 2 may include a multi-finger long-press operation and a dragging operation of the user on the first floating control. The multi-finger long-press operation and the dragging operation are continuous operations where the fingers do not leave the display screen.

[0272] It should be noted that the multi-finger operation 2 described in the embodiments of the present application may include a two-finger long-press operation and a drag operation, or a three-finger long-press operation and a drag operation, or a four-finger long-press operation and a drag operation, or a five-finger long-press operation and a drag operation, or any combination operation thereof. In the following embodiments, taking the above multi-finger operation 2 including a two-finger long-press operation and a drag operation as an example, the method of the embodiments of the present application will be introduced.

[0273] Among them, the multi-finger long-press operation described in the embodiments of the present application may be a long-press operation of any number of fingers of the user. For example, the two-finger long-press operation may be a long-press operation of the thumb and the index finger, or a long-press operation of the index finger and the middle finger, or a long-press operation of the two index fingers of the user's two hands, etc. For example, the three-finger long-press operation may be a long-press operation of the thumb, index finger, and middle finger. For example, the four-finger long-press operation may be a long-press operation of the thumb, index finger, middle finger, and ring finger. Of course, different users have different habits of inputting long-press operations on the display screen, and the embodiments of the present application do not limit the specific form of the above multi-finger long-press operation.

[0274] For example, the mobile phone displays Fig.12 the second interface 1201 shown in (a) in, and displays the first floating control 1202 on the second interface 1201. In response to the multi-finger operation 2 (such as a two-finger long-press operation and a drag operation of the user on the first floating control 1202, and the drag trajectory of the drag operation is as shown by the dotted line in (a) in Fig.12 ), the mobile phone can move the display position of the first floating control 1202 on the second interface 1201 and display Fig.12 the interface shown in (b) in.

[0275] In the embodiments of the present application, in response to the multi-finger operation 2 of the user on the floating control, the mobile phone can move the position of the first floating control. In this way, it is convenient for the user to move the position of the floating control.

[0276] In some other embodiments, in response to the above multi-finger operation 2, if the multi-finger operation 2 drags the first floating control to the border of the display screen (that is, the edge of the first floating control fits the border of the display screen), the mobile phone can display the first interface and the second interface (the interface of the second application or the main interface) in split screen.

[0277] It should be noted that the multi-finger operation 2 dragging the first floating control to the border of the display screen specifically means that: the multi-finger operation 2 drags the first floating control so that the distance between the edge of the first floating control and the border of the display screen is less than a preset distance threshold. For example, the preset distance threshold may be 5 millimeters (mm), 2 mm, 3 mm, or 4 mm, or any other length. The preset distance threshold can be pre-configured in the mobile phone, or the preset distance threshold can be set by the user in the mobile phone.

[0278] For example, the mobile phone displays Fig.12 The second interface 1201 shown in (b) in Fig.12 is presented, and the first floating control 1202 is displayed on this second interface 1201. In response to a multi-finger operation 2 of the user on the first floating control 1202 (such as a two-finger long-press operation and a drag operation, and the drag trajectory of the drag operation is as shown by the dashed line in (b) of Fig.12 ), the mobile phone can display the first application and the second interface in split screen. For example, as shown in (c) of

[0279] In the embodiments of the present application, the mobile phone can respond to the multi-finger operation 2 of the user on the first floating control, realizing the switching from the display of the floating control to the split-screen display, and can provide a convenient switching method for the user from the display of the floating control to the split-screen display.

[0280] In some embodiments, after the mobile phone displays the first floating control on the second interface, the mobile phone can receive a multi-finger operation 3 of the user on the first floating control. The multi-finger operation 3 can be a third multi-finger operation, and the third multi-finger operation is a multi-finger long-press operation. Such as any one of a two-finger long-press operation, a three-finger long-press operation, a four-finger long-press operation, or a five-finger long-press operation, etc. In the following embodiments, the multi-finger operation is taken as an example of a two-finger long-press operation to introduce the method of the embodiments of the present application. In response to the multi-finger operation 3 (such as a two-finger long-press operation), the first floating control can enter the editing state. For example, in response to the user's multi-finger operation 3 (such as a two-finger long-press operation) on the first floating control 1301 shown in (a) of Fig.13 , the mobile phone can display Fig.13 the first floating control 1302 in the editing state shown in (b) of Fig.13 . The first floating control in the editing state includes but is not limited to

[0281] the first floating control 1302 shown in (b) of

[0282] Then, the mobile phone can receive a drag operation of the user on the first floating control 1302 in the editing state. This drag operation is continuous with the above two-finger long-press operation (i.e., the multi-finger operation 3), and the fingers do not leave the display screen. In response to this drag operation, the mobile phone can display a dynamic image of the first floating control 1302 moving along the sliding trajectory of the drag operation until the fingers leave the display screen, and the first floating control then exits the editing state.

[0283] It should be noted that the multi-finger operation 4 described in the embodiments of the present application may be any one of a preset two-finger spreading operation, a three-finger spreading operation, a four-finger spreading operation, a five-finger spreading operation, etc. In the following embodiments, taking the above multi-finger operation 4 being a two-finger spreading operation as an example, the method of the embodiments of the present application will be introduced.

[0284] Among them, the multi-finger spreading operation described in the embodiments of the present application may be a spreading operation of any number of fingers of the user. For example, the two-finger spreading operation may be a spreading operation between the thumb and the index finger, or a spreading operation between the index finger and the middle finger, or a spreading operation between the two index fingers of the user's two hands, etc. For example, the three-finger spreading operation may be a spreading operation of the thumb, index finger, and middle finger. For example, the four-finger spreading operation may be a spreading operation of the thumb, index finger, middle finger, and ring finger. Of course, different users have different habits of inputting spreading operations on the display screen, and the embodiments of the present application do not limit the specific forms of the above multi-finger spreading operations.

[0285] It can be understood that switching the interface of the application from the small window displayed by the floating control to the full-screen large window in the interactive manner of multi-finger spreading conforms to the operation habits of most users and is convenient for users to remember and operate. In this way, the interaction performance between the electronic device (such as a mobile phone) and the user can be improved, and thus the user experience can be improved.

[0286] For example, as Fig.14 shown, the mobile phone displays the first floating control 1401 on the second interface. In response to the user's two-finger spreading operation (i.e., multi-finger operation 4) on the first floating control 1401, the mobile phone can display the first application in full screen (such as displaying the first interface 1404).

[0287] In some embodiments, the mobile phone may display multiple floating controls (such as the first floating control and the second floating control) on the above second interface. The multiple floating controls may be floating controls of one or more applications. When the mobile phone receives the user's multi-finger operation 4 on the first floating control, it can display the application corresponding to the first floating control in full screen. It should be noted that when the mobile phone displays the application corresponding to the first floating control in full screen, the second floating control may also be displayed. That is to say, the second floating control can be retained.

[0288] In other embodiments, the mobile phone receives the user's multi-finger operation 4 on the first floating control. In response to this multi-finger operation 4, it will not directly display the first application in full screen; instead, it can display a dynamic image of the first floating control changing from small to large until full screen display as the two fingers spread.

[0289] For example, as Fig.14As shown, in response to the user's two-finger spreading operation on the first floating control 1401 (i.e., the multi-finger operation 4), the mobile phone can sequentially display the first floating control 1401, the first floating control 1402, the first floating control 1403, and the first interface 1404 of the first application. Of course, if the user's finger leaves the display screen when the mobile phone displays the first floating control 1402, the mobile phone will no longer display the first floating control 1403 and the first interface 1404 of the first application.

[0290] It should be noted that the mobile phone displays the first floating control on the second interface, including the mobile phone displaying the minimized floating control on the second interface. That is to say, when the mobile phone displays the minimized floating control, in response to the user's multi-finger operation 4 on the minimized floating control, the mobile phone can also display the first application full screen or display a dynamic image of the first floating control changing from small to large until full screen display.

[0291] Optionally, the mobile phone can determine whether to directly display the first application full screen or display a dynamic image of the first floating control changing from small to large until full screen display according to the speed at which the user inputs the multi-finger operation 4. Among them, the speed at which the user inputs the multi-finger operation 4 can be the moving speed of the touch points of the above multi-finger operation 4 on the display screen. The mobile phone can determine whether the moving speed is greater than a preset speed threshold. If the moving speed is greater than the preset speed threshold, the mobile phone can directly display the first application full screen. If the moving speed is less than or equal to the preset speed threshold, the mobile phone can display a dynamic image of the first floating control changing from small to large with the two-finger spreading operation until full screen display.

[0292] Optionally, in response to the user's multi-finger operation 4 on the first floating control, the mobile phone can display a dynamic image of the first floating control changing from small to large with the multi-finger operation 4 (such as the two-finger spreading operation) input by the user. Until the user's finger leaves the display screen, the mobile phone can display the first application corresponding to the first floating control full screen. That is to say, in response to the multi-finger spreading operation, as the two-finger spreading operation changes, the mobile phone can dynamically enlarge the size of the first floating control until the user's finger leaves the display screen, and can display the first application full screen.

[0293] In the embodiments of the present application, the mobile phone can respond to the user's multi-finger operation 4 on the first floating control to achieve the switching from the floating control display to the full screen display, and can provide a convenient switching method from the floating control display to the full screen display for the user.

[0294] In some other embodiments, in response to the user's two-finger spreading operation (i.e., the above multi-finger operation 4), the mobile phone can not only enlarge the first floating control, but also move the position of the first floating control. The position of the first floating control is determined by the position of the multi-finger operation 4. For example, as Fig.15As shown, the mobile phone can receive a multi-finger operation 4 of the user on the first floating control 1501, which not only instructs the mobile phone to enlarge the floating control, but also instructs the mobile phone to move the floating control to the right. In response to the multi-finger operation 4, the mobile phone can display Fig.15 The first floating control 1502 is shown. The size of the first floating control 1502 is larger than that of the first floating control 1501 ; and compared with the first floating control 1501 , the first floating control 1502 is located to the right.

[0295] In some embodiments, the method of the embodiments of the present application can also be applied to switching between split-screen display and floating control display. Specifically, the mobile phone can display the first interface of the first application and the second interface of the second application in split screen. The mobile phone can receive a multi-finger operation 1 (such as a two-finger pinch operation) of the user on the first interface. In response to the multi-finger operation 1 of the user on the first interface, the mobile phone can display the second interface in full screen, and display the first floating control on the second interface displayed in full screen, and the first floating control is used to display the information of the first interface. Among them, the specific manner in which the first floating control is used to display the information of the first interface can refer to the detailed description in the above embodiments, and the embodiments of the present application will not be repeated here.

[0296] For example, Fig.16 As shown in (a) of FIG. 1 , the mobile phone displays a first interface 1601 of the first application and a second interface 1602 of the second application in split screen. The mobile phone can receive a user's Fig.16 In response to the multi-finger operation 1 of the user on the first interface 1601, as shown in (a) of FIG. Fig.16 As shown in (b) of FIG. 1 , the mobile phone can display the second interface 1604 of the second application in full screen, and display the first floating control 1603 on the second interface 1604 displayed in full screen. The first floating control 1603 is used to display the first application.

[0297] It should be noted that the pinching position of the multi-finger operation 1 (such as a two-finger pinching operation) on the first interface is within the display area corresponding to the first interface displayed on the display screen. Specifically, during the process of the user inputting the multi-finger operation 1 on the display screen, the contact position of the user's finger and the display screen is within the display area corresponding to the first interface.

[0298] Of course, when the mobile phone displays the first interface of the first application and the second interface of the second application in split screen, it can also receive the user's multi-finger operation 1 on the second interface. At this time, in response to the user's multi-finger operation 1 on the second interface, the mobile phone can display the first interface in full screen, and display the second floating control on the first interface displayed in full screen, and the second floating control is used to display the second application. The pinching position of the multi-finger operation 1 (such as a two-finger pinching operation) on the second interface is within the display area corresponding to the second interface displayed on the display screen.

[0299] In some other embodiments, the mobile phone displays the first interface of the first application and the second interface of the second application in split screen. In response to a multi-finger operation 1 by the user on the first interface, the mobile phone can display the second interface full screen, and display a dynamic image of the first floating control changing from large to small along with the multi-finger operation 1 (such as a two-finger pinching operation) on the second interface. For example, in response to the multi-finger operation 1 by the user on the first interface 1601, such as Fig.16 shown in (b) of Fig.16 shown in (c) of, the mobile phone can display the second interface 1604 of the second application full screen, and display on the full-screen displayed second interface 1604 the floating control changing from Fig.16 the first floating control 1603 shown in (b) of changing from large to small until it becomes Fig.16 the minimized first floating control 1605 shown in (c) of.

[0300] In some other embodiments, the mobile phone displays the first interface of the first application and the second interface of the second application in split screen. In response to a multi-finger operation 1 by the user on the first interface, the mobile phone can display the second interface full screen, and display the minimized first floating control on the second interface. The first floating control can display the application icon of the first application or dynamic information of the first interface, etc. For example, in response to the multi-finger operation 1 by the user on the first interface 1601, such as Fig.16 shown in (c) of, the mobile phone can display the second interface 1604 of the second application full screen, and display the minimized first floating control 1605 on the full-screen displayed second interface 1604.

[0301] In the above embodiments, the mobile phone can determine whether to directly display the minimized first floating control or display a dynamic image of the first floating control changing from large to small until it becomes the minimized floating control according to the speed of the user's input of the multi-finger operation 1. Among them, the speed of the user's input of the multi-finger operation 1 can be the moving speed of the touch points of the above multi-finger operation 1 on the display screen. The mobile phone can determine whether the moving speed is greater than a preset speed threshold. If the moving speed is greater than the preset speed threshold, the mobile phone can directly display the minimized first floating control. If the moving speed is less than or equal to the preset speed threshold, the mobile phone can display a dynamic image of the first floating control changing from large to small until it becomes the minimized floating control along with the two-finger pinching operation.

[0302] In the embodiments of the present application, the mobile phone can respond to a multi-finger operation 1 (such as a two-finger pinching operation) on the interface of any application in split-screen display, and implement the switching from split-screen display to floating control display. It can be understood that switching the interface of the application from the large window in split-screen display to the small window in floating control display in the interactive manner of two-finger pinching conforms to the operation habits of most users, facilitating user memory and operation. In this way, a convenient switching method from split-screen display to floating control display can be provided for users, improving the interaction performance between the mobile phone and users, and further enhancing the user experience.

[0303] In some other embodiments, the mobile phone can split-screen display the first interface of the first application and the second interface of the second application. The mobile phone can receive a multi-finger operation 4 (such as a two-finger spreading operation) of the user on the second interface. In response to the multi-finger operation 4 of the user on the second interface, the mobile phone can full-screen display the second interface, and display a first floating control on the full-screen displayed second interface, where the first floating control is used to display information of the first interface. The specific manner in which the first floating control is used to display information of the first interface can refer to the detailed description in the above embodiments, and will not be elaborated here in the embodiments of the present application.

[0304] For example, as Fig.17A shown in (a) of, the mobile phone split-screens and displays the first interface 1701 of the first application and the second interface 1702 of the second application. The mobile phone can receive a multi-finger operation 4 (such as a two-finger spreading operation) of the user on Fig.17A the second interface 1702 shown in (a) of. In response to the multi-finger operation 4 of the user on the second interface 1702, as Fig.17A shown in (b) of, the mobile phone can full-screen display the second interface 1704 of the second application, and display a first floating control 1703 on the full-screen displayed second interface 1704. The first floating control 1703 is used to display the first application.

[0305] It should be noted that the above multi-finger operation 4 (such as a two-finger spreading operation) on the second interface and the touch point position on the display screen are within the display area corresponding to the second interface. Specifically, during the process of the user inputting the multi-finger operation 4 on the display screen, the contact position between the user's finger and the display screen is within the display area corresponding to the second interface (such as the second interface 1702).

[0306] Of course, when the mobile phone split-screens and displays the first interface of the first application and the second interface of the second application, it can also receive a multi-finger operation 4 of the user on the first interface. At this time, in response to the multi-finger operation 4 of the user on the first interface, the mobile phone can full-screen display the first interface, and display a second floating control on the full-screen displayed first interface, where the second floating control is used to display the second application. The multi-finger operation 4 (such as a two-finger spreading operation) on the first interface and the touch point position on the display screen are within the display area corresponding to the first interface.

[0307] In some other embodiments, the mobile phone displays the first interface of the first application and the second interface of the second application in split - screen mode. In response to a multi - finger operation 4 by the user on the second interface, the mobile phone can display the second interface full - screen and display a first floating control on the second interface. The first floating control can display the application icon of the first application or dynamic information of the first interface, etc. For example, in response to the multi - finger operation 4 by the user on the second interface 1702, as shown in (c) of Fig.17A the mobile phone can display the second interface 1704 of the second application full - screen and display a first floating control 1705 on the full - screen - displayed second interface 1704.

[0308] In the embodiments of the present application, the mobile phone can respond to a multi - finger operation 4 (such as a two - finger outward expansion operation) by the user on the interface of any application in split - screen display, and realize the switching from split - screen display to full - screen display. It can be understood that switching the interface of the application from a small window in split - screen display to a large window in full - screen display in the interaction mode of two - finger outward expansion conforms to the operation habits of most users, facilitating user memory and operation. In this way, a convenient switching method from split - screen display to full - screen display can be provided for the user, improving the interaction performance between the mobile phone and the user, and further improving the user experience.

[0309] In some other embodiments, the mobile phone can display the interfaces of multiple applications in split - screen mode (such as the first interface of the first application, the second interface of the second application, and the fourth interface of the third application). For example, as shown in (a) of Fig. 17B the mobile phone displays the first interface 1706 of the first application, the second interface 1707 of the second application, and the fourth interface 1708 of the third application in split - screen mode.

[0310] Then, the mobile phone can receive a multi - finger operation 3 (such as a two - finger long - press operation) by the user on the first interface. In response to the multi - finger operation 3 by the user on the first interface, the above - mentioned first interface can enter the editing state, that is, the mobile phone can display the first interface in the editing state. For example, as shown in (a) of Fig. 17B in response to the multi - finger operation 3 by the user on the first interface 1706, the mobile phone can display Fig. 17B the first interface 1706 in the editing state shown in (b) of Fig. 17C or (a) of

[0311] Subsequently, the mobile phone can receive a multi - finger operation 1 (such as a two - finger pinching operation) by the user on the first interface in the editing state. In response to this multi - finger operation 1, the mobile phone can display the interfaces of other applications except the first application among the multiple applications, and display a first floating control on this interface, and the first floating control is used to display the information of the first interface. For example, in response to the multi - finger operation 1 by the user on the first interface 1706 in the editing state shown in (b) of Fig. 17B as shown in Fig. 17BAs shown in (c) therein, the mobile phone can display the second interface 1707 and the fourth interface 1708 in split - screen mode, and display the first floating control 1709. The first floating control 1709 is used to display information of the first interface. Among them, the first floating control 1709 can display the first application in any one of the above - mentioned display modes (1) - (3).

[0312] In the embodiments of the present application, the mobile phone can respond to the multi - finger operation 2 (such as a two - finger long - press operation) and the multi - finger operation 1 (such as a two - finger pinch operation) on the interface of any application in split - screen display, and realize the switching from split - screen display to floating - control display. In this way, a convenient switching method from split - screen display to floating - control display can be provided for users, improving the interaction performance between the mobile phone and users, and further improving the user experience.

[0313] In some other embodiments, the mobile phone can display the interfaces of multiple applications in split - screen mode (such as the first interface of the first application, the second interface of the second application, and the fourth interface of the third application). Then, the mobile phone can receive the multi - finger operation 2 (such as a two - finger long - press operation) on the first interface by the user. In response to the multi - finger operation 2 on the first interface by the user, the above - mentioned first interface can enter the editing state, that is, the mobile phone can display the first interface in the editing state. For example, as Fig. 17B shown in (a) therein, in response to the multi - finger operation 2 on the first interface 1706 by the user, the mobile phone can display Fig. 17C the first interface 1706 in the editing state shown in (a) therein.

[0314] Subsequently, the mobile phone can receive the dragging operation on the first interface in the editing state. In response to this dragging operation, the mobile phone can display a dynamic image of the position of the interface of the first application in the editing state moving along the sliding trajectory of the dragging operation. For example, in response to the dragging operation on the Fig. 17C first interface 1706 in the editing state shown in (a) therein, the mobile phone can display that the position of the first interface 1706 in the editing state moves along the sliding trajectory 1710 of the dragging operation, from Fig. 17C the position shown in (a) therein to Fig. 17C the position shown in (b) therein as a dynamic image.

[0315] In response to the finger leaving the display screen, the mobile phone can display the interfaces of the above - mentioned multiple applications in split - screen mode, where the position of the interface of the first application on the display screen is the position where the finger leaves the display screen. For example, when the first interface 1706 in the editing state moves to Fig. 17C the position shown in (b) therein and the finger leaves the display screen, the mobile phone can display Fig. 17C the split - screen interface shown in (c) therein.

[0316] In the embodiments of the present application, the mobile phone can respond to a multi-finger operation 2 (such as a two-finger long-press operation) and a drag operation on the interface of any application in split-screen display, and move the interfaces of the applications in split-screen display on the mobile phone to different positions on the display screen. In this way, a convenient operation method for switching the positions of the applications in split-screen display can be provided for the user, improving the interaction performance between the mobile phone and the user, and thus enhancing the user experience.

[0317] In some other embodiments, the mobile phone can display the interfaces of multiple applications in split-screen (such as the first interface of the first application and the second interface of the second application). The mobile phone can receive a multi-finger operation 5 on the second interface. The multi-finger operation 5 is a fifth multi-finger operation. The multi-finger operation 5 is a multi-finger pinch operation (such as a two-finger pinch operation) or a multi-finger spread operation (such as a two-finger spread operation). In response to the user's multi-finger operation 5 on the first interface, the mobile phone can adjust the sizes of the interfaces of the applications in split-screen display.

[0318] Among them, when the multi-finger operation 5 is a two-finger spread operation, in response to the user's multi-finger operation 5 on the first interface, the size of the first interface will become larger, while the interfaces of other applications (such as the interface of the second application) will become smaller accordingly.

[0319] Exemplarily, as shown in (a) of Fig.18 , the mobile phone displays the first interface 1803, the second interface 1802, and the fourth interface 1801 in split-screen. Among them, Fig.18 the multi-finger operation 5 shown in (a) of Fig.18 is a two-finger spread operation. In response to this multi-finger operation 5 on the first interface 1803 by the user, the mobile phone can display the split-screen interface shown in (b) of Fig.18 . Among them, Fig.18 the size of the first interface 1803 shown in (b) of Fig.18 is larger than the size of the first interface 1803 shown in (a) of Fig.18 ; Fig.18 the size of the second interface 1802 shown in (b) of Fig.18 is smaller than the size of the second interface 1802 shown in (a) of

[0320] Fig.18 The multi-finger operation 5 shown in (b) of Fig.18 is a two-finger spread operation. In response to this multi-finger operation 5 on the first interface 1803 shown in (b) of Fig.18 , the mobile phone can display the split-screen interface shown in (c) of Fig.18 . Among them, Fig.18 the size of the first interface 1803 shown in (c) of Fig.18 The size of the fourth interface 1801 shown in (c) in Fig.18 is smaller than the size of the fourth interface 1801 shown in (b) in

[0321] Fig.18 All the multi-finger operations 5 shown in (c) in Fig.18 are two-finger spreading operations. In response to the multi-finger operation 5 on the first interface 1803 shown in (c) in Fig.18 the mobile phone can display the split-screen interface shown in (d) in Fig.18 wherein, the size of the first interface 1803 shown in (d) in Fig.18 is larger than the size of the first interface 1803 shown in (c) in Fig.18 the size of the second interface 1802 shown in (d) in Fig.18 is smaller than the size of the second interface 1802 shown in (c) in

[0322] It should be noted that the above multi-finger operation 5 is a two-finger spreading operation, and there can be the following two specific situations. Situation (1): The multi-finger operation 5 is a two-finger spreading operation where both fingers slide, such as the multi-finger operation 5 shown in (a) in Fig.18 In the above situation (1), the size of the first interface can increase along the spreading direction of the two fingers on both sides. For example, compared with the first interface 1803 shown in (a) in Fig.18 the size of the first interface 1803 shown in (b) in Fig.18 increases in both the first direction and the second direction.

[0323] Situation (2): The multi-finger operation 5 is a two-finger spreading operation where one finger remains stationary and the other finger slides, such as the multi-finger operation 5 shown in (b) in Fig.18 or the multi-finger operation 5 shown in (c) in Fig.18 In the above situation (2), the size of the first interface can increase along the spreading direction of the finger that slides. For example, compared with the first interface 1803 shown in (b) in Fig.18 the size of the first interface 1803 shown in (c) in Fig.18 increases in the first direction and does not increase in the second direction. Another example, compared with the first interface 1803 shown in (c) in Fig.18 the size of the first interface 1803 shown in (d) in Fig.18 increases in the second direction and does not increase in the first direction.

[0324] Among them, when the multi-finger operation 5 is a two-finger pinching operation, in response to the user's multi-finger operation 5 on the first interface, the size of the first interface will become smaller, and the interfaces of other applications (such as the interface of the second application) will become larger accordingly.

[0325] Exemplarily, as Fig.18 shown in (d) of Fig.18 , the mobile phone displays the first interface 1803, the second interface 1802, and the fourth interface 1801 in split-screen mode. Among them, Fig.18 the multi-finger operation 5 shown in (d) of Fig.18 is a two-finger pinch operation. In response to this multi-finger operation 5 on the first interface 1803, the mobile phone can display Fig.18 the split-screen interface shown in (a) of Fig.18 . Among them, Fig.18 the size of the first interface 1803 shown in (a) of Fig.18 is smaller than the size of the first interface 1803 shown in (d) of Fig.18 ;

[0326] It should be noted that the above multi-finger operation 5 is a two-finger pinch operation, and there can be the following two specific situations. Situation (a): The multi-finger operation 5 is a two-finger pinch operation where both fingers slide. In the above situation (a), the size of the first interface can shrink along the pinching direction of the two fingers on both sides (not shown in the drawings). Situation (2): The multi-finger operation 5 is a two-finger pinch operation where one finger remains stationary and the other finger slides. In the above situation (2), the size of the first interface can shrink along the pinching direction of the sliding finger on one side (not shown in the drawings).

[0327] In the embodiments of the present application, the mobile phone can respond to a multi-finger operation 5 (such as a two-finger pinch operation or a two-finger spreading operation) on any application in split-screen display, and adjust the sizes of the interfaces of the applications in split-screen display. In this way, a convenient operation method for adjusting the sizes of the interfaces of the applications in split-screen display can be provided for users, improving the interaction performance between the mobile phone and users, and thus enhancing the user experience.

[0328] It should be noted that the Figure 3C , Figure 4A , Figure 4B , Figure 5 , Figure 6 , Fig. 7A , Figure 7B , Fig. 8A , Figure 8B , Fig. 9 , Fig.10 , Fig.11A , Fig. 11B , Fig.12 , Fig.13 , Fig.14 , Fig.15 , Fig.16 , Fig.17A , Fig. 17B , Fig. 17C and Fig.18 In the figures, the interfaces of various applications and floating controls displayed on the mobile phone are represented by different grayscales to illustrate the principle of the method provided in the embodiments of the present application. It does not mean that in the embodiments of the present application, the interfaces of various applications and floating controls displayed on the mobile phone are in the grayscales shown in the above-mentioned drawings. In the following embodiments, the application of the method provided in the embodiments of the present application in various scenarios will be introduced by scenarios.

[0329] Embodiment (1): In this embodiment, taking the first application as an instant messaging application as an example, the method of the embodiments of the present application will be introduced.

[0330] The mobile phone can display Figure 2 the first interface 201 of the instant messaging application shown in (a) of the figure. In response to a multi-finger operation 1 (such as a two-finger pinch operation) of the user on the first interface 201, the mobile phone can display Figure 2 the main interface (i.e., the second interface) 203 shown in (b) of the figure, and display the first floating control 202 on the main interface 203. Alternatively, in response to a multi-finger operation 1 (such as a two-finger pinch operation) of the user on the first interface 201, the mobile phone can display Fig.19 the interface (i.e., the second interface) 1901 of the shopping application (i.e., the second application) shown in (a) of the figure, and display the first floating control 1902 on the second interface 1901. Among them, in response to the user's click operation on the application icon of the shopping application in Figure 2 the main interface 203 shown in (b) of the figure, the mobile phone can also display Fig.19 the second interface 1901 of the shopping application shown in (a) of the figure, and display the first floating control 1902 of the instant messaging application on the second interface 302. In this way, the user can shop through the interface of the shopping application and chat with friends in the first floating control 1902, that is, the user can use the mobile phone to chat with friends while shopping.

[0331] Among them, Fig.19 the size of the first floating control 1902 shown in (a) of the figure is relatively large, which will affect the shopping experience of the user in the shopping application. Based on this, the mobile phone can receive the two-finger pinch operation (i.e., the multi-finger operation 1) of the user on the first floating control 1902, and in response to the two-finger pinch operation, the mobile phone can reduce the size of the first floating control 1902. For example, in response to the multi-finger operation 1 of the user on Fig.19 the first floating control 1902 shown in (a) of the figure, the mobile phone can display Fig.19The minimized first floating control 1903 shown in (b) therein. Among them, the size of the first floating control 1903 is smaller than that of the first floating control 1902. In this way, the occlusion of the second interface (i.e., the shopping interface) by the first floating control can be reduced, so that the mobile phone can display the product information of the shopping interface in a larger display area.

[0332] Fig.19 The first floating control 1903 shown in (b) therein may occlude the product information that the user wants to view in the shopping interface, affecting the user's shopping experience. Based on this, the mobile phone can receive the multi-finger operation 2 (such as a two-finger long press operation and a drag operation) of the user on Fig.19 the first floating control 1903 shown in (b) therein. In response to the multi-finger operation 2, the mobile phone can move the position of the first floating control 1903 and display Fig.19 the interface shown in (c) therein. In this way, the occlusion of the second interface (i.e., the shopping interface) by the first floating control can be reduced, so that the mobile phone can display the product information of the shopping interface in a larger display area.

[0333] Embodiment (2): In this embodiment, taking the split-screen display of the video application and the game application interfaces on a foldable screen mobile phone as an example, the method of the embodiments of the present application is introduced.

[0334] As Fig. 20 shown in (a) therein, the mobile phone splits the screen to display the video interface (i.e., the first interface) 2001 of video X of the video application and the game interface (i.e., the second interface) 2002 of game Y of the game application. In response to the multi-finger operation 3 (such as a two-finger long press operation) of the user on the video interface 2001, the mobile phone can display Fig. 20 the video interface 2001 in the editing state shown in (b) therein. In response to the multi-finger operation 1 (such as a two-finger pinch operation) of the user on the video interface 2001 in the editing state, as Fig. 20 shown in (c) therein, the mobile phone can full-screen display the above game interface 2002 and display the first floating control 2003 (i.e., the floating picture-in-picture) of the video interface on the full-screen displayed game interface 2002. The first floating control 2003 is used to play the video X played by the above video interface 2001. In this way, the mobile phone can provide the user with a full-screen gaming experience while playing the video for the user. In this way, the user can play games on the mobile phone while watching the video.

[0335] As Fig.21 shown in (a) therein, the mobile phone can full-screen display the game interface 2002 (i.e., the second interface) and display the first floating control 2003 on the game interface 202. The first floating control 2003 is used to play the video X played by the above video interface 2001. The mobile phone can receive the user's operation on Fig.21The multi-finger operation 2 (such as a two-finger long press operation and a drag operation) of the first floating control 2003 shown in (a) in. In response to the multi-finger operation 2, the mobile phone can display a dynamic image of the first floating control 2003 moving along the Fig.21 sliding trajectory 2004 of the multi-finger operation 2 shown in (a) in. In response to the user's finger leaving the first floating control 2003, the mobile phone can display Fig.21 the first floating control 2003 shown in (b) in. Among them, by comparing Fig.21 the first floating control 2003 shown in (b) in and Fig.21 the first floating control 2003 shown in (a) in, it can be known that the position of the first floating control 2003 in the game interface 2002 has changed. That is to say, in the embodiment of the present application, in response to the multi-finger operation 2 of the user on the first floating control 2003, the mobile phone can move the position of the first floating control 2003 in the second interface, so that it is convenient for the user to move the position of the floating control.

[0336] The mobile phone can receive the multi-finger operation 4 (such as a two-finger outward expansion operation) of the user on Fig.21 the first floating control 2003 shown in (b) in. In response to the multi-finger operation 4 of the user on Fig.21 the first floating control 2003 shown in (b) in, the mobile phone can enlarge the size of the first floating control 2003. For example, the mobile phone can display Fig.21 the first floating control 2003 shown in (c) in. Among them, Fig.21 the size of the first floating control 2003 shown in (c) in is larger than Fig.21 the size of the first floating control 2003 shown in (b) in.

[0337] It can be understood that switching the interface of the application from the small window displayed by the floating control to the large window displayed in full screen in the interactive manner of two-finger outward expansion conforms to the operation habits of most users and is convenient for users to remember and operate. In this way, the interaction performance between the electronic device (such as a mobile phone) and the user can be improved, and thus the user experience can be improved.

[0338] Of course, the mobile phone can also switch the display content of the first floating control 2003 shown in (c) in from the display mode of the floating control to the split-screen display mode. For example, the mobile phone can receive the multi-finger operation 3 (such as a two-finger long press operation) of the user on Fig.21 the first floating control 2003 shown in (c) in. In response to the multi-finger operation 3 of the user on Fig.21 the first floating control 2003 shown in (c) in, the mobile phone can display Fig.21 the first floating control 2003 in the editing state shown in (a) in. In response to the user on this Fig. 22 Fig. 22 ​During the dragging operation of the first floating control 2003 shown in (a) in [description], the mobile phone can adjust the position of the first floating control 2003 in the editing state on the game interface 2002. For example, the mobile phone can display a dynamic image of the first floating control 2003 in the editing state moving along the Fig. 22 dragging trajectory 2201 of the dragging operation shown in (a) in [description]. As Fig. 22 shown in (b) in [description], when the user's finger leaves the display screen, the edge of the first floating control 2003 fits the border of the display screen. In response to the user's finger leaving the display screen, the mobile phone can display the game interface 2002 (i.e., the second interface) and the video interface 2001 (i.e., the first interface) in split-screen mode. For example, the mobile phone can display the Fig. 22 split-screen interface shown in (c) in [description].

[0339] In the embodiments of the present application, an interaction method can be provided that is convenient for users to remember and operate, and is used to switch the interface of an application from a small window displayed by a floating control to a large window in split-screen display. In this way, the interaction performance between the electronic device (such as a mobile phone) and the user can be improved, and thus the user experience can be enhanced.

[0340] Embodiment (3): In this embodiment, taking a foldable mobile phone displaying the interfaces of an instant messaging application, a live broadcast application, and a shopping application in split-screen mode as an example, the method of the embodiments of the present application is introduced. Of course, the electronic device described in the embodiments of the present application is not limited to a foldable mobile phone.

[0341] As Fig.23 shown in (a) in [description], the mobile phone displays the chat interface 2301 of the instant messaging application (i.e., the first interface), the live broadcast room interface 2302 of the live broadcast application (i.e., the second interface), and the shopping interface 2303 of the shopping application (i.e., the fourth interface) in split-screen mode. When the instant messaging application receives a new message, the user may want to enlarge the above chat interface 2301 to clearly view the new message and reply to the new message. At this time, the mobile phone can receive a multi-finger operation 4 (such as a two-finger outward expansion operation) on the Fig.23 chat interface 2301 shown in (a) in [description] by the user. In response to the multi-finger operation 4 (such as a two-finger outward expansion operation) on the chat interface 2301 by the user, the mobile phone can adjust the sizes of the above chat interface 2301, the live broadcast room interface 2302, and the shopping interface 2303. For example, the mobile phone can display the Fig.23 chat interface 2301, the live broadcast room interface 2302, and the shopping interface 2303 shown in (b) in [description]. Among them, Fig.23 the size of the chat interface 2301 shown in (b) in [description] is larger than Fig.23 the size of the chat interface 2301 shown in (a) in [description]. That is to say, the mobile phone enlarges the Fig.23 size of the chat interface 2301 shown in (a) in [description]. In this way, it is convenient for the user to clearly view the new message of the instant messaging application and reply to the new message.

[0342] It can be understood that adjusting the application interface of split - screen display in an interactive manner with two fingers spreading outwards conforms to the operation habits of most users, facilitating user memory and operation. In this way, the interaction performance between the electronic device (such as a mobile phone) and the user can be improved, and thus the user experience can be enhanced.

[0343] During the process of the mobile phone displaying the above - mentioned chat interface 2301, the live - broadcast room interface 2302 of the live - broadcast application, and the shopping interface 2303 of the shopping application in split - screen, the user may want to adjust the positions of each interface on the display screen. For example, the mobile phone may receive a multi - finger operation 3 (such as a two - finger long - press operation) on the chat interface 2301 shown in (b) of Fig.23 . In response to this multi - finger operation 3, the mobile phone can display Fig.24 the chat interface 2301 in the editing state shown in (a) of Fig.24 . Then, in response to the user's dragging operation on the chat interface 2301 in the editing state, the mobile phone can adjust the position of the chat interface 2301 on the display screen. For example, as shown in (a) of Fig.24 , the sliding track 2401 of the dragging operation indicates that the dragging operation drags the chat interface 2301 in the editing state to the position where the live - broadcast room interface 2302 is located. Therefore, the mobile phone can swap the positions of the chat interface 2301 and the live - broadcast room interface 2302 shown in (a) of Fig.24 and display the split - screen interface shown in (b) of

[0344] In the embodiments of the present application, a two - finger interaction method that is convenient for users to remember and operate and is used to change the split - screen display position of the application can be provided. In this way, the interaction performance between the electronic device (such as a mobile phone) and the user can be improved, and thus the user experience can be enhanced.

[0345] Embodiment (4): In this embodiment, taking the mobile phone displaying multiple floating controls of an instant messaging application as an example, the method of the embodiments of the present application is introduced.

[0346] The mobile phone can display Fig.25 the home page 2505 (i.e., the second interface) of the instant messaging application shown in (a) of Fig.25 , and display a floating control 2502 (i.e., the first floating control) on the home page 2505. Fig.25 The home page 2505 of the instant messaging application shown in (a) of Fig.25The chat interface 2503 with Betty shown in (b) therein, and the floating control 2502 continues to be displayed on the chat interface 2503. In this way, the user can chat with Betty on the Fig.25 chat interface 2503 shown in (b) therein. Of course, the mobile phone can also receive the user's operation and provide the service of chatting with Bob on the Fig.25 floating control 2502 shown in (b) therein for the user. That is to say, the user can chat with Betty and chat with Bob on the Fig.25 interface shown in (b) therein at the same time.

[0347] Among them, the mobile phone can receive the user's click operation on the Fig.25 chat interface 2503 or the floating control 2502 shown in (b) therein to perform focus switching to select the current chat object. For example, the mobile phone can receive the user's click operation on the Fig.25 floating control 2502 shown in (b) therein, select the floating control 2502 as the focus interface, and provide the service of chatting with the friend Bob corresponding to the floating control 2502 for the user. The mobile phone can receive the user's click operation on the Fig.25 chat interface 2503 shown in (b) therein, select the chat interface 2503 as the focus interface, and provide the service of chatting with the friend Betty corresponding to the chat interface 2503 for the user.

[0348] When the user is chatting with Betty and chatting with Bob on the Fig.25 interface shown in (c) therein, the user may also want to use other applications of the mobile phone. At this time, the mobile phone may receive the user's multi-finger operation 1 (such as two-finger pinch operation) on the Fig.25 chat interface 2504 shown in (c) therein. In response to the user's multi-finger operation 1 on the Fig.25 chat interface 2504 shown in (c) therein, the mobile phone can display Fig.26 the home page 2505 of the instant messaging application shown in (a) therein, and the floating control 2502 and the floating control 2506 are displayed on the home page 2505. The floating control 2506 is used to chat with Betty. At this time, the user may close the instant messaging application, such as switching the instant messaging application from running in the foreground to running in the background. In this case, the mobile phone can continue to display the floating control 2502 and the floating control 2506 in the foreground. That is to say, closing an application in the foreground on the mobile phone will not affect the display of the floating control of the application. For example, the mobile phone can receive the user's click operation on the Fig.26 Home key 2507 shown in (a) therein. In response to the click operation on the Home key 2507, the mobile phone can close the instant messaging application in the foreground and display Fig.26The main interface 2508 described in (b) thereof. It should be noted that in response to a click operation on the Home key 2507, the mobile phone will not shut down Fig.26 The floating controls 2502 and 2506 shown in (a) thereof. As Fig.26 Shown in (b) thereof, the mobile phone can display the floating controls 2502 and 2506 on the main interface 2508. In this way, the mobile phone can receive a click operation by the user on any application icon in the main interface 2508 to start the corresponding application, enabling the user to use the application while chatting with Betty and Bob. In the embodiments of the present application, the mobile phone can display multiple floating controls. In this way, it is convenient for the user to operate multiple applications or multiple windows of the same application on the same interface.

[0349] Embodiment (5): In this embodiment, taking the mobile phone displaying the floating control of the navigation application as an example, the method of the embodiments of the present application is introduced.

[0350] As Fig. 27 Shown in (a) thereof, the mobile phone displays the navigation interface 2701 of the navigation application full screen. The mobile phone can receive a multi-finger operation 1 (such as a two-finger pinch operation) by the user on the navigation interface 2701. For example, the multi-finger operation 1 can be a quick pinch operation, that is, the speed at which the user inputs the multi-finger operation 1 can be greater than a preset speed threshold. In response to the multi-finger operation 1, the mobile phone can display a second interface (such as Fig. 27 The main interface shown in (b) thereof) 2702, and display a minimized floating control 2703 on the main interface 2702. The minimized floating control 2703 is used to display the dynamic information of the navigation interface 2701, such as M381 - M391 indicating that the mobile phone is moving from station M381 to station M391.

[0351] During the process of using the mobile phone navigation, the user may want to watch a video. The mobile phone can receive a click operation by the user on Fig. 27 The application icon of the video application in the main interface 2702 shown in (b) thereof to start the video application. The mobile phone can display Fig. 27 The video interface 2704 shown in (c) thereof, and display the minimized floating control 2703 on the video interface 2704.

[0352] It can be imagined that as the position of the mobile phone moves, the dynamic information of the navigation interface 2701 displayed by the minimized floating control 2703 may also change. In the embodiments of the present application, the mobile phone can display the above-mentioned dynamic information of the navigation interface 2701 in the minimized floating control 2703 in the form of a bubble. For example, the mobile phone can display Fig. 27The minimized floating control 2705 shown in (d) therein, and the minimized floating control 2705 displays the following dynamic information "Station M381 arrived, please transfer to M391" in a bubble manner. It should be noted that the specific manner in which the mobile phone displays dynamic information in a bubble manner includes, but is not limited to Fig. 27 the display manner shown in (d) therein, and other display manners will not be elaborated here.

[0353] In the embodiments of the present application, the mobile phone can display the dynamic information of the corresponding application in the floating control 2703. In this way, even if the mobile phone displays an application in the form of a floating control, it can also display the dynamic information of the application to the user in real time.

[0354] It should be noted that the above embodiments (1)-(5) only give some application scenarios and specific implementation manners of the method provided by the embodiments of the present application by way of example. The application scenarios and specific implementation manners of the method provided by the embodiments of the present application include, but are not limited to, the application scenarios and implementation manners described in the above examples, and other application scenarios and implementation manners will not be elaborated here.

[0355] Some other embodiments of the present application provide an electronic device, which may include: a processor, a memory, and a display screen. The above-mentioned memory and display screen are coupled to the processor. The above-mentioned memory is used to store computer program code, and the computer program code includes computer instructions. When the processor executes the computer instructions, the electronic device can perform the functions or steps executed by the mobile phone in the above method embodiments. The structure of the electronic device can refer to Figure 1A the structure of the electronic device 100 shown.

[0356] The embodiments of the present application also provide a chip system, which can be applied to an electronic device including a wireless charging coil and a memory. The electronic device can achieve forward wireless charging and reverse wireless charging through the wireless charging coil.

[0357] As Fig.28 shown, the chip system 2800 can be applied to an electronic device including a display screen and a memory. The chip system 2800 includes at least one processor 2801 and at least one interface circuit 2802. The processor 2801 and the interface circuit 2802 can be interconnected by lines. For example, the interface circuit 2802 can be used to receive signals from other devices (such as the memory of the electronic device). For another example, the interface circuit 2802 can be used to send signals to other devices (such as the processor 2801). Exemplarily, the interface circuit 2802 can read the instructions stored in the memory and send the instructions to the processor 2801. When the instructions are executed by the processor 2801, the electronic device can execute the respective steps in the above embodiments. Of course, the chip system may also include other discrete devices, and the embodiments of the present application do not make specific limitations thereto.

[0358] The embodiment of the present application also provides a computer storage medium, which includes computer instructions. When the computer instructions run on the above-mentioned electronic device, the electronic device is enabled to execute each function or step that the mobile phone executes in the above method embodiment.

[0359] The embodiment of the present application also provides a computer program product. When the computer program product runs on a computer, the computer is enabled to execute each function or step that the mobile phone executes in the above method embodiment.

[0360] Through the description of the above embodiments, those skilled in the art can clearly understand that for the convenience and conciseness of description, only the above division of each functional module is used as an example. In actual applications, the above functions can be allocated to different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above.

[0361] In several embodiments provided by the present application, it should be understood that the disclosed device and method can be implemented in other ways. For example, the device embodiments described above are only illustrative. For example, the division of the module or unit is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components can be combined or integrated into another device, or some features can be ignored or not executed. Another point is that the displayed or discussed coupling or direct coupling or communication connection between each other can be through some interfaces. The indirect coupling or communication connection of the device or unit can be in an electrical, mechanical or other form.

[0362] The unit described as a separated component may or may not be physically separated. The component displayed as a unit may be a physical unit or multiple physical units, that is, it may be located in one place, or may be distributed to multiple different places. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0363] In addition, each functional unit in each embodiment of the present application can be integrated in a processing unit, or each unit can exist physically alone, or two or more units can be integrated in one unit. The above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.

[0364] When the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a readable storage medium. Based on this understanding, the technical solution of the embodiments of the present application, in essence, or the part that contributes to the prior art, or all or part of this technical solution, can be embodied in the form of a software product. This software product is stored in a storage medium and includes several instructions for causing a device (which can be a single-chip microcomputer, a chip, etc.) or a processor to execute all or part of the steps of the methods described in the various embodiments of the present application. The aforementioned storage medium includes: various media that can store program codes, such as USB flash drives, mobile hard disks, read only memory (ROM), random access memory (RAM), magnetic disks, or optical discs.

[0365] The above content is only the specific implementation manner of the present application, but the protection scope of the present application is not limited thereto. Any changes or substitutions within the technical scope disclosed in the present application should be covered by the protection scope of the present application. Therefore, the protection scope of the present application should be subject to the protection scope of the claims.

Claims

1. A multi-finger interaction method, characterized in that, the method includes: The electronic device displays a first interface of a first application in full screen; The electronic device receives a first multi-finger operation of the user on the first interface; wherein, the first multi-finger operation is a pinching operation of at least two fingers; the first multi-finger operation includes a two-finger pinching operation; In response to the first multi-finger operation on the first interface, the electronic device displays a second interface and displays a first floating control on the second interface; wherein, the first floating control is used to display information of the first interface, and the first floating control is any one of a floating window, a floating ball, a floating card or a floating icon; The display position of the first floating control on the display screen of the electronic device is determined according to two touch points on the display screen when the fingers corresponding to the two-finger pinching operation leave the display screen; The electronic device receives a second multi-finger operation or a third multi-finger operation of the user on the first floating control; wherein, the second multi-finger operation includes a multi-finger long-press operation and a dragging operation, and the third multi-finger operation includes a multi-finger long-press operation; In response to the second multi-finger operation or the third multi-finger operation on the first floating control, the electronic device displays the first interface and the second interface in split screen.

2. The method according to claim 1, characterized in that, the first multi-finger operation includes at least one of the following pinching operations: A two-finger pinching operation in which one finger slides into the display screen of the electronic device from the left border of the electronic device and the other finger slides into the display screen from the right border of the electronic device; or, A two-finger pinching operation in which one finger slides into the display screen of the electronic device from the upper border of the electronic device and the other finger slides into the display screen from the lower border of the electronic device; or, A two-finger pinching operation in which one finger slides into the display screen of the electronic device from the upper border or the lower border of the electronic device and the other finger slides into the display screen from the left border or the right border of the electronic device; or, A two-finger pinching operation in which one finger slides into the display screen of the electronic device from any side border of the electronic device and the other finger slides within the display screen; or, A two-finger pinching operation in which two fingers slide within the display screen of the electronic device.

3. The method according to claim 1, characterized in that, the display position of the first floating control on the display screen of the electronic device is determined according to two touch points on the display screen when the fingers corresponding to the two-finger pinching operation leave the display screen, including, the display position of the first floating control on the display screen of the electronic device is the intersection of the center point of the first floating control and a first connection line; wherein, the first connection line is the connection line of the two touch points on the display screen when the fingers corresponding to the two-finger pinching operation leave the display screen.

4. The method according to claim 2, characterized in that, the first multi-finger operation is a two-finger pinching operation in which one finger slides into the display screen from the left border of the electronic device and the other finger slides into the display screen from the right border of the electronic device; The center point of the first floating control coincides with the intersection point of the first center line of the display screen and the first connection line; Wherein, the first center line is parallel to the left and right borders of the display screen, and the distance between the first center line and the left border of the display screen is equal to the distance between the first center line and the right border of the display screen; the first connection line is the connection line of two touch points on the display screen when the fingers corresponding to the two-finger pinch operation leave the display screen.

5. The method according to claim 2, Characterized in that, The first multi-finger operation is a two-finger pinch operation in which one finger slides into the display screen from the upper border of the electronic device and the other finger slides into the display screen from the lower border of the electronic device; The center point of the first floating control coincides with the intersection point of the second center line of the display screen and the first connection line; Wherein, the second center line is parallel to the upper and lower borders of the display screen, and the distance between the second center line and the upper border of the display screen is equal to the distance between the second center line and the lower border of the display screen; the first connection line is the connection line of two touch points on the display screen when the fingers corresponding to the two-finger pinch operation leave the display screen.

6. The method according to claim 2, Characterized in that, The first multi-finger operation is a two-finger pinch operation in which one finger slides into the display screen from the upper or lower border of the electronic device and the other finger slides into the display screen from the left or right border of the electronic device; The center point of the first floating control coincides with the first orthocenter; Wherein, the first orthocenter is the intersection point of the following two lines: a line perpendicular to the upper or lower border where one finger slides in and passing through the touch point on the display screen where the one finger leaves the display screen, and a line perpendicular to the left or right border where the other finger slides in and passing through the touch point on the display screen where the other finger leaves the display screen.

7. The method according to any one of claims 1-6, Characterized in that, The displaying the first floating control on the second interface includes: The electronic device displays the first floating control of a preset size on the second interface; or, The electronic device displays a dynamic image of the first floating control shrinking from large to small along with the first multi-finger operation on the second interface until the fingers leave the display screen of the electronic device; or, If the moving speed of the touch points of the first multi-finger operation on the display screen of the electronic device is greater than a preset speed threshold, the electronic device displays the first floating control of a preset size on the second interface, and if the moving speed is less than or equal to the preset speed threshold, the electronic device displays a dynamic image of the first floating control shrinking from large to small along with the first multi-finger operation on the second interface until the fingers leave the display screen of the electronic device.

8. The method according to any one of claims 1-6, Characterized in that, Wherein, The multi-finger long-press operation is a long-press operation with at least two fingers. The multi-finger long-press operation and the dragging operation are continuous operations where the fingers do not leave the display screen of the electronic device. The method further includes: In response to the second multi-finger operation, the electronic device displays a dynamic image of the first floating control moving along the sliding trajectory of the dragging operation until the finger leaves the display screen of the electronic device.

9. The method according to any one of claims 1-6, wherein, the multi-finger long-press operation is a long-press operation with at least two fingers; In response to the third multi-finger operation on the first floating control, the electronic device displays the first floating control in an editing state; The electronic device receives a dragging operation by the user on the first floating control in the editing state. The dragging operation and the third multi-finger operation are continuous operations where the fingers do not leave the display screen of the electronic device; In response to the dragging operation, the electronic device displays a dynamic image of the first floating control moving along the sliding trajectory of the dragging operation until the finger leaves the display screen of the electronic device, and the first floating control exits the editing state.

10. The method according to claim 9, wherein, the method further includes: If the distance between the edge of the first floating control and the side border of the display screen is less than a preset distance threshold, the electronic device displays the first interface and the second interface in split-screen mode.

11. The method according to any one of claims 1-6, 10, wherein, the method further includes: The electronic device receives a fourth multi-finger operation by the user on the first floating control. The fourth multi-finger operation is an outward expansion operation with at least two fingers; In response to the fourth multi-finger operation, the electronic device displays the first interface in full screen.

12. The method according to claim 11, wherein, the step of in response to the fourth multi-finger operation, the electronic device displays the first interface in full screen includes: In response to the fourth multi-finger operation, the electronic device displays a dynamic image of the first floating control growing from small to full screen to display the first interface; or, In response to the fourth multi-finger operation, the electronic device displays a dynamic image of the first floating control growing from small to large with the fourth multi-finger operation until the finger leaves the display screen of the electronic device, and then the electronic device displays the first interface in full screen; or, In response to the fourth multi-finger operation, if the moving speed of the touch point of the fourth multi-finger operation on the display screen of the electronic device is greater than a preset speed threshold, the electronic device directly displays the first interface in full screen. If the moving speed is less than or equal to the preset speed threshold, the electronic device displays a dynamic image of the first floating control growing from small to full screen to display the first interface.

13. The method according to claim 10, wherein, after the electronic device displays the first interface and the second interface in split-screen mode, the method further includes: The electronic device receives a first multi-finger operation by the user on the first interface in split-screen display. In response to the first multi-finger operation on the first interface of the split-screen display, the electronic device displays the second interface full-screen and displays the first floating control on the second interface.

14. The method according to claim 10, wherein, after the electronic device displays the first interface and the second interface in split-screen, the method further includes: the electronic device receives a fourth multi-finger operation of the user on the second interface of the split-screen display; wherein, the fourth multi-finger operation is an outward expansion operation of at least two fingers; In response to the fourth multi-finger operation on the second interface of the split-screen display, the electronic device displays the second interface full-screen and displays the first floating control on the second interface.

15. The method according to claim 10, wherein, after the electronic device displays the first interface and the second interface in split-screen, the method further includes: the electronic device receives a third multi-finger operation of the user on the first interface of the split-screen display; wherein, the third multi-finger operation includes a multi-finger long-press operation, and the multi-finger long-press operation is a long-press operation of at least two fingers; In response to the third multi-finger operation on the first interface of the split-screen display, the electronic device displays the first interface in an editing state; the electronic device receives a dragging operation of the user on the first interface in the editing state, and the dragging operation and the third multi-finger operation are continuous operations where the fingers do not leave the display screen of the electronic device; In response to the dragging operation, the electronic device displays a dynamic image of the first interface in the editing state moving along the sliding trajectory of the dragging operation until the fingers leave the display screen of the electronic device, the first interface exits the editing state, and the electronic device adjusts the positions of the first interface and the second interface in split-screen display.

16. The method according to claim 10, wherein, after the electronic device displays the first interface and the second interface in split-screen, the method further includes: the electronic device receives a fifth multi-finger operation of the user on the second interface; wherein, the fifth multi-finger operation is a pinching operation of at least two fingers or an outward expansion operation of at least two fingers; In response to the fifth multi-finger operation on the second interface, the electronic device adjusts the sizes of the first interface and the second interface in split-screen display.

17. The method according to claim 16, wherein, the fifth multi-finger operation is an outward expansion operation of at least two fingers; The electronic device adjusts the sizes of the first interface and the second interface in split-screen display, including: the electronic device displays a dynamic image in which the size of the second interface gradually increases and the size of the first interface gradually decreases as the fifth multi-finger operation is performed until the fingers leave the display screen of the electronic device.

18. The method according to claim 16, wherein, the fifth multi-finger operation is a pinching operation of at least two fingers; The electronic device adjusts the sizes of the first interface and the second interface in split-screen display, including: The electronic device displays a dynamic image in which the size of the second interface decreases from large to small as the fifth multi-finger operation is performed, and the size of the first interface increases from small to large as the fifth multi-finger operation is performed, until the finger leaves the display screen of the electronic device.

19. The method according to any one of claims 1-6, 10, 12-18, wherein, The first floating control is used to display information of the first interface, including: The electronic device displays a third interface of the first application on the first floating control, and the third interface is a reduced version of the first interface; or, The electronic device displays an application icon of the first application on the first floating control; or, The electronic device displays dynamic information of the first interface on the first floating control.

20. The method according to any one of claims 1-6, 10, 12-18, wherein, Both the first interface and the second interface are interfaces of the first application, and the second interface is the home page of the first application or an interface at a higher level than the first interface; or, The second interface is an interface of a second application, and the second application is any one of one or more applications that have been recently run and not closed on the electronic device except the first application; or, The second interface is the main interface of the electronic device.

21. An electronic device, wherein, The electronic device includes: a display screen, a memory, and a processor; wherein, the display screen is used to display an image or interface generated by the processor; the memory is used to store computer program code, and the computer program code includes computer instructions; when the computer instructions are executed by the processor, the electronic device is caused to perform the following operations: Full-screen display a first interface of a first application; Receive a first multi-finger operation of the user on the first interface; wherein, the first multi-finger operation is a pinching operation of at least two fingers; the first multi-finger operation includes a two-finger pinching operation; In response to the first multi-finger operation on the first interface, display a second interface and display a first floating control on the second interface; wherein, the first floating control is used to display information of the first interface, and the first floating control is any one of a floating window, a floating ball, a floating card, or a floating icon; The display position of the first floating control on the display screen of the electronic device is determined according to two touch points on the display screen when the fingers corresponding to the two-finger pinching operation leave the display screen; Receive a second multi-finger operation or a third multi-finger operation of the user on the first floating control; wherein, the second multi-finger operation includes a multi-finger long-press operation and a dragging operation, and the third multi-finger operation includes a multi-finger long-press operation; In response to the second multi-finger operation or the third multi-finger operation on the first floating control, display the first interface and the second interface in split screen.

22. The electronic device according to claim 21, wherein, The first multi-finger operation includes at least one of the following pinching operations: A two-finger pinching operation where one finger swipes into the display screen from the left side frame of the electronic device and the other finger swipes into the display screen from the right side frame of the electronic device; or, A two-finger pinching operation where one finger swipes into the display screen from the upper side frame of the electronic device and the other finger swipes into the display screen from the lower side frame of the electronic device; or, A two-finger pinching operation where one finger swipes into the display screen from the upper side frame or the lower side frame of the electronic device and the other finger swipes into the display screen from the left side frame or the right side frame of the electronic device; or, A two-finger pinching operation where one finger swipes into the display screen from any side frame of the electronic device and the other finger slides within the display screen; or, A two-finger pinching operation where two fingers slide within the display screen.

23. The electronic device according to claim 21, characterized in that the display position of the first floating control on the display screen of the electronic device is determined by two touch points on the display screen when the fingers corresponding to the two-finger pinching operation leave the display screen, including the display position of the first floating control on the display screen of the electronic device is the intersection point where the center point of the first floating control coincides with the first connection line; wherein, the first connection line is the connection line of the two touch points on the display screen when the fingers corresponding to the two-finger pinching operation leave the display screen.

24. The electronic device according to claim 22, characterized in that the first multi-finger operation is a two-finger pinching operation where one finger swipes into the display screen from the left side frame of the electronic device and the other finger swipes into the display screen from the right side frame of the electronic device; the center point of the first floating control coincides with the intersection point of the first center line of the display screen and the first connection line; wherein, the first center line is parallel to the left side frame and the right side frame of the display screen, and the distance between the first center line and the left side frame of the display screen is equal to the distance between the first center line and the right side frame of the display screen; the first connection line is the connection line of the two touch points on the display screen when the fingers corresponding to the two-finger pinching operation leave the display screen.

25. The electronic device according to claim 22, characterized in that the first multi-finger operation is a two-finger pinching operation where one finger swipes into the display screen from the upper side frame of the electronic device and the other finger swipes into the display screen from the lower side frame of the electronic device; the center point of the first floating control coincides with the intersection point of the second center line of the display screen and the first connection line; wherein, the second center line is parallel to the upper side frame and the lower side frame of the display screen, and the distance between the second center line and the upper side frame of the display screen is equal to the distance between the second center line and the lower side frame of the display screen; the first connection line is the connection line of the two touch points on the display screen when the fingers corresponding to the two-finger pinching operation leave the display screen.

26. The electronic device according to claim 22, characterized in that The first multi-finger operation is a two-finger pinching operation in which one finger swipes into the display screen from the upper or lower side frame of the electronic device, and the other finger swipes into the display screen from the left or right side frame of the electronic device; The center point of the first floating control coincides with the first orthocenter; Wherein, the first orthocenter is the intersection point of the following two lines: a line perpendicular to the upper or lower side frame into which the one finger swipes and passing through the touch point on the display screen when the one finger leaves the display screen, and a line perpendicular to the left or right side frame into which the other finger swipes and passing through the touch point on the display screen when the other finger leaves the display screen.

27. The electronic device according to any one of claims 21-26, characterized in that when the computer instruction is executed by the processor, the electronic device is further caused to perform the following operations: displaying the first floating control of a preset size on the second interface; or, displaying a dynamic image of the first floating control shrinking from large to small along with the first multi-finger operation on the second interface until the finger leaves the display screen; or, if the moving speed of the touch point of the first multi-finger operation on the display screen is greater than a preset speed threshold, displaying the first floating control of a preset size on the second interface, and if the moving speed is less than or equal to the preset speed threshold, displaying a dynamic image of the first floating control shrinking from large to small along with the first multi-finger operation on the second interface until the finger leaves the display screen.

28. The electronic device according to any one of claims 21-26, characterized in that when the computer instruction is executed by the processor, the electronic device is further caused to perform the following operations: in response to the second multi-finger operation, displaying a dynamic image of the first floating control moving along the sliding trajectory of the dragging operation until the finger leaves the display screen, wherein the multi-finger long-press operation is a long-press operation of at least two fingers, and the multi-finger long-press operation and the dragging operation are continuous operations in which the fingers do not leave the display screen.

29. The electronic device according to any one of claims 21-26, characterized in that when the computer instruction is executed by the processor, the electronic device is further caused to perform the following operations: in response to the third multi-finger operation on the first floating control, displaying the first floating control in an editing state; the multi-finger long-press operation is a long-press operation of at least two fingers; receiving a dragging operation of the user on the first floating control in the editing state, the dragging operation and the third multi-finger operation being continuous operations in which the fingers do not leave the display screen; in response to the dragging operation, displaying a dynamic image of the first floating control moving along the sliding trajectory of the dragging operation until the finger leaves the display screen, and the first floating control exits the editing state.

30. The electronic device according to claim 29, characterized in that when the computer instruction is executed by the processor, the electronic device is further caused to perform the following operations: If the distance between the edge of the first floating control and the side border of the display screen is less than a preset distance threshold, the electronic device displays the first interface and the second interface in split screen.

31. The electronic device according to any one of claims 21-26, 30, characterized in that, when the computer instruction is executed by the processor, the electronic device further performs the following operations: receiving a fourth multi-finger operation of the user on the first floating control, where the fourth multi-finger operation is an outward expansion operation of at least two fingers; in response to the fourth multi-finger operation, displaying the first interface full screen.

32. The electronic device according to claim 31, characterized in that, when the computer instruction is executed by the processor, the electronic device further performs the following operations: in response to the fourth multi-finger operation, displaying a dynamic image of the first floating control changing from small to large until the first interface is displayed full screen; or, in response to the fourth multi-finger operation, displaying a dynamic image of the first floating control changing from small to large along with the fourth multi-finger operation until the finger leaves the display screen, and then the electronic device displays the first interface full screen; or, in response to the fourth multi-finger operation, if the moving speed of the touch point of the fourth multi-finger operation on the display screen is greater than a preset speed threshold, directly displaying the first interface full screen, and if the moving speed is less than or equal to the preset speed threshold, displaying a dynamic image of the first floating control changing from small to large until the first interface is displayed full screen.

33. The electronic device according to claim 30, characterized in that, when the computer instruction is executed by the processor, the electronic device further performs the following operations: after splitting the screen to display the first interface and the second interface, receiving a first multi-finger operation of the user on the first interface in split screen; in response to the first multi-finger operation on the first interface in split screen, displaying the second interface full screen and displaying the first floating control on the second interface.

34. The electronic device according to claim 30, characterized in that, when the computer instruction is executed by the processor, the electronic device further performs the following operations: after splitting the screen to display the first interface and the second interface, receiving a fourth multi-finger operation of the user on the second interface in split screen; wherein, the fourth multi-finger operation is an outward expansion operation of at least two fingers; in response to the fourth multi-finger operation on the second interface in split screen, displaying the second interface full screen and displaying the first floating control on the second interface.

35. The electronic device according to claim 30, characterized in that, when the computer instruction is executed by the processor, the electronic device further performs the following operations: after splitting the screen to display the first interface and the second interface, receiving a third multi-finger operation of the user on the first interface in split screen; wherein, the third multi-finger operation includes a multi-finger long-press operation, and the multi-finger long-press operation is a long-press operation of at least two fingers; In response to the third multi-finger operation on the first interface of the split-screen display, display the first interface in an editing state; Receive a dragging operation by the user on the first interface in the editing state, where the dragging operation and the third multi-finger operation are continuous operations without the fingers leaving the display screen; In response to the dragging operation, display a dynamic image of the first interface in the editing state moving along the sliding trajectory of the dragging operation until the fingers leave the display screen, at which point the first interface exits the editing state and the positions of the first interface and the second interface in the split-screen display are adjusted.

36. The electronic device according to claim 30, wherein, when the computer instructions are executed by the processor, the electronic device is further caused to perform the following operations: After the first interface and the second interface are displayed in a split screen, receive a fifth multi-finger operation by the user on the second interface; wherein, the fifth multi-finger operation is a pinching operation of at least two fingers or an expanding operation of at least two fingers; In response to the fifth multi-finger operation on the second interface, adjust the sizes of the first interface and the second interface in the split-screen display.

37. The electronic device according to claim 36, wherein, the fifth multi-finger operation is an expanding operation of at least two fingers; when the computer instructions are executed by the processor, the electronic device is further caused to perform the following operations: Display a dynamic image of the size of the second interface increasing from small to large and the size of the first interface decreasing from large to small along with the fifth multi-finger operation until the fingers leave the display screen.

38. The electronic device according to claim 36, wherein, the fifth multi-finger operation is a pinching operation of at least two fingers; when the computer instructions are executed by the processor, the electronic device is further caused to perform the following operations: Display a dynamic image of the size of the second interface decreasing from large to small and the size of the first interface increasing from small to large along with the fifth multi-finger operation until the fingers leave the display screen.

39. The electronic device according to any one of claims 21-26, 30, 32-38, wherein, when the computer instructions are executed by the processor, the electronic device is further caused to perform the following operations: Display the third interface of the first application on the first floating control, where the third interface is the first interface in a reduced size; or, Display the application icon of the first application on the first floating control; or, Display the dynamic information of the first interface on the first floating control.

40. The electronic device according to any one of claims 21-26, 30, 32-38, wherein, both the first interface and the second interface are interfaces of the first application, and the second interface is the home page of the first application or the interface of the upper level of the first interface; or, the second interface is an interface of a second application, and the second application is any one of one or more applications that have been recently run and not closed on the electronic device other than the first application; or, The second interface is the main interface of the electronic device.

41. A chip system, characterized in that, the chip system is applied to an electronic device including a display screen and a memory; the chip system includes one or more interface circuits and one or more processors; the interface circuits and the processors are interconnected by lines; the interface circuits are configured to receive signals from the memory and send the signals to the processors, and the signals include computer instructions stored in the memory; when the processors execute the computer instructions, the electronic device executes the method according to any one of claims 1-20.

42. A computer-readable storage medium, characterized in that, it includes computer instructions, and when the computer instructions run on an electronic device, the electronic device is caused to execute the method according to any one of claims 1-20.

43. A computer program product, characterized in that, when the computer program product runs on a computer, the computer is caused to execute the method according to any one of claims 1-20.

Citation Information

Patent Citations

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

    CN109445572A

  • View mode switch of graphical user interface

    US20140298254A1