Application interface display method and electronic device
By displaying the interface of the first application on the display screen of the electronic device and recommending related applications according to the user's operation, users can choose to trigger split-screen display or floating window display, which solves the problem of inconvenient use of split-screen functions in the prior art and improves the The efficiency of user experience and task parallelism.
Patent Information
- Application Number
- CN202111471122.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-12-03
- Publication Date
- 2025-02-18
- Estimated Expiration
- 2041-12-03
AI Technical Summary
Existing electronic devices are not convenient enough when using split-screen functions, making it difficult for users to understand when and how to use split-screen functions, affecting the user experience.
By displaying the interface of the first application on the display screen and recommending related applications based on the user's operation on the target object in the interface, the user can trigger the split screen display or the floating window display by selecting the recommended application.
It realizes the judgment of split-screen needs based on user scenario behavior, provides intelligent split-screen services, and improves the efficiency of user experience and task parallelism.
Smart Images

Figure CN116225287B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of communication technology, and in particular to a display method for an application interface and an electronic device. Background Art
[0002] With the continuous development of electronic devices and screen technology, more and more electronic devices with display screens are used in people's daily life and work. The display screens of electronic devices are getting bigger and bigger, which can provide users with richer information and bring users a better user experience.
[0003] Currently, when users use electronic devices with larger display screens, such as foldable screen devices and tablet computers, these electronic devices usually have a split-screen function, but users may not know how and when to use the split-screen function, which affects the user experience. Summary of the invention
[0004] The present application provides a method for displaying an application interface and an electronic device to solve the problem that an electronic device with a larger display screen is not convenient enough when applying a split-screen function.
[0005] In a first aspect, the present application provides a method for displaying an application interface, the method comprising:
[0006] The electronic device displays the interface of the first application on the display screen;
[0007] The electronic device receives a first operation of a user on a target object in an interface of a first application;
[0008] In response to the first operation, the electronic device displays a second application identifier on the display screen, and the second application corresponding to the second application identifier is an application recommended based on the target object;
[0009] The electronic device receives a second operation of the user on the second application identifier;
[0010] In response to the second operation, the electronic device simultaneously displays the interface of the first application and the interface of the second application on the display screen.
[0011] Through the scheme of this application, it is possible to recommend related applications based on the target object according to the user's operation (such as selection or copying) on the object (such as text or picture) displayed in the current interface, and display them to the user for selection. When the user selects a recommended application, it can trigger the simultaneous display (such as split-screen display or floating window display) of the current interface and the interface of the recommended application. Since this application can determine the need for split-screen based on the user's scenario behavior, and actively and targetedly provide recommended applications and intelligent split-screen services, it can achieve a more efficient task parallel experience and improve the user experience.
[0012] In some possible implementations, in response to the second operation, the electronic device simultaneously displays the interface of the first application and the interface of the second application on the display screen, including:
[0013] In response to the second operation, if the first application and the second application both support split-screen display, the electronic device displays the interface of the first application and the interface of the second application in split-screen on the display screen.
[0014] Through the above scheme, for applications that support split-screen display, after the user selects a recommended application, the electronic device can give priority to displaying the current display interface and the interface of the recommended application through split-screen display, which can improve the display effect and facilitate user viewing.
[0015] In some possible implementations, in response to the second operation, the electronic device simultaneously displays the interface of the first application and the interface of the second application on the display screen, including:
[0016] In response to the second operation, if the first application and / or the second application does not support split-screen display, and the second application supports floating window display, the electronic device displays the interface of the second application in a floating window on the interface of the first application.
[0017] Through the above scheme, for applications that do not support split-screen display but support floating window display, after the user selects a recommended application, the electronic device can choose to display the interface of the application selected by the user in a floating window display on the current display interface, which can improve the display effect and facilitate user viewing.
[0018] In some possible implementations, in response to the second operation, the electronic device simultaneously displays the interface of the first application and the interface of the second application on the display screen, including:
[0019] In response to the second operation, if the first application and / or the second application do not support split-screen display, and the first application supports floating window display, the electronic device displays the interface of the second application in full screen on the display screen, and displays the interface of the first application in a floating window on the interface of the second application.
[0020] Through the above scheme, for applications that do not support split-screen display but support floating window display, after the user selects a recommended application, the electronic device can choose to display the interface of the application selected by the user in full screen, and display the current display interface in a floating window display mode. This can improve the display effect and facilitate user viewing.
[0021] In some possible implementations, after the electronic device receives a second operation of the user on the second application identifier, the method further includes:
[0022] In response to the second operation, if the first application and / or the second application does not support split-screen display, and both the first application and the second application do not support floating window display, the electronic device displays the interface of the second application in full screen on the display screen.
[0023] Through the above solution, for applications that do not support split-screen display or floating window display, after the user selects a recommended application, the electronic device can choose to display the interface of the application selected by the user in full screen for easy viewing by the user.
[0024] This application solution can provide different window form recommendations based on the user's current status and recommended services, thereby improving the user experience.
[0025] In some possible implementations, the target object may be text or a picture, or other forms of content.
[0026] In some possible implementations, when the target object is text, the first operation is a selection or copy operation on the target object; or, when the target object is a picture, the first operation includes a text recognition operation on the target object, and a selection or copy operation on the text content in the text recognition result.
[0027] In some possible implementations, the electronic device displays the interface of the first application on the display screen, including:
[0028] The electronic device displays the interface of the first application on the display screen in full screen or split screen; or,
[0029] The electronic device displays the interface of the first application and the interface of the third application in split screen on the display screen.
[0030] In some possible implementations, when the electronic device displays a first sub-interface and a second sub-interface of the first application on the display screen in split screen, the first operation is an operation of the user on the target object in the first sub-interface;
[0031] The electronic device displays the interface of the first application and the interface of the second application on the display screen at the same time, including:
[0032] If the second application supports split-screen display, the electronic device displays the first sub-interface and the interface of the second application in split-screen;
[0033] The electronic device displays the second sub-interface in a floating ball manner, or hides the second sub-interface.
[0034] Through the above scheme, in the split-screen display scenario, if the user selects a recommended application, the interface of the application selected by the user can replace the application interface in one of the split-screen windows, and the replaced application interface is displayed with a floating ball, which can improve the display effect and facilitate user viewing.
[0035] In some possible implementations, when the electronic device displays a first sub-interface and a second sub-interface of the first application on the display screen in split screen, the first operation is an operation of the user on the target object in the first sub-interface;
[0036] The electronic device simultaneously displays the interface of the first application and the interface of the second application on the display screen, including:
[0037] If the second application does not support split-screen display but supports floating window display, the electronic device maintains split-screen display of the first sub-interface and the second sub-interface of the first application, and displays the interface of the second application in the form of a floating window on the second sub-interface.
[0038] Through the above solution, in the split-screen display scenario, if the user selects a recommended application, the interface of the application selected by the user can be displayed in a floating ball on the split-screen window, which can improve the display effect and facilitate user viewing.
[0039] In some possible implementations, when the electronic device displays the interface of the first application and the interface of the third application in split screen, the electronic device simultaneously displays the interface of the first application and the interface of the second application on the display screen, including:
[0040] If the second application supports split-screen display, the electronic device displays the interface of the first application and the interface of the second application in split-screen;
[0041] The electronic device displays the interface of the third application in a floating ball manner, or hides the interface of the third application.
[0042] Through the above scheme, in the split-screen display scenario, if the user selects a recommended application, the interface of the application selected by the user can replace the application interface in one of the split-screen windows, and the replaced application interface is displayed with a floating ball, which can improve the display effect and facilitate user viewing.
[0043] In some possible implementations, when the electronic device displays the interface of the first application and the interface of the third application in split screen, the electronic device simultaneously displays the interface of the first application and the interface of the second application on the display screen, including:
[0044] If the second application does not support split-screen display but supports floating window display, the electronic device maintains split-screen display of the interface of the first application and the interface of the third application, and displays the interface of the second application in the form of a floating window on the interface of the third application.
[0045] Through the above solution, in the split-screen display scenario, if the user selects a recommended application, the interface of the application selected by the user can be displayed in a floating ball on the split-screen window, which can improve the display effect and facilitate user viewing.
[0046] In some possible implementations, the second application identifier includes at least one of the following: an icon, text, a preview image, a thumbnail image, and may also include other forms of application identifiers.
[0047] In some possible implementations, the second application identifier includes a drop-down control; and the method further includes:
[0048] When the electronic device receives an operation of the drop-down control by the user, the electronic device displays a recommendation menu bar, wherein the recommendation menu bar includes the second application identifier and a fourth application identifier, and the fourth application corresponding to the fourth application identifier is an application recommended based on the target object;
[0049] If the electronic device receives an operation on the fourth application identifier by the user, the electronic device simultaneously displays the interface of the first application and the interface of the fourth application on the display screen.
[0050] Through the above scheme, according to the user's operation (such as selection or copying) on the object (such as text or picture) displayed in the current interface, multiple related applications can be recommended based on the target object and displayed to the user for selection, so as to facilitate user viewing.
[0051] In a second aspect, the present application provides a method for displaying an application interface, characterized by comprising:
[0052] When the foldable screen of the electronic device is in a folded state, the electronic device displays the interface of the first application through the outer screen of the foldable screen;
[0053] When the first application and the second application meet the preset conditions, the electronic device displays split-screen prompt information through the external screen, where the split-screen prompt information is used to prompt that the split-screen display can be triggered by unfolding the foldable screen;
[0054] If the electronic device receives an operation from the user to unfold the foldable screen, the electronic device displays the interface of the first application and the interface of the second application through the inner screen of the foldable screen.
[0055] Through this application scheme, it is possible to determine whether there is a split-screen demand based on the user's scenario behavior. After determining that there is a split-screen demand, intelligent split-screen services can be provided proactively and in a targeted manner, which can achieve a more efficient task parallel experience.
[0056] In some possible implementations, the above-mentioned preset condition includes any of the following:
[0057] The number of times the first application and the second application are switched and displayed within a preset time period is greater than or equal to a preset number;
[0058] The electronic device receives a new message reminder of the second application while displaying the interface of the first application.
[0059] Through the above solution, when the foldable screen is in the folded state, when it is detected that two applications are frequently switched within a preset time period, or when a new message reminder is received, it is determined that there is a need for split-screen, and the user is prompted to trigger the split-screen display by unfolding the foldable screen, thereby actively and targetedly providing intelligent split-screen services, which can achieve a more efficient task parallel experience.
[0060] In some possible implementations, the method further includes:
[0061] When the preset condition is met, the electronic device displays floating window prompt information through the external screen, where the floating window prompt information is used to prompt that the display of the floating window can be triggered by unfolding the foldable screen;
[0062] If the electronic device receives an operation from the user to unfold the foldable screen, the electronic device displays the interface of the first application in full screen through the inner screen of the foldable screen, and displays the interface of the second application in a floating window.
[0063] Through the present application scheme, intelligent split-screen services are provided to users proactively and in a targeted manner. The interfaces of two applications can be displayed in a split-screen manner, or the interfaces of two applications can be displayed simultaneously in a floating window display. This can improve the display effect and facilitate user viewing.
[0064] In some possible implementations, the method further includes:
[0065] If the electronic device receives an operation from the user to unfold the foldable screen, the electronic device switches the inner screen to a bright screen state and switches the outer screen to an off screen state.
[0066] Through the solution of this application, when switching from full-screen display of the external screen to split-screen display of the internal screen, the external screen can be turned off while the internal screen is lit, saving energy.
[0067] In some possible implementations, the method further includes:
[0068] When the foldable screen is in the unfolded state, if the electronic device receives an operation of closing the foldable screen by the user, the electronic device switches the outer screen to the light-on state and switches the inner screen to the off-screen state;
[0069] The electronic device continues to display the interface of the first application through the external screen.
[0070] Through the solution of the present application, in a scenario where the user triggers a switch from split-screen display on the inner screen to full-screen display on the outer screen, the inner screen can be turned off while the outer screen is turned on, thus saving energy.
[0071] In a third aspect, the present application provides a display device for an application interface, the device comprising a unit for executing the method in the first aspect. The device may correspond to executing the method described in the first aspect, and the relevant description of the unit in the device can refer to the description of the first aspect, which will not be repeated here for the sake of brevity.
[0072] The method described in the first aspect above can be implemented by hardware, or by hardware executing corresponding software. The hardware or software includes one or more modules or units corresponding to the above functions. For example, a processing module or unit, a display module or unit, etc.
[0073] In a fourth aspect, the present application provides an electronic device, comprising a processor, the processor being coupled to a memory, the memory being used to store computer programs or instructions, and the processor being used to execute the computer programs or instructions stored in the memory, so that the method in the first aspect is executed.
[0074] For example, the processor is used to execute the computer program or instructions stored in the memory, so that the device performs the method in the first aspect.
[0075] In a fifth aspect, the present application provides a computer-readable storage medium on which is stored a computer program (also referred to as instructions or codes) for implementing the method in the first aspect.
[0076] For example, when the computer program is executed by a computer, the computer can perform the method in the first aspect.
[0077] In a sixth aspect, the present application provides a chip, including a processor. The processor is used to read and execute a computer program stored in a memory to perform the method in the first aspect and any possible implementation thereof.
[0078] Optionally, the chip also includes a memory, and the memory is connected to the processor via a circuit or wire.
[0079] In a seventh aspect, the present application provides a chip system, including a processor. The processor is used to read and execute a computer program stored in a memory to perform the method in the first aspect and any possible implementation thereof.
[0080] Optionally, the chip system also includes a memory, and the memory is connected to the processor via a circuit or wire.
[0081] In an eighth aspect, the present application provides a computer program product, which includes a computer program (also referred to as instructions or codes), and when the computer program is executed by a computer, the computer implements the method in the first aspect.
[0082] It can be understood that the beneficial effects of the third to eighth aspects mentioned above can be found in the relevant descriptions of the first and second aspects mentioned above, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0083] Figure 1 A schematic diagram of the foldable screen of an electronic device provided in an embodiment of the present application;
[0084] Figure 2 A schematic diagram of a flow chart of a method for displaying an application interface provided in an embodiment of the present application;
[0085] Figure 3 A schematic diagram of a user interface applied to a method for displaying an application interface provided in an embodiment of the present application;
[0086] Figure 4 A user interface diagram of an application interface display method provided in an embodiment of the present application;
[0087] Figure 5 A user interface diagram of an application interface display method provided in an embodiment of the present application;
[0088] Figure 6 A user interface diagram of an application interface display method provided in an embodiment of the present application;
[0089] Figure 7 A user interface diagram of an application interface display method provided in an embodiment of the present application;
[0090] Figure 8 A user interface diagram of an application interface display method provided in an embodiment of the present application;
[0091] Fig. 9 A user interface diagram of an application interface display method provided in an embodiment of the present application;
[0092] Fig.10 A user interface diagram of an application interface display method provided in an embodiment of the present application;
[0093] Fig.11 A user interface diagram of an application interface display method provided in an embodiment of the present application;
[0094] Fig.12 A schematic diagram of a flow chart of another method for displaying an application interface provided in an embodiment of the present application;
[0095] Fig.13 A schematic diagram of a split-screen opening control provided in an embodiment of the present application;
[0096] Fig.14 A schematic diagram of a user interface for applying another method for displaying an application interface provided in an embodiment of the present application;
[0097] Fig.15 A schematic diagram of an application scenario of another method for displaying an application interface provided in an embodiment of the present application;
[0098] Fig.16 A flowchart of another method for displaying an application interface provided in an embodiment of the present application;
[0099] Fig.17 A schematic diagram of a user interface for applying another method for displaying an application interface provided in an embodiment of the present application;
[0100] Fig.18 A flowchart of another method for displaying an application interface provided in an embodiment of the present application;
[0101] Fig.19 A schematic diagram of a user interface for applying another method for displaying an application interface provided in an embodiment of the present application;
[0102] Fig. 20 A schematic diagram of the architecture of an operating system used in the method for displaying an application interface provided in an embodiment of the present application;
[0103] Fig.21 A schematic diagram of the structure of a display device for an application interface provided in an embodiment of the present application;
[0104] Fig. 22 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0105] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0106] The term "and / or" in this article is a description of the association relationship of associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. The symbol " / " in this article indicates that the associated objects are in an or relationship, for example, A / B means A or B.
[0107] The terms "first" and "second" in the specification and claims herein are used to distinguish different objects rather than to describe a specific order of objects. For example, a first APP and a second APP are used to distinguish different APPs rather than to describe a specific order of APPs.
[0108] In the embodiments of the present application, words such as "exemplary" or "for example" are used to indicate examples, illustrations or descriptions. Any embodiment or design described as "exemplary" or "for example" in the embodiments of the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplary" or "for example" is intended to present related concepts in a specific way.
[0109] In the description of the embodiments of the present application, unless otherwise specified, "multiple" means two or more than two. For example, multiple processing units refer to two or more processing units, etc.; multiple elements refer to two or more elements, etc.
[0110] At present, when users use foldable screen devices, tablet computers and other electronic devices with large display screens, these electronic devices usually have a split-screen function, but users may not know how and when to use the split-screen function, which affects the user experience. In view of this, the embodiment of the present application proposes that it is possible to determine whether there is a split-screen demand based on the user's scenario behavior, and actively and specifically provide intelligent split-screen services after determining that there is a split-screen demand, which can achieve a more efficient task parallel experience, and the present application solution can provide different window form recommendations based on the user's current status and the recommended services, thereby improving the user experience.
[0111] An embodiment of the present application provides a method for displaying an application interface, which can be applied to an electronic device with a foldable screen, and can also be applied to an electronic device with a conventional display screen, that is, a display screen that does not support screen folding.
[0112] For the sake of convenience, the following is an example of an electronic device with a foldable screen as an example to illustrate the display method of the application interface provided in the embodiment of the present application. First, the product form of the foldable screen is introduced in detail to better understand the display method of the application interface provided in the embodiment of the present application.
[0113] Figure 1 A schematic diagram of a product form of an electronic device including a foldable screen provided in an embodiment of the present application. The electronic device in the embodiment of the present application includes a foldable screen, which can be unfolded or folded along a folding axis and can present different display areas in different states.
[0114] Figure 1 (a) is a schematic diagram of the electronic device when it is folded. Figure 1 As shown, the electronic device 1 can be unfolded along a folding axis (as shown by the dotted line in the figure). Figure 1 (b) is a schematic diagram of the electronic device when it is unfolded. Figure 1 (c) is a schematic diagram of the electronic device when it is fully unfolded.
[0115] It should be noted that the value range of the angle α between the two screens of the folding screen can be [0°, 180°]. For example, in the embodiment of the present application, when the angle α is 0°, the electronic device is in a folded state (or a straight state). When the angle α is 180°, the electronic device is in an unfolded state.
[0116] In the following text, the present application will take the scenario where the foldable screen of an electronic device is in an unfolded state, or the scenario where the foldable screen of an electronic device is in a folded state as an example to exemplify the display method of the application interface provided in the embodiment of the present application.
[0117] In some embodiments, when the electronic device is in the unfolded state, the inner screen of the electronic device can display the desktop interface or the interface of one or more APPs in the electronic device for the user to use. At this time, when the inner screen of the electronic device meets the preset split-screen condition during the full-screen display or split-screen display (for example, the electronic device receives an operation in which the user selects a certain text or picture), the electronic device can display the split-screen on the inner screen or change the split-screen combination, prompting the user to operate on the split-screen control, thereby triggering the foldable screen of the electronic device to display the split-screen.
[0118] In some embodiments, when the electronic device is in the unfolded state, the inner screen of the electronic device can display the desktop interface or the interface of one or more APPs in the electronic device for the user to use. At this time, when the inner screen of the electronic device meets the preset split-screen condition during the full-screen display process (for example, the electronic device detects that two APPs are frequently switched), the electronic device can display a split-screen control on the inner screen, prompting the user to operate on the split-screen control, which can trigger the inner screen of the electronic device to display the split screen.
[0119] In some embodiments, when the electronic device is in a folded state, the outer screen of the electronic device can display the desktop interface or the interface of one or more APPs in the electronic device for the user to use. When the outer screen of the electronic device meets the preset split-screen condition during the screen display process (for example, the electronic device receives a short message, or the electronic device detects that two APPs are frequently switched), the electronic device can prompt the user to unfold the foldable screen of the electronic device to realize split-screen display through the inner screen of the electronic device.
[0120] The preset split screen condition when the electronic device is in the unfolded state is different from the preset split screen condition when the electronic device is in the folded state. The preset split screen condition when the electronic device is in the unfolded state and the preset split screen condition when the electronic device is in the folded state will be described in detail below.
[0121] In some embodiments, the foldable screen of the electronic device may be a flexible foldable screen. The flexible foldable screen includes a folding edge made of a flexible material. Part or all of the flexible foldable screen is made of a flexible material. The two screens formed after the flexible foldable screen is folded are a complete screen of an integrated structure, and the two screens can be understood as two display areas.
[0122] In some embodiments, the foldable screen of the electronic device may be a multi-screen folding screen. The multi-screen folding screen may include multiple (two or more) screens. The multiple screens are multiple separate display screens. The multiple screens may be connected in sequence through a folding axis. Each screen may rotate around the folding axis connected thereto to achieve folding of the multi-screen folding screen.
[0123] It should be noted that this article takes the foldable screen as an example to illustrate the foldable screen in the embodiment of the present application. In addition, in the subsequent embodiments of the present application, the foldable screen as an example is also taken as an example to illustrate the display method of the application interface provided in the embodiment of the present application.
[0124] The execution subject of the display method of the application interface provided in the embodiment of the present application can be the above-mentioned electronic device, or it can be a functional module and / or functional entity in the electronic device that can implement the display method of the application interface, and the present application scheme can be implemented by hardware and / or software, which can be determined according to actual use requirements, and the embodiment of the present application is not limited. Taking an electronic device as an example, the shooting control method based on a foldable screen provided in the embodiment of the present application is exemplarily described in combination with the accompanying drawings.
[0125] It should be noted that the display method of the application interface provided in the embodiment of the present application can be applied not only to a foldable screen, but also to an electronic device with a conventional display screen, such as a mobile phone or a tablet computer. For the convenience of description, the following is an exemplary description using a foldable screen as an example.
[0126] Among them, for the foldable screen, the embodiment of the present application supports triggering the split-screen display of the display screen when the foldable screen is in the unfolded state, and can also trigger the split-screen display of the display screen when the foldable screen is in the folded state.
[0127] In the following, taking the scenario of triggering split-screen display of the display screen when the foldable screen is in the unfolded state (first embodiment) and triggering split-screen display of the display screen when the foldable screen is in the folded state (second embodiment) as examples, the display method of the application interface provided in the embodiments of the present application is exemplarily explained.
[0128] First embodiment
[0129] Figure 2 1 is a flow chart of a method for displaying an application interface provided in the first embodiment of the present application. Figure 2 As shown, the method includes the following steps S101-S109.
[0130] S101, the electronic device displays the interface of the first APP through the display screen.
[0131] Optionally, the display screen of the electronic device can be a foldable screen or a conventional display screen, that is, a display screen that does not support screen folding. The specific display screen can be determined based on actual usage requirements and is not limited in the embodiments of this application.
[0132] In the embodiment of the present application, the display screen can support full screen display and split screen display. Optionally, the display screen can also support floating window display.
[0133] In some embodiments, when the foldable screen of the electronic device is in the unfolded state, the electronic device can display the interface of the first APP in full screen through the foldable screen, or the electronic device can display the interface of the first APP and the interfaces of other APPs in split screen through the foldable screen.
[0134] Optionally, the interface of the first APP can be a desktop interface, or it can be the interface of an APP running on the electronic device, or it can be the interface of a small program. The specific interface can be determined according to actual usage requirements and is not limited in the embodiments of the present application.
[0135] S102, the electronic device receives a first operation performed by a user on a target object in an interface of a first APP.
[0136] Optionally, the first operation can be a long press operation on the target object (for example, a press operation with a pressing duration exceeding a certain duration), or can be a click operation on the target object (for example, a single click or a double click), or can be any other possible operation, which can be determined based on actual usage requirements and is not limited in the embodiments of the present application.
[0137] Optionally, the target object may be text, a picture, or any other object that meets actual usage requirements. It may be specifically set according to actual usage requirements and is not limited in the embodiments of the present application.
[0138] Exemplarily, taking the target object as text as an example, the target object may be text representing an address, or a uniform resource locator (URL) website, or a telephone number, or an Email address.
[0139] As another example, taking the target object as a picture, assuming that the picture contains text, such as text representing an address, a URL, a phone number or an email address, when the electronic device detects that the user has selected the picture, the electronic device can perform text recognition on the picture through text recognition technology and extract the text in the picture.
[0140] S103, in response to the first operation, the electronic device displays at least one APP identification recommended based on the target object through a display screen.
[0141] Optionally, the at least one APP logo mentioned above can be an APP icon, or text describing the APP, or a thumbnail of the APP interface, or an APP interface preview window. Of course, it can also be any other possible form of APP entrance, which can be determined according to actual usage requirements and is not limited in the embodiments of the present application.
[0142] The at least one APP logo may be displayed in a list form (such as an application list) or a window form. Alternatively, the at least one APP logo may present a service preview card. It should be noted that this situation requires APP access or support.
[0143] Optionally, all recommended APP logos are displayed in list form or window form, or part of all recommended APP logos are displayed in list form or window form and another part is hidden, and the hidden other part can be displayed after the user triggers the list or window to expand.
[0144] Optionally, the at least one recommended APP may be displayed in descending order of priority. The priority of the APP may be determined according to the degree of association with the object selected by the user, or according to the frequency or duration of the user's use of the APP.
[0145] Exemplarily, the higher the correlation between the APP and the object selected by the user, the higher the priority of the APP. For example, the object selected by the user is address information. Since the APP with a higher correlation with the address information is a navigation APP, the navigation APP has the highest priority.
[0146] As another example, the more frequently a user uses an APP, the higher the priority of the APP.
[0147] It can be understood that by operating on the current display interface, the user can select a target object in the interface and trigger the electronic device to recommend an APP associated with the target object, thereby facilitating the user to quickly find the entrance to the required APP.
[0148] S104, the electronic device receives a second operation of the user on a second APP identifier, where the second APP identifier is used to indicate a second APP.
[0149] The second APP identifier is one of the at least one APP identifier mentioned above.
[0150] Optionally, in some embodiments, for APPs that support split-screen, they are displayed in split-screen mode preferentially.
[0151] Optionally, in some embodiments, for an APP that does not support split screen but supports floating windows, it is preferentially opened as a floating window.
[0152] Optionally, in some embodiments, for an APP that does not support split screen or floating window, it is opened in full screen mode.
[0153] The following three branches describe the application scenarios of split-screen display, floating window display and full-screen display respectively.
[0154] S105, the electronic device determines whether the first APP and the second APP support split-screen display.
[0155] If the electronic device determines that both the first APP and the second APP support split-screen display, the following step S106 is continued to be executed. If the electronic device determines that neither the first APP nor the second APP supports split-screen display, the following step S107 is continued to be executed.
[0156] S106, the electronic device displays the interface of the first APP and the interface of the second APP in different areas through the display screen.
[0157] From the user's perspective, the interface of the first APP and the interface of the second APP can be seen on the display screen at the same time.
[0158] Optionally, the first APP and the second APP may be the same APP or different APPs. In the case where the first APP and the second APP are the same APP, the interface of the first APP and the interface of the second APP may be different interfaces of the same APP.
[0159] Optionally, in some embodiments, the electronic device may trigger split-screen display in a scenario where a single-task full-screen display is in progress, wherein the single-task full-screen display may refer to an interface of a single APP being displayed in the foreground.
[0160] For example, when the electronic device displays the interface of application A in full screen and displays the logo of application B that recommends split screen, if the user's operation on the logo of application B is detected, the electronic device displays the interface of application A and the interface of application B in split screen. This scenario can be simply expressed as "A--->A|B", which means that the full screen display of application A is changed to the split screen display of application A and application B.
[0161] Among them, A|B can represent a split-screen combination, or a split-screen pair.
[0162] Optionally, in some embodiments, the electronic device may further trigger the replacement of the split screen combination in the scenario of single-task split screen display, wherein the single-task split screen display may refer to the main interface and one sub-interface of a single APP being displayed in the foreground.
[0163] For example, when the electronic device displays two interfaces of application A in split screen (for example, main interface A and sub-interface A1, assuming that sub-interface A1 displays the recommended split screen application B logo), if the electronic device detects the user's operation on the B application logo, the electronic device displays sub-interface A1 and the interface of application B in split screen display mode. This scenario can be simply expressed as "A|A1--->A1|B", that is, the split screen combination A|A1 is transformed into the split screen combination A1|B.
[0164] Optionally, in some embodiments, the electronic device may further trigger the replacement of the split screen combination in the scenario of multi-task split screen display, wherein the multi-task split screen display may refer to two sub-interfaces of an APP being displayed in the foreground, or the respective interfaces of two APPs being displayed in the foreground.
[0165] For example, when the electronic device displays two sub-interfaces of application A (e.g., sub-interface A1 and sub-interface A2) in split screen, if the electronic device detects that sub-interface A1 and application C are frequently switched in the foreground (sub-interface A2 remains displayed at this time), the electronic device can prompt or recommend the user to change the split screen combination and display the interface of sub-interface A1 and application C in split screen display mode. This scenario can be simply expressed as "A1|A2--->A1|C", that is, changing from split screen combination A1|A2 to split screen combination A1|C.
[0166] For another example, when the electronic device displays the interface of application A and the interface of application B in split screen, if the electronic device detects that application A and application C are frequently switched in the foreground (the interface of application B remains displayed at this time), the electronic device can prompt or recommend the user to change the split screen combination to display the interface of application A and the interface of application C in split screen display mode. This scenario can be simply expressed as "A|B--->A|C", that is, the split screen combination A|B is changed to the split screen combination A|C.
[0167] It should be noted that the above are all exemplary examples. There may be other recommended split-screen display scenarios or scenarios that prompt you to change the split-screen combination. The specific scenarios can be determined based on actual usage requirements and are not limited in the embodiments of this application.
[0168] S107, the electronic device determines whether the first APP and the second APP support floating window display.
[0169] In the embodiment of the present application, after the electronic device determines that either the first APP or the second APP does not support split-screen display, the electronic device continues to determine whether the first APP and the second APP support floating window display.
[0170] If the electronic device determines that the first APP and / or the second APP supports floating window display, the following step S108 is continued to be executed. If the electronic device determines that both the first APP and the second APP do not support floating window display, the following step S109 is continued to be executed.
[0171] S108, the electronic device displays the interface of the second APP in a floating window on the interface of the first APP, or displays the interface of the first APP in a floating window on the interface of the second APP.
[0172] In the embodiment of the present application, the electronic device can display the interface of the first APP and the interface of the second APP at the same time through the foldable screen, and the interface of one APP is superimposed on the interface of the other APP in a floating window manner. From the user's perspective, the interface of the first APP and the interface of the second APP can be seen on the foldable screen at the same time.
[0173] On the one hand, when the electronic device determines that the first APP supports floating window display but the second APP does not support floating window display, the electronic device displays the interface of the first APP in a floating window manner on the interface of the second APP.
[0174] On the other hand, when the electronic device determines that the second APP supports floating window display but the first APP does not support floating window display, the electronic device displays the interface of the second APP in a floating window on the interface of the first APP.
[0175] On the other hand, when the electronic device determines that both the first APP and the second APP support floating window display, the electronic device can display the interface of the second APP in a floating window on the interface of the first APP by default.
[0176] Optionally, the floating window may support moving position. For example, in response to a user's dragging operation on the floating window, the electronic device may move the display position of the floating window accordingly.
[0177] Optionally, in some embodiments, the electronic device may further trigger the creation of a new floating window or the replacement of the floating window in a scenario where the floating window is displayed.
[0178] For example, when the electronic device displays interface C in a floating window on the desktop, if the electronic device detects that the user selects or copies content in interface C, the electronic device can prompt or recommend the user to open interface A recommended based on the content in a floating window. This scenario can be simply represented as "desktop [C] ---> desktop [A] [C]", that is, on the desktop, one floating window [C] increases to two floating windows [A] [C].
[0179] For another example, when the electronic device displays interface C in a floating window on interface A (the full-screen interface of application A) (A[C]), if the electronic device detects that the user selects or copies content in interface C, the electronic device can prompt or recommend the user to open interface B recommended based on the content in a floating window. This scenario can be simply represented as "A[C]--->A[B][C]", that is, on the full-screen interface of application A, the number of floating windows [C] increases from one floating window [C] to two floating windows [B][C].
[0180] For example, when the electronic device displays interface A and interface B in split screen, and displays interface C in a floating window on interface B (A|B[C]), if the electronic device detects that the user selects or copies content in interface A, the electronic device can prompt or recommend the user to open interface D recommended based on the content in a floating window. This scenario can be simply expressed as "A|B[C]--->A[D]|B[C]", that is, a floating window can exist on each of the two interfaces displayed in the split screen.
[0181] For another example, when the electronic device displays interface A and interface B in split screen, and displays interface D in a floating window on interface A and displays interface C in a floating window on interface B (A[D]|B[C]), if the electronic device detects that the user selects or copies content in interface B, the electronic device can prompt or recommend the user to open interface E recommended based on the content in a floating window. This scenario can be simply expressed as "A[D]|B[C]--->A[D]|B[E]", that is, the floating windows on the two interfaces displayed in the split screen can be replaced as needed.
[0182] It should be noted that the above are all exemplary examples. There may be other recommended floating window display scenarios or scenarios that prompt the replacement of floating windows. The specific scenarios can be determined based on actual usage requirements and are not limited in the embodiments of the present application.
[0183] S109, the electronic device displays the second interface in full screen via the display screen.
[0184] It is understandable that, when the second APP does not support split-screen display or floating window display, the electronic device can display the interface of the second APP in full screen through the foldable screen, showing the user the interface of the required APP in full screen. From the user's perspective, the interface of the second APP can be seen on the foldable screen, and the first APP retreats to the background.
[0185] Through the solution of this application, the electronic device can judge the user's intention based on the content selected or copied by the user. For example, when the user selects phone information, it is inferred that the user may have the intention to dial the phone; for another example, when the user selects address information, it is inferred that the user may have the intention to navigate to the address. Then, the electronic device can pop up the logo of the recommended APP (such as the APP icon) based on the content selected or copied by the user. When the user clicks the logo of the APP, the electronic device can display the current display interface and the APP interface in a split screen, or display one of the current display interface and the APP interface in a floating window, or display the APP interface in full screen.
[0186] Combine the following Figures 3 to 5 The possible implementation of the method for displaying the application interface provided by the first embodiment is exemplarily described.
[0187] like Figure 3 As shown in (a), the electronic device displays the chat interface of the communication APP in full screen through the display screen 1. When the user selects a text or picture (here, address information is used as an example) by long pressing on the chat interface of the communication APP, as shown in FIG. Figure 3 As shown in (b), the electronic device displays a copy control on the chat interface of the communication APP. When the user clicks the copy control, Figure 3 As shown in (c), the electronic device displays a split-screen function recommendation window (e.g., in the shape of a capsule) on the chat interface of the communication APP, and the split-screen function recommendation window displays a navigation APP icon or text (e.g., "Get Directions") recommended based on the address information selected by the user. Of course, the split-screen function recommendation window may also display other APP icons or text related to the address information selected by the user, or may be partially displayed and partially hidden.
[0188] In some embodiments, when a user clicks on a navigation APP icon, Figure 3 As shown in (d), when either the communication APP or the navigation APP does not support split-screen display, the electronic device can display the interface of the navigation APP in full screen, and the communication APP will retreat to the background to run.
[0189] In other embodiments, when the user clicks on the navigation APP icon, Figure 3 As shown in (e), when both the communication APP and the navigation APP support split-screen display, the electronic device can display the interface of the communication APP and the interface of the navigation APP in different areas (i.e., split-screen display).
[0190] Thus, split-screen display can be achieved through the user's triggering operation on the display screen.
[0191] It should be noted that Figure 3 The example of triggering the display of the split-screen function recommendation window after the user copies the address information is used for explanation. Of course, the method of triggering the display of the split-screen function recommendation window is not limited to this. For example, the user can trigger the display of the split-screen function recommendation window by clicking and selecting the address information.
[0192] It should also be noted that Figure 3 The following uses the example of triggering split-screen display in a full-screen display scenario. Figure 4 and Figure 5 The situations of further triggering the replacement of the split-screen combination in the split-screen display scenario are described respectively.
[0193] like Figure 4As shown in (a), the electronic device displays two interfaces of an APP through different areas of the display screen (i.e., split-screen display): the main interface of the communication APP is displayed in one area of the display screen (called area 2), and the chat interface of the communication APP is displayed in another area of the display screen (called area 3).
[0194] When a user selects a text or picture (here we still take address information as an example) by clicking on the chat interface of the communication APP, Figure 4 As shown in (b), the electronic device displays a split-screen function recommendation window (e.g., in the shape of a capsule) on the chat interface of the communication APP, and the split-screen function recommendation window displays a navigation APP icon or text (e.g., get route) recommended based on the address information selected by the user. Figure 4 In (b), only the navigation APP icon is displayed. Figure 4 As shown in (c), other recommended apps (such as food recommendation apps) can be expanded by clicking the expand button ( Figure 4 The drop-down arrow on the recommendation window shown in (b) is displayed after the window is expanded.
[0195] When the user clicks the food recommendation APP icon, Figure 4 As shown in (d), when both the communication APP and the food recommendation APP support split-screen display, the electronic device can display the chat interface of the communication APP and the interface of the food recommendation APP in split-screen.
[0196] Thus, through the user's triggering operation on the display screen, the display screen can be changed into a split-screen combination: the chat interface of the communication APP is displayed in area 2 of the display screen, and the interface of the food recommendation APP is displayed in area 3 of the display screen.
[0197] like Figure 5 As shown in (a), the electronic device displays the chat interface of the communication APP in full screen through the display screen 1. When the user selects a text or picture (here, address information is used as an example) by long pressing on the chat interface of the communication APP, as shown in FIG. Figure 5 As shown in (b), the electronic device displays a copy control on the chat interface of the communication APP. When the user clicks the copy control, Figure 5 As shown in (c), the electronic device displays a split-screen function recommendation window on the chat interface of the communication APP, and the split-screen function recommendation window displays an interface preview or thumbnail of the navigation APP recommended based on the address information selected by the user.
[0198] In some embodiments, when a user clicks on a preview or thumbnail of a navigation APP interface, Figure 5As shown in (d), when both the communication APP and the navigation APP support split-screen display, the electronic device can display the interface of the communication APP and the interface of the navigation APP in different areas (i.e., split-screen display).
[0199] Thus, split-screen display can be achieved through the user's triggering operation on the display screen.
[0200] In other embodiments, when the user clicks on the interface preview or thumbnail of the navigation APP, if either the communication APP or the navigation APP does not support split-screen display, the electronic device can display the interface of the navigation APP in full screen, and the communication APP will retreat to the background to run.
[0201] Will Figure 3 and Figure 5 By comparing them, we can find that the two scenarios are different. Figure 3 The scene shown is a change from full-screen display to split-screen display. Figure 5 The scene shown is a scene where the split screen display is further changed to a split screen combination. In addition, the information format in the split screen function recommendation window displayed is different. Figure 3 The split-screen function recommendation window displays navigation APP icons or texts recommended based on the address information selected by the user. Figure 3 The split-screen function recommendation window displays an interface preview or thumbnail of the navigation APP recommended based on the address information selected by the user.
[0202] It should be noted that Figure 3 and Figure 5 The split screen function recommendation windows in the Figure 3 In the scenario where the full screen is displayed as a split screen, the split screen function recommendation window can be displayed in the form of a preview or thumbnail. Figure 5 In the scenario shown in which the split screen display is changed to replacing one of the split screens, the split screen function recommendation window can be in the form of an icon or text. Or Figure 3 and Figure 5 The split screen recommendation window can also be Figure 4 That is to say, the interface display form and the form of the split-screen function recommendation window in each embodiment of the present application can be interchangeably combined.
[0203] Combine the following Figure 6 This describes the situation in which the split-screen combination is triggered to change in the split-screen display scenario, that is, A|B--->A|C.
[0204] When the electronic device displays the interface of application A and the interface of application B in split screen, if the electronic device detects that application A and application C are frequently switched in the foreground (the interface of application B remains displayed at this time), the electronic device can prompt or recommend the user to change the split screen combination and display the interface of application A and the interface of application C in split screen display mode. This scenario can be simply expressed as "A|B--->A|C", that is, the split screen combination A|B is changed to the split screen combination A|C.
[0205] like Figure 6 As shown in (a), the electronic device displays the respective interfaces of the two APPs through different areas of the display screen (i.e., split-screen display): the chat interface of the communication APP is displayed in area 2 of the display screen, and the interface of the album APP is displayed in area 3 of the display screen.
[0206] like Figure 6 As shown in (b), when a user selects a text or picture (here address information is still used as an example) by clicking on the chat interface of the communication APP, Figure 6 As shown in (c), the electronic device displays a split-screen function recommendation window (for example, in a capsule shape) on the chat interface of the communication APP, and the split-screen function recommendation window displays a thumbnail of a navigation APP recommended based on the address information selected by the user.
[0207] When the user clicks on the thumbnail of the navigation app, Figure 6 As shown in (d), when both the communication APP and the navigation APP support split-screen display, the electronic device can display the chat interface of the communication APP and the interface of the navigation APP in split-screen.
[0208] Therefore, the split-screen combination of the display screen can be replaced by the user's triggering operation on the display screen.
[0209] It should be noted that Figures 3 to 6 The following describes the scenario where the user triggers the split-screen display by selecting text. Figure 7 The following describes an example of a scenario in which a user triggers split-screen display by selecting a picture.
[0210] like Figure 7 As shown in (a), the electronic device displays the interface of the photo album APP in full screen through the display screen 1, and the picture in the current interface contains text content. When the user clicks the text recognition control A in the interface of the photo album APP, as shown in Figure 7 As shown in (b), the electronic device recognizes the text content in the picture, for example: contact number, xxxxxxx, address, xxx street, xxx district, xxx city, xxx province.
[0211] like Figure 7As shown in (c), when the user clicks to select the recognized text content "xxxxxxx", the electronic device displays recommended content such as function controls or APP icons based on the text content "xxxxxxx". Optionally, the recommended content can be in the form of a list. For example, the recommended content includes functions such as calling, sending messages, copying, and adding to the mobile phone address book.
[0212] like Figure 7 As shown in (d), when the user clicks to select the call function, the electronic device displays the interface of the photo album APP in area 2 of the display screen, and displays the interface of the call APP in area 3 of the display screen.
[0213] For example, Figure 7 As shown in (e), when the user clicks and selects the recognized text content "xxx Province xxx City xxx District xxx Street", the electronic device displays recommended content such as function controls or APP icons based on the text content "xxx Province xxx City xxx District xxx Street". For example, the recommended content includes navigation functions, food recommendation APPs, copy functions, and sharing functions.
[0214] like Figure 7 As shown in (f), when the user clicks to select the navigation function, the electronic device displays the interface of the photo album APP in area 2 of the display screen, and displays the interface of the navigation APP in area 3 of the display screen.
[0215] It should be noted that the above Figure 7 The example in which the photo album APP, call APP and navigation APP all support split-screen display is used for illustrative explanation.
[0216] It should also be noted that the above examples exemplify possible forms of the split-screen function recommendation window. It can be understood that in actual implementation, the embodiments of the present application include but are not limited to the above-mentioned split-screen function recommendation window. The split-screen function recommendation window can also include any other possible forms, which can be determined based on actual usage requirements and are not limited by the embodiments of the present application.
[0217] Optionally, in some embodiments, a do not disturb mechanism can be provided by setting a system switch. For example, a system-level smart split screen switch can be set to trigger turning off or on the smart split screen function. When the user manually turns off the smart split screen function, the electronic device will no longer trigger the recommended split screen function based on the user's behavior.
[0218] Optionally, in some embodiments, when the electronic device displays the split-screen function recommendation window, if the user does not need the split-screen function, the user can trigger the electronic device to close or hide the split-screen function recommendation window through a preset operation. Accordingly, in response to the user operation, the electronic device can close or hide the split-screen function recommendation window. Exemplarily, the electronic device closes the split-screen function recommendation window in response to the user's sliding operation (e.g., sliding upward) on the split-screen function recommendation window.
[0219] Optionally, in some embodiments, when the electronic device displays a split-screen function recommendation window, if the electronic device does not receive any operation from the user within a certain period of time (for example, 5 seconds), the electronic device will automatically close or hide the split-screen function recommendation window.
[0220] Through this application scheme, it is possible to determine whether there is a split-screen demand based on the user's scenario behavior. After determining that there is a split-screen demand, intelligent split-screen services can be provided proactively and in a targeted manner, which can achieve a more efficient task parallel experience.
[0221] Combine the following Figures 8 to 12 The following describes an example of a scenario in which recommended applications are displayed in a floating window.
[0222] like Figure 8 As shown in (a), when the electronic device displays interface C in a floating window on the desktop, if the electronic device detects that the user selects or copies the content in interface C, then Figure 8 As shown in (b) of FIG. 1 , the electronic device may display the identification of the application recommended based on the content (for example, obtaining a route). If the electronic device detects that the user operates the application identification, then Figure 8 As shown in (c), two floating windows are displayed on the desktop at the same time, respectively displaying interface C and interface A (a certain interface of the recommended application).
[0223] This achieves "Desktop [C] ---> Desktop [A] [C]".
[0224] like Fig. 9 As shown in (a), when the electronic device displays interface C in a floating window on interface A (the full-screen interface of application A) (A[C]), if the electronic device detects that the user selects or copies the content in interface C, then Fig. 9 As shown in (b), the electronic device may display the identification of the application recommended based on the content (for example, obtaining a route). If the electronic device detects the user's operation on the identification of the application, then Fig. 9 As shown in (c), two floating windows are simultaneously displayed on the full-screen interface of application A, respectively displaying interface C and interface B (a certain interface of the recommended application).
[0225] This achieves "A[C]--->A[B][C]".
[0226] like Fig.10 As shown in (a), the electronic device displays interface A and interface D in split screens, and displays interface C in a floating window on interface D (expressed as A|D[C]). If the electronic device detects that the user selects or copies content in interface C, then Fig.10 As shown in (b), the electronic device may display the identification of the application recommended based on the content (for example, obtaining a route). If the electronic device detects the user's operation on the identification of the application, then Fig.10 As shown in (c), a floating window is displayed on interface A, in which interface B (a certain interface of the recommended application) is displayed, and the floating window is kept displayed on interface D, in which interface C is displayed.
[0227] This achieves "A|D[C]--->A[B]|D[C]".
[0228] like Fig.11 As shown in (a), when the electronic device displays interface A and interface D in split screens, and displays interface B in a floating window on interface A and displays interface C in a floating window on interface D (A[B]|D[C]), if the electronic device detects that the user selects or copies content in interface C, then Fig.11 As shown in (b), the electronic device may display the identification of the application recommended based on the content (e.g., a calculator). If the electronic device detects the user's operation on the identification of the application, then Fig.11 As shown in (c), the interface C in the floating window is replaced with the interface B (an interface of the calculator application).
[0229] This achieves "A[B]|D[C]--->A[B]|D[E]".
[0230] Second embodiment
[0231] In an embodiment of the present application, when the foldable screen of the electronic device is in an unfolded state, or the conventional display screen of the electronic device is in a bright-screen unlocked state, the electronic device can infer the user's usage needs based on the user's behavior, and prompt the user to split the screen when it is inferred that the user has a split-screen display need, thereby improving the user's experience of using large-screen devices.
[0232] For example, when the electronic device determines that the user triggers frequent switching between two apps, the electronic device can infer that the user has a split-screen display requirement based on the user's behavior. Therefore, the electronic device can recommend a split-screen function to the user, such as prompting one-click split-screen to achieve smart split-screen.
[0233] It should be noted that frequent switching between two apps can be determined in the following manner: the number of times a user switches between app A and app B within a preset time period of X is greater than or equal to a preset Y times, where switching from app A to app B is counted as one switch, and switching from app B to app A is counted as one switch. X represents the length of a preset time period, the preset time period represents the time period after the first switch between apps is detected, and Y represents the threshold of the number of switches. X and Y can be used as system business parameters, and the specific values can be configured according to actual usage requirements. For example, the default values of X and Y can be derived from big data.
[0234] Fig.12 2 is a flow chart of a method for displaying an application interface provided in the second embodiment of the present application. Fig.12 As shown, the method includes the following steps S201, S202 and S203A-S205A, or the following steps S201, S202 and S203B-S205B.
[0235] S201, the electronic device switches the display screen to display the first APP interface and the second APP interface.
[0236] In some embodiments, assuming that the display screen displays the interface of the first APP in full screen, in response to the user's trigger switching operation, the electronic device displays the interface of the second APP in full screen through the display screen, and the first APP retreats to the background; then, in response to the user's trigger switching operation, the electronic device displays the interface of the first APP in full screen through the display screen, and the second APP retreats to the background; and so on. This is a possible implementation method for frequent switching between two APPs.
[0237] In some embodiments, in response to a user's triggering switching operation, the electronic device may also switch between at least three APPs, and the two APPs with the highest switching frequency or the most switching times can be used as the two APPs displayed in split screen.
[0238] S202, the electronic device determines whether the number of switching between the first APP and the second APP within a preset time period is greater than or equal to a preset number.
[0239] After the electronic device detects that the display screen switches between displaying the interface of the first APP and the interface of the second APP, it can start timing and calculate the number of times the interface of the first APP and the interface of the second APP are switched within a preset time period.
[0240] It should be noted that when the electronic device determines that the number of switching between the first APP and the second APP within a preset time period is greater than or equal to a preset number, it can be determined that the preset split-screen condition is met and there is a split-screen requirement in the current scene.
[0241] If the electronic device determines that the number of switching between the first APP and the second APP within a preset time (for example, 1 minute) is greater than or equal to a preset number (for example, 3 times), it continues to execute the following steps S203A-S205A, or continues to execute the following steps S203B-S205B.
[0242] If the electronic device determines that the number of times the first APP and the second APP are switched to display within the preset time is less than the preset number, the electronic device may not make split-screen recommendations and continue to detect whether there is switching between APPs. If the interface switching between different APPs is detected again, the electronic device starts timing again and records the number of times the two APPs are switched to display within the preset time thereafter.
[0243] Method 1: When the first APP and the second APP support split-screen display, execute the following steps S203A-S205A.
[0244] S203A, the electronic device displays a split-screen start control through the display screen.
[0245] It should be noted that the embodiment of the present application does not limit the display position, shape, and size of the split-screen opening control. For example, the split-screen opening control can be in the shape of a capsule, in which an APP icon or text, as well as split-screen prompt information, can be displayed. Optionally, the split-screen opening control supports moving the position on the display screen.
[0246] For example, Fig.13 Several possible forms of split screen opening controls are shown. Fig.13 As shown in (a), the split screen opening control displays an APP icon (such as a communication APP icon) and a split screen prompt message (such as opening the split screen). Fig.13 As shown in (b) and (c), the split-screen opening control displays two APP icons (such as a communication APP icon and a shopping APP icon) and split-screen prompt information (such as entering split screen, or split screen).
[0247] It should be noted that the above examples exemplify possible forms of split-screen startup controls. It can be understood that in actual implementation, the embodiments of the present application include but are not limited to the above-mentioned split-screen startup controls. The split-screen startup controls may also include any other possible forms, which can be determined based on actual usage requirements and are not limited by the embodiments of the present application.
[0248] Optionally, in some embodiments, a do not disturb mechanism can be provided by setting a system switch. For example, a system-level smart split screen switch can be set to trigger turning off or on the smart split screen function. When the user manually turns off the smart split screen function, the electronic device will no longer trigger the recommended split screen function based on the user's behavior.
[0249] Optionally, in some embodiments, when the electronic device displays a split-screen start control, if the user does not need the split-screen function, the user can trigger the electronic device to close or hide the split-screen start control through a preset operation. Accordingly, in response to the user operation, the electronic device can close or hide the split-screen start control. For example, the electronic device closes the split-screen start control in response to the user's sliding operation on the split-screen start control.
[0250] Optionally, in some embodiments, when the electronic device displays a split-screen start control, if the electronic device does not receive any operation from the user within a certain period of time (for example, 5 seconds), the electronic device will automatically close or hide the split-screen start control.
[0251] S204A, the electronic device receives a third operation of the user on the split-screen opening control.
[0252] For example, the third operation is a single-click operation by the user on the split-screen opening control. Of course, it can also be any other operation that meets the requirements, and this application is not limited thereto.
[0253] S205A, in response to the third operation, the electronic device displays the interface of the first APP and the interface of the second APP in different areas through the display screen.
[0254] For example, when the electronic device is in full-screen display mode and detects that application A and application B frequently switch between the foreground, the electronic device can prompt or recommend the user to enable the split-screen function when the interface of application A is displayed in full screen, and display the interface of application A and the interface of application B in split-screen display mode. This scenario can be simply expressed as "A--->A|B", which means that the full-screen display of application A is changed to the split-screen display of application A and application B.
[0255] For another example, when the electronic device is in full-screen display mode and detects that application A and application B frequently switch between the foreground, the electronic device can prompt or recommend the user to enable the split-screen function when the interface of application B is displayed in full screen, so as to display the interface of application A and the interface of application B in split-screen display mode. This scenario can be simply expressed as "B--->A|B", that is, the full-screen display of application B is changed to the split-screen display of application A and application B.
[0256] For another example, when the electronic device displays two interfaces of application A in split screen (for example, main interface A and sub-interface A1), if the electronic device detects that sub-interface A1 and application B are frequently switched in the foreground (sub-interface A1 remains displayed at this time), the electronic device can prompt or recommend the user to change the split screen combination and display the interface of sub-interface A1 and application B in split screen display mode. This scenario can be simply expressed as "A|A1--->A1|B", that is, changing from split screen combination A|A1 to split screen combination A1|B.
[0257] For another example, when the electronic device displays two sub-interfaces of application A (e.g., sub-interface A1 and sub-interface A2) in split screen, if the electronic device detects that sub-interface A1 and application C are frequently switched in the foreground (sub-interface A2 remains displayed at this time), the electronic device can prompt or recommend the user to change the split screen combination and display the interface of sub-interface A1 and application C in split screen display mode. This scenario can be simply expressed as "A1|A2--->A1|C", that is, changing from split screen combination A1|A2 to split screen combination A1|C.
[0258] For another example, when the electronic device displays the interface of application A and the interface of application B in split screen, if the electronic device detects that application A and application C are frequently switched in the foreground (the interface of application B remains displayed at this time), the electronic device can prompt or recommend the user to change the split screen combination to display the interface of application A and the interface of application C in split screen display mode. This scenario can be simply expressed as "A|B--->A|C", that is, the split screen combination A|B is changed to the split screen combination A|C.
[0259] It should be noted that the above are all exemplary examples. There may be other recommended split-screen display scenarios or scenarios that prompt you to change the split-screen combination. The specific scenarios can be determined based on actual usage requirements and are not limited in the embodiments of this application.
[0260] For example, in combination Fig.14 To illustrate, in response to the user's trigger switching operation, the display screen 1 of the electronic device switches to display the interface of the shopping APP and the interface of the communication APP. When the electronic device determines that the number of switching between the shopping APP and the communication APP within the preset time is greater than or equal to the preset number, such as Fig.14 As shown in (a), the electronic device displays a split screen start control 11 on the interface of the shopping APP, and the split screen start control 11 is used to instruct the user to trigger the start of the split screen to realize the split screen display of the shopping APP and the communication APP. Of course, the split screen start control can also be displayed on the interface of the communication APP, which is not limited here.
[0261] Further, when the user clicks the split screen start control 11, Fig.14 As shown in (b), the electronic device displays a shopping app and a communication app in split screen, for example, the shopping app is displayed in area 2 of the display screen, and the communication app is displayed in area 3 of the display screen; of course, the communication app can also be displayed in area 2 of the display screen, and the shopping app can be displayed in area 3 of the display screen, which is not limited here.
[0262] Through the above method 1, when the two apps are frequently switched, a prompt may be provided to turn on the split screen; when the user triggers the split screen, the two app interfaces may be displayed in split screen.
[0263] Method 2: When the first APP and / or the second APP supports floating window display, execute the following steps S203B-S205B.
[0264] S203B, the electronic device displays a floating window opening control through the display screen.
[0265] Among them, the above-mentioned floating window opening control is similar to the above-mentioned split-screen opening control. For the description of the floating window opening control, please refer to the above-mentioned detailed description of the split-screen opening control, which will not be repeated here.
[0266] S204B, the electronic device receives a fourth operation of the user on the floating window opening control.
[0267] For example, the fourth operation is a single-click operation of the user on the floating window opening control. Of course, it can also be any other operation that meets the needs, and this application is not limited.
[0268] S205B, in response to the fourth operation, the electronic device displays the interface of the second APP in a floating window on the interface of the first APP; or displays the interface of the first APP in a floating window on the interface of the second APP.
[0269] For example, combined with Fig.14 To illustrate, in response to the user's trigger switching operation, the display screen 1 of the electronic device switches to display the interface of the shopping APP and the interface of the communication APP. When the electronic device determines that the number of switching between the shopping APP and the communication APP within the preset time is greater than or equal to the preset number, such as Fig.14 As shown in (c), the electronic device displays a floating window opening control 12 on the interface of the shopping APP, and the floating window opening control 12 is used to instruct the user to trigger the opening of the floating window, so as to realize the display of the communication APP interface in a floating window manner on the interface of the shopping APP. Of course, the floating window opening control can also be displayed on the interface of the communication APP, which is not limited here.
[0270] Further, when the user clicks on the floating window opening control 12, as shown in FIG. Fig.14 As shown in (d), the electronic device displays the interface of the communication APP in the form of a floating window 13 on the interface of the shopping APP; of course, the interface of the shopping APP can also be displayed in the form of a floating window on the interface of the communication APP, which is not limited here.
[0271] Through the above-mentioned method 2, when two APPs are frequently switched, a prompt to open a floating window can be provided; when the user triggers the opening of the floating window, one of the two APP interfaces can be displayed on the other APP interface in the form of a floating window.
[0272] Fig.15 The following examples illustrate application scenarios in which two apps may be frequently switched.
[0273] like Fig.15 As shown in (a), the application scenario of two apps that are frequently switched can be a chat-and-select scenario, for example, a user may frequently switch between a communication app and a shopping app.
[0274] like Fig.15 As shown in (b), the application scenario of the two frequently switched apps may be a shopping price comparison scenario. For example, a user may frequently switch between shopping app 1 and shopping app 2.
[0275] like Fig.15 As shown in (c), the application scenario of the two frequently switched APPs may be a document translation scenario. For example, a user may frequently switch between a document APP and a translation APP.
[0276] like Fig.15 As shown in (d), the application scenario of the two frequently switched APPs may be a shopping list alignment scenario. For example, the user may frequently switch between the shopping APP 1 and the memo APP (which records the items to be purchased).
[0277] like Fig.15 As shown in (e), the application scenario of the two frequently switched APPs may be an information query scenario. For example, a user may frequently switch between a travel APP and a browser APP.
[0278] like Fig.15 As shown in (f), the application scenario of the two frequently switched APPs may be a scenario of writing emails and checking information. For example, a user may frequently switch between a mailbox APP and a remote conference APP.
[0279] like Fig.15 As shown in (g), the application scenarios of two frequently switched APPs can be parallel entertainment scenarios. For example, users may frequently switch between video APP and social APP.
[0280] like Fig.15 As shown in (h), the application scenarios of two frequently switched APPs can be parallel office scenarios. For example, a user may frequently switch between a remote conference APP and a document APP.
[0281] like Fig.15 As shown in (i), the application scenario of the two APPs that are frequently switched can be a reading and recording scenario. For example, the user may frequently switch between a reading APP and a memo APP.
[0282] like Fig.15As shown in (j), the application scenario of the two apps that are frequently switched can be an online course learning scenario. For example, a user may frequently switch between a distance education app and a memo app.
[0283] It should be noted that the above examples exemplify some common application scenarios of frequent APP switching. It can be understood that in actual implementation, the embodiments of the present application include but are not limited to the scenarios listed above, which can be determined based on actual usage requirements and are not limited by the embodiments of the present application.
[0284] Through this application scheme, it is possible to determine whether there is a split-screen demand based on the user's scenario behavior. After determining that there is a split-screen demand, intelligent split-screen services can be provided proactively and in a targeted manner, which can achieve a more efficient task parallel experience. Different window form recommendations can be provided based on the user's current status and recommended services, thereby improving the user experience.
[0285] The above first and second embodiments can be applied to electronic devices with foldable screens as well as to electronic devices with conventional display screens. The third and fourth embodiments below respectively illustrate other possible implementation methods of applying the display method of the application interface provided in the embodiments of the present application to electronic devices with foldable screens.
[0286] Third embodiment
[0287] Fig.16 3 is a flow chart of a method for displaying an application interface provided in the third embodiment of the present application. Fig.16 As shown, the method includes the following steps S301-S305.
[0288] S301, when the foldable screen of the electronic device is in a folded state, the electronic device switches display of the first APP interface and the second APP interface through the external screen.
[0289] S302, the electronic device determines whether the number of switching between the first APP and the second APP within a preset time period is greater than or equal to a preset number.
[0290] In some embodiments, in response to a user's triggering switching operation, the electronic device may switch between at least two APPs, and then the two APPs with the highest switching frequency or the most switching times can be used as the two APPs displayed in split screen.
[0291] If the electronic device determines that the number of switching between the first APP and the second APP within the preset time (for example, 1 minute) is greater than or equal to the preset number (for example, 3 times), the following steps S303-S305 are continued to be executed.
[0292] S303, the electronic device displays split-screen prompt information through the external screen, and the split-screen prompt information is used to prompt the user to unfold the foldable screen to trigger the split-screen display.
[0293] Optionally, in some embodiments, when the electronic device displays a split-screen prompt message, if the electronic device receives an operation from the user to unfold the foldable screen within a certain period of time (for example, 5 seconds), the electronic device automatically displays the split screen.
[0294] Optionally, in some embodiments, when the electronic device displays a split-screen prompt message, if the electronic device does not receive any operation from the user within a certain period of time (eg, 5 seconds), the electronic device will automatically close or hide the split-screen function recommendation window.
[0295] Optionally, in some embodiments, when the electronic device displays split-screen prompt information, if the user does not need the split-screen function, the user can trigger the electronic device to close the split-screen prompt information through a preset operation. Accordingly, in response to the user operation, the electronic device can close or hide the split-screen prompt information. Exemplarily, the electronic device closes the split-screen prompt information in response to the user's sliding operation (e.g., sliding upward) on the split-screen prompt information.
[0296] S304, the electronic device detects that the foldable screen changes from a folded state to an unfolded state.
[0297] For example, the electronic device can detect that the foldable screen changes from the folded state to the unfolded state through a Hall sensor provided in the foldable screen. Of course, the electronic device can also detect the state change of the foldable screen in any other possible way.
[0298] In a possible implementation, the electronic device may detect whether the electronic device changes from the folded state to the unfolded state within a second preset time period after the prompt information is displayed. If it is detected that the foldable screen changes from the folded state to the unfolded state, step S305 may be executed; if it is not detected that the foldable screen changes from the folded state to the unfolded state, the split-screen function recommendation window may be closed or hidden.
[0299] S305, the electronic device displays the interface of the first APP and the interface of the second APP in different areas on the inner screen.
[0300] Optionally, when the electronic device displays the interface of the first APP and the interface of the second APP through the inner screen in different areas, the outer screen can be turned off or turned off.
[0301] Through this application scheme, it is possible to determine whether there is a split-screen demand based on the user's scenario behavior. After determining that there is a split-screen demand, intelligent split-screen services can be provided proactively and in a targeted manner, which can achieve a more efficient task parallel experience.
[0302] Through the solution provided by the third embodiment, when the outer screen of the foldable screen is lit to display the APP interface, if the electronic device detects that two APPs are frequently switched, the electronic device can prompt the user to trigger the split-screen display by unfolding the foldable screen; further, the user unfolds the foldable screen, and the electronic device can detect that the foldable screen is unfolded accordingly, and then the electronic device lights up the inner screen and displays the two APPs in separate areas of the inner screen. In this way, the split-screen display can be quickly triggered when there is a split-screen demand in the folded state.
[0303] Combine the following Fig.17 The method for displaying the application interface provided by the third embodiment above is exemplarily described.
[0304] like Fig.17 As shown in (a), the foldable screen of the electronic device is in a folded state, and the electronic device displays an APP interface, such as a shopping APP, through the external screen. If the electronic device detects that the shopping APP and the communication APP are frequently switched (i.e., the number of times the shopping APP and the communication APP are switched within a preset time is greater than or equal to a preset number of times), then Fig.17 As shown in (b), the electronic device can display split-screen prompt information 21 through the external screen, and the split-screen prompt information 21 displays the icon of the shopping APP and the icon of the communication APP. The split-screen prompt information 21 is used to prompt the user that the split-screen display can be triggered by unfolding the foldable screen. It should be noted that the electronic device can also display the split-screen prompt information 21 when switching to the display interface of the shopping APP.
[0305] Furthermore, if Fig.17 As shown in (c), when the electronic device detects that the foldable screen changes from the folded state to the unfolded state, the electronic device displays the inner screen in a split screen (i.e., in a divided area), for example, the interface of the communication APP is displayed in area 2 of the inner screen, and the interface of the shopping APP is displayed in area 3 of the inner screen. Of course, the electronic device can also display the interface of the shopping APP in area 2 of the inner screen, and display the interface of the communication APP in area 3 of the inner screen, which is not limited in the embodiment of the present application.
[0306] Through the above-mentioned third embodiment, when the electronic device is in a folded state, when the electronic device detects that two APPs are frequently switched, the electronic device can determine that the current application scenario may have a split-screen requirement, and prompt the user to unfold the foldable screen to quickly trigger the split-screen display of the two APP interfaces, thereby improving the convenience and flexibility of users in using the foldable screen.
[0307] The above-mentioned third embodiment illustrates a scenario in which if the electronic device determines that there is a need for split-screen display in a folded state, the user is prompted to quickly trigger the split-screen display. The following fourth embodiment illustrates another scenario in which if the electronic device determines that there is a need for split-screen display in a folded state, the user is prompted to quickly trigger the split-screen display.
[0308] Fourth embodiment
[0309] Fig.18 4 is a flow chart of a method for displaying an application interface provided in the fourth embodiment of the present application. Fig.18 As shown, the method includes the following steps S401-S404.
[0310] S401, when the foldable screen of the electronic device is in a folded state, the electronic device displays an interface of a first APP through an external screen.
[0311] S402, when the electronic device receives a new message from the second APP, the electronic device displays split-screen prompt information through the external screen, and the split-screen prompt information is used to prompt the user to unfold the foldable screen to trigger the split-screen display.
[0312] For example, the second APP can be a short message APP, a communication APP, or other APP that can support sending and receiving messages or pushing messages. The specific APP can be determined according to actual usage requirements and is not limited in the embodiments of the present application.
[0313] S403, the electronic device detects that the foldable screen changes from a folded state to an unfolded state.
[0314] For example, the electronic device can detect that the foldable screen changes from the folded state to the unfolded state through a Hall sensor provided in the foldable screen. Of course, the electronic device can also detect the state change of the foldable screen in any other possible way.
[0315] S404, the electronic device displays the interface of the first APP and the interface of the second APP in different areas on the inner screen.
[0316] Optionally, when the electronic device displays the interface of the first APP and the interface of the second APP through the inner screen in different areas, the outer screen can be turned off or turned off.
[0317] In an embodiment of the present application, when the electronic device is in a folded state using an external screen to display application A, if the electronic device receives a new message reminder or prompt box from application B (such as social software, text messages, etc.), the electronic device can prompt the user to unfold the foldable screen to trigger split-screen display of application A and application B.
[0318] For example, when the electronic device prompts the user to unfold the foldable screen to trigger the split-screen display of application A and application B, the electronic device detects that the foldable screen is unfolded within 5 seconds and displays A / B through the inner screen split screen, so that the user can view or reply to new messages without exiting the current application interface.
[0319] For example, when the electronic device prompts the user to unfold the foldable screen to trigger the split-screen display of application A and application B, if the electronic device does not receive the user's operation within 5 seconds, the electronic device triggers the disappearance of the new message prompt box. In this case, if the user unfolds the foldable screen, the inner screen will not be split-screen. Optionally, the inner screen can display application A in full screen.
[0320] Exemplarily, when the electronic device prompts the user to unfold the foldable screen to trigger the split-screen display of application A and application B, if the electronic device receives an upward swipe operation by the user on a new message prompt box, the electronic device triggers the new message prompt box to disappear.
[0321] Optionally, the split-screen prompt information can be displayed in the new message prompt box, or it can be displayed independently from the new message prompt box. The specific information can be determined based on actual usage requirements and is not limited in the embodiments of the present application.
[0322] Through the solution provided by the fourth embodiment, when the outer screen of the foldable screen is lit to display the APP interface, if the electronic device receives a new message, the electronic device can prompt the user to trigger the split-screen display by unfolding the foldable screen; further, when the user unfolds the foldable screen, the electronic device can detect that the foldable screen is unfolded, and then the electronic device lights up the inner screen and displays the currently displayed APP and the new message interface in the inner screen sub-area. In this way, the split-screen display can be quickly triggered when there is a split-screen demand in the folded state.
[0323] Combine the following Fig.19 The method for displaying the application interface provided by the third embodiment above is exemplarily described.
[0324] like Fig.19 As shown in (a), the foldable screen of the electronic device is in a folded state, and the electronic device displays an APP interface 1, such as a browser APP, through the external screen. If the electronic device receives a new message corresponding to the communication APP, then Fig.19 As shown in (b), the electronic device can display a split-screen prompt message 22 through the external screen. The split-screen prompt message 22 displays the icon of the communication APP and prompts that a new message has been received. The split-screen prompt message 22 can be used to prompt the user to trigger the split-screen display by unfolding the foldable screen.
[0325] Furthermore, if Fig.19As shown in (c), when the electronic device detects that the foldable screen changes from a folded state to an unfolded state, the electronic device displays the inner screen in a split screen (i.e., in a divided area), for example, the interface 1 of the browser APP is displayed in area 2 of the inner screen, and the interface 2 of the communication APP is displayed in area 3 of the inner screen (for example, the page where the received new message is located). Of course, the electronic device can also display the interface of the communication APP in area 2 of the inner screen, and display the interface of the browser APP in area 3 of the inner screen, which is not limited in the embodiments of the present application.
[0326] Through this application scheme, it is possible to determine whether there is a split-screen demand based on the user's scenario behavior. After determining that there is a split-screen demand, intelligent split-screen services can be provided proactively and in a targeted manner, which can achieve a more efficient task parallel experience.
[0327] Through the above-mentioned fourth embodiment, when an electronic device in a folded state displays a certain APP, if the electronic device receives a new message, the electronic device can determine that the user may want to keep the current interface and view the new message, that is, the current application scenario has a split-screen requirement. In this case, the electronic device can prompt the user to unfold the foldable screen to quickly trigger the split-screen display, which can improve the convenience and flexibility of the user in using the foldable screen.
[0328] Fig. 20 A schematic diagram of a system framework for applying the display method of the application interface provided in an embodiment of the present application is shown. The system framework may include a graphical user interface (GUI) layer, an APP layer, an interface layer, and a framework (FWK) layer.
[0329] Among them, the perception application module in the APP layer sends the perception information (for example, information used to represent the frequent switching between two applications, or information used to represent the selected text or picture on the current interface) to the computing engine application module, and then the computing engine application module sends the perception information to the suggestion application module, and then the suggestion application module reports the perception information to the GUI layer (user experience, UX) interface recommendation icon module. The UX interface recommendation icon module displays the APP logo recommended based on the perception information or displays the split-screen opening control.
[0330] Furthermore, when the UX interface recommendation icon module detects the user's operation on the APP logo or the split-screen opening control, the UX interface recommendation icon module sends split-screen indication information to the recommended application module of the APP layer, and then the recommended application module sends the split-screen indication information to the user interface (user interface, UI) software development kit (software development kit, SDK) module of the interface layer, and then the UI SDK module calls the corresponding interface program to send the split-screen indication information to the multi-window startup management module of the FWK layer, and then the multi-window startup management module triggers the multi-window split-screen management module according to the split-screen indication information to realize the split-screen display function.
[0331] The multi-window animation module of the FWK layer can provide the multi-window animation function for the multi-window split screen pair management module. In addition, the multi-window split screen pair management module can call the services of the activity manager service (AMS) module and the window manager service (WMS) module to realize the split screen display function.
[0332] It is understandable that the embodiments of the present application Fig. 20 The illustrated system architecture does not constitute a specific limitation. In other embodiments of the present application, the system architecture may include more or fewer modules than shown in the figure, or combine some modules, or split some modules, or arrange the modules differently.
[0333] It should also be noted that, in the embodiments of the present application, "greater than" can be replaced by "greater than or equal to", "less than or equal to" can be replaced by "less than", or "greater than or equal to" can be replaced by "greater than", and "less than" can be replaced by "less than or equal to".
[0334] The various embodiments described herein may be independent solutions or may be combined according to internal logic, and all of these solutions fall within the protection scope of this application.
[0335] It can be understood that the methods and operations implemented by the electronic device in the above-mentioned various method embodiments can also be implemented by components (such as chips or circuits) that can be used in electronic devices.
[0336] The above describes the method embodiment provided by the present application, and the following describes the device embodiment provided by the present application. It should be understood that the description of the device embodiment corresponds to the description of the method embodiment, so the content not described in detail can be referred to the method embodiment above, and for the sake of brevity, it will not be repeated here.
[0337] The above mainly describes the solution provided by the embodiment of the present application from the perspective of method steps. It is understandable that, in order to achieve the above functions, the electronic device implementing the method includes a hardware structure and / or software module corresponding to the execution of each function. Those skilled in the art should be aware that, in combination with the units and algorithm steps of each example described in the embodiments disclosed herein, the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of protection of the present application.
[0338] The embodiment of the present application can divide the functional modules of the electronic device according to the above method example. For example, each functional module can be divided corresponding to each function, or two or more functions can be integrated into one processing module. The above integrated module can be implemented in the form of hardware or in the form of software functional modules. It should be noted that the division of modules in the embodiment of the present application is schematic and is only a logical function division. There may be other feasible division methods in actual implementation. The following is an example of dividing each functional module corresponding to each function.
[0339] Fig.21 A schematic block diagram of a display device 800 for an application interface provided in an embodiment of the present application. The device 800 can be used to execute the actions executed by the electronic device in the above method embodiment. The device 800 includes a display unit 810, a detection unit 820 and a processing unit 830.
[0340] A display unit 810 is used to display the interface of the first application on a display screen;
[0341] A detection unit 820 is configured to receive a first operation performed by a user on a target object in an interface of a first application;
[0342] The processing unit 830 is configured to instruct the display unit 810 to display a second application identifier on the display screen in response to the first operation;
[0343] The display unit 810 is configured to display a second application identifier on the display screen according to the instruction of the processing unit 830, wherein the second application identifier corresponds to a second application that is a recommended application based on the target object;
[0344] The detection unit 820 is further configured to receive a second operation of the user on the second application identifier;
[0345] The processing unit 830 is further configured to, in response to the second operation, instruct the display unit 810 to simultaneously display the interface of the first application and the interface of the second application on the display screen;
[0346] The display unit 810 is used to simultaneously display the interface of the first application and the interface of the second application on the display screen according to the instruction of the processing unit 830.
[0347] Through the scheme of this application, it is possible to recommend related applications based on the target object according to the user's operation (such as selection or copying) on the object (such as text or picture) displayed in the current interface, and display them to the user for selection. When the user selects a recommended application, it can trigger the simultaneous display (such as split-screen display or floating window display) of the current interface and the interface of the recommended application. Since this application can determine the need for split-screen based on the user's scenario behavior, and actively and targetedly provide recommended applications and intelligent split-screen services, it can achieve a more efficient task parallel experience and improve the user experience.
[0348] According to the embodiment of the present application, the device 800 may correspond to executing the method described in the embodiment of the present application, and the above and other operations and / or functions of the units in the device 800 are respectively for implementing the corresponding processes of the method, which will not be repeated here for the sake of brevity.
[0349] Fig. 22 9 is a structural schematic diagram of an electronic device 900 provided in an embodiment of the present application. The electronic device 900 may include a processor 910, an external memory interface 920, an internal memory 921, a universal serial bus (USB) interface 930, a charging management module 940, a power management unit 941, a battery 942, an antenna 1, an antenna 2, a mobile communication module 950, a wireless communication module 960, an audio module 970, a speaker 970A, a receiver 970B, a microphone 970C, an earphone interface 970D, a sensor module 980, a button 990, a motor 991, an indicator 992, a camera 993, a display screen 994, and a subscriber identification module (SIM) card interface 995, etc. The sensor module 980 may include a pressure sensor 980A, a gyroscope sensor 980B, an air pressure sensor 980C, a magnetic sensor 980D, an acceleration sensor 980E, a distance sensor 980F, a proximity light sensor 980G, a fingerprint sensor 980H, a temperature sensor 980I, a touch sensor 980J, an ambient light sensor 980K and a bone conduction sensor 980L, etc.
[0350] It is to be understood that the structure illustrated in the embodiment of the present application does not constitute a specific limitation on the electronic device 900. In other embodiments of the present application, the electronic device 900 may include more or fewer components than shown in the figure, or combine some components, or split some components, or arrange the components differently. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.
[0351] The processor 910 may include one or more processing units, for example: the processor 910 may include an application processor (application processor, AP), a modem processor, a graphics processor (graphics processing unit, GPU), an image signal processor (image signal processor, ISP), a controller, a memory, a video codec, a digital signal processor (digital signal processor, DSP), a baseband processor, and / or a neural-network processing unit (neural-network processing unit, NPU), etc. Among them, different processing units can be independent devices or integrated in one or more processors. Among them, the controller can be the nerve center and command center of the electronic device 900. The controller can generate an operation control signal according to the instruction opcode and the timing signal to complete the control of fetching and executing instructions.
[0352] The processor 910 may also be provided with a memory for storing instructions and data. In some embodiments, the memory in the processor 910 is a cache memory. The memory may store instructions or data that the processor 910 has just used or cyclically used. If the processor 910 needs to use the instruction or data again, it may be directly called from the memory. This avoids repeated access, reduces the waiting time of the processor 910, and thus improves the efficiency of the system.
[0353] In some embodiments, the processor 910 may include one or more interfaces. The interface may 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. It can be understood that the interface connection relationship between the modules illustrated in the embodiment of the present application is only a schematic illustration and does not constitute a structural limitation of the electronic device 900. In other embodiments of the present application, the electronic device 900 may also adopt different interface connection methods in the above embodiments, or a combination of multiple interface connection methods.
[0354] The charging management module 940 is used to receive charging input from a charger. The charger may be a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 940 may receive charging input from a wired charger through the USB interface 930. In some wireless charging embodiments, the charging management module 940 may receive wireless charging input through a wireless charging coil of the electronic device 900. While the charging management module 940 is charging the battery 942, it may also power the electronic device through the power management unit 941.
[0355] The power management unit 941 is used to connect the battery 942, the charging management module 940 and the processor 910. The power management unit 941 receives input from the battery 942 and / or the charging management module 940, and supplies power to the processor 910, the internal memory 921, the external memory, the display screen 994, the camera 993 and the wireless communication module 960. The power management unit 941 can also be used to monitor parameters such as battery capacity, battery cycle number, battery health status (leakage, impedance), etc. In some other embodiments, the power management unit 941 can also be set in the processor 910. In other embodiments, the power management unit 941 and the charging management module 940 can also be set in the same device.
[0356] The wireless communication function of the electronic device 900 can be implemented through the antenna 1, the antenna 2, the mobile communication module 950, the wireless communication module 960, the modem processor, the baseband processor, etc.
[0357] Antenna 1 and antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in electronic device 900 can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve the utilization of antennas. For example, antenna 1 can be reused as a diversity antenna for a wireless local area network. In some other embodiments, the antenna can be used in combination with a tuning switch.
[0358] The mobile communication module 950 can provide solutions for wireless communications including 2G / 3G / 4G / 5G, etc., applied to the electronic device 900. The mobile communication module 950 may include at least one filter, a switch, a power amplifier, a low noise amplifier (LNA), etc. The mobile communication module 950 can receive electromagnetic waves from the antenna 1, and filter, amplify, and process the received electromagnetic waves, and transmit them to the modulation and demodulation processor for demodulation. The mobile communication module 950 can also amplify the signal modulated by the modulation and demodulation processor, and convert it into electromagnetic waves for radiation through the antenna 1. In some embodiments, at least some of the functional modules of the mobile communication module 950 may be arranged in the processor 910. In some embodiments, at least some of the functional modules of the mobile communication module 950 may be arranged in the same device as at least some of the modules of the processor 910.
[0359] The modem processor may include a modulator and a demodulator. Among them, the modulator is used to modulate the low-frequency baseband signal to be sent into a medium-high frequency signal. The demodulator is used to demodulate the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then transmits the demodulated low-frequency baseband signal to the baseband processor for processing. After the low-frequency baseband signal is processed by the baseband processor, it is passed to the application processor. The application processor outputs a sound signal through an audio device (not limited to a speaker 970A, a receiver 970B, etc.), or displays an image or video through a display screen 994. In some embodiments, the modem processor may be an independent device. In other embodiments, the modem processor may be independent of the processor 910 and be set in the same device as the mobile communication module 950 or other functional modules.
[0360] The wireless communication module 960 can provide wireless communication solutions including WLAN (such as Wi-Fi), BT, global navigation satellite system (GNSS), FM, NFC, IR or general 2.4G / 5G wireless communication technology applied to the electronic device 900. The wireless communication module 960 can be one or more devices integrating at least one communication processing module. The wireless communication module 960 receives electromagnetic waves via the antenna 2, modulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 910. The wireless communication module 960 can also receive the signal to be sent from the processor 910, modulate and amplify it, and convert it into electromagnetic waves for radiation through the antenna 2.
[0361] In some embodiments, the wireless communication module 960 may be a Wi-Fi and / or Bluetooth chip. The electronic device 900 may establish a connection with a chip of an electronic device such as a wireless headset through the chip, so as to realize wireless communication and business processing between the electronic device 900 and other electronic devices through the connection. Among them, the Bluetooth chip may generally support BR / EDR Bluetooth and BLE.
[0362] In some embodiments, the antenna 1 of the electronic device 900 is coupled to the mobile communication module 950, and the antenna 2 is coupled to the wireless communication module 960, so that the electronic device 900 can communicate with the network and other devices through wireless communication technology. The wireless communication technology may include global system for mobile communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), wideband code division multiple access (WCDMA), time-division code division multiple access (TDSCDMA), long term evolution (LTE), BT, GNSS, WLAN, NFC, FM, and / or IR technology, etc. GNSS may include the global positioning system (GPS), the global navigation satellite system (GLONASS), the Beidou navigation satellite system (BDS), the quasi-zenith satellite system (QZSS) and / or the satellite based augmentation system (SBAS).
[0363] The electronic device 900 implements the display function through a GPU, a display screen 994, and an application processor. The GPU is a microprocessor for image processing, which connects the display screen 994 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 910 may include one or more GPUs, which execute program instructions to generate or change display information.
[0364] The display screen 994 is used to display images, videos, etc. The display screen 994 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 or an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), Miniled, MicroLed, Micro-oLed, a quantum dot light-emitting diode (QLED), etc. In some embodiments, the electronic device 900 may include 1 or N display screens 994, where N is a positive integer greater than 1.
[0365] The electronic device 900 can realize the shooting function through the ISP, the camera 993, the video codec, the GPU, the display screen 994 and the application processor.
[0366] The ISP is used to process the data fed back by the camera 993. For example, when taking a photo, the shutter is opened, and the light is transmitted to the camera photosensitive element through the lens. The light 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 perform algorithm optimization on the noise, brightness, and skin color of the image. The ISP can also optimize the exposure, color temperature and other parameters of the shooting scene. In some embodiments, the ISP can be set in the camera 993.
[0367] The camera 993 is used to capture still 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 passes the electrical signal to the ISP to be converted 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 a standard RGB, YUV or other format. In some embodiments, the electronic device 900 may include 1 or N cameras 993, where N is a positive integer greater than 1.
[0368] The digital signal processor is used to process digital signals, and can process not only digital image signals but also other digital signals. For example, when the electronic device 900 selects a frequency point, the digital signal processor is used to perform Fourier transform on the frequency point energy.
[0369] Video codecs are used to compress or decompress digital videos. The electronic device 900 may support one or more video codecs. Thus, the electronic device 900 may play or record videos in a variety of coding formats, such as Moving Picture Experts Group (MPEG) 1, MPEG2, MPEG3, MPEG4, etc.
[0370] NPU is a neural network (NN) computing processor. By drawing on the structure of biological neural networks, such as the transmission mode between neurons in the human brain, it can quickly process input information and can also continuously self-learn. Through NPU, applications such as intelligent cognition of electronic device 900 can be realized, such as image recognition, face recognition, voice recognition, text understanding, etc.
[0371] The external memory interface 920 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device 900. The external memory card communicates with the processor 910 through the external memory interface 920 to implement a data storage function, such as storing music, video and other files in the external memory card.
[0372] The internal memory 921 can be used to store computer executable program codes, and the executable program codes include instructions. The processor 910 executes various functional applications and data processing of the electronic device 900 by running the instructions stored in the internal memory 921. The internal memory 921 may include a program storage area and a data storage area. Among them, the program storage area may store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc. The data storage area may store data created during the use of the electronic device 900 (such as audio data, a phone book, etc.), etc. In addition, the internal memory 921 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, a universal flash storage (UFS), etc.
[0373] The processor 910 can be used to execute the above program code and call related modules to implement the functions of the electronic device in the embodiment of the present application. For example, multiple communication links are established with another electronic device; when there is a preset service (such as a file transfer service, etc.), data of the preset service is transmitted with another electronic device through multiple communication links.
[0374] The electronic device 900 can implement audio functions such as music playing and recording through the speaker 970A, the receiver 970B, the microphone 970C, the headphone jack 970D, and the application processor in the audio module 970 .
[0375] The audio module 970 is used to convert digital audio information into analog audio signal output, and is also used to convert analog audio input into digital audio signal. The audio module 970 can also be used to encode and decode audio signals. In some embodiments, the audio module 970 can be arranged in the processor 910, or some functional modules of the audio module 970 can be arranged in the processor 910.
[0376] The speaker 970A, also called a "speaker", is used to convert an audio electrical signal into a sound signal. The electronic device 900 can listen to music or listen to a hands-free call through the speaker 970A.
[0377] The receiver 970B, also called a "earpiece", is used to convert audio electrical signals into sound signals. When the electronic device 900 receives a call or voice message, the voice can be received by placing the receiver 970B close to the human ear.
[0378] Microphone 970C, also called "microphone", is used to convert sound signals into electrical signals. When making a call or sending a voice message, the user can speak by putting his mouth close to the microphone 970C to input the sound signal into the microphone 970C. The electronic device 900 can be provided with at least one microphone 970C. In other embodiments, the electronic device 900 can be provided with two microphones 970C, which can not only collect sound signals but also realize noise reduction function. In other embodiments, the electronic device 900 can also be provided with three, four or more microphones 970C to realize the collection of sound signals, noise reduction, identification of sound sources, realization of directional recording function, etc.
[0379] The earphone interface 970D is used to connect a wired earphone and can be the USB interface 930 or a 3.5 mm open mobile terminal platform (OMTP) standard interface or a cellular telecommunications industry association of the USA (CTIA) standard interface.
[0380] The pressure sensor 980A is used to sense the pressure signal and can convert the pressure signal into an electrical signal. In some embodiments, the pressure sensor 980A can be set on the display screen 994. There are many types of pressure sensors 980A, such as resistive pressure sensors, inductive pressure sensors, capacitive pressure sensors, etc. The capacitive pressure sensor can be a parallel plate including at least two conductive materials. When a force acts on the pressure sensor 980A, the capacitance between the electrodes changes. The electronic device 900 determines the intensity of the pressure according to the change in capacitance. When a touch operation acts on the display screen 994, the electronic device 900 detects the touch operation intensity according to the pressure sensor 980A. The electronic device 900 can also calculate the touch position according to the detection signal of the pressure sensor 980A. In some embodiments, touch operations acting on the same touch position but with different touch operation intensities can correspond to different operation instructions. For example: when a touch operation with a touch operation intensity less than the first pressure threshold acts on the short message application icon, an instruction to view the short message is executed. When a touch operation with a touch operation intensity greater than or equal to the first pressure threshold acts on the short message application icon, an instruction to create a new short message is executed.
[0381] The gyroscope sensor 980B can be used to determine the motion posture of the electronic device 900. In some embodiments, the angular velocity of the electronic device 900 around three axes (e.g., x, y, and z axes) can be determined by the gyroscope sensor 980B. The gyroscope sensor 980B can be used for anti-shake shooting. For example, when the shutter is pressed, the gyroscope sensor 980B detects the angle of the electronic device 900 shaking, calculates the distance that the lens module needs to compensate based on the angle, and allows the lens to offset the shaking of the electronic device 900 through reverse movement to achieve anti-shake. The gyroscope sensor 980B can also be used for navigation and somatosensory game scenes.
[0382] The acceleration sensor 980E can detect the magnitude of the acceleration of the electronic device 900 in all directions (generally three axes). When the electronic device 900 is stationary, the magnitude and direction of gravity can be detected. It can also be used to identify the posture of the electronic device and is applied to applications such as horizontal and vertical screen switching and pedometers.
[0383] The distance sensor 980F is used to measure the distance. The electronic device 900 can measure the distance by infrared or laser. In some embodiments, when shooting a scene, the electronic device 900 can use the distance sensor 980F to measure the distance to achieve fast focusing.
[0384] The proximity light sensor 980G may include, for example, a light-emitting diode (LED) and a light detector, such as a photodiode. The light-emitting diode may be an infrared light-emitting diode. The electronic device 900 emits infrared light outward through the light-emitting diode. The electronic device 900 uses a photodiode to detect infrared reflected light from nearby objects. When sufficient reflected light is detected, it can be determined that there is an object near the electronic device 900. When insufficient reflected light is detected, the electronic device 900 can determine that there is no object near the electronic device 900. The electronic device 900 can use the proximity light sensor 980G to detect that the user holds the electronic device 900 close to the ear to talk, so as to automatically turn off the screen to save power. The proximity light sensor 980G can also be used in leather case mode and pocket mode to automatically unlock and lock the screen.
[0385] The ambient light sensor 980K is used to sense the ambient light brightness. The electronic device 900 can adaptively adjust the brightness of the display screen 994 according to the perceived ambient light brightness. The ambient light sensor 980K can also be used to automatically adjust the white balance when taking pictures. The ambient light sensor 980K can also cooperate with the proximity light sensor 980G to detect whether the electronic device 900 is in a pocket to prevent accidental touches.
[0386] The air pressure sensor 980C is used to measure air pressure. In some embodiments, the electronic device 900 calculates the altitude through the air pressure value measured by the air pressure sensor 980C to assist in positioning and navigation.
[0387] The magnetic sensor 980D includes a Hall sensor. The electronic device 900 can use the magnetic sensor 980D to detect the displacement of the electronic device 900. In some embodiments, the Hall sensor can use a magnet to form a linear trapezoidal magnetic field (or called a ramp magnetic field). The displacement change of the Hall plate in the linear magnetic field is consistent with the change in magnetic field strength. The Hall potential formed is proportional to the displacement. The electronic device 900 obtains the Hall potential and can measure the displacement.
[0388] The fingerprint sensor 980H is used to collect fingerprints. The electronic device 900 can use the collected fingerprint characteristics to achieve fingerprint unlocking, access application locks, fingerprint photography, fingerprint answering calls, etc.
[0389] The temperature sensor 980I is used to detect temperature. In some embodiments, the electronic device 900 uses the temperature detected by the temperature sensor 980I to execute a temperature processing strategy. For example, when the temperature reported by the temperature sensor 980I exceeds a threshold, the electronic device 900 reduces the performance of the processor located near the temperature sensor 980I to reduce power consumption and implement thermal protection. In other embodiments, when the temperature is lower than another threshold, the electronic device 900 heats the battery 942 to avoid abnormal shutdown of the electronic device 900 due to low temperature. In other embodiments, when the temperature is lower than another threshold, the electronic device 900 performs a boost on the output voltage of the battery 942 to avoid abnormal shutdown caused by low temperature.
[0390] The touch sensor 980J is also called a "touch panel". The touch sensor 980J can be set on the display screen 994, and the touch sensor 980J and the display screen 994 form a touch screen, also called a "touch screen". The touch sensor 980J is used to detect touch operations acting on or near it. The touch sensor can pass the detected touch operation to the application processor to determine the type of touch event. Visual output related to the touch operation can be provided through the display screen 994. In other embodiments, the touch sensor 980J can also be set on the surface of the electronic device 900, which is different from the position of the display screen 994.
[0391] The bone conduction sensor 980L can obtain a vibration signal. In some embodiments, the bone conduction sensor 980L can obtain a vibration signal of a vibrating bone block of the vocal part of the human body. The bone conduction sensor 980L can also contact the human pulse to receive a blood pressure beat signal. In some embodiments, the bone conduction sensor 980L can also be set in an earphone and combined into a bone conduction earphone. The audio module 970 can parse out a voice signal based on the vibration signal of the vibrating bone block of the vocal part obtained by the bone conduction sensor 980L to realize the voice function. The application processor can parse the heart rate information based on the blood pressure beat signal obtained by the bone conduction sensor 980L to realize the heart rate detection function.
[0392] The key 990 includes a power key, a volume key, etc. The key 990 may be a mechanical key or a touch key. The electronic device 900 may receive key input and generate key signal input related to user settings and function control of the electronic device 900.
[0393] Motor 991 can generate vibration prompts. Motor 991 can be used for incoming call vibration prompts, and can also be used for touch vibration feedback. For example, touch operations acting on different applications (such as taking pictures, audio playback, etc.) can correspond to different vibration feedback effects. For touch operations acting on different areas of the display screen 994, motor 991 can also correspond to different vibration feedback effects. Different application scenarios (for example: time reminders, receiving messages, alarm clocks, games, etc.) can also correspond to different vibration feedback effects. The touch vibration feedback effect can also support customization.
[0394] Indicator 992 may be an indicator light, which may be used to indicate charging status, power changes, messages, missed calls, notifications, etc.
[0395] The SIM card interface 995 is used to connect a SIM card. The SIM card can be connected to and separated from the electronic device 900 by inserting it into the SIM card interface 995 or pulling it out from the SIM card interface 995. The electronic device 900 can support 1 or N SIM card interfaces, where N is a positive integer greater than 1. The SIM card interface 995 can support Nano SIM cards, Micro SIM cards, SIM cards, and the like. Multiple cards can be inserted into the same SIM card interface 995 at the same time. The types of the multiple cards can be the same or different. The SIM card interface 995 can also be compatible with different types of SIM cards. The SIM card interface 995 can also be compatible with external memory cards. The electronic device 900 interacts with the network through the SIM card to implement functions such as calls and data communications. In some embodiments, the electronic device 900 uses an eSIM, i.e., an embedded SIM card. The eSIM card can be embedded in the electronic device 900 and cannot be separated from the electronic device 900.
[0396] The electronic device 900 may be a mobile terminal or a non-mobile terminal. Exemplarily, the electronic device 900 may be a mobile phone, a tablet computer, a laptop computer, a PDA, a vehicle-mounted terminal, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a personal digital assistant (PDA), a wireless headset, a wireless bracelet, a wireless smart glasses, a wireless watch, an augmented reality (AR) / virtual reality (VR) device, a desktop computer, a smart home appliance (such as a TV, a speaker, a refrigerator, an air purifier, an air conditioner, an electric rice cooker), etc. Among them, the electronic device 900 may also be collectively referred to as an Internet of Things (IoT) device. The embodiment of the present application does not specifically limit the device type of the electronic device 900.
[0397] It should be understood that Fig. 22 The electronic device 900 shown may correspond to Fig.16 The device 800 shown. Fig. 22 The processor 910, the display screen 994, the pressure sensor 980A or the touch sensor 980J in the electronic device 900 shown in the figure may correspond to Fig.21 The processing unit 830, the display unit 810, and the detection unit 820 in the device 800.
[0398] In actual implementation, when the electronic device 900 is running, the processor 910 executes the computer execution instructions in the memory 921 to perform the operation steps of the above method through the electronic device 900.
[0399] Optionally, in some embodiments, the present application provides a chip, which is coupled to a memory, and the chip is used to read and execute computer programs or instructions stored in the memory to execute the methods in the above embodiments.
[0400] Optionally, in some embodiments, the present application provides an electronic device, which includes a chip, and the chip is used to read and execute a computer program or instruction stored in a memory, so that the method in each embodiment is executed.
[0401] Optionally, in some embodiments, the embodiments of the present application further provide a computer-readable storage medium, which stores program code. When the computer program code runs on a computer, the computer executes the methods in the above embodiments.
[0402] Optionally, in some embodiments, the embodiments of the present application further provide a computer program product, which includes a computer program code. When the computer program code runs on a computer, the computer executes the methods in the above embodiments.
[0403] In an embodiment of the present application, the electronic device includes a hardware layer, an operating system layer running on the hardware layer, and an application layer running on the operating system layer. Among them, the hardware layer may include hardware such as a central processing unit (CPU), a memory management unit (MMU), and a memory (also called main memory). The operating system of the operating system layer can be any one or more computer operating systems that implement business processing through processes, such as Linux operating system, Unix operating system, Android operating system, iOS operating system, or Windows operating system. The application layer may include applications such as browsers, address books, word processing software, and instant messaging software.
[0404] The embodiments of the present application do not specifically limit the specific structure of the execution subject of the method provided in the embodiments of the present application, as long as it is possible to communicate according to the method provided in the embodiments of the present application by running a program that records the code of the method provided in the embodiments of the present application. For example, the execution subject of the method provided in the embodiments of the present application may be an electronic device, or a functional module in the electronic device that can call and execute a program.
[0405] Various aspects or features of the present application may be implemented as a method, apparatus, or article of manufacture using standard programming and / or engineering techniques. The term "article of manufacture" as used herein may encompass a computer program accessible from any computer-readable device, carrier, or medium. For example, a computer-readable medium may include, but is not limited to, a magnetic storage device (e.g., a hard disk, a floppy disk, or a magnetic tape, etc.), an optical disk (e.g., a compact disc (CD), a digital versatile disc (DVD), etc.), a smart card, and a flash memory device (e.g., an erasable programmable read-only memory (EPROM), a card, a stick, or a key drive, etc.).
[0406] The various storage media described herein may represent one or more devices and / or other machine-readable media for storing information. The term "machine-readable medium" may include, but is not limited to, wireless channels and various other media capable of storing, containing and / or carrying instructions and / or data.
[0407] It should be understood that the processor mentioned in the embodiments of the present application may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application specific integrated circuits (ASIC), field programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc.
[0408] It should also be understood that the memory mentioned in the embodiments of the present application may be a volatile memory or a non-volatile memory, or may include both volatile and non-volatile memories. Among them, the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM). For example, RAM can be used as an external cache. By way of example and not limitation, RAM may include the following forms: static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDR SDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM), and direct rambus RAM (DR RAM).
[0409] It should be noted that when the processor is a general-purpose processor, DSP, ASIC, FPGA or other programmable logic device, discrete gate or transistor logic device, discrete hardware component, the memory (storage module) can be integrated into the processor.
[0410] It should also be noted that the memory described herein is intended to include, but is not limited to, these and any other suitable types of memory.
[0411] Those of ordinary skill in the art will appreciate that the units and steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of protection of this application.
[0412] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0413] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0414] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0415] In addition, each functional unit in each embodiment of the present application may be integrated into one unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
[0416] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, or part of the technical solution, can be embodied in the form of a computer software product, which is stored in a storage medium. The computer software product includes several instructions that enable a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in each embodiment of the present application. The aforementioned storage medium may include, but is not limited to: various media that can store program codes, such as USB flash drives, mobile hard drives, ROM, RAM, magnetic disks, or optical disks.
[0417] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which this application belongs. The terms used herein in the specification of this application are only for the purpose of describing specific embodiments and are not intended to limit this application.
[0418] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
Claims
1. A method for displaying an application interface, characterized in that: Applied to an electronic device with a foldable screen, the method comprises: When the foldable screen of the electronic device is in a folded state, the outer screen of the electronic device is lit, and when a first preset condition is met during the outer screen lighting display process, the electronic device displays a first prompt message on the outer screen; in response to the user's operation of unfolding the foldable screen, the electronic device performs split-screen display or floating window display on the unfolded inner screen; The first prompt information is used to prompt that the split-screen display or the floating window display can be triggered by unfolding the foldable screen; Wherein, satisfying the first preset condition includes that the electronic device receives a short message, or the electronic device detects that two applications are frequently switched; When the foldable screen of the electronic device is in the unfolded state, the inner screen of the electronic device is lit, and when a second preset condition is met during the process of full-screen display or split-screen display of the inner screen, the electronic device displays a recommended application identifier or a split-screen control on the inner screen; in response to a user operation on the recommended application identifier or the split-screen control, the electronic device displays the split-screen on the inner screen or changes the split-screen combination; The recommended application identifier includes at least one of the following: an icon, text, a preview image, and a thumbnail image; the split-screen control includes two application icons and split-screen prompt information; The satisfying of the second preset condition includes the electronic device receiving an operation of a user selecting a text or a picture, or the electronic device detecting that two applications are frequently switched.
2. The method according to claim 1, characterized in that When a second preset condition is met during the full-screen display or split-screen display of the inner screen, the electronic device displays a recommended application identifier or displays a split-screen control on the inner screen; In response to a user operation on the recommended application identifier or the split-screen control, the electronic device displays or changes the split-screen combination on the inner screen, including: The electronic device displays the interface of the first application on the display screen; The electronic device receives a first operation by a user on a target object in an interface of the first application; In response to the first operation, the electronic device displays a second application identifier on the display screen, where the second application identifier corresponds to a second application that is a recommended application based on the target object; The electronic device receives a second operation of the user on the second application identifier; In response to the second operation, the electronic device simultaneously displays the interface of the first application and the interface of the second application on the display screen; the simultaneous display is split-screen display or floating window display; In response to a user operation, displaying an interface of a third application in a floating window on the interface of the second application; When the electronic device displays the interface of the first application and the interface of the second application in split screen, and the interface of the third application is displayed in a floating window on the interface of the second application, the electronic device detects that the user selects or copies the first content in the interface of the third application; The electronic device prompts or recommends the user to open an interface preview or thumbnail of a fourth application recommended based on the first content in a floating window; After user confirmation, the electronic device continues to display the interface of the third application in a floating window on the interface of the second application, and displays the interface of the fourth application in a floating window on the interface of the first application.
3. The method according to claim 1, characterized in that When a second preset condition is met during the full-screen display or split-screen display of the inner screen, the electronic device displays a recommended application identifier or displays a split-screen control on the inner screen; In response to a user operation on the recommended application identifier or the split-screen control, the electronic device displays or changes the split-screen combination on the inner screen, including: When the electronic device displays the interface of the first application and the interface of the second application in split screen, and displays the interface of the fourth application in a floating window on the interface of the first application, and displays the interface of the third application in a floating window on the interface of the second application, the electronic device detects that the user selects or copies the second content in the interface of the third application; The electronic device prompts or recommends the user to open an interface preview or thumbnail of a fifth application recommended based on the second content in a floating window; After user confirmation, the electronic device continues to display the interface of the third application in a floating window on the interface of the second application, and replaces the interface of the fourth application in the floating window on the interface of the second application with the interface of the fifth application.
4. The method according to claim 1, characterized in that: When a second preset condition is met during the full-screen display or split-screen display of the inner screen, the electronic device displays a recommended application identifier or displays a split-screen control on the inner screen; In response to a user operation on the recommended application identifier or the split-screen control, the electronic device displays or changes the split-screen combination on the inner screen, including: When the electronic device displays the interface of the second application in a floating window on the interface of the first application, the electronic device detects that the user selects or copies the third content in the interface of the second application; The electronic device displays an interface preview or thumbnail of a sixth application recommended based on the third content; If the electronic device detects the user's operation on the identification of the application, the electronic device simultaneously displays two floating windows on the interface of the first application, respectively displaying the interface of the second application and the interface of the recommended sixth application.
5. The method according to claim 2, characterized in that: In response to the second operation, the electronic device simultaneously displays the interface of the first application and the interface of the second application on the display screen, including: In response to the second operation, if both the first application and the second application support split-screen display, the electronic device displays the interface of the first application and the interface of the second application on the display screen in split-screen; In response to the second operation, if the first application and / or the second application does not support split-screen display, and the second application supports floating window display, the electronic device displays the interface of the second application in a floating window on the interface of the first application; In response to the second operation, if the first application and / or the second application do not support split-screen display, and the first application supports floating window display, the electronic device displays the interface of the second application in full screen on the display screen, and displays the interface of the first application in a floating window on the interface of the second application.
6. The method according to claim 2, characterized in that After the electronic device receives a second operation of the user on the second application identifier, the method further includes: In response to the second operation, if the first application and / or the second application does not support split-screen display, and both the first application and the second application do not support floating window display, the electronic device displays the interface of the second application in full screen on the display screen.
7. The method according to claim 2, characterized in that The target object is text or picture; When the target object is text, the first operation is a selection or copy operation on the target object; or, When the target object is a picture, the first operation includes a text recognition operation on the target object, and a selection or copying operation on text content in a text recognition result.
8. The method according to claim 2, characterized in that: The electronic device displays an interface of a first application on a display screen, including: The electronic device displays the interface of the first application on the display screen in full screen or split screen; or, The electronic device displays the interface of the first application and the interface of the third application in split screen on the display screen.
9. The method according to claim 8, characterized in that In a case where the electronic device displays a first sub-interface and a second sub-interface of the first application on the display screen in split screen, the first operation is an operation of the user on the target object in the first sub-interface; The electronic device simultaneously displays the interface of the first application and the interface of the second application on the display screen, including: If the second application supports split-screen display, the electronic device displays the first sub-interface and the interface of the second application in split-screen; the electronic device displays the second sub-interface in a floating ball manner, or hides the second sub-interface; If the second application does not support split-screen display but supports floating window display, the electronic device maintains split-screen display of the first sub-interface and the second sub-interface of the first application, and displays the interface of the second application in the form of a floating window on the second sub-interface.
10. The method according to claim 8, characterized in that In a case where the electronic device displays the interface of the first application and the interface of the third application in split screen, the electronic device simultaneously displays the interface of the first application and the interface of the second application on the display screen, including: If the second application supports split-screen display, the electronic device displays the interface of the first application and the interface of the second application in split-screen; the electronic device displays the interface of the third application in a floating ball manner, or hides the interface of the third application; If the second application does not support split-screen display but supports floating window display, the electronic device maintains split-screen display of the interface of the first application and the interface of the third application, and displays the interface of the second application in the form of a floating window on the interface of the third application.
11. The method according to claim 2, characterized in that The application identifier includes a drop-down control; the method further includes: When the electronic device receives an operation of the drop-down control by the user, the electronic device displays a recommendation menu bar, wherein the recommendation menu bar includes the second application identifier and a fourth application identifier, and the fourth application corresponding to the fourth application identifier is an application recommended based on the target object; If the electronic device receives an operation on the fourth application identifier by the user, the electronic device simultaneously displays the interface of the first application and the interface of the fourth application on the display screen.
12. The method according to claim 1, characterized in that When the foldable screen of the electronic device is in a folded state, the outer screen of the electronic device is lit up, and when a first preset condition is met during the outer screen lighting display process, the electronic device displays a first prompt message on the outer screen; In response to a user's operation of unfolding the foldable screen, the electronic device performs split-screen display or floating window display on the unfolded inner screen, including: When the foldable screen of the electronic device is in a folded state, the electronic device displays an interface of the first application through an outer screen of the foldable screen; When the first preset condition is met, the electronic device displays the first prompt information through the external screen; If the electronic device receives an operation of unfolding the foldable screen by the user, the electronic device displays the interface of the first application and the interface of the second application through the inner screen of the foldable screen; Among them, the first preset condition includes any one of the following: the number of switching displays between the first application and the second application within a preset time period is greater than or equal to a preset number; the electronic device receives a new message reminder of the second application when displaying the interface of the first application.
13. The method according to claim 1, characterized in that When the foldable screen of the electronic device is in a folded state, the outer screen of the electronic device is lit up, and when a first preset condition is met during the outer screen lighting display process, the electronic device displays a first prompt message on the outer screen; In response to a user's operation of unfolding the foldable screen, the electronic device performs split-screen display or floating window display on the unfolded inner screen, including: When the foldable screen of the electronic device is in a folded state, the electronic device displays an interface of the first application through an outer screen of the foldable screen; When the first preset condition is met, the electronic device displays the first prompt information through the external screen, where the first prompt information is used to prompt that the display of the floating window can be triggered by unfolding the foldable screen; If the electronic device receives an operation of unfolding the foldable screen by the user, the electronic device displays the interface of the first application in full screen through the inner screen of the foldable screen, and displays the interface of the second application in a floating window manner; Among them, the first preset condition includes any one of the following: the number of switching displays between the first application and the second application within a preset time period is greater than or equal to a preset number; the electronic device receives a new message reminder of the second application when displaying the interface of the first application.
14. The method according to claim 12 or 13, characterized in that The method further comprises: If the electronic device receives an operation from the user to unfold the foldable screen, the electronic device switches the inner screen to a bright screen state and switches the outer screen to an off screen state.
15. The method according to claim 12 or 13, characterized in that The method further comprises: When the foldable screen is in the unfolded state, if the electronic device receives an operation of closing the foldable screen by the user, the electronic device switches the outer screen to the light-on state and switches the inner screen to the off-screen state; The electronic device continues to display the interface of the first application through the external screen.
16. An electronic device, characterized in that: The electronic device comprises a processor coupled to a memory, wherein the processor is configured to execute a computer program or instruction stored in the memory, so that the electronic device implements the method according to any one of claims 1 to 15.
17. A chip system, characterized in that: The chip system is coupled to a memory, and the chip system is used to read and execute a computer program stored in the memory to implement the method as claimed in any one of claims 1 to 15.
18. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed on an electronic device, the electronic device executes the method according to any one of claims 1 to 15.
Citation Information
Patent Citations
Method for calling program and terminal
CN106325687A
Split-screen display method and mobile terminal
CN106843732A
Split-screen display method and device, storage medium and electronic equipment
CN108614655A
Display method and electronic equipment
CN110661917A
Display screen control method and device, terminal equipment and storage medium
CN111600998A