Display method and electronic device
By automatically displaying the identifier of split-screen applications on electronic devices, the problem of cumbersome split-screen operation in existing technologies is solved, and the efficiency of split-screen display is improved.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- HONOR DEVICE CO LTD
- Filing Date
- 2022-01-06
- Publication Date
- 2026-05-22
AI Technical Summary
Existing split-screen display methods on electronic devices require users to perform numerous operations, resulting in inconvenience and low efficiency.
Electronic devices can automatically display icons for applications that can be displayed in split-screen mode based on preset conditions, reducing user operations.
It improves the efficiency of split-screen display on electronic devices and reduces the number of steps users need to take when using split-screen display.
Smart Images

Figure CN116450011B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of electronic devices, and more particularly to a display method and an electronic device. Background Technology
[0002] With the popularization and development of the internet, users' functional needs for electronic devices (such as mobile phones and tablets) are becoming increasingly diversified. For example, more and more electronic devices can support split-screen display, allowing multiple applications to be displayed on the same screen, thus meeting users' needs to use multiple applications simultaneously.
[0003] For example, a user can open any application on an electronic device and bring up the split-screen application bar by swiping the screen from the outside in from the left or right edge of the screen and pausing. The user can then long-press and drag the application in the split-screen application bar onto the screen, allowing the electronic device to display the content of two applications on the same display interface.
[0004] However, the aforementioned split-screen display method for electronic devices requires users to perform numerous operations to complete the split-screen display, causing inconvenience to users. Summary of the Invention
[0005] This application provides a display method and an electronic device that can reduce the number of operations a user performs when using an electronic device for split-screen display, thereby improving the efficiency of split-screen display on the electronic device.
[0006] To achieve the above objectives, the embodiments of this application adopt the following technical solutions:
[0007] In a first aspect, embodiments of this application provide a display method applied to an electronic device having a display screen. The display method may include: the electronic device displaying a first interface on the display screen, the first interface being the interface of a first application in the electronic device; when a second application in the electronic device meets preset conditions, the electronic device displaying a first control on the first interface, the first control including an identifier of the first application and an identifier of the second application; the electronic device receiving a first operation from a user on the first control; and in response to the first operation, the electronic device displaying a second interface on the display screen, the second interface including the interface of the first application and the interface of the second application.
[0008] Based on the method described in the first aspect, when the electronic device displays the interface of the first application, the electronic device can determine whether there is an application that meets preset conditions (such as an application that can be displayed in split screen). When the electronic device determines that there is an application that meets the preset conditions, the electronic device can automatically display the identifier of the application that can be displayed in split screen, thereby reducing the number of operations that the user performs when using the electronic device to display in split screen, and thus improving the efficiency of the electronic device to display in split screen.
[0009] In conjunction with the first aspect, in another possible implementation, the preset condition can be one or more of the following conditions: within a first preset time period before displaying the first interface, the number of switches between the second application and the first application is greater than a switching number threshold; within a second preset time period before displaying the first interface, the second application has run in the foreground; before displaying the first interface, the second interface has been displayed on the screen; the state information of the electronic device when displaying the first interface matches the historical state information of the electronic device when displaying the second interface on the screen; the historical state information includes at least one of the following: the position of the electronic device when displaying the second interface on the screen, the time of displaying the second interface on the screen, the device state of the electronic device when displaying the second interface on the screen, and the speed of the electronic device when displaying the second interface on the screen.
[0010] Based on this possible implementation, when the electronic device displays the interface corresponding to the first application, the electronic device can predict the application that the user needs to display in split screen based on the number of times the first application and the second application are switched, the opening order of the first application and the second application, the applications that the electronic device has displayed in split screen, or the current state information of the electronic device. Thus, the electronic device can automatically display the identifiers of the applications that can be displayed in split screen, thereby reducing the number of operations the user performs when using the electronic device to display in split screen, and thus improving the efficiency of split screen display of the electronic device.
[0011] In conjunction with the first aspect, in another possible implementation, the state information of the electronic device when displaying the first interface matches the historical state information of the electronic device when displaying the second interface on the screen, including at least one of the following: the position of the electronic device when displaying the first interface on the screen matches the position of the electronic device when displaying the second interface on the screen; or, the time of the electronic device when displaying the first interface on the screen matches the time of the electronic device when displaying the second interface on the screen; or, the device state of the electronic device when displaying the first interface on the screen matches the device state of the electronic device when displaying the second interface on the screen; or, the speed of the electronic device when displaying the first interface on the screen matches the speed of the electronic device when displaying the second interface on the screen.
[0012] Based on this possible implementation, when the electronic device displays the interface corresponding to the first application, the electronic device can predict the application that the user needs to display in split screen based on the current state information of the electronic device. Thus, the electronic device can automatically display the identifiers of the applications that can be displayed in split screen, thereby reducing the number of operations the user needs to perform when using the electronic device for split screen display, and thus improving the efficiency of split screen display of the electronic device.
[0013] In conjunction with the first aspect, another possible implementation could be a foldable screen.
[0014] Based on this possible implementation, when the electronic device is a device with a foldable screen, the electronic device can automatically display the identifier of the application that can be displayed in split screen, thereby reducing the number of operations that the user needs to perform when using the electronic device in split screen, and thus improving the efficiency of split screen display of the electronic device.
[0015] In conjunction with the first aspect, in another possible implementation, the electronic device displays a second interface on the display screen, which may include: the electronic device displays a second interface on the display screen when it is detected that the folding screen of the electronic device is in an unfolded state.
[0016] Based on this possible implementation, when the electronic device is a device with a foldable screen, the electronic device can automatically display the identifier of the application that can be displayed in split screen when the foldable screen is unfolded, thereby reducing the number of operations that the user needs to perform when using the electronic device to display in split screen, and thus improving the efficiency of split screen display of the electronic device.
[0017] In conjunction with the first aspect, in another possible implementation, before the electronic device displays the second interface on the display screen, the above display method may further include: when the folding screen of the electronic device is detected to be in a folded state, the electronic device displays a first prompt window, the first prompt window being used to prompt the user to unfold the folding screen of the electronic device; the electronic device receives a second operation from the user to unfold the folding screen.
[0018] Based on this possible implementation, when the screen of an electronic device is folded, the device can display a prompt window asking the user to unfold the screen. This allows the device to automatically display the identifiers of applications that can be displayed in split-screen mode, thereby reducing the number of operations the user needs to perform when using the device in split-screen mode and improving the efficiency of split-screen mode.
[0019] Secondly, embodiments of this application provide a display method applied to an electronic device having a display screen. The display method may include: the electronic device displaying a first interface on the display screen, the first interface being the desktop of the electronic device or the interface corresponding to any application in the electronic device; when a first application and a second application in the electronic device meet preset conditions, the electronic device displaying a first control on the first interface, the first control including an identifier of the first application and an identifier of the second application; the electronic device receiving a first operation from a user on the first control; and in response to the first operation, the electronic device displaying a second interface on the display screen, the second interface including the interface of the first application and the interface of the second application.
[0020] Based on the method described in the second aspect, when the electronic device displays the first interface, the electronic device can determine whether there is an application that meets the preset conditions (such as an application that can be displayed in split screen). When the electronic device determines that there is an application that meets the preset conditions, the electronic device can automatically display the identifier of the application that can be displayed in split screen, thereby reducing the user's operations when using the electronic device to display in split screen, and thus improving the efficiency of the electronic device to display in split screen.
[0021] In conjunction with the second aspect, in another possible implementation, the preset condition can be the state information of the electronic device when displaying the first interface, which matches the historical state information of the electronic device when displaying the second interface on the display screen; the historical state information includes at least one of the following: the position of the electronic device when displaying the second interface on the display screen, the time of displaying the second interface on the display screen, the device state of the electronic device when displaying the second interface on the display screen, and the speed of the electronic device when displaying the second interface on the display screen.
[0022] Based on this possible implementation, when the electronic device displays the first interface, the electronic device can predict the applications that the user needs to display in split screen based on the current state information of the electronic device. As a result, the electronic device can automatically display the identifiers of the applications that can be displayed in split screen, thereby reducing the number of operations the user needs to perform when using the electronic device to display in split screen, and thus improving the efficiency of split screen display of the electronic device.
[0023] In conjunction with the second aspect, in another possible implementation, the state information of the electronic device when displaying the first interface matches the historical state information of the electronic device when displaying the second interface on the screen, including at least one of the following: the position of the electronic device when displaying the first interface on the screen matches the position of the electronic device when displaying the second interface on the screen; or, the time of the electronic device when displaying the first interface on the screen matches the time of the electronic device when displaying the second interface on the screen; or, the device state of the electronic device when displaying the first interface on the screen matches the device state of the electronic device when displaying the second interface on the screen; or, the speed of the electronic device when displaying the first interface on the screen matches the speed of the electronic device when displaying the second interface on the screen.
[0024] Based on this possible implementation, when the electronic device displays the interface corresponding to the first application, the electronic device can predict the application that the user needs to display in split screen based on the current state information of the electronic device. Thus, the electronic device can automatically display the identifiers of the applications that can be displayed in split screen, thereby reducing the number of operations the user needs to perform when using the electronic device for split screen display, and thus improving the efficiency of split screen display of the electronic device.
[0025] In conjunction with the second aspect, in another possible implementation, the display screen can be a foldable screen.
[0026] Based on this possible implementation, when the electronic device is a device with a foldable screen, the electronic device can automatically display the identifier of the application that can be displayed in split screen, thereby reducing the number of operations that the user needs to perform when using the electronic device in split screen, and thus improving the efficiency of split screen display of the electronic device.
[0027] In conjunction with the second aspect, in another possible implementation, the electronic device displays a second interface on the display screen, which may include: when the folding screen of the electronic device is detected to be in an unfolded state, the electronic device displays a second interface on the display screen.
[0028] Based on this possible implementation, when the electronic device is a device with a foldable screen, the electronic device can automatically display the identifier of the application that can be displayed in split screen when the foldable screen is unfolded, thereby reducing the number of operations that the user needs to perform when using the electronic device to display in split screen, and thus improving the efficiency of split screen display of the electronic device.
[0029] In conjunction with the second aspect, in another possible implementation, before the electronic device displays the second interface on the display screen, the above display method may further include: when the folding screen of the electronic device is detected to be in a folded state, the electronic device displays a first prompt window, the first prompt window being used to prompt the user to unfold the folding screen of the electronic device; the electronic device receives a second operation from the user to unfold the folding screen.
[0030] Based on this possible implementation, when the screen of an electronic device is folded, the device can display a prompt window asking the user to unfold the screen. This allows the device to automatically display the identifiers of applications that can be displayed in split-screen mode, thereby reducing the number of operations the user needs to perform when using the device in split-screen mode and improving the efficiency of split-screen mode.
[0031] Thirdly, embodiments of this application provide a display device that can be applied to an electronic device to implement the method described in the first aspect. The function of the display device can be implemented in hardware or by hardware executing corresponding software. The hardware or software includes one or more modules corresponding to the above functions, such as a display module and a receiving module.
[0032] The display module can be used to display a first interface on a display screen, which is the interface of a first application in the electronic device.
[0033] The display module can also be used to display a first control on a first interface when a second application in an electronic device meets preset conditions. The first control includes the identifier of the first application and the identifier of the second application.
[0034] The receiving module can be used to receive the user's first operation on the second control.
[0035] The display module can also be used to respond to the first operation by displaying a second interface on the screen, the second interface including the interface of the first application and the interface of the second application.
[0036] In conjunction with the third aspect, in another possible implementation, the preset conditions can be one or more of the following: within a first preset time period before the first interface is displayed, the number of switches between the second application and the first application is greater than a switching number threshold; within a second preset time period before the first interface is displayed, the second application has been running in the foreground; before the first interface is displayed, the second interface has been displayed on the screen; the state information of the electronic device when the first interface is displayed matches the historical state information of the electronic device when the second interface is displayed on the screen; the historical state information includes at least one of the following: the position of the electronic device when the second interface is displayed on the screen, the time of the electronic device when the second interface is displayed on the screen, the device state of the electronic device when the second interface is displayed on the screen, and the speed of the electronic device when the second interface is displayed on the screen.
[0037] In conjunction with the third aspect, in another possible implementation, the state information of the electronic device when displaying the first interface matches the historical state information of the electronic device when displaying the second interface on the screen, including at least one of the following: the position of the electronic device when displaying the first interface on the screen matches the position of the electronic device when displaying the second interface on the screen; or, the time of the electronic device when displaying the first interface on the screen matches the time of the electronic device when displaying the second interface on the screen; or, the device state of the electronic device when displaying the first interface on the screen matches the device state of the electronic device when displaying the second interface on the screen; or, the speed of the electronic device when displaying the first interface on the screen matches the speed of the electronic device when displaying the second interface on the screen.
[0038] In conjunction with the third aspect, another possible implementation could be a foldable screen.
[0039] In conjunction with the third aspect, in another possible implementation, the display module can also be used to display a second interface on the display screen when the folding screen of the electronic device is detected to be in an unfolded state.
[0040] In conjunction with the third aspect, in another possible implementation, the display module can also be used to display a first prompt window when the foldable screen of the electronic device is detected to be in a folded state. The first prompt window is used to prompt the user to unfold the foldable screen of the electronic device. The receiving module can also be used to receive a second operation from the user to unfold the foldable screen.
[0041] Fourthly, embodiments of this application provide a display device that can be applied to an electronic device to implement the method described in the first aspect. The functions of the display device can be implemented in hardware or by hardware executing corresponding software. The hardware or software includes one or more modules corresponding to the aforementioned functions, such as a display module and a receiving module.
[0042] The display module can be used to display a first interface on a screen, which is either the desktop of the electronic device or the interface corresponding to any application in the electronic device.
[0043] The display module can also be used to display a first control on a first interface when the first application and the second application in the electronic device meet preset conditions. The first control includes the identifier of the first application and the identifier of the second application.
[0044] The receiving module can be used to receive the user's first operation on the first control.
[0045] The display module can also be used to respond to the first operation by having the electronic device display a second interface on the screen, the second interface including the interface of the first application and the interface of the second application.
[0046] In conjunction with the fourth aspect, in another possible implementation, the preset condition can be the state information of the electronic device when displaying the first interface, which matches the historical state information of the electronic device when displaying the second interface on the display screen; the historical state information includes at least one of the following: the position of the electronic device when displaying the second interface on the display screen, the time of displaying the second interface on the display screen, the device state of the electronic device when displaying the second interface on the display screen, and the speed of the electronic device when displaying the second interface on the display screen.
[0047] In conjunction with the fourth aspect, in another possible implementation, the state information of the electronic device when displaying the first interface matches the historical state information of the electronic device when displaying the second interface on the screen, including at least one of the following: the position of the electronic device when displaying the first interface on the screen matches the position of the electronic device when displaying the second interface on the screen; or, the time of the electronic device when displaying the first interface on the screen matches the time of the electronic device when displaying the second interface on the screen; or, the device state of the electronic device when displaying the first interface on the screen matches the device state of the electronic device when displaying the second interface on the screen; or, the speed of the electronic device when displaying the first interface on the screen matches the speed of the electronic device when displaying the second interface on the screen.
[0048] In conjunction with the fourth aspect, in another possible implementation, the display screen can be a foldable screen.
[0049] In conjunction with the fourth aspect, in another possible implementation, the display module can also be used to display a second interface on the display screen when the folding screen of the electronic device is detected to be in an unfolded state.
[0050] In conjunction with the fourth aspect, in another possible implementation, the display module can also be used to display a first prompt window when the foldable screen of the electronic device is detected to be in a folded state. The first prompt window is used to prompt the user to unfold the foldable screen of the electronic device. The receiving module can also be used to receive a second operation from the user to unfold the foldable screen.
[0051] Fifthly, embodiments of this application provide an electronic device, including: a processor and a memory for storing processor-executable instructions. The processor is configured to, when executing the aforementioned instructions, cause the electronic device to implement the device control method as described in any one of the first aspects or possible implementations of the first aspect; or, the processor is configured to, when executing the aforementioned instructions, cause the electronic device to implement the device control method as described in any one of the second aspects or possible implementations of the second aspect.
[0052] Sixthly, embodiments of this application provide a computer-readable storage medium storing computer program instructions thereon. When the computer program instructions are executed by an electronic device, the electronic device implements the device control method as described in any one of the first aspects or possible implementations of the first aspect; or, when the computer program instructions are executed by an electronic device, the electronic device implements the device control method as described in any one of the second aspects or possible implementations of the second aspect.
[0053] In a seventh aspect, embodiments of this application provide a computer program product including computer-readable code that, when executed in an electronic device, causes the electronic device to implement the device control method as described in any one of the first aspects or possible implementations of the first aspect; or, when executed in an electronic device, causes the electronic device to implement the device control method as described in any one of the second aspects or possible implementations of the second aspect.
[0054] It should be understood that the beneficial effects of the third to seventh aspects mentioned above can be found in the relevant descriptions in the first or second aspects mentioned above, and will not be repeated here. Attached Figure Description
[0055] Figure 1 A schematic diagram of the split-screen display interface of the electronic device provided in the embodiments of this application. Figure 1 ;
[0056] Figure 2 A schematic diagram of the split-screen display interface of the electronic device provided in the embodiments of this application. Figure 2 ;
[0057] Figure 3 A schematic diagram of the split-screen display interface of the electronic device provided in the embodiments of this application. Figure 3 ;
[0058] Figure 4 A schematic diagram of the split-screen display interface of the electronic device provided in the embodiments of this application. Figure 4 ;
[0059] Figure 5 A schematic diagram of the split-screen display interface of the electronic device provided in the embodiments of this application. Figure 5 ;
[0060] Figure 6 A schematic diagram of the hardware structure of an electronic device provided in an embodiment of this application;
[0061] Figure 7 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application;
[0062] Figure 8 A flowchart illustrating a display method provided in an embodiment of this application. Figure 1 ;
[0063] Figure 9 A schematic diagram of the split-screen display interface of the electronic device provided in the embodiments of this application. Figure 6 ;
[0064] Figure 10 A flowchart illustrating a display method provided in an embodiment of this application. Figure 2 ;
[0065] Figure 11 A schematic diagram of the split-screen display interface of the electronic device provided in the embodiments of this application. Figure 7 ;
[0066] Figure 12A A flowchart illustrating a display method provided in an embodiment of this application. Figure 3 ;
[0067] Figure 12B This application provides a schematic diagram of historical split-screen information for an electronic device. Figure 1 ;
[0068] Figure 12C A schematic diagram of the split-screen display interface of the electronic device provided in the embodiments of this application. Figure 8 ;
[0069] Figure 13A A flowchart illustrating a display method provided in an embodiment of this application. Figure 4 ;
[0070] Figure 13B A schematic diagram of the split-screen display interface of the electronic device provided in the embodiments of this application. Figure 9 ;
[0071] Figure 14 This application provides a schematic diagram of historical split-screen information for an electronic device. Figure 2 ;
[0072] Figure 15 A flowchart illustrating a display method provided in an embodiment of this application. Figure 5 ;
[0073] Figure 16A schematic diagram of the structure of a display device provided in this application embodiment. Figure 1 ;
[0074] Figure 17 A schematic diagram of the structure of a display device provided in this application embodiment. Figure 2 . Detailed Implementation
[0075] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0076] The terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated. Therefore, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. In the description of this application, unless otherwise stated, "a plurality of" means two or more.
[0077] With the popularization and development of the internet, users' functional needs for electronic devices (such as mobile phones and tablets) are becoming increasingly diversified. For example, more and more electronic devices can support split-screen display, allowing multiple applications to be displayed on the same screen, thus meeting users' needs to use multiple applications simultaneously.
[0078] For example, consider a mobile phone with an inward-folding screen. Figure 1 As shown in (a), when a foldable phone is fully folded, i.e., when the inward-folding screen (inner screen) is in the folded state, only the outer screen displays content, providing the same experience as a traditional candybar phone. As the phone unfolds, i.e., the inward-folding screen expands, it can be folded into... Figure 1 The image shows the semi-folded state as shown in (b). As the phone continues to open, Figure 1 (c) in the diagram illustrates the inward-folding screen (i.e., the inner screen) in its fully unfolded state. When the inward-folding screen (i.e., the inner screen) is fully unfolded, the content is displayed on the inner screen, which can support full-screen display or display on either side of the screen. At this time, the outer screen becomes black. (Combined with...) Figure 1As shown in (c), when the phone's foldable screen is fully unfolded, the user can open a first application, such as a photos application, to edit a picture within it. When a second application, such as a social media application, receives a message, the user can trigger split-screen mode, displaying both the content from the photos application and the content from the social media application simultaneously on the screen. Figure 1 As shown in (c), after the user triggers the phone to display split screen, the phone can simultaneously display the content corresponding to the picture application and the content corresponding to the social application on the screen. For example, the phone can display the content corresponding to the social application on the right side of the screen and the content corresponding to the picture application on the left side of the screen.
[0079] Normally, users can open any application on an electronic device and bring up the split-screen application bar by swiping from the outside to the inside of the screen at the left, right, top, or bottom edge and pausing. By long-pressing and dragging the application in the split-screen application bar onto the screen, the electronic device can display two applications on the same display interface.
[0080] For example, continuing with the example of a mobile phone with an inward-folding screen, the user can open a photo application on the phone and edit a specific image within that application. Figure 2 As shown in (a), when the phone's foldable screen is fully unfolded, the phone can display the interface corresponding to the picture application. When a message arrives on a social application on the phone, or when the user needs to use other applications simultaneously (such as an email application or a music application), the user can trigger the selection control 201 included in the display interface corresponding to the picture application, thereby triggering the phone to display the split-screen application bar.
[0081] When the phone receives a user's trigger action on the selection control 201, such as a click or a swipe from the outside to the inside of the screen followed by a pause, it responds as follows: Figure 2 As shown in (b), the mobile phone can display a split-screen application bar 202 in the display interface corresponding to the picture application. The split-screen application bar 202 can include identifiers of applications that can be displayed in split-screen mode. For example, the split-screen application bar 202 can include identifiers of email applications and music applications, and it can also include identifiers of social applications that can be displayed in split-screen mode.
[0082] Users can select the icon of the application they want to display in split-screen mode from the application icons included in the split-screen application bar 202, such as the icon of a social application. When a social application icon is selected, the user can long-press the icon and drag it onto the phone screen.
[0083] When the phone receives a long press and drag operation from the user to the screen of the social media application's icon, the phone can respond by displaying a split-screen view of both the image application's content and the social media application's content. For example... Figure 2 As shown in (c), the phone can display content corresponding to a social application on the right side of the screen and content corresponding to a picture application on the left side of the screen. That is, the phone can display content corresponding to two applications on the same display interface at the same time, thereby meeting the user's need to use multiple applications at the same time.
[0084] For example, let's continue using the example of a mobile phone with an inward-folding screen. Combined with... Figure 3 As shown in (a), when the phone's foldable screen is fully unfolded, and the phone is displaying content corresponding to the image application and content corresponding to the social application in a split-screen mode, the phone can display a multitasking control 301 on the display interface. The multitasking control 301 is used to trigger the phone to display multiple split-screen modes, such as split-screen browsing mode, side-swipe mode, and center window mode. In split-screen browsing mode, the phone can display the content corresponding to two applications side by side, that is, the phone's display interface can include two display areas on the left and right, each display area displaying the content corresponding to one application. The phone can also display the content corresponding to two applications vertically, that is, the phone's display interface can include two display areas on the top and bottom, each display area displaying the content corresponding to one application. The user can also drag the slider between the two display areas to adjust the size of the display areas corresponding to the two applications.
[0085] For example, when the mobile phone receives a user's trigger operation on the multitasking control 301, such as a click operation, as a response, such as... Figure 3 As shown in (b), the mobile phone can display multiple controls corresponding to the split-screen mode, such as the split-screen browsing control 302, the side pull control 303, and the middle window control 304.
[0086] When the phone receives a user's trigger action on the split-screen browsing control 302, such as a click, as a response, such as... Figure 3As shown in (b), the phone can display content corresponding to two applications side-by-side. That is, the phone's display interface can include two display areas: the left display area can display content corresponding to the image application, and the right display area can display content corresponding to the social application. When the phone receives a user's trigger operation on the split-screen browsing control 302, such as a click operation, as a response, such as... Figure 4 As shown in (a), a mobile phone can also display the content corresponding to two applications vertically. That is, the display interface of the mobile phone can include two display areas, one above the other. The upper display area can display the content corresponding to the picture application, and the lower display area can display the content corresponding to the social application.
[0087] When the phone receives a user's trigger action on the side pull control 303, such as a click, as a response, such as... Figure 3 As shown in (c), the phone's display interface can show the content corresponding to the picture application, and the content corresponding to the social application can be displayed in a smaller floating window. The user can drag this floating window to the left or right side of the phone's display interface. When the phone receives a user's trigger operation on the side-swipe control 303, such as a click operation, as a response, such as... Figure 4 As shown in (b), the phone's display interface can display the content corresponding to the picture application, and the content corresponding to the social application can be displayed in a smaller floating window, which the user can drag to the top or bottom of the phone's display interface.
[0088] When the phone receives a user's trigger action on the middle window control 304, such as a click, as a response, such as... Figure 3 As shown in (d), the phone's display interface can display the content corresponding to the picture application, and the content corresponding to the social application can be displayed in the middle window of the display interface.
[0089] Users can also open multiple applications simultaneously on their phones. For example, a user can open three applications at the same time, allowing the phone to display the content of all three applications on the same screen. This display mode can be called smart multi-window mode. Alternatively, the phone can display the content of two applications in split-screen mode and the content of a third application in a middle window mode (also known as a floating window).
[0090] For example, a user can open a photo app on their phone to edit a picture. Simultaneously, when a social media app receives a message and the user needs to read an article, requiring the phone to display content from three apps at once, the user can trigger the Smart Multi-Window mode. This allows the phone to simultaneously display content from the photo app, social media app, and reading app. When the phone receives a user's trigger action for Smart Multi-Window mode, such as a click, it responds as follows: Figure 5 As shown, the phone's display interface (i.e., the display interface corresponding to the inner screen) can include two display areas, left and right. The left display area can display content corresponding to the image application, and the right display area can display content corresponding to the social application. At the same time, the phone's display interface can display a floating window, which can display content corresponding to the reading application.
[0091] It is evident that in existing technologies, when users need to use electronic devices for split-screen display, they need to perform numerous operations before the electronic device can complete the split-screen display, which causes inconvenience to users and results in a poor user experience.
[0092] To address the aforementioned issues, this application provides a display method applicable to electronic devices. This method can automatically display an identifier for a second application that can be displayed in split-screen mode, based on the user's usage, when the electronic device is displaying a first application. This eliminates the need for the user to trigger the display of the identifier for the second application, thereby reducing the user's operations when using the electronic device for split-screen display and improving the efficiency of split-screen display.
[0093] The display method provided in the embodiments of this application is described below.
[0094] The display method provided in this application can be applied to electronic devices. In some examples, the electronic device may be a mobile phone, tablet computer, handheld computer, personal computer (PC), cellular phone, personal digital assistant (PDA), or other electronic device with a display screen. In some examples, when the electronic device is a mobile phone, it may be a mobile phone with a foldable screen. This application does not limit the specific form of the electronic device.
[0095] For example, taking a mobile phone as an electronic device, Figure 6 A schematic diagram of the structure of an electronic device provided in an embodiment of this application is shown.
[0096] like Figure 6As shown, the electronic device may include a processor 610, an external memory interface 620, an internal memory 621, a universal serial bus (USB) interface 630, a charging management module 640, a power management module 641, a battery 642, antenna 1, antenna 2, a mobile communication module 650, a wireless communication module 660, an audio module 670, a speaker 670A, a receiver 670B, a microphone 670C, a headphone jack 670D, a sensor module 680, buttons 690, a motor 691, an indicator 692, a camera 693, a display screen 694, and a subscriber identification module (SIM) card interface 695, etc. The sensor module 680 may include a pressure sensor 680A, a gyroscope sensor 680B, a barometric pressure sensor 680C, a magnetic sensor 680D, an accelerometer sensor 680E, a distance sensor 680F, a proximity light sensor 680G, a fingerprint sensor 680H, a temperature sensor 680J, a touch sensor 680K, an ambient light sensor 680L, a bone conduction sensor 680M, etc.
[0097] It is understood that the structure illustrated in this embodiment does not constitute a specific limitation on the electronic device. In other embodiments, the electronic device may include more or fewer components than illustrated, or combine some components, or split some components, or have different component arrangements. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
[0098] The processor 610 may include one or more processing units, such as an application processor (AP), a modem processor, a graphics processing unit (GPU), an image signal processor (ISP), a controller, memory, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural network processing unit (NPU). These different processing units may be independent devices or integrated into one or more processors.
[0099] A controller can be the nerve center and command center of an electronic device. Based on the instruction opcode and timing signals, the controller generates operation control signals to control the fetching and execution of instructions.
[0100] The processor 610 may also include a memory for storing instructions and data. In some embodiments, the memory in the processor 610 is a cache memory. This memory can store instructions or data that the processor 610 has just used or that are used repeatedly. If the processor 610 needs to use the instruction or data again, it can retrieve it directly from the memory. This avoids repeated accesses, reduces the waiting time of the processor 610, and thus improves the efficiency of the system.
[0101] In some embodiments, the processor 610 may include one or more interfaces. Interfaces 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.
[0102] The wireless communication function of electronic devices can be implemented through antenna 1, antenna 2, mobile communication module 650, wireless communication module 660, modem processor, and baseband processor.
[0103] Antenna 1 and antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in the electronic device can be used to cover one or more communication frequency bands. Different antennas can also be reused to improve antenna utilization. For example, antenna 1 can be reused as a diversity antenna for a wireless local area network. In some other embodiments, the antennas can be used in conjunction with a tuning switch.
[0104] The mobile communication module 650 can provide solutions for wireless communication applications including 2G / 3G / 4G / 5G in electronic devices. The mobile communication module 650 may include at least one filter, switch, power amplifier, low noise amplifier (LNA), etc. The mobile communication module 650 can receive electromagnetic waves via antenna 1, and perform filtering, amplification, and other processing on the received electromagnetic waves before transmitting them to a modem processor for demodulation. The mobile communication module 650 can also amplify the signal modulated by the modem processor and convert it into electromagnetic waves for radiation via antenna 1. In some embodiments, at least some functional modules of the mobile communication module 650 may be housed in processor 610. In some embodiments, at least some functional modules of the mobile communication module 650 and at least some modules of the processor 610 may be housed in the same device.
[0105] The wireless communication module 660 can provide solutions for wireless communication applications in electronic devices, including wireless local area networks (WLANs) (such as wireless fidelity (Wi-Fi) networks), Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), and infrared (IR) technologies. The wireless communication module 660 can be one or more devices integrating at least one communication processing module. The wireless communication module 660 receives electromagnetic waves via antenna 2, performs frequency modulation and filtering of the electromagnetic wave signals, and sends the processed signal to processor 610. The wireless communication module 660 can also receive signals to be transmitted from processor 610, perform frequency modulation and amplification, and convert them into electromagnetic waves for radiation via antenna 2.
[0106] In some embodiments, antenna 1 of the electronic device is coupled to mobile communication module 650, and antenna 2 is coupled to wireless communication module 560, enabling the electronic device to communicate with networks and other devices via 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 (TD-SCDMA), Long Term Evolution (LTE), BT, GNSS, WLAN, NFC, FM, and / or IR technologies, etc. The 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 satellite-based augmentation systems (SBAS).
[0107] Electronic devices implement display functions through a GPU, a display screen 694, and an application processor. The GPU is a microprocessor for image processing, connecting the display screen 694 and the application processor. The GPU performs mathematical and geometric calculations and is used for graphics rendering. The processor 610 may include one or more GPUs, which execute program instructions to generate or modify display information.
[0108] Display screen 694 is used to display images, videos, etc. Display screen 694 includes a display panel. The display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), a Mini LED, a MicroLED, a Micro-OLED, a quantum dot light-emitting diode (QLED), etc. In some embodiments, the electronic device may include one or N displays 694, where N is a positive integer greater than 1.
[0109] The electronic device can implement shooting functions through an ISP, camera 693, video codec, GPU, display 694, and application processor. In some embodiments, the electronic device may include one or N cameras 693, where N is a positive integer greater than 1.
[0110] Internal memory 621 can be used to store computer executable program code, which includes instructions. Processor 610 executes various functional applications and data processing of the electronic device by running the instructions stored in internal memory 621. Internal memory 621 may include a program storage area and a data storage area. The program storage area may store the operating system, at least one application program required for a function (such as sound playback, image playback, etc.), etc. The data storage area may store data created during the use of the electronic device (such as audio data, phonebook, etc.). Furthermore, internal memory 621 may include high-speed random access memory and may also include non-volatile memory, such as at least one disk storage device, flash memory device, universal flash storage (UFS), etc.
[0111] The 680E accelerometer can periodically collect acceleration data from electronic devices at a certain frequency. For example, it can collect the magnitude of acceleration of electronic devices in various directions (generally the XYZ axes).
[0112] Of course, this is understandable. Figure 6 The illustration shown is merely an example when the electronic device is in the form of a mobile phone. If the electronic device is in the form of a tablet, handheld computer, PC, PDA, or other devices, the structure of the electronic device may include more... Figure 6The fewer structures shown can also include more than Figure 6 The structures shown are not limited here. In some examples, when the electronic device is a mobile phone, it can be a mobile phone with a foldable screen. This foldable screen mobile phone can be divided into two categories: one is an outward-folding foldable screen (referred to as an outward-folding foldable screen), and the other is an inward-folding foldable screen (referred to as an inward-folding foldable screen). For the inward-folding foldable screen, taking the foldable screen as having an outer screen and an inner screen as an example: When the inward-folding foldable screen is in the folded state, only the outer screen displays content. When the inward-folding foldable screen is in the fully unfolded state, the inner screen displays content, and the outer screen goes black. It is understood that the foldable screen can fold vertically or horizontally, and this application embodiment does not limit this. This explanation only uses the inward-folding fold as an example.
[0113] The following embodiments of this application illustrate the use of a foldable screen electronic device, specifically a foldable mobile phone. It is understood that the display method provided in these embodiments can also be applied to ordinary mobile phones, i.e., ordinary candybar phones.
[0114] The methods described in the following embodiments can all be implemented in an electronic device with the above-described hardware structure.
[0115] Understandably, the implementation of electronic device functions generally requires not only hardware support but also the cooperation of software modules.
[0116] For example, combining Figure 7 As shown, the software modules of an electronic device may include a display module, a sensing module, a learning module, and a decision execution module, etc.
[0117] The display module can be used to display the content of multiple applications in a split-screen format. It can also display identifiers of the multiple applications that can be displayed in a split-screen format, based on messages sent by the decision execution module.
[0118] The perception module can be used to acquire user perception, device perception, and environmental perception. In other words, the perception module of the electronic device can acquire all the necessary state information. For example, the number of times a user opens or switches applications on the electronic device; the state of the electronic device (i.e., the user's state) when multiple applications are displayed in split-screen mode, such as the device's location (at home, at work, driving, on the subway, on an airplane, on a high-speed train, in an elevator, in a restaurant, etc.); the movement state of the electronic device (i.e., the user's state), such as walking, running, or riding a bicycle; the device state of the electronic device when multiple applications are displayed in split-screen mode, such as the screen being folded, the device being connected to Bluetooth headphones, speakers, or in-vehicle Bluetooth devices, or connected to Wi-Fi or NFC; and the state of the applications when multiple applications are displayed in split-screen mode, such as the duration of the split-screen display, the positional relationship between the applications (e.g., left-right or top-bottom), the application category, or the order status of the applications.
[0119] For example, the sensing module can obtain the number of times the second application switches between the first application and the second application within a first preset time period. The sensing module can also obtain the opening time of the second application and the first application within a second preset time period. The sensing module can also obtain the historical split-screen information of the first application. The sensing module can also obtain the current state information of the electronic device.
[0120] The learning module can be used to create user profiles or learn user habits when using electronic devices to display multiple applications in split-screen mode. In other words, the learning module can learn the attributes, behaviors, and habits of users using electronic devices to provide personalized experiences based on business needs. For example, user profiles can include whether the user is a working professional, their gender (male / female), business travel status, commuting time, or sleep time. User habits when using electronic devices to display multiple applications in split-screen mode can include the applications the user usually uses in split-screen mode, the duration of use when displaying multiple applications in split-screen mode, the positional relationship between multiple applications when displaying multiple applications in split-screen mode (e.g., application A on the left side of the screen, application B on the right side of the screen), and the triggering events when the user uses multiple applications in split-screen mode (e.g., the electronic device is connected to a Bluetooth device, the electronic device is on the subway or in a car, the electronic device has its folded screen unfolded, etc.).
[0121] For example, the learning module can also store the number of times the second application and the first application were switched within a first preset time period. The learning module can also store the opening times of the second application and the first application within a second preset time period. The learning module can also store historical split-screen information of the first application. Furthermore, the learning module can train a split-screen prediction model based on the historical split-screen information of application pairs displayed on the electronic device.
[0122] The decision execution module can make a comprehensive judgment based on the content of the perception module and the learning module, and provide corresponding execution / recommendation.
[0123] That is, the decision execution module can predict multiple applications that can be displayed in split screen on the electronic device based on the information obtained by the perception module and the learning results of the learning module on the attributes, behaviors and habits of users using electronic devices. The module then sends the predicted multiple applications that can be displayed in split screen to the display module, so that the display module can display the identifiers of the predicted multiple applications that can be displayed in split screen.
[0124] For example, the decision execution module can determine whether a second application exists based on the number of times the second application switches with the first application within a first preset time period stored in the learning module. The second application is an application whose number of switches with the first application within the first preset time period is greater than a switching threshold.
[0125] The decision execution module can also determine whether a second application exists based on the opening times of the second application and the first application within the second preset time period stored in the learning module. The second application is an application that was opened before the first application within the second preset time period.
[0126] The decision execution module can also determine whether a second application exists based on the historical split-screen information of the first application stored in the learning module. The second application is the application that has been displayed in split-screen with the first application.
[0127] The decision execution module can also determine whether there is a first application pair based on the split-screen prediction model stored in the learning module and the current state information of the electronic device obtained by the perception module. The first application pair includes multiple applications that can be displayed in split-screen mode.
[0128] When an electronic device displays data corresponding to the first application, it can automatically display the identifier of a second application that can be displayed in split-screen mode with the first application based on the switching status between multiple applications in the electronic device (such as the number of times applications are switched), the opening order of multiple applications, the historical split-screen information of multiple applications in the electronic device (such as the time, location, or device status of the electronic device when multiple applications are displayed in split-screen mode), or the current status information of the electronic device (such as the current time, current location, current device status, and current speed of the electronic device when displaying data corresponding to the first application). This can reduce the number of operations the user needs to perform when using the electronic device for split-screen display, thereby improving the efficiency of split-screen display.
[0129] For example, in some cases, when an electronic device displays data corresponding to a first application, the device can automatically display the identifier of a second application that can be displayed in split-screen mode with the first application based on the number of times the first application and the second application are switched. This can reduce the number of operations the user performs when using the electronic device for split-screen display, thereby improving the efficiency of split-screen display on the electronic device.
[0130] like Figure 8 As shown, the display method provided in this application embodiment may include the following S801-S806.
[0131] S801, The electronic device displays data corresponding to the first application.
[0132] When a user needs to use an application on an electronic device (which can be referred to as the first application), the user can trigger the electronic device to open the first application. That is, when the electronic device receives a trigger operation from the user on the first application, such as a click operation, the electronic device can display the interface corresponding to the first application. In other words, the electronic device can display the data or content corresponding to the first application.
[0133] For example, taking the image application on a mobile phone as the first application. When the phone receives a trigger action from the user on the image application, such as a click, the phone can display the interface corresponding to the image application, that is, the phone can display the data corresponding to the image application. Combined with... Figure 1 As shown in (c), when the mobile phone receives a user's selection operation on a picture application on the mobile phone, such as a click operation, the mobile phone can display the data corresponding to the picture.
[0134] In some examples, the first application can be an application capable of split-screen display, meaning the electronic device can simultaneously display data corresponding to the first application and data corresponding to other applications. For example, the first application can be a picture application, a social application, or an office application, etc. The specific type of the first application is not limited in the embodiments of this application.
[0135] For example, after the electronic device displays data corresponding to the first application, it can determine whether the first application is capable of split-screen display. If the electronic device determines that the first application is capable of split-screen display, it can continue with the following scheme: the electronic device can automatically display the identifier of the second application, thus eliminating the need for the user to trigger the display of the second application's identifier and reducing the user's operations when using the electronic device for split-screen display. If the electronic device determines that the first application is not capable of split-screen display, it can continue to display the data corresponding to the first application; that is, the electronic device can continue to display the interface corresponding to the first application.
[0136] For example, combining Figure 7 As shown, the display module in the electronic device can display data corresponding to the first application.
[0137] S802. The electronic device determines whether a second application exists, wherein the second application is an application that switches with the first application more than a switching number threshold within a first preset time period.
[0138] After the electronic device displays the data corresponding to the first application, it can determine whether a second application exists. The second application can be any application that has switched to the first application more than a certain number of times within a first preset time period. The switching threshold can be set according to actual circumstances, and is not limited in this embodiment. There can be one or more second applications, and this is not limited in this application.
[0139] For example, the second application can be a photo application, a social application, an office application, etc. This application does not limit the specific type of the second application. The second application can be the same as the first application, or it can be a different application from the first application; this application does not limit this.
[0140] In some examples, an electronic device can determine whether a second application exists on the device based on historical switching information stored within the device. Historical switching information may include multiple application pairs and the number of times each application pair switches between itself within a first preset time period. An application pair may include two or more applications. The first preset time period can be set according to actual circumstances, and this embodiment does not limit its scope. For example, an application pair may include a study / office application and another study / office application, or a study / office application and a communication / social networking application, or a communication / social networking application and an audio / video entertainment application, or a photography / beautification application and a study / office application, or a utility application and a study / office application. Application pairs may also include other types of applications, and this embodiment does not limit their scope.
[0141] For example, continuing with the example of a phone with an inward-folding screen, the application includes the identifiers of two applications. Combined Figure 9 As shown in (a), when the phone's foldable screen is fully unfolded, the user can use the phone to display the interface corresponding to the picture application. Afterwards, the user can switch the phone to social applications, such as... Figure 9 As shown in (b), the user can switch the phone's display to the interface corresponding to the social application. Afterward, the user can switch the phone back to the Photos application, meaning the user can switch the phone's display to the interface corresponding to the Photos application. The phone can identify the Photos application and the social application as an application pair, and the phone can store historical switching information, namely the identifiers of the two applications included in the application pair (the identifier of the Photos application and the identifier of the social application), and the number of times the application pair switched between the Photos application and the social application.
[0142] After the phone displays the data corresponding to the image application (i.e., the interface corresponding to the image application), the image application becomes the first application. The phone can identify application pairs, such as the first application pair, from the stored historical switching information, including the identifier of the image application. The first application pair includes the identifier of the image application and the identifier of the social application. Then, the phone determines whether the number of times the image application and the social application included in the first application pair switch to each other within a first preset time period exceeds a switching threshold. If the phone determines that the number of times the image application and the social application included in the first application pair switch to each other within the first preset time period exceeds the switching threshold, the phone can identify the social application as the second application.
[0143] For example, continuing to use the analogy of a mobile phone with an inward-folding screen, and taking the identification of multiple applications, such as the identification of three applications, as an example. Combined with... Figure 9 As shown in (a), when the phone's foldable screen is fully unfolded, the user can use the phone to display the interface corresponding to the picture application. Afterwards, the user can switch the phone to social applications, such as... Figure 9 As shown in (b), the user can switch the phone's display to the interface corresponding to the social networking application. Then, the user can switch the phone to the music application, meaning the user can switch the phone's display to the interface corresponding to the music application. After that, the user can switch the phone's display to the interface corresponding to the photos application. After that, the user can switch the phone's display to the interface corresponding to the social networking application. The phone can identify the photos application, social networking application, and music application as an application pair, and the phone can store historical switching information, namely, the identifier of the application pair (the identifier of the photos application, the identifier of the social networking application, and the identifier of the music application), and the number of times the application pair includes the photos application, social networking application, and music application.
[0144] After the phone displays the data corresponding to the image application (i.e., the interface corresponding to the image application), the image application becomes the first application. The phone can identify application pairs, such as the first application pair, from the stored historical switching information, including the identifier of the image application, the identifier of the social application, and the identifier of the music application. Then, the phone determines whether the number of switches between the image application, social application, and music application included in the first application pair exceeds a switching threshold. If the phone determines that the number of switches between the image application, social application, and music application included in an application pair within a first preset time period exceeds the switching threshold, the phone can identify the social application and music application as the second applications.
[0145] In some examples, the second application can be an application in the electronic device that has switched from the first application more than a switching threshold and is capable of split-screen display. That is, the electronic device can simultaneously display data corresponding to the second application and data corresponding to other applications (such as the first application mentioned above).
[0146] For example, after the electronic device identifies a second application, it can determine whether the second application is capable of split-screen display. If the electronic device determines that the second application is capable of split-screen display, it can continue with the following scheme: the electronic device can automatically display the icon of the second application, thus eliminating the need for the user to trigger the display of the second application's icon and reducing the user's operations when using the electronic device for split-screen display. If the electronic device determines that the second application is not capable of split-screen display, it can continue to display the data corresponding to the first application; that is, the electronic device can continue to display the interface corresponding to the first application.
[0147] It should be noted that when users are unfamiliar with the split-screen mode of electronic devices, or when users are using new electronic devices without stored historical switching information, the electronic device can guide new users to try out the split-screen mode based on the scenario. For example, the electronic device can prompt the user to open the first application first, and then the second application. Afterward, the electronic device can prompt the user to frequently switch between the first and second applications within a first preset time period, meaning the number of switches can exceed a preset threshold. Then, the electronic device can prompt the user that the first and second applications can be displayed in split-screen mode, and prompt the user to choose the split-screen mode, such as vertical or horizontal. After the user confirms the split-screen mode, the electronic device can store historical switching information, i.e., the application pairs (including the identifiers of the first and second applications), and the number of times the first and second applications were switched between each other within the first preset time period. The historical switching information may also include the split-screen display mode of the first and second applications.
[0148] Subsequently, when the first application is displayed after the first application on the electronic device, the device can determine the second application based on historical switching information, and automatically display the identifier of the second application that can be displayed in split-screen mode with the first application. When the electronic device receives a user's trigger operation to display the second application in split-screen mode, it can display the data corresponding to the first application and the data corresponding to the second application in split-screen mode according to the user's previously selected method.
[0149] For example, combining Figure 7As shown, the sensing module in the electronic device can determine the number of times the second application switches to the first application within a first preset time period. The learning module can store the number of times the second application switches to the first application within the first preset time period. The decision execution module can determine whether there is a second application based on the number of times the second application switches to the first application within the first preset time period stored in the learning module. The second application is an application whose number of switches to the first application within the first preset time period is greater than the number of switches threshold.
[0150] If the electronic device determines that there is no second application, the electronic device may continue to display the data corresponding to the first application, that is, the electronic device may continue to execute S803 below; if the electronic device determines that there is a second application, the electronic device may display the identifier of the second application, that is, the electronic device may continue to execute S804 below.
[0151] S803, The electronic device continues to display the data corresponding to the first application.
[0152] If the electronic device determines that there is no second application, that is, if the electronic device determines that there is no application in the electronic device that has switched more than the number of times it has switched with the first application, in other words, if there is no application in the electronic device that can be displayed in split screen with the first application, the electronic device can continue to display the data corresponding to the first application.
[0153] For example, combining Figure 7 As shown, the display module in the electronic device can continue to display the data corresponding to the first application.
[0154] S804. The electronic device displays a first control, the first control including an identifier of a first application and an identifier of a second application.
[0155] If the electronic device determines that a second application exists, that is, if the electronic device determines that there is an application in the electronic device that can switch between the first application and the second application more than the number of switching times, that is, if there is an application in the electronic device that can be displayed in split screen with the first application, the electronic device can display the second application, and the user can choose whether to display the data corresponding to the second application in split screen.
[0156] In some examples, the electronic device can display a first control, which may include the identifiers of a first application and a second application, allowing the user to trigger the first control. When the electronic device receives a user's trigger action on the first control, such as a click, it can display data corresponding to both the first and second applications. The second application can be a single application or multiple applications. When there are multiple second applications, the electronic device can display the identifiers of multiple applications, allowing the user to select the application to be displayed in split-screen mode.
[0157] For example, if the first application is a social media application, and the number of switches between the image application, music application, and office application on the electronic device exceeds a switching threshold, the second application can be an image application, music application, or office application. The electronic device can display the icons for the image application, music application, and office application. The user selects the icon for the image application, music application, or office application, thus allowing the electronic device to display split-screen data corresponding to the social media application and the image application, or data corresponding to the social media application and the music application, or data corresponding to the social media application and the office application.
[0158] In some examples, when the electronic device determines that a second application exists, it can display a split-screen app bar, also known as a recommendation capsule. The split-screen app bar can include identifiers for the second application. The user selects the identifier of the second application to be displayed in split-screen mode from the split-screen app bar.
[0159] For example, combining Figure 9 As shown in (a) and (b), after a user switches between the photo app and the social app multiple times on the phone, the phone can treat the photo app and the social app as an app pair. The phone can store historical switching information, namely the identifiers of the two apps included in the app pair (the identifier of the photo app and the identifier of the social app), and the number of times the photo app and the social app were switched between the app pair. Then, when the user opens the social app (i.e., the social app is the first app), the phone can determine whether a second app exists. If the phone determines that the number of times the photo app and the social app are switched to each other within a first preset time period is greater than a switching threshold, the phone can determine that the photo app is the second app. That is, if the phone determines that a second app exists, such as... Figure 9As shown in (c), the mobile phone can display a split-screen application bar 901, i.e., the first control, in the interface corresponding to the social application. The split-screen application bar 901 can include the identifier of the first application and the identifier of the second application, i.e., the identifier of the social application and the identifier of the photo application, such as the gallery identifier. Thus, the user can select the identifier of the first application and the identifier of the second application to be displayed in split-screen mode in the split-screen application bar 901.
[0160] In some examples, where the electronic device includes a foldable screen, the electronic device can determine whether its screen state is unfolded before displaying the identifier of the second application. If the electronic device determines that its screen state is unfolded, it can display the identifier of the second application, such as a split-screen application bar that may include the identifier of the second application.
[0161] If the electronic device determines that its screen is not in an unfolded state (i.e., in a folded state), it can display a prompt window to inform the user that split-screen display is available when the screen is in an unfolded state. After the prompt window is displayed, if the screen changes from a folded to an unfolded state within a preset time period, the electronic device can display the identifier of the second application, such as a split-screen application bar that may include the identifier of the second application.
[0162] For example, combining Figure 7 As shown, the display module in the electronic device can display the identifier of the second application.
[0163] S805, The electronic device receives the user's trigger operation on the first control.
[0164] After the electronic device displays the first control, the user can trigger the first control to cause the electronic device to display the content of the second application in a split-screen manner. That is, the electronic device can simultaneously display the content of the first application and the content of the second application on the screen (i.e. the display interface).
[0165] For example, continue to combine Figure 9 As shown in (c), the mobile phone can display a split-screen application bar 901 in the interface corresponding to the social application. The split-screen application bar 901 can include the identifiers of the first application and the second application, namely the identifier of the social application and the identifier of the picture application. When the user needs to use the phone to display the content corresponding to the social application and the picture application in split-screen mode, the user can trigger the identifiers of the social application and the picture application in the split-screen application bar 901.
[0166] S806. In response to the trigger operation, the electronic device displays data corresponding to the first application and data corresponding to the second application.
[0167] When an electronic device receives a user's trigger operation on the identifier of the second application, such as a click, in response, the electronic device can display data corresponding to both the first and second applications. This can be done by displaying the data in a split-screen mode (such as split-screen browsing mode, side-swipe mode, or center window mode). This embodiment illustrates this by showing the electronic device displaying the data corresponding to both the first and second applications in a split-screen manner, as described above.
[0168] For example, continue to combine Figure 9 As shown in (c), the mobile phone can display a split-screen application bar 901 in the interface corresponding to the social application. The split-screen application bar 901 can include the identifiers of the first application and the second application, namely the identifier of the social application and the identifier of the picture application. When the user needs to use the phone to display data corresponding to the social application and the picture application in split-screen mode, the user can trigger the split-screen application bar 901. That is, when the mobile phone receives the user's trigger operation on the split-screen application bar 901, such as a click operation, it responds as follows: Figure 9 As shown in (d), the phone can display the data corresponding to the picture application and the data corresponding to the social application in a split screen, that is, the phone can display the interface corresponding to the picture application and the interface corresponding to the social application in a split screen.
[0169] For example, combining Figure 7 As shown, the display module in the electronic device can display data corresponding to the first application and data corresponding to the second application.
[0170] By adopting the solution of this application, when the electronic device displays data corresponding to the first application, the electronic device can automatically display the identifier of the second application according to the number of times the first application and the second application are switched. This reduces the number of operations that the user needs to trigger the electronic device to display applications that can be displayed in split screen, thereby reducing the number of operations that the user needs to perform when using the electronic device for split screen display, and thus improving the efficiency of split screen display of the electronic device.
[0171] For example, in some cases, when an electronic device displays data corresponding to the first application, the device can automatically display the identifier of the second application that can be displayed in split-screen mode with the first application, based on the order in which the first and second applications are opened. This reduces the number of operations the user needs to perform when using the electronic device for split-screen display, thereby improving the efficiency of split-screen display.
[0172] like Figure 10 As shown, the display method provided in this application embodiment may include the following S1001-S1006.
[0173] S1001, The electronic device displays the data corresponding to the first application.
[0174] For a specific implementation method of displaying data corresponding to the first application on an electronic device, please refer to the implementation method in S801 above. The embodiments of this application will not be repeated here.
[0175] S1002, The electronic device determines whether a second application exists, wherein the second application is an application that was opened before the first application within a second preset time period.
[0176] After the electronic device displays the data corresponding to the first application, it can determine whether a second application exists. The second application can be an application opened before the first application within a second preset time period. The second preset time period can be set according to actual circumstances, and this embodiment does not limit it. There can be one or more second applications, and this embodiment does not limit them. For example, the second application can be a picture application, a social application, an office application, etc. This embodiment does not limit the specific type of the second application. The second application can be the same application as the first application, or it can be a different application from the first application; this embodiment does not limit it.
[0177] In some examples, an electronic device can determine whether a second application exists on the device based on historical switching information stored within the device. Historical switching information may include multiple application pairs and the opening order of the applications within each pair during a second preset time period. An application pair may include identifiers of two or more applications. For example, an application pair may include a study / office application and another study / office application, or a study / office application and a communication / social networking application, or a communication / social networking application and an audio / video entertainment application, or a photography / beautification application and a study / office application, or a utility application and a study / office application. Application pairs may also include other types of applications, which are not limited in this embodiment.
[0178] For example, continuing with the example of a phone with an inward-folding screen, and using the example of an application pair that includes two applications. Combined Figure 11 As shown in (a), when the phone's foldable screen is fully unfolded, the user can use the phone to display the interface corresponding to the picture application. Then, during a second preset time period, the user can switch the phone to a social application, i.e., as shown in (a). Figure 11 As shown in (b), the user can switch the phone's display interface to the interface corresponding to the social application. The phone can identify the picture application and the social application as an application pair. The phone can store historical switching information, namely the identifiers of the two applications included in the application pair (the identifier of the picture application and the identifier of the social application), and the opening order of the picture application and the social application included in the application pair within a second preset time period, that is, within the second preset time period, the picture application is opened before the social application.
[0179] After the phone displays the data corresponding to the social application (i.e., on the interface corresponding to the social application), the social application is designated as the first application. The phone can then determine, from stored historical switching information, an application pair identified by the social application, referred to as the second application pair. This second application pair includes the identifiers of the image application and the social application, as well as the order in which the image application and the social application were opened within a second preset time period—that is, the image application was opened before the social application within that time period. Based on this second application pair, the phone can then determine the image application as the second application.
[0180] In some examples, the second application can be an application that opens before the first application within a second preset time period and is capable of split-screen display, meaning that the electronic device can simultaneously display data corresponding to the second application and data corresponding to other applications (such as the first application mentioned above).
[0181] For example, after the electronic device identifies a second application, it can determine whether the second application is capable of split-screen display. If the electronic device determines that the second application is capable of split-screen display, it can continue with the following scheme: the electronic device can automatically display the icon of the second application, thus eliminating the need for the user to trigger the display of the second application's icon and reducing the user's operations when using the electronic device for split-screen display. If the electronic device determines that the second application is not capable of split-screen display, it can continue to display the data corresponding to the first application; that is, the electronic device can continue to display the interface corresponding to the first application.
[0182] It should be noted that when users are unfamiliar with the split-screen mode of electronic devices, or when users are using new electronic devices without stored historical switching information, the electronic device can guide new users to try out the split-screen mode based on the scenario. For example, the electronic device can prompt the user to open the first application first, and then prompt them to open the second application within a second preset time period. Afterward, the electronic device can prompt the user that the first and second applications can be displayed in split-screen mode, and suggest the user to choose the split-screen display method, such as vertical or horizontal. After the user confirms the split-screen display method, the electronic device can store historical switching information, i.e., the application pairs (including the identifiers of the first and second applications), and the opening order of the first and second applications within the second preset time period. The historical switching information may also include the split-screen display method of the first and second applications.
[0183] Subsequently, when the first application is displayed after the first application on the electronic device, the device can determine the second application based on historical switching information, and automatically display the identifier of the second application that can be displayed in split-screen mode with the first application. When the electronic device receives a user's trigger operation to display the second application in split-screen mode, it can display the data corresponding to the first application and the data corresponding to the second application in split-screen mode according to the user's previously selected method.
[0184] For example, combining Figure 7As shown, the sensing module in the electronic device can acquire the opening times of a second application and a first application within a second preset time period. The learning module can store the opening times of the second application and the first application within the second preset time period. The decision execution module can determine whether a second application exists based on the opening times of the second application and the first application stored in the learning module within the second preset time period. The second application is the application that was opened before the first application within the second preset time period.
[0185] If the electronic device determines that there is no second application, the electronic device may continue to display the data corresponding to the first application, that is, the electronic device may continue to execute S1003 below; if the electronic device determines that there is a second application, the electronic device may display the identifier of the second application, that is, the electronic device may continue to execute S1004 below.
[0186] S1003, The electronic device continues to display the data corresponding to the first application.
[0187] If the electronic device determines that there is no second application, that is, if the electronic device determines that there is no application that was opened before the first application within the second preset time period, that is, if there is no application in the electronic device that can be displayed in split screen with the first application, the electronic device can continue to display the data corresponding to the first application.
[0188] For example, combining Figure 7 As shown, the display module in the electronic device can continue to display the data corresponding to the first application.
[0189] S1004. The electronic device displays a first control, which includes an identifier of a first application and an identifier of a second application.
[0190] If the electronic device determines that a second application exists, and the electronic device determines that an application was opened before the first application within a second preset time period, that is, if there is an application in the electronic device that can be displayed in split-screen mode with the first application, the electronic device can display the second application, and the user can choose whether to display the data corresponding to the second application in split-screen mode.
[0191] In some examples, the electronic device can display a first control, which may include the identifiers of a first application and a second application, allowing the user to trigger the first control. When the electronic device receives a user's trigger action on the first control, such as a click, it can display data corresponding to both the first and second applications. The second application can be a single application or multiple applications. When there are multiple second applications, the electronic device can display the identifiers of multiple applications, allowing the user to select the application to be displayed in split-screen mode.
[0192] In some examples, the second application can be a single application, or it can be multiple applications. When there are multiple applications as the second application, the electronic device can display the icons of multiple applications, allowing the user to select the application that needs to be displayed in split-screen mode.
[0193] For example, taking a social media application as the first application. If, within a second preset time period, a photo application, a music application, and an office application are opened among the social media applications (i.e., running in the foreground of the electronic device), the second application can be one of these three applications. The electronic device can display the icons for the photo application, the music application, and the office application. The user selects one of these icons, allowing the electronic device to display split-screen data corresponding to the social media application and the photo application, or the social media application and the music application, or the social media application and the office application.
[0194] In some examples, when the electronic device determines that a second application exists, it can display a split-screen application bar. The split-screen application bar can include an identifier for the second application. The user selects the identifier of the second application to be displayed in split-screen mode from the split-screen application bar.
[0195] For example, combining Figure 11As shown in (a) and (b), the user first uses the phone to display the interface corresponding to the picture application. Then, within a second preset time period, the user can switch the phone to the interface corresponding to the social application. The phone can then treat the picture application and the social application as an application pair. The phone can store historical switching information, namely the identifiers of the two applications included in the application pair (the identifier of the picture application and the identifier of the social application), and the opening order of the picture application and the social application included in the application pair within the second preset time period, i.e., the picture application is opened before the social application within the second preset time period.
[0196] Subsequently, when a user opens a social media application on their phone (i.e., the social media application is the first application), the phone can determine whether a second application exists. If the phone determines that the photo application was opened before the social media application within a second preset time period, the phone can determine the photo application as the second application. That is, if the phone determines the existence of a second application, such as... Figure 11 As shown in (c), the mobile phone can display a split-screen application bar 1101, i.e., the first control, in the interface corresponding to the social application. The split-screen application bar 1101 can include the identifier of the first application and the identifier of the second application, i.e., the identifier of the social application and the identifier of the photo application, such as the identifier of the photo gallery. Thus, the user can select the identifier of the first application and the identifier of the second application to be displayed in split-screen mode in the split-screen application bar 1101.
[0197] In some examples, where the electronic device includes a foldable screen, the electronic device can determine whether its screen state is unfolded before displaying the identifier of the second application. If the electronic device determines that its screen state is unfolded, it can display the identifier of the second application, such as a split-screen application bar that may include the identifier of the second application.
[0198] If the electronic device determines that its screen is not in an unfolded state (i.e., in a folded state), it can display a prompt window to inform the user that split-screen display is available when the screen is in an unfolded state. After the prompt window is displayed, if the screen changes from a folded to an unfolded state within a preset time period, the electronic device can display the identifier of the second application, such as a split-screen application bar that may include the identifier of the second application.
[0199] For example, combining Figure 7 As shown, the display module in the electronic device can display the identifier of the second application.
[0200] S1005. The electronic device receives the user's trigger operation on the first control.
[0201] After the electronic device displays the first control, the user can trigger the first control to display the content of the second application in a split-screen mode. That is, the electronic device can simultaneously display the content of the first application and the content of the second application on the screen (i.e., the display interface). For example, continuing to combine... Figure 11 As shown in (c), the mobile phone can display a split-screen application bar 1101 in the interface corresponding to the social application. The split-screen application bar 1101 can include the identifier of the first application and the identifier of the second application, namely the identifier of the social application and the identifier of the picture application. When the user needs to use the mobile phone to display the content corresponding to the social application and the picture application in split screen, the user can trigger the identifiers of the social application and the picture application in the split-screen application bar 1101.
[0202] S1006. In response to the trigger operation, the electronic device displays data corresponding to the first application and data corresponding to the second application.
[0203] When an electronic device receives a user's trigger operation on the identifier of the second application, such as a click, in response, the electronic device can display data corresponding to both the first and second applications. This can be done by displaying the data in a split-screen mode (such as split-screen browsing mode, side-swipe mode, or center window mode). This embodiment illustrates this by showing the electronic device displaying the data corresponding to both the first and second applications in a split-screen manner, as described above.
[0204] For example, continue to combine Figure 11 As shown in (c), the mobile phone can display a split-screen application bar 1101 in the interface corresponding to the social application. The split-screen application bar 1101 can include the identifiers of the first application and the second application, namely, the identifier of the social application and the identifier of the picture application. When the user needs to use the phone to display data corresponding to the social application and the picture application in split-screen mode, the user can trigger the split-screen application bar 1101. That is, when the mobile phone receives a user's trigger operation on the split-screen application bar 1101, such as a click operation, it responds as follows: Figure 11 As shown in (d), the phone can display the data corresponding to the picture application and the data corresponding to the social application in a split screen, that is, the phone can display the interface corresponding to the picture application and the interface corresponding to the social application in a split screen.
[0205] For example, combining Figure 7 As shown, the display module in the electronic device can display data corresponding to the first application and data corresponding to the second application.
[0206] By adopting the solution of this application, when the electronic device displays data corresponding to the first application, the electronic device can automatically display the identifier of the second application according to the opening order of the first application and the second application, which reduces the operation of the user to trigger the electronic device to display applications that can be displayed in split screen, thereby reducing the operation of the user when using the electronic device for split screen display, and thus improving the efficiency of the electronic device for split screen display.
[0207] For example, in some cases, when an electronic device displays data corresponding to a first application, the device can automatically display the identifier of a second application that can be displayed in split-screen mode with the first application based on the first application's historical split-screen information. This can reduce the number of operations the user performs when using the electronic device for split-screen display, thereby improving the efficiency of split-screen display on the electronic device.
[0208] like Figure 12A As shown, the display method provided in this application embodiment may include the following S1201-S1207.
[0209] S1201, The electronic device displays the data corresponding to the first application.
[0210] For a specific implementation method of displaying data corresponding to the first application on an electronic device, please refer to the implementation method in S801 above. The embodiments of this application will not be repeated here.
[0211] S1202, The electronic device obtains the historical split-screen information of the first application.
[0212] After the electronic device displays the data corresponding to the first application, that is, after the electronic device displays the interface corresponding to the first application, the electronic device can obtain the stored historical split-screen information of the first application. Thus, the electronic device can determine whether there is a second application based on the historical split-screen information of the first application. The second application is the application that has been displayed in split-screen with the first application.
[0213] Historical split-screen information may include applications that have been displayed in split-screen mode with the first application on the electronic device. There may be one or more applications that have been displayed in split-screen mode with the first application on the electronic device; this embodiment does not limit this. That is, historical split-screen information may include multiple application pairs, and the electronic device may have displayed multiple applications from each application pair in split-screen mode. An application pair may include two or more applications. This embodiment does not limit this. For example, an application pair may include a learning / office application and a learning / office application, or a learning / office application and a communication / social application, or a communication / social application and an audio / video entertainment application, or a photography / beautification application and a learning / office application, or a utility application and a learning / office application. Application pairs may also include other types of applications; this embodiment does not limit this.
[0214] For example, taking the first application as an image application, if the user has used the electronic device to display data corresponding to both the image application and a social media application in split-screen mode before the image application is displayed, then the historical split-screen information corresponding to the image application includes the social media application. After the electronic device determines that the historical split-screen information corresponding to the image application includes the social media application, it can store this historical split-screen information. Therefore, after the electronic device displays the data corresponding to the image application, it can retrieve this historical split-screen information.
[0215] In some examples, historical split-screen information may also include the display method of the electronic device using the first application in a split-screen display, the applications on the electronic device that were previously displayed in a split-screen display with the first application, the time when the electronic device used the first application in a split-screen display, the location of the electronic device when it used the first application in a split-screen display, the device status of the electronic device when it used the first application in a split-screen display, and the reason why the electronic device used the first application in a split-screen display.
[0216] In some examples, historical split-screen information may also include user attribute information. User attribute information may include the user's age, gender, or occupation, etc.
[0217] The display method of an electronic device using a split-screen display of the first application can include split-screen browsing mode, side-swipe mode, and center window mode. When the electronic device uses a split-screen browsing mode for the first application, the historical split-screen information can also include the display positions of the first application and other applications on the screen of the electronic device, such as the electronic device displaying the first application and other applications vertically, or the electronic device displaying the first application and other applications side by side.
[0218] The time during which the electronic device uses the first application for split-screen display can be the time period during which the electronic device uses the first application for split-screen display, such as 10:00 to 12:00, 14:00 to 16:00, or 19:00 to 22:00, etc.
[0219] The location of the electronic device when using the first application for split-screen display can include at home, at the office, while driving, on a bus, on the subway, etc.
[0220] When an electronic device uses the first application to display its screen in split mode, the device status of the electronic device may include the status of the electronic device screen (such as the electronic device screen being in an unfolded state), the electronic device having headphones plugged in, the electronic device being connected to Wi-Fi, or the electronic device being connected to in-vehicle Bluetooth, etc.
[0221] The reasons why an electronic device uses the first application for split-screen display may include event triggering reasons (such as receiving a message, such as a message from a social application, plugging in headphones, or connecting the electronic device to a car's Bluetooth, etc.), the split-screen application being an immersive background application (such as some social applications or office applications) plus an intermittent application (such as chat-type social applications), or the split-screen application being a collaborative application (such as some social applications and image applications), etc.
[0222] In some examples, the historical split-screen information of the first application may include the historical split-screen information of the current electronic device using the first application, or it may include the historical split-screen information of other electronic devices using the first application. This application embodiment does not limit this. The historical split-screen information of the current electronic device using the first application refers to the information about when the user used the current electronic device to display the data corresponding to the first application in split-screen mode before displaying the data corresponding to the first application in split-screen mode. The historical split-screen information of other electronic devices using the first application refers to the information about when the user used other electronic devices to display the data corresponding to the first application in split-screen mode.
[0223] For example, when historical split-screen information includes the time an electronic device uses multiple applications (such as application pairs) for split-screen display, and the display method (such as split-screen browsing mode, smart multi-window mode, and floating window mode) when using application pairs for split-screen display, the electronic device can statistically analyze the split-screen information when the user uses the electronic device for split-screen display, and obtain the user's historical split-screen information when using applications for split-screen display. As shown in Table 1, the electronic device can statistically analyze the display method used by the user when using the electronic device for split-screen display, the number of users using the electronic device for split-screen display (i.e., the number of users), the number of times the electronic device uses the electronic device for split-screen display (i.e., the number of times it is used), the number of users using different types of electronic devices (such as the number of users of tablets and mobile phones), the average frequency of use per user when using the electronic device for split-screen display, and the usage rate when using the electronic device for split-screen display, thereby obtaining the user's historical split-screen information when using the electronic device for split-screen display.
[0224] Table 1
[0225] Display method Number of users Number of times used Number of users of each model Average usage frequency usage rate Smart Multi-Window Mode 47326 2380139 71529 50 66% Split-screen browsing mode 13030 138477 71529 11 18% Floating window mode 46899 2241662 71529 48 66%
[0226] Based on the statistical data in Table 1, we can obtain the following: Figure 12B The time distribution of split-screen applications shown in (a) is the time distribution when multiple applications are displayed using split-screen browsing mode, and as shown in (a) Figure 12B The floating window shown in (b) displays the time distribution of the application, i.e., the time distribution when multiple applications are displayed using the floating window mode.
[0227] like Figure 12B As shown in (a), line 01 represents the number of times split-screen mode was used, i.e., the number of times the electronic device was used for split-screen mode. Using line 01 and the time of day, the total time spent using split-screen mode on electronic devices can be obtained. Line 02 represents the number of times office applications were used for split-screen mode. Using line 02 and the time of day, the total time spent using office applications for split-screen mode can be obtained. Line 03 represents the number of times office applications and social applications were used for split-screen mode. Using line 03 and the time of day, the total time spent using office applications and social applications for split-screen mode can be obtained. Line 04 represents the number of times multimedia entertainment applications and social applications were used for split-screen mode. Using line 04 and the time of day, the total time spent using multimedia entertainment applications and social applications for split-screen mode can be obtained. Figure 12BIn (a), we can obtain historical split-screen information, which is the time when the electronic device uses multiple applications for split-screen display and the display method when the electronic device uses applications for split-screen display, i.e., split-screen browsing mode.
[0228] like Figure 12B As shown in (b), line 05 represents the number of times a floating window was used, i.e., the number of times a floating window was displayed using an electronic device. By using line 05 and the time of day, the time spent displaying a floating window on an electronic device can be obtained. Line 06 represents the number of times a floating window was displayed using multimedia entertainment applications and social media applications. By using line 06 and the time of day, the time spent displaying a floating window on multimedia entertainment applications and social media applications can be obtained. Line 07 represents the number of times a floating window was displayed using office applications and social media applications. By using line 07 and the time of day, the time spent displaying a floating window on office applications and social media applications can be obtained. Line 08 represents the number of times a floating window was displayed using multimedia entertainment applications and social media applications. By using line 08 and the time of day, the time spent displaying a floating window on multimedia entertainment applications and social media applications can be obtained. Figure 12B In (b), we can obtain historical split-screen information, which is the time when the electronic device uses multiple applications to display floating windows and the display method when the electronic device uses applications to display floating windows, i.e., floating window browsing mode.
[0229] It should be noted that when a user uses a new electronic device, that is, when the electronic device does not store the historical split-screen information of the first application used by the current electronic device, the electronic device can obtain the historical split-screen information of the first application used by other electronic devices from the cloud.
[0230] For example, combining Figure 7 As shown, the sensing module in the electronic device can obtain the historical split-screen information of the first application.
[0231] S1203. The electronic device determines whether a second application exists based on the historical split-screen information of the first application. The second application is an application that has been displayed in split-screen mode with the first application.
[0232] After the electronic device obtains the historical split-screen information of the first application, it can determine whether a second application exists on the device based on this information. The second application can be any application that has been displayed in split-screen mode alongside the first application.
[0233] In some examples, when the historical split-screen information of the first application includes applications that have been displayed in split-screen with the first application, the electronic device can determine that the applications that have been displayed in split-screen with the first application are second applications. There may be one or more second applications, and this application embodiment does not limit this.
[0234] In other examples, when the historical split-screen information of the first application includes the time the electronic device used the first application for split-screen display, the electronic device can determine whether the current time of displaying the data corresponding to the first application matches the time the electronic device used the first application for split-screen display; that is, whether the current time of displaying the data corresponding to the first application is within the time the electronic device used the first application for split-screen display. If the electronic device determines that the current time of displaying the data corresponding to the first application matches the time the electronic device used the first application for split-screen display, the electronic device can determine that the application displayed in split-screen with the first application during that time is the second application.
[0235] In other examples, when the historical split-screen information of the first application includes the position of the electronic device when the first application was displayed in split-screen mode, the electronic device can determine whether the position of the electronic device when currently displaying data corresponding to the first application matches the position of the electronic device when the first application was displayed in split-screen mode; that is, whether the position of the currently displayed data corresponding to the first application is the same as the position of the electronic device when the first application was displayed in split-screen mode. If the electronic device determines that the position of the currently displayed data corresponding to the first application matches the position of the electronic device when the first application was displayed in split-screen mode, the electronic device can determine that the application displayed in split-screen mode at that position is the second application.
[0236] In other examples, when the historical split-screen information of the first application includes the device state of the electronic device when the first application was displayed in split-screen mode, the electronic device can determine whether the device state of the electronic device when currently displaying data corresponding to the first application matches the device state of the electronic device when the first application was displayed in split-screen mode; that is, whether the device state of the electronic device when currently displaying data corresponding to the first application is the same as the device state of the electronic device when the first application was displayed in split-screen mode. If the electronic device determines that the device state of the electronic device when currently displaying data corresponding to the first application matches the device state of the electronic device when the first application was displayed in split-screen mode, the electronic device can determine that the application displayed in split-screen mode with the same device state as the first application when currently displaying data corresponding to the first application is the second application.
[0237] In other examples, when the historical split-screen information of the first application includes the reason why the electronic device used the first application for split-screen display, the electronic device can determine whether there is a reason why the electronic device used the first application for split-screen display when the data corresponding to the first application is currently displayed. If the electronic device determines that there is a reason why the electronic device used the first application for split-screen display when the data corresponding to the first application is currently displayed, the electronic device can identify the application that was previously displayed in split-screen mode as the second application, provided that the reason for split-screen display is the same as the reason for currently displaying the first application.
[0238] For example, combining Figure 7 As shown, the learning module in the electronic device can store the historical split-screen information of the first application. The decision execution module in the electronic device can determine whether a second application exists based on the historical split-screen information of the first application stored in the learning module. The second application is an application that has been displayed in split-screen mode with the first application.
[0239] If the electronic device determines that there is no second application, the electronic device may continue to display the data corresponding to the first application, that is, the electronic device may continue to execute S1204 below; if the electronic device determines that there is a second application, the electronic device may display the identifier of the second application, that is, the electronic device may continue to execute S1205 below.
[0240] S1204, The electronic device continues to display the data corresponding to the first application.
[0241] If the electronic device determines that there is no second application, that is, if the electronic device determines that there is no application in the electronic device that has been displayed in split screen with the first application, in other words, if there is no application in the electronic device that can be displayed in split screen with the first application, the electronic device can continue to display the data corresponding to the first application.
[0242] For example, combining Figure 7 As shown, the display module in the electronic device can continue to display the data corresponding to the first application.
[0243] S1205. An electronic device displays a first control, the first control including an identifier of a first application and an identifier of a second application.
[0244] If the electronic device determines that a second application exists, that is, if the electronic device determines that there is an application that has been displayed in split-screen mode with the first application, the electronic device can display the identifier of the second application, so that the user can choose whether to display the data corresponding to the second application in split-screen mode.
[0245] In some examples, the electronic device can display a first control, which may include the identifiers of a first application and a second application, allowing the user to trigger the first control. When the electronic device receives a user's trigger action on the first control, such as a click, it can display data corresponding to both the first and second applications. The second application can be a single application or multiple applications. When there are multiple second applications, the electronic device can display the identifiers of multiple applications, allowing the user to select the application to be displayed in split-screen mode.
[0246] For example, if the first application is a social media application, and the electronic device has already displayed photo, music, and office applications in split-screen mode alongside the social media application, then the second application can be a photo, music, or office application. The electronic device can display the icons for the photo, music, and office applications. The user selects one of these icons, allowing the electronic device to display data corresponding to the social media application and the photo, or vice versa, or data corresponding to the social media application and the music, or data corresponding to the social media application and the office application in split-screen mode.
[0247] In some examples, when the electronic device determines that a second application exists, it can display a split-screen app bar, also known as a recommendation capsule. The split-screen app bar can include identifiers for the second application. The user selects the identifier of the second application to be displayed in split-screen mode from the split-screen app bar.
[0248] For example, combining Figure 7 As shown, the display module in the electronic device can display the identifier of the second application.
[0249] S1206. The electronic device receives a user's trigger operation on the first control.
[0250] After the electronic device displays the first control, the user can trigger the first control to cause the electronic device to display the content of the second application in a split-screen manner. That is, the electronic device can simultaneously display the content of the first application and the content of the second application on the screen (i.e. the display interface).
[0251] S1207. In response to the trigger operation, the electronic device displays data corresponding to the first application and data corresponding to the second application.
[0252] When an electronic device receives a user's trigger operation on the identifier of the second application, such as a click, in response, the electronic device can display data corresponding to both the first and second applications. This can be done by displaying the data in a split-screen mode (such as split-screen browsing mode, side-swipe mode, or center window mode). This embodiment illustrates this by showing the electronic device displaying the data corresponding to both the first and second applications in a split-screen manner, as described above.
[0253] For example, continuing to use the example of a mobile phone with an inward-folding screen, and taking a social application as the first example. Combined with... Figure 12C As shown in (a), when the phone's foldable screen is fully unfolded, the electronic device displays data corresponding to the social media application, i.e., the interface corresponding to the social media application. The electronic device obtains the historical split-screen information of the social media application. Based on this information, it can determine that the social media application and the image application have been displayed in split-screen mode, thus identifying the image application as the second application. Figure 12C As shown in (b), the electronic device can display a split-screen application bar 1201, i.e., the first control, in the interface corresponding to the social application. The split-screen application bar 1201 may include the identifier of the social application and the identifier of the image application. When the electronic device receives a user's trigger operation on the split-screen application bar 1201, as a response, such as... Figure 12C As shown in (c), electronic devices can display data from social applications and data from image applications in a split-screen format.
[0254] For example, combining Figure 7 As shown, the display module in the electronic device can display data corresponding to the first application and data corresponding to the second application.
[0255] By adopting the solution of this application, when the electronic device displays data corresponding to the first application, the electronic device can automatically display the identifier of the second application that can be displayed in split screen with the first application based on the historical split screen information of the first application. This can reduce the user's operations when using the electronic device for split screen display, thereby improving the efficiency of the electronic device's split screen display.
[0256] In some examples, when an electronic device displays data corresponding to the desktop or other applications, the device can predict the application pair that the user needs to display in split-screen mode based on the device's current state information. As a result, the device can automatically display the identifiers of the first and second applications that can be displayed in split-screen mode, thereby reducing the number of operations the user needs to perform when using the device in split-screen mode and improving the efficiency of split-screen mode.
[0257] like Figure 13A As shown, the display method provided in this application embodiment may include the following S1301-S1307.
[0258] S1301, The electronic device displays the first interface.
[0259] The first interface can be the desktop of the electronic device, or it can be the interface corresponding to any application included in the electronic device. This application embodiment does not limit this.
[0260] For example, combining Figure 7 As shown, the display module in the electronic device can display the first interface.
[0261] S1302. The electronic device obtains the current status information of the electronic device.
[0262] After the electronic device displays the first screen, it can obtain the current state information of the electronic device. Based on this information, the electronic device can predict the application pairs that the user needs to display in split screen mode.
[0263] The current state information of an electronic device may include at least one of the following: the current time, the current location, the current device state, and the current speed. The current state information of the electronic device may also include other state information, which is not limited in this embodiment.
[0264] The current location of an electronic device may include being at home, at work, driving, on a bus, on a subway, etc., and this application embodiment does not limit this.
[0265] The current device state of an electronic device may include the current state of the electronic device's screen (e.g., whether the screen is folded or unfolded), whether headphones are plugged in, whether the electronic device is connected to Wi-Fi, or whether the electronic device is connected to in-vehicle Bluetooth, etc. The current device state of an electronic device may also include other device states of the electronic device, which are not limited in this embodiment.
[0266] For example, combining Figure 7As shown, the sensing module in the electronic device can obtain the current status information of the electronic device.
[0267] S1303. The electronic device determines whether a first application pair exists based on the current status information. The first application pair includes multiple applications that can be displayed in split-screen mode.
[0268] After acquiring its current state information, the electronic device can determine whether a first application pair exists based on that information. The first application pair may include multiple applications capable of split-screen display. For example, the first application pair may include a photo application and a social networking application.
[0269] In some examples, after the electronic device acquires its current state information, it can determine whether a first application pair exists based on this information and a built-in split-screen prediction model. The split-screen prediction model can be an artificial intelligence (AI) model. For example, the electronic device can use the split-screen prediction model to identify features corresponding to its current state information and then use these features to determine the predicted first application pair.
[0270] The split-screen prediction model can be trained based on historical split-screen information of application pairs that have been displayed on the electronic device. Alternatively, it can be trained based on historical split-screen information of application pairs displayed on other electronic devices; this embodiment does not limit the training in this way. After obtaining the split-screen prediction model, the electronic device can store it. The electronic device can then input its current state information into the split-screen prediction model, which can output a first application pair whose corresponding historical split-screen information matches the current state information of the electronic device.
[0271] Historical split-screen information may include at least one of the following: the application pairs displayed in historical split-screen mode on the electronic device, the display mode of the application pairs displayed in historical split-screen mode, the time of the application pairs displayed in historical split-screen mode, the location of the electronic device, the device status of the electronic device, and the reason for the application pairs displayed in historical split-screen mode. There may be multiple pieces of historical split-screen information.
[0272] In some examples, historical split-screen information may also include user attribute information. User attribute information may include the user's age, gender, or occupation, etc.
[0273] The application pairs displayed in the history of electronic devices in split-screen mode, that is, multiple applications that have been displayed in split-screen mode on electronic devices, can be referred to as the first application pair. The first application pair may include learning and office applications and learning and office applications, or learning and office applications and communication and social applications, or communication and social applications and audio-visual entertainment applications, or photography and beautification applications and learning and office applications, or utility applications and learning and office applications. The first application pair may also include other types of applications, which are not limited in this application embodiment.
[0274] The display methods for historical split-screen application pairs on electronic devices can include split-screen browsing mode, side-swipe mode, and center window mode. When the historical split-screen application pairs on electronic devices are displayed in split-screen browsing mode, the historical split-screen information can also include the display positions of multiple applications included in the historical split-screen application pairs on the electronic device's screen, such as multiple applications displayed vertically on the electronic device, or multiple applications displayed side-by-side on the electronic device.
[0275] The electronic device can display the application's time in the history of split-screen display. The time period for the application's time in the history of split-screen display can be set, such as weekdays or weekends, 10:00 to 12:00, 14:00 to 16:00, or 19:00 to 22:00, etc.
[0276] The application displays the history of electronic devices in split-screen mode, showing the location of the electronic device at different times, including at home, at the office, while driving, on the bus, on the subway, etc.
[0277] The application displays the device status of an electronic device in the context of its historical split-screen display. This status can include the screen status (e.g., the screen is in an unfolded state), whether headphones are plugged in, whether the device is connected to Wi-Fi, or whether it is connected to in-vehicle Bluetooth.
[0278] The reasons for the historical split-screen display of application time synchronization on electronic devices can include event triggers (such as receiving a message, such as a message from a social application, plugging in headphones, or connecting the electronic device to car Bluetooth), the application displayed in the split-screen display being an immersive background application (such as some social applications or office applications) plus an intermittent application (such as chat-type social applications), or the application displayed in the split-screen display being a collaborative application (such as some social applications and image applications), etc.
[0279] It should be noted that when a user uses a new electronic device, that is, when the electronic device does not store the historical split-screen information of the current electronic device, the electronic device can obtain the historical split-screen information of other electronic devices from the cloud, and thus obtain the split-screen prediction model through the historical split-screen information of other electronic devices.
[0280] For example, taking the historical split-screen information of an electronic device, which includes the application pairs displayed in the historical split-screen, the time of the application pairs displayed in the historical split-screen, the location of the electronic device, the device status of the electronic device, and the display method of the application pairs displayed in the historical split-screen, combined with... Figure 14 As shown, the historical split-screen information of an electronic device can include multiple applications. For example, the historical split-screen information of an electronic device can include: Applications: Office / Study Application + Office / Study Application, Time: Morning, Location: Office, Device Status: None, Split-screen display mode: Office / Study Application on the left + Office / Study Application on the right. The historical split-screen information of an electronic device can also include: Applications: Social Application + Social Application, Time: Lunch Break, Location: Office, Device Status: None, Split-screen display mode: Social Application on the left + Social Application on the right.
[0281] For example, combining Figure 7 As shown, the learning module in the electronic device can train a split-screen prediction model based on the historical split-screen information of application pairs that have been displayed in split-screen mode on the electronic device. The decision execution module in the electronic device can determine whether a first application pair exists based on the split-screen prediction model stored in the learning module and the current state information of the electronic device obtained by the perception module. The first application pair includes multiple applications that can be displayed in split-screen mode.
[0282] If the electronic device determines that the first application pair does not exist, the electronic device may continue to display the first interface, that is, the electronic device may continue to execute S1304 below; if the electronic device determines that the first application pair exists, the electronic device may display the identifiers of the multiple applications included in the first application pair, that is, the electronic device may continue to execute S1305 below.
[0283] S1304, The electronic device continues to display the first interface.
[0284] If the electronic device determines that there is no first application pair, that is, if the electronic device determines that there are no multiple applications in the electronic device that match the current state information of the electronic device and can be displayed in split screen, the electronic device can continue to display the first interface.
[0285] For example, combining Figure 7As shown, the display module in the electronic device can continue to display the first interface.
[0286] S1305. An electronic device displays a first control, the first control including identifiers of a first application pair of multiple applications.
[0287] When an electronic device determines that a first application pair exists, that is, when the electronic device determines that there are multiple applications in the electronic device that match the current state information of the electronic device and can be displayed in split screen, the electronic device can display the identifiers of the multiple applications included in the first application pair, so that the user can trigger the electronic device to display the data corresponding to the multiple applications in split screen.
[0288] In some examples, the electronic device displays a first application pair including multiple applications. This may include the electronic device displaying a first control, which may include identifiers for the first and second applications, allowing the user to trigger the first control. When the electronic device receives a user trigger operation on the first control, such as a click, it can display data corresponding to both the first and second applications. The second application can be one application or multiple applications. When there are multiple second applications, the electronic device can display identifiers for each application, allowing the user to select the applications to be displayed in split-screen mode. In some examples, if the electronic device determines the existence of the first application pair, it can display a split-screen application bar, also known as a recommendation capsule. The split-screen application bar may include identifiers for the multiple applications included in the first application pair. The user selects the identifiers of the multiple applications to be displayed in split-screen mode from the split-screen application bar.
[0289] For example, combining Figure 7 As shown, the display module in the electronic device can display the identifiers of the first application to a plurality of included applications.
[0290] S1306. The electronic device receives a user's trigger operation on the first control.
[0291] After the electronic device displays the first control, the user can trigger the first control to cause the electronic device to display the content of the second application in a split-screen manner. That is, the electronic device can simultaneously display the content of the first application and the content of the second application on the screen (i.e. the display interface).
[0292] S1307. In response to the triggering operation, the electronic device displays data corresponding to the first application pair and the multiple applications included.
[0293] When an electronic device receives a user's trigger operation on the identifier of the second application, such as a click, in response, the electronic device can display data corresponding to both the first and second applications. This can be done by displaying the data in a split-screen mode (such as split-screen browsing mode, side-swipe mode, or center window mode). This embodiment illustrates this by showing the electronic device displaying the data corresponding to both the first and second applications in a split-screen manner, as described above.
[0294] For example, continuing with the example of a mobile phone with an inward-folding screen, and using the first interface as the desktop of an electronic device. Combined with... Figure 13B As shown in (a), when the phone's foldable screen is fully unfolded, the electronic device displays the first interface, i.e., the desktop of the electronic device. The electronic device acquires its current state information. After acquiring this information, the electronic device can determine the first application pair based on the current state information and the split-screen prediction model. For example, the first application pair may include a camera application and a picture application; that is, the historical split-screen information when the electronic device displays the camera application and the picture application in split-screen mode is matched with the current state information of the electronic device. After the electronic device determines the first application pair, as... Figure 13B As shown in (b), the electronic device can display a split-screen application bar 1301, i.e., a first control, on a first interface. The split-screen application bar 1301 may include an identifier for the image application and an identifier for the camera application. When the electronic device receives a user's trigger operation on the split-screen application bar 1301, including the identifiers for the image application and the camera application, as a response, such as... Figure 13B As shown in (c), the electronic device can display data corresponding to the camera application and data corresponding to the picture application in a split screen.
[0295] For example, combining Figure 7 As shown, the display module in the electronic device can display data corresponding to multiple applications included in the first application.
[0296] By adopting the solution of this application, when the electronic device displays a first interface, such as the desktop of the electronic device or the interface corresponding to any application included in the electronic device, the electronic device can predict the application pair that the user needs to display in split screen based on the current state information of the electronic device. Thus, the electronic device can automatically display the identifier of the first application and the identifier of the second application included in the application pair that can be displayed in split screen, thereby reducing the user's operations when using the electronic device for split screen display, and thus improving the efficiency of the electronic device for split screen display.
[0297] For ease of understanding, the following is in conjunction with the appendix. Figure 15 The display method provided in the embodiments of this application will be described. For example... Figure 15 As shown, the display method provided in this application embodiment may include the following S1501-S1506.
[0298] S1501, The electronic device displays the first interface.
[0299] The first interface can be the desktop of the electronic device, or it can be the interface corresponding to any application included in the electronic device. For example, the first interface can be the interface corresponding to the first application, that is, the first application can be any application in the electronic device. This application does not limit this.
[0300] S1502, The electronic device determines whether an application that meets preset conditions exists.
[0301] After the electronic device displays the first interface, it can determine whether an application that meets preset conditions exists. If the electronic device determines that an application that meets the preset conditions exists, it can automatically display the identifier of the application that meets the preset conditions. There can be one or more applications that meet the preset conditions, and this application embodiment does not limit this.
[0302] In some examples, when the first interface corresponds to the first application, the preset conditions may include: the number of times the second application switches to the first application within a first preset time period exceeds a switching threshold; the second application is opened before the first application within a second preset time period; the second application and the first application have been displayed in split-screen mode; or the current state information of the electronic device matches the historical state information. When the electronic device is in the historical state information, the electronic device simultaneously displays the interface of the first application and the interface of the second application, that is, the electronic device can display a second interface, which may include the interface of the first application and the interface of the second application. The second application may be one or more, and this application embodiment does not limit this.
[0303] When the preset condition includes that the number of times the second application switches to the first application within the first preset time period is greater than the number of times the switching is threshold, that is, when the preset condition includes that the number of times the second application switches to the first application within the first preset time period before the first interface is displayed is greater than the number of times the switching is threshold, the application that meets the preset condition is the application that switches to the first application more than the number of times the switching is threshold within the first preset time period.
[0304] When the preset conditions include the second application being opened before the first application within a second preset time period, that is, when the preset conditions include the second application being run in the foreground within a second preset time period before the first interface is displayed, the application that meets the preset conditions is the application that was opened before the first application within the second preset time period.
[0305] The preset conditions include split-screen display with the first application, that is, the preset conditions include the second interface and the first interface being displayed on the screen simultaneously before the first interface is displayed.
[0306] The preset conditions include matching the current state information and historical state information of the electronic device. Specifically, the preset conditions include matching the state information of the electronic device when displaying the first interface with the historical state information of the electronic device when displaying the second interface on the screen (i.e., simultaneously displaying the interface of the first application and the interface of the second application).
[0307] The current state information of an electronic device may include at least one of the following: the electronic device's location (i.e., the current position of the electronic device), the electronic device's time (i.e., the current time of the electronic device), the electronic device's device state (i.e., the current device state of the electronic device), and the electronic device's speed (i.e., the current speed of the electronic device).
[0308] The device status of an electronic device may include the current state of the electronic device's screen (e.g., whether the screen is folded or unfolded), whether headphones are plugged in, whether the electronic device is connected to Wi-Fi, or whether the electronic device is connected to in-vehicle Bluetooth, etc. The current device status of the electronic device may also include other device statuses of the electronic device, which are not limited in this embodiment.
[0309] Historical state information includes at least one of the following: the electronic device's position when multiple application interfaces are simultaneously displayed; the time the electronic device displays multiple application interfaces simultaneously; the device status of the electronic device when multiple application interfaces are simultaneously displayed; and the speed of the electronic device when multiple application interfaces are simultaneously displayed. The multiple applications may include a first application and a second application. That is, historical state information may include at least one of the following: the electronic device's position when both the first and second interfaces are simultaneously displayed on the screen; the time the electronic device displays both the first and second interfaces on the screen; the device status of the electronic device when both the first and second interfaces are simultaneously displayed on the screen; and the speed of the electronic device when both the first and second interfaces are simultaneously displayed on the screen.
[0310] In some examples, the state information of the electronic device when displaying the first interface is matched with the historical state information of the electronic device when displaying the second interface on the display screen, including at least one of the following: the position of the electronic device when displaying the first interface on the display screen matches the position of the electronic device when displaying the second interface on the display screen; or, the time of the electronic device when displaying the first interface on the display screen matches the time of the electronic device when displaying the second interface on the display screen; or, the device state of the electronic device when displaying the first interface on the display screen matches the device state of the electronic device when displaying the second interface on the display screen; or, the speed of the electronic device when displaying the first interface on the display screen matches the speed of the electronic device when displaying the second interface on the display screen.
[0311] For example, if the current state information of an electronic device includes the location of the electronic device, and the historical state information includes the location of the electronic device when the first interface and the second interface are displayed on the screen simultaneously, then matching the current state information of the electronic device with the historical state information includes the location of the electronic device when the first interface is displayed, which is the same as the location included in the historical state information of the electronic device when the first interface and the second interface are displayed on the screen simultaneously.
[0312] For specific implementation methods of determining whether an application meeting preset conditions exists in an electronic device, refer to the implementation methods in S802, S1002, S1203, or S1303 described above. The embodiments in this application will not be repeated here.
[0313] If the electronic device determines that there is no application that meets the preset conditions, the electronic device may continue to display the first interface, that is, the electronic device may continue to execute S1503 as described below; if the electronic device determines that there is an application that meets the preset conditions, the electronic device may display the identifier of the application that meets the preset conditions, that is, the electronic device may continue to execute S1504 as described below.
[0314] S1503, The electronic device continues to display the first interface.
[0315] If the electronic device determines that there is no application that meets the preset conditions, that is, if there is no application in the electronic device that can be displayed in split screen with the first application, the electronic device can continue to display the data corresponding to the first application.
[0316] S1504. The electronic device displays a first control, the first control including an identifier of an application that meets preset conditions.
[0317] When the first interface is the desktop of an electronic device or the interface corresponding to any application in the electronic device, the identifier of the application that meets the preset conditions can be the identifier of the first application or the identifier of the second application. When the first interface is the interface of the first application in the electronic device, the identifier of the application that meets the preset conditions can be the identifier of the second application.
[0318] If an electronic device determines that an application meets the preset conditions, that is, if an application exists in the electronic device that can be displayed in split-screen mode with the first application, the electronic device can display a first control. The first control may include the identifier of the application that meets the preset conditions, so that the user can choose whether to display the data corresponding to the application that meets the preset conditions in split-screen mode.
[0319] In some examples, when an electronic device determines that an application meets preset criteria, it can display a split-screen app bar, also known as a recommendation capsule. The split-screen app bar can include identifiers of applications that meet the preset criteria. Users can select which applications that meet the preset criteria should be displayed in split-screen mode from the split-screen app bar.
[0320] In some examples, where the electronic device includes a foldable screen, the electronic device can determine whether its screen is in an unfolded state before displaying the identifiers of applications that meet preset conditions. If the electronic device determines that its screen is in an unfolded state, it can display the identifiers of applications that meet the preset conditions, such as a split-screen application bar that may include the identifiers of applications that meet the preset conditions.
[0321] If the electronic device determines that its screen is not in an unfolded state (i.e., in a folded state), it can display a prompt window to encourage the user to unfold the screen. In other words, when the screen is unfolded, split-screen display can be used. After the prompt window is displayed, if the screen changes from folded to unfolded within a preset time period, and if the electronic device receives a second user action to unfold the screen, it can display identifiers for applications that meet preset conditions. For example, it can display a split-screen application bar, which may include identifiers for applications that meet the preset conditions.
[0322] S1505, The electronic device receives the user's trigger operation on the first control.
[0323] After the electronic device displays the first control, the user can perform a trigger operation on the first control (which can be called the first operation), thereby triggering the electronic device to split the screen and display the content corresponding to the application that meets the preset conditions. That is, the electronic device can simultaneously display the content or data corresponding to multiple applications (i.e. the interface corresponding to the application) on the screen (i.e. the display interface).
[0324] In some examples, when the electronic device displays the identifier of an application that meets preset conditions, the electronic device receives a user's trigger operation on the application that meets the preset conditions; that is, the electronic device receives a user's trigger operation on the identifier of the application that meets the preset conditions. When the electronic device receives the user's trigger operation on the identifier of the application that meets the preset conditions, such as a click operation, the electronic device can display the data corresponding to the application selected by the user in a split-screen manner, that is, the interface corresponding to the application.
[0325] S1506. In response to the trigger operation, the electronic device displays the interface of the application that meets the preset conditions in a split-screen manner.
[0326] When an electronic device receives a user's trigger operation on an application that meets preset conditions, such as a click operation, the electronic device can display the interface corresponding to the application that meets the preset conditions in response. For example, the electronic device can display the content corresponding to multiple applications on the screen (i.e., the display interface) at the same time.
[0327] By adopting the solution of this application, when the electronic device displays a first interface, such as the desktop of the electronic device or the interface corresponding to any application included in the electronic device, the electronic device can determine whether there is an application that meets the preset conditions (i.e., an application that can be displayed in split screen). When the electronic device determines that there is an application that meets the preset conditions, the electronic device can automatically display the identifier of the application that can be displayed in split screen, thereby reducing the user's operations when using the electronic device to display in split screen, and thus improving the efficiency of the electronic device to display in split screen.
[0328] Corresponding to the methods in the foregoing embodiments, this application also provides a display device. This display device can be applied to an electronic device to implement the methods in the foregoing embodiments. The functions of the display device can be implemented by hardware or by hardware executing corresponding software. The hardware or software includes one or more modules corresponding to the above functions.
[0329] For example, Figure 16 A schematic diagram of the structure of a display device 1600 is shown, as follows: Figure 16 As shown, the display device 1600 may include a display module 1601 and a receiving module 1602, etc.
[0330] The display module 1601 can be used to display a first interface on a display screen, which is the interface of a first application in the electronic device.
[0331] The display module 1601 can also be used to display a first control on a first interface when a second application in an electronic device meets preset conditions. The first control includes the identifier of the first application and the identifier of the second application.
[0332] The receiving module 1602 can be used to receive the user's first operation on the first control.
[0333] The display module 1601 can also be used to display a second interface on the display screen in response to the first operation, the second interface including the interface of the first application and the interface of the second application.
[0334] In another possible implementation, the preset conditions can be one or more of the following: within a first preset time period before the first interface is displayed, the number of switches between the second application and the first application is greater than a switching number threshold; within a second preset time period before the first interface is displayed, the second application has been running in the foreground; the second interface has been displayed on the screen before the first interface is displayed; the state information of the electronic device when the first interface is displayed matches the historical state information of the electronic device when the second interface is displayed on the screen; the historical state information includes at least one of the following: the position of the electronic device when the second interface is displayed on the screen, the time when the second interface is displayed on the screen, the device state of the electronic device when the second interface is displayed on the screen, and the speed of the electronic device when the second interface is displayed on the screen.
[0335] In another possible implementation, the state information of the electronic device when displaying the first interface is matched with the historical state information of the electronic device when displaying the second interface on the display screen, including at least one of the following: the position of the electronic device when displaying the first interface on the display screen is matched with the position of the electronic device when displaying the second interface on the display screen; or, the time of the electronic device when displaying the first interface on the display screen is matched with the time of the electronic device when displaying the second interface on the display screen; or, the device state of the electronic device when displaying the first interface on the display screen is matched with the device state of the electronic device when displaying the second interface on the display screen; or, the speed of the electronic device when displaying the first interface on the display screen is matched with the speed of the electronic device when displaying the second interface on the display screen.
[0336] In another possible implementation, the display screen can be a foldable screen.
[0337] In another possible implementation, the display module 1601 can also be used to display a second interface on the display screen when the folding screen of the electronic device is detected to be in an unfolded state.
[0338] In another possible implementation, the display module 1601 can also be used to display a first prompt window when the folding screen of the electronic device is detected to be in a folded state. The first prompt window is used to prompt the user to unfold the folding screen of the electronic device. The receiving module 1602 can also be used to receive a second operation from the user to unfold the folding screen.
[0339] For example, Figure 17 A schematic diagram of the structure of a display device 1700 is shown, as follows: Figure 17 As shown, the display device 1700 may include a display module 1701 and a receiving module 1702, etc.
[0340] The display module 1701 can be used to display a first interface on the display screen, which is the desktop of the electronic device or the interface corresponding to any application in the electronic device.
[0341] The display module 1701 can also be used to display a first control on a first interface when the first application and the second application in the electronic device meet preset conditions. The first control includes the identifier of the first application and the identifier of the second application.
[0342] The receiving module 1702 can be used to receive the user's first operation on the first control.
[0343] The display module 1701 can also be used to display a second interface on the screen in response to the first operation, the second interface including the interface of the first application and the interface of the second application.
[0344] In another possible implementation, the preset condition can be the state information of the electronic device when the first interface is displayed, which matches the historical state information of the electronic device when the second interface is displayed on the screen; the historical state information includes at least one of the following: the position of the electronic device when the second interface is displayed on the screen, the time when the second interface is displayed on the screen, the device state of the electronic device when the second interface is displayed on the screen, and the speed of the electronic device when the second interface is displayed on the screen.
[0345] In another possible implementation, the state information of the electronic device when displaying the first interface is matched with the historical state information of the electronic device when displaying the second interface on the display screen, including at least one of the following: the position of the electronic device when displaying the first interface on the display screen is matched with the position of the electronic device when displaying the second interface on the display screen; or, the time of the electronic device when displaying the first interface on the display screen is matched with the time of the electronic device when displaying the second interface on the display screen; or, the device state of the electronic device when displaying the first interface on the display screen is matched with the device state of the electronic device when displaying the second interface on the display screen; or, the speed of the electronic device when displaying the first interface on the display screen is matched with the speed of the electronic device when displaying the second interface on the display screen.
[0346] In another possible implementation, the display screen can be a foldable screen.
[0347] In another possible implementation, the display module 1701 can also be used to display a second interface on the display screen when the folding screen of the electronic device is detected to be in an unfolded state.
[0348] In another possible implementation, the display module 1701 can also be used to display a first prompt window when the folding screen of the electronic device is detected to be in a folded state. The first prompt window is used to prompt the user to unfold the folding screen of the electronic device. The receiving module 1702 can also be used to receive a second operation from the user to unfold the folding screen.
[0349] It should be understood that the division of units or modules (hereinafter referred to as units) in the above device is only a logical functional division. In actual implementation, they can be fully or partially integrated into a single physical entity, or they can be physically separated. Furthermore, all units in the device can be implemented in software through processing element calls; all units can be implemented in hardware; or some units can be implemented in software through processing element calls, and some units can be implemented in hardware.
[0350] For example, each unit can be a separate processing element, or it can be integrated into a chip within the device. Alternatively, it can be stored as a program in memory, invoked and executed by a processing element within the device. Furthermore, these units can be integrated in whole or in part, or implemented independently. The processing element described here can also be called a processor, which can be an integrated circuit with signal processing capabilities. In implementation, each step of the above method or each of the above units can be implemented through integrated logic circuits in the processor element or through software invoked by the processing element.
[0351] In one example, the unit in the above device may be one or more integrated circuits configured to implement the above methods, such as one or more ASICs, or one or more DSPs, or one or more FPGAs, or a combination of at least two of these integrated circuit forms.
[0352] For example, when the units in the device can be implemented through a processing element scheduler, the processing element can be a general-purpose processor, such as a CPU or other processor capable of calling programs. Alternatively, these units can be integrated together to form a system-on-a-chip (SOC).
[0353] In one implementation, the units that implement the corresponding steps in the above methods can be implemented in the form of a processing element scheduler. For example, the device may include a processing element and a storage element, wherein the processing element calls a program stored in the storage element to execute the methods described in the above embodiments. The storage element may be a storage element located on the same chip as the processing element, i.e., an on-chip storage element.
[0354] In another implementation, the program used to perform the above methods can be located on a storage element on a different chip than the processing element, i.e., an off-chip storage element. In this case, the processing element calls or loads the program from the off-chip storage element onto the on-chip storage element to call and execute the methods described in the above method embodiments.
[0355] For example, embodiments of this application may also provide an apparatus, such as an electronic device, which may include a processor and a memory for storing processor-executable instructions. When the processor is configured to execute the aforementioned instructions, it causes the electronic device to implement the display method described in the foregoing embodiments. The memory may be located within or outside the electronic device. Furthermore, the processor may include one or more processors.
[0356] In another implementation, the unit implementing each step of the above method can be configured as one or more processing elements, which can be disposed on the corresponding electronic device described above. These processing elements can be integrated circuits, such as one or more ASICs, one or more DSPs, one or more FPGAs, or combinations of these types of integrated circuits. These integrated circuits can be integrated together to form a chip.
[0357] For example, this application also provides a chip that can be applied to the aforementioned electronic device. The chip includes one or more interface circuits and one or more processors; the interface circuits and processors are interconnected via lines; the processor receives and executes computer instructions from the electronic device's memory through the interface circuits to implement the methods described in the above method embodiments.
[0358] This application also provides a computer program product, including computer instructions for operation of the electronic device described above.
[0359] Through the above description of the embodiments, those skilled in the art can clearly understand that, for the sake of convenience and brevity, only the division of the above functional modules is used as an example. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.
[0360] In the several embodiments provided in this application, it should be understood that the disclosed apparatus and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of modules or units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another device, or some features may be ignored or not executed. Furthermore, the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between devices or units may be electrical, mechanical, or other forms.
[0361] The units described as separate components may or may not be physically separate. A component shown as a unit can be one or more physical units; that is, it can be located in one place or distributed in multiple different locations. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0362] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.
[0363] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a readable storage medium. Based on this understanding, the technical solutions of the embodiments of this application, in essence, or the parts that contribute to the prior art, or all or part of the technical solutions, can be embodied in the form of a software product, such as a program. This software product is stored in a program product, such as a computer-readable storage medium, and includes several instructions to cause a device (which may be a microcontroller, chip, etc.) or processor to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, ROM, RAM, magnetic disks, or optical disks.
[0364] For example, embodiments of this application may also provide a computer-readable storage medium storing computer program instructions thereon. When the computer program instructions are executed by an electronic device, the electronic device causes the electronic device to implement the display method as described in the foregoing method embodiments.
[0365] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any changes or substitutions within the technical scope disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.
Claims
1. A display method, characterized in that, Applied to an electronic device having a display screen, the method includes: The electronic device displays a first interface on the display screen, and the first interface is the interface of a first application in the electronic device; When the electronic device does not have historical split-screen information for the current electronic device, historical split-screen information of other electronic devices is obtained from the cloud, and a split-screen prediction model is obtained based on the historical split-screen information of the other electronic devices. Obtain the current status information of the electronic device; Based on the current state information and the split-screen prediction model, it is determined whether a first application pair exists; wherein, the historical split-screen information corresponding to the first application pair matches the current state information of the electronic device, and the first application pair includes the first application and the second application; When the electronic device has the first application pair, a first control is displayed, wherein the first control includes the identifier of the first application and the identifier of the second application; The electronic device receives a first operation from the user on the first control; In response to the first operation, the electronic device displays a second interface on the display screen, the second interface including the interface of the first application and the interface of the second application; The current status information includes at least one of the following: the current location of the electronic device, the current time of the electronic device, the current device status of the electronic device, or the current speed of the electronic device.
2. The method according to claim 1, characterized in that, The current location of the electronic device includes at least one of the following: at home, at work, driving, on a bus, or on a subway.
3. The method according to claim 1, characterized in that, The current device status of the electronic device includes at least one of the following: the current status of the electronic device screen, whether the electronic device is plugged into headphones, whether the electronic device is connected to Wi-Fi, or whether the electronic device is connected to in-vehicle Bluetooth.
4. The method according to claim 1, characterized in that, The display screen is a foldable screen.
5. The method according to claim 1, characterized in that, The electronic device displays a second interface on the display screen, including: When the folding screen of the electronic device is detected to be in the unfolded state, the electronic device displays the second interface on the display screen.
6. The method according to claim 1, characterized in that, Before the electronic device displays the second interface on the display screen, the method further includes: When the folding screen of the electronic device is detected to be in a folded state, the electronic device displays a first prompt window, which prompts the user to unfold the folding screen of the electronic device. The electronic device receives a second operation from the user to unfold the foldable screen.
7. An electronic device, characterized in that, The electronic device includes a processor and a memory for storing processor-executable instructions; the processor is configured to, when executing the instructions, cause the electronic device to perform the method as described in any one of claims 1 to 6.
8. A computer-readable storage medium having computer program instructions stored thereon; characterized in that, When the computer program instructions are executed by the electronic device, the electronic device performs the method as described in any one of claims 1 to 6.