A split-screen display method and apparatus

By displaying split-screen prompts on electronic devices, users can quickly switch between screens, solving the cumbersome operation problem when switching applications and improving the user experience.

CN118625967BActive Publication Date: 2025-10-31HONOR DEVICE CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202410560190.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-11-30
Publication Date
2025-10-31
Estimated Expiration
2041-11-30

AI Technical Summary

Technical Problem

Users need to perform frequent operations when switching between applications on electronic devices, resulting in a poor user experience.

Method used

By displaying a split-screen prompt message under preset conditions, the system informs the user of the two applications that will soon be displayed in split-screen mode. The user can then directly switch between the two applications, avoiding the cumbersome switching process.

Benefits of technology

It improves the convenience and experience for users when switching applications, reduces operation steps, and meets users' needs for visual consistency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118625967B_ABST
    Figure CN118625967B_ABST
Patent Text Reader

Abstract

This application provides a split-screen display method and apparatus, relating to the field of terminals, which can solve the problem of frequent operations required when users switch applications, thereby improving user experience. The method is as follows: At a first moment, the electronic device displays the first interface of a first application in full screen; under the condition of satisfying a first preset condition, the electronic device displays a split-screen prompt message on the first interface of the first application. In the split-screen prompt message, the application icon of the first application is located to the left, above, or to the upper left of the application icon of the second application. The split-screen prompt message also includes a preset graphic (vertical line or ellipse) and / or preset text (entering split-screen or split-screen), and the split-screen prompt message is used to prompt for split-screen display of the first application and the second application; in response to the user's operation on the split-screen prompt message, the electronic device displays a split-screen interface, which includes the first interface of the first application and the second interface of the second application.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] This application is a divisional application. The original application has the application number 202111450656.X and the original application date is November 30, 2021. The entire contents of the original application are incorporated herein by reference. Technical Field

[0002] This application relates to the field of terminals, and more particularly to a split-screen display method and apparatus. Background Technology

[0003] Currently, users may frequently switch between two applications when using electronic devices (such as mobile phones and tablets).

[0004] When switching between applications, users usually need to exit the current application and then enter another application from the desktop, which is a very cumbersome operation and results in a poor user experience. Summary of the Invention

[0005] This application provides a split-screen display method and apparatus that can solve the problem of frequent operations required when users switch applications, thereby improving the user experience.

[0006] In a first aspect, some embodiments of this application provide a split-screen display method, comprising: at a first moment, an electronic device displays a first interface of a first application in full screen; under the condition of satisfying a first preset condition, the electronic device displays split-screen prompt information on the first interface of the first application, the split-screen prompt information including an application icon of the first application and an application icon of the second application, wherein the application icon of the first application is located to the left, above, or to the upper left of the application icon of the second application, and the split-screen prompt information also includes a preset graphic and / or preset text, the preset graphic including a vertical line or an ellipse, the preset text including "enter split screen" or "split screen", the split-screen prompt information is used to prompt the first application and the second application to be displayed in split screen, the first application being an application running in the foreground, and the second application being an application recommended by the electronic device and displayed in split screen with the first application; in response to the user's operation on the split-screen prompt information, the electronic device displays a split-screen interface, the split-screen interface including the first interface of the first application and the second interface of the second application.

[0007] In this way, electronic devices can prompt users to split the screen via split-screen notifications, allowing users to know which two applications will be split in the screen. Users can then interact with the split-screen notifications to quickly and conveniently use the split-screen function, avoiding the need for frequent operations when switching applications and improving the user experience.

[0008] In one possible design, in the split-screen prompt, the icon of the first application is located to the left or above the icon of the second application. The icons of the first and second applications are separated by a first preset graphic or preset text, where the first preset graphic includes a vertical line. When the split-screen display type is left-right, the icon of the first application is located to the left of the icon of the second application, indicating that after splitting, the first application (e.g., application A) can be displayed on the left side of the screen, and the second application (e.g., application B) can be displayed on the right side. This allows the user's attention to be focused on the left side (i.e., the interface of the application being used before the split), satisfying visual consistency. When the split-screen display type is top-bottom, the icon of the first application is located above the icon of the second application, indicating that after splitting, the first application (e.g., application A) is displayed at the top of the screen, and the second application (e.g., application B) is displayed at the bottom. This allows the user's attention to be focused on the top area (i.e., the interface of the application being used before the split), satisfying visual consistency.

[0009] In one possible design, the split-screen prompt displays the first application's icon to the upper left of the second application's icon. Both icons are situated within a second preset graphic, which includes an ellipse. The right side of this graphic displays the word "Preset." By placing the first application's icon to the upper left of the second, the user is prompted that after split-screen mode, the first application (e.g., application A) will be displayed on the top or left side of the screen, while the second application (e.g., application B) will be displayed on the bottom or right side. This directs the user's attention to the top or left side of the screen (i.e., the interface of the application being used before split-screen mode), thus ensuring visual consistency.

[0010] In one possible design, under certain preset conditions, the electronic device displays a split-screen prompt on the first interface of the first application by: if a first consecutive number of applications include a second and a third application, the number of times the first application appears and the number of times the second application appears are both greater than or equal to the first number, and the number of switches between the second and first applications is greater than or equal to the second number, then the split-screen prompt is overlaid on the first interface of the currently displayed first application. Here, the first consecutive number of applications refers to a first consecutive number of applications displayed in full screen within a first time period before the first moment, and these applications include the first application. In this way, the electronic device can intelligently predict the timing of split-screen based on the user's application usage and recommend split-screen functionality to the user at that time, enabling the user to quickly and conveniently use the split-screen function based on the recommendations, thus improving the user experience.

[0011] In one possible design, the first time is 5 minutes, the first count is 2 times, the second count is 2 times, and the first quantity is 5.

[0012] In one possible design, the first, second, and third applications are all different from those in a preset blacklist, which includes desktop applications; split-screen notifications are displayed as floating capsules. The blacklist may also include settings applications.

[0013] In one possible design, under the condition of satisfying a first preset condition, the electronic device displays a split-screen prompt message on the first interface of the first application, including: at a second moment after the first moment, in response to switching from the first application to the second application, displaying the second application interface in full screen; at a third moment after the second moment, in response to switching from the second application to the third application, displaying the third application interface in full screen; at a fourth moment after the third moment, in response to switching from the third application to the second application, displaying the second application interface in full screen; at a fifth moment after the fourth moment, in response to switching from the second application to the first application, displaying the first application interface in full screen; and if the difference between the fifth moment and the first moment is less than or equal to the first moment, and the first application, the second application, and the current screen all support split-screen, then the split-screen prompt message is overlaid on the first application interface displayed at the fifth moment. In this way, the electronic device can predict the timing of split-screen in real time and intelligently based on the user's application usage, and recommend split-screen to the user at that time, enabling the user to quickly and conveniently use the split-screen function based on the recommendation, thus improving the user experience.

[0014] In one possible design, under the condition of satisfying a first preset condition, the electronic device displays a split-screen prompt message on the first interface of the first application, including: at a second moment after the first moment, in response to switching from the first application to the second application, displaying the second application interface in full screen; at a third moment after the second moment, in response to switching from the second application to the third application, displaying the third application interface in full screen; at a fourth moment after the third moment, in response to switching from the third application to the second application, displaying the second application interface in full screen; at a fifth moment after the fourth moment, in response to switching from the second application to the first application, displaying the first application interface in full screen; at a sixth moment after the fifth moment, detecting that the first application interface remains in full-screen display; and if the difference between the sixth moment and the first moment is less than or equal to the first moment, and the first application, the second application, and the current screen all support split-screen, then displaying the split-screen prompt message overlaid on the first application interface displayed at the sixth moment. In this way, the electronic device can predict the timing of split-screen in real time and intelligently based on the user's application usage, and recommend split-screen to the user at that time, enabling the user to quickly and conveniently use the split-screen function based on the recommendation, thus improving the user experience.

[0015] In one possible design, the electronic device includes a business logic processing module, a context awareness module, a business presentation module, and a multi-window management module. Before the electronic device displays split-screen prompt information on the first interface of the first application, the method further includes: when the context awareness module detects a user switching application operation, it sends an application switching notification to the business logic processing module. The application switching notification instructs the user to switch to the first application and includes application information for the first application, including the package name and working identifier; the business logic processing module adds the first application to an application list based on the application information of the first application. The application list includes application information for applications that the user has recently opened N times, and each application in the application list is an application that has been displayed in full screen. The application list does not include desktop applications; the method further determines whether the number of occurrences of the first application and other applications in the application list is greater than or equal to a first preset threshold, and the application list includes application information for a second application. If the frequency of occurrence of both the first and second applications is greater than or equal to a first preset threshold, the first and second applications are determined to be the applications that the user has been frequently switching between recently. The business logic processing module determines to display the two frequently switched applications in a split-screen manner. The business logic processing module sends a split-screen instruction to the business presentation module, which includes application information and split-screen display position information of the two frequently switched applications. The split-screen display position information is used to indicate the corresponding display position information of the two frequently switched applications when displayed in a split-screen manner. The business presentation module displays a split-screen prompt message on the first interface of the first application. In response to the user's operation on the split-screen prompt message, the electronic device displays a split-screen interface, including: in response to detecting the user's operation on the split-screen prompt message, the business presentation module notifies the multi-window management module to display the first and second applications in a split-screen manner, and the multi-window management module displays the first and second applications in a split-screen manner. In this way, the electronic device can recommend split-screen to the user based on the user's application usage (i.e., display split-screen prompt messages), enabling the user to quickly and conveniently use the split-screen function based on the split-screen recommendations, thus improving the user experience.

[0016] In one possible design, the business logic processing module determines whether to display two frequently switched applications in split-screen mode by: calling the multi-window management module to determine whether the electronic device's screen supports split-screen and whether the first and second applications support split-screen; the multi-window management module determines whether the electronic device's screen supports split-screen by: obtaining the height and width grid numbers corresponding to the electronic device's screen, determining the device type based on these numbers, and if the device type is a preset type, determining that the screen supports split-screen. Preset types include foldable phones, tablets, and candybar phones; the multi-window management module determines whether the first and second applications support split-screen by: querying the application list whitelist to see if it includes the first and second applications. The application list whitelist indicates all applications that support split-screen. If it includes both applications, determining that both applications support split-screen. In this way, the electronic device can recommend split-screen functionality to the user based on application usage (i.e., displaying split-screen prompts), allowing users to quickly and conveniently use the split-screen function, thus improving the user experience.

[0017] In one possible design, the split-screen notification disappears if the user does not interact with it within a preset time period; or in response to the user closing the split-screen notification; or in response to the user exiting the first screen; or in response to the user interacting with the split-screen notification. This avoids impacting the user's application experience.

[0018] In one possible design, the business presentation module notifies the multi-window management module to display the first application and the second application in a split-screen manner, including: the business presentation module sending a split-screen notification message to the multi-window management module, the split-screen notification message being used to notify the multi-window management module to display the first application and the second application in a split-screen manner, the split-screen notification message carrying the package name or work identifier of the first application and the second application; the multi-window management module displaying the first application and the second application in a split-screen manner includes: the multi-window management module opening the Activity corresponding to the first interface of the first application and the Activity corresponding to the second interface of the second application, the second interface being the interface that the user most recently viewed in the second application.

[0019] Secondly, this application provides a chip system including one or more interface circuits and one or more processors. The interface circuits and processors are interconnected via lines.

[0020] The aforementioned chip system can be applied to electronic devices that include a communication module and a memory. The interface circuit is used to receive signals from the electronic device's memory and send the received signals to the processor, the signals including computer instructions stored in the memory. When the processor executes the computer instructions, the electronic device can perform the methods described in the first aspect and any of its possible design embodiments.

[0021] Alternatively, the aforementioned chip system can be applied to a server (server device) that includes a communication module and memory. The interface circuitry is used to receive signals from the server's memory and send the received signals, including computer instructions stored in the memory, to the processor. When the processor executes these computer instructions, the server can perform the methods described in the first aspect and any of its possible design embodiments.

[0022] Thirdly, this application provides a computer-readable storage medium including computer instructions. When the computer instructions are executed on an electronic device (such as a mobile phone), they cause the electronic device to perform the methods described in the first aspect and any of its possible design embodiments.

[0023] Alternatively, when computer instructions are executed on the server, the server may perform the method described in the first aspect and any of its possible design schemes.

[0024] Fourthly, this application provides a computer program product that, when run on a computer, causes the computer to perform the method described in the first aspect and any possible design thereof.

[0025] Fifthly, embodiments of this application provide a split-screen display device, including a processor and a memory coupled together. The memory stores program instructions, which, when executed by the processor, cause the device to implement the method described in the first aspect and any possible design of the above. The device may be an electronic device or a server device; or it may be a component of an electronic device or a server device, such as a chip.

[0026] Sixthly, embodiments of this application provide a split-screen display device, which can be divided into different logical units or modules according to function, with each unit or module performing different functions, so that the device can perform the method described in the first aspect and any of its possible design methods.

[0027] It is understood that the beneficial effects achieved by the chip system described in the second aspect, the computer-readable storage medium described in the third aspect, the computer program product described in the fourth aspect, and the apparatus described in the fifth and sixth aspects can be referred to the beneficial effects in the first aspect and any of its possible design embodiments, which will not be repeated here.

[0028] Based on the split-screen display method provided in the embodiments of this application, electronic devices can prompt users to split the screen through split-screen prompts, so that users can know the two applications that will be split in the screen according to the split-screen prompts. Users can operate on the split-screen prompts, thereby quickly and conveniently using the split-screen function, avoiding the problem of users having to operate frequently when switching applications, and improving the user experience. Attached Figure Description

[0029] Figure 1 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application;

[0030] Figure 2 A schematic diagram of the software architecture of an electronic device provided in an embodiment of this application;

[0031] Figure 3 A schematic diagram of signal interaction provided in an embodiment of this application;

[0032] Figure 4A A schematic diagram provided for an embodiment of this application;

[0033] Figure 4B A grid schematic diagram provided for an embodiment of this application;

[0034] Figure 5 This is yet another display schematic diagram provided for an embodiment of this application;

[0035] Figure 6 This is yet another display schematic diagram provided for an embodiment of this application;

[0036] Figure 7A This is yet another display schematic diagram provided for an embodiment of this application;

[0037] Figure 7B This is yet another display schematic diagram provided for an embodiment of this application;

[0038] Figure 8 This is yet another display schematic diagram provided for an embodiment of this application;

[0039] Figure 9 This is yet another display schematic diagram provided for an embodiment of this application;

[0040] Figure 10 This is a schematic diagram of a chip system provided in an embodiment of this application. Detailed Implementation

[0041] Currently, when using electronic devices (such as mobile phones and tablets), users may open multiple applications simultaneously and switch between them. For example, a user might reply to a text message in a messaging app while writing a memo in a notes app. When switching applications, users usually need to exit the current application and then enter another application from the home screen, which is cumbersome and results in a poor user experience.

[0042] To better meet user needs, a split-screen function can be provided. This allows multiple (e.g., two) applications to be displayed simultaneously on the screen, running concurrently without interfering with each other, thus avoiding the need for users to switch between applications. In existing technologies, entering split-screen mode on an electronic device requires relatively complex user intervention. For example, when an electronic device is displaying application A in full-screen mode, the user can long-press the task button to enter split-screen mode (or swipe up from the bottom of the phone and hold to access the background application card interface, then tap the split-screen icon to enter split-screen mode). The user then manually selects another application to be displayed in split-screen mode, such as tapping the icon of application B, ultimately resulting in application A and application B being displayed in separate windows.

[0043] It is evident that in existing technologies, entering split-screen mode on electronic devices requires users to manually select the application to be split and perform relatively complex operations, resulting in a poor user experience.

[0044] This application provides a split-screen display method and apparatus. When it is detected that the current application (the application currently running in the foreground) and another application are frequently switching, a split-screen reminder can be triggered. In response to the user's operation on the split-screen reminder, split-screen display can be triggered, thus avoiding tedious manual operations by the user and improving the user experience.

[0045] The split-screen display method provided in this application can be applied to electronic devices. These electronic devices can include, for example, mobile phones (including foldable and candybar phones), tablets, desktop computers, handheld computers, laptops, ultra-mobile personal computers (UMPCs), netbooks, personal digital assistants (PDAs), augmented reality (AR) / virtual reality (VR) devices, etc. This application does not impose any special limitations on the specific form of the electronic device. Alternatively, the method provided in this application can be applied to server equipment.

[0046] like Figure 1 As shown, the aforementioned electronic device can specifically be a mobile phone 100. The mobile phone 100 may include a processor 110, an external memory interface 120, an internal memory 121, a USB interface 130, a charging management module 140, a power management module 141, a battery 142, antenna 1, antenna 2, a radio frequency module 150, a communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, a headphone jack 170D, a sensor module 180, buttons 190, a motor 191, an indicator 192, a camera 193, a display screen 194, and a SIM card interface 195, etc. The sensor module may include a pressure sensor 180A, a gyroscope sensor 180B, a barometric pressure sensor 180C, a magnetic sensor 180D, an accelerometer sensor 180E, a distance sensor 180F, a proximity sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, etc.

[0047] Processor 110 may include one or more processing units, such as: application processor (AP), modem processor, graphics processing unit (GPU), image signal processor (ISP), controller, memory, video codec, digital signal processor (DSP), baseband processor, and / or neural network processing unit (NPU), etc. Different processing units may be independent devices or integrated within the same processor.

[0048] The structure illustrated in this embodiment of the invention does not constitute a limitation on the mobile phone 100. It 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 both.

[0049] The software system of the aforementioned mobile phone 100 can adopt a layered architecture, event-driven architecture, microkernel architecture, microservice architecture, or cloud architecture. This embodiment of the invention uses the layered architecture Android system as an example to exemplify the software structure of the mobile phone 100.

[0050] like Figure 2As shown, the Android system can include an application layer (which can be simply referred to as the application layer) and an application framework layer (which can be simply referred to as the framework layer). In addition, the Android system can also include the Android runtime, system libraries, and the kernel layer (…). Figure 2 (not shown in the image), this application does not limit it.

[0051] The application layer may include a series of application packages. For example, the application layer may include applications such as camera, gallery, calendar, call, map, navigation, WLAN, Bluetooth, music, video, and SMS (applications can be simply referred to as apps), and this application embodiment does not impose any limitations on this.

[0052] In this embodiment, the application layer may further include a context-aware module, a business logic processing module, and a business presentation module. The context-aware module, business logic processing module, and business presentation module may be independent apps, or they may be integrated into different apps, or they may be integrated into the same app; this application does not impose any limitations.

[0053] The context-aware module is used to detect whether the application has switched. It can monitor page transitions at both the app and activity levels through the application / page state monitoring module at the framework layer. When an app-level page transition occurs, it can notify the business logic processing module that an app-level page transition has occurred.

[0054] The business logic processing module is used for core business calculations, including identifying the two most frequently switched applications by the user, deciding whether to split the screen for these two applications, and determining the location of the split screen. The business logic processing module can call the multi-window management module in the application framework layer to determine whether the electronic device's screen supports split-screen and whether the two frequently switched applications support split-screen. If it is determined that split-screen is necessary for the two frequently switched applications, the business logic processing module can send a split-screen notification message to the business presentation module.

[0055] The business presentation module (e.g., YOYO suggestions) is responsible for UX interaction and result display. This module receives split-screen notification messages from the business logic processing module and displays them as split-screen floating capsules. Upon detecting a user clicking on a split-screen floating capsule, it notifies the multi-window management module to initiate split-screen mode.

[0056] The application framework layer provides application programming interfaces (APIs) and a programming framework for applications in the application layer. The application framework layer includes some predefined functions.

[0057] like Figure 2 As shown, the application framework layer may include an application / page state monitoring module, a multi-window management module (window manager), a content provider, a view system, a resource manager, a notification manager, etc., and this application embodiment does not impose any limitations on this.

[0058] In this embodiment, the application / page state monitoring module is responsible for monitoring page transitions at both the app level and the activity level. An app-level page transition refers to a user switching applications, such as switching from the SMS app to the Notes app. An activity-level page transition refers to a user switching pages within an app, such as switching from the personal messages page to the notification messages page in the SMS app.

[0059] The multi-window management module can be implemented based on Android's native multi-window management. Building upon the existing functionality of Android's native multi-window management, it can provide more capabilities, such as split-screen management, floating window management, animation splitting, and compatibility with more applications.

[0060] The split-screen management feature enables split-screen display of multiple applications. The floating window management feature enables the display of floating windows. The animation splitting feature enables animation effects for transitioning from full-screen mode of a single application to split-screen display mode of multiple applications. Compatibility with more applications can include applications such as YOYO suggestions.

[0061] The technical solutions of the embodiments of this application will be described below with reference to the accompanying drawings. In the description of this application, unless otherwise stated, " / " indicates that the objects before and after are in an "or" relationship. For example, A / B can represent A or B. "And / or" in this application is merely a description of the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A alone, A and B simultaneously, and B alone, where A and B can be singular or plural. Furthermore, in the description of this application, unless otherwise stated, "multiple" refers to two or more. "At least one of the following" or similar expressions refer to any combination of these items, including any combination of single or plural items. For example, at least one of a, b, or c can represent: a, b, c, ab, ac, bc, or abc, where a, b, and c can be single or multiple. Furthermore, to facilitate a clear description of the technical solutions in the embodiments of this application, the terms "first" and "second" are used in the embodiments of this application to distinguish identical or similar items with substantially the same function and effect. Those skilled in the art will understand that the terms "first" and "second" do not limit the quantity or execution order, and that "first" and "second" are not necessarily different. Meanwhile, in the embodiments of this application, the terms "exemplary" or "for example" are used to indicate that something is being used as an example, illustration, or description. Any embodiment or design scheme described as "exemplary" or "for example" in the embodiments of this application should not be construed as being more preferred or advantageous than other embodiments or design schemes. Specifically, the use of terms such as "exemplary" or "for example" is intended to present related concepts in a concrete manner for ease of understanding.

[0062] For ease of understanding, the split-screen display method provided in the embodiments of this application will be described in detail below with reference to the accompanying drawings.

[0063] like Figure 3 As shown, this application provides a split-screen display method, taking a foldable screen phone as an example, which includes:

[0064] 301. The business logic processing module subscribes to the application switching fence from the context awareness module.

[0065] After the business logic processing module subscribes to the application switching fence from the context awareness module, it can notify the business logic processing module when the context awareness module detects that a user has opened or switched applications.

[0066] 302. The context awareness module detects the user's application switching operation and notifies the business logic processing module that the application has been switched.

[0067] When a user switches applications, the context-aware module can detect the user's application switching action. At this time, it triggers an application switching fence and sends an application switching fence trigger notification to the business logic processing module. The application switching fence trigger notification is used to indicate that an application switch has occurred.

[0068] For example, at the first moment, such as Figure 4A As shown in (a), the phone can display the Notes app interface 401. At this time, Notes is the app running in the foreground. At a second moment (later than the first moment), the user may switch to the Messages app, such as... Figure 4A As shown in (b) above, the mobile phone can display the interface 402 of the SMS application (Messages application). At this time, the SMS application is the app running in the foreground. After the context-aware module detects that the user has opened / switched to the SMS application, it can send an application switching notification (application switching fence trigger notification) to the business logic processing module. The application switching notification can carry application information of the current application (the application currently running in the foreground, such as the SMS application). The application information includes the package name and the task identifier (taskidentification, task ID). The package name is used to indicate which application the information belongs to, such as the Messages application, the Messaging application, etc. The task identifier (taskID) is used to indicate the currently displayed interface. Optionally, the application switching notification can also carry information such as the time when the current application was opened, which is not limited in this application.

[0069] 303. The business logic processing module determines whether there are applications that switch frequently.

[0070] Each time the business logic processing module receives an application switching notification from the context-aware module, it can read the application information (package name and task ID) of the current application from the notification. Based on this information, it adds the current application to the recently used application list. The recently used application list can be determined using a sliding time window statistical algorithm. For example, the recently used application list can be shown in Table 1.

[0071] Table 1

[0072] time Application identifier (package name) 2021-11-10 11:00:00 The package name of application A (e.g., com.android.mms). 2021-11-10 11:05:00 The package name of application B (e.g., com.android.memo). 2021-11-10 11:20:00 Package name of application A 2021-11-10 11:25:00 Package name of application B 2021-11-10 11:36:00 Package name of application A

[0073] As shown in Table 1, the user entered (opened) application A at 11:00:00 on November 10, 2021, entered application B at 11:05:00 on November 10, 2021, entered application A again at 11:20:00 on November 10, 2021, entered application B again at 11:25:00 on November 10, 2021, and entered application A again at 11:36:00 on November 10, 2021.

[0074] The maximum number of applications in the recently used applications list can be N (N is a preset positive integer, for example, N=5). When the number of applications in the recently used applications list is N (for example, 5), it is determined whether there are frequently switched applications in the recently used applications list.

[0075] In one possible design, the number of times the current application (the most recently added application) and other applications in the most recently used application list appear can be counted to see if it is greater than or equal to a first preset threshold (e.g., 2 times). If the number of times the current application (e.g., application A) and another application (e.g., application B) appear are both greater than or equal to the first preset threshold, it is considered that there is frequent switching between the current application (e.g., application A) and the other application (e.g., application B).

[0076] For example, suppose that among the five most recently used applications, the current application (e.g., application A) and another application (e.g., application B) are switched back and forth more than twice. For example, the switching order is: application A -> application B -> application A -> application B -> application A, which is considered to indicate frequent switching between the current application (e.g., application A) and another application (e.g., application B).

[0077] In some embodiments, the business logic processing module may add only applications that have been displayed in full screen within the last M minutes (e.g., 5 minutes) to the recently used application list. Optionally, the full-screen display duration of applications in the recently used application list can be T seconds (e.g., 60 seconds). Applications opened via floating windows (via small windows) may not be added to the recently used application list, thus excluding them from the evaluation of frequently switched applications. Optionally, settings applications and desktop applications may also not be added to the recently used application list, thus excluding them from the evaluation of frequently switched applications.

[0078] Additionally, desktop and settings apps can be excluded from the recently used app list, thus avoiding their inclusion in the frequently switched app detection. In other words, desktop or settings apps can be removed from the app switching sequence.

[0079] In another possible design, if it is determined that a user switches between two full-screen applications (e.g., application A and application B) Y times within X seconds (e.g., 100 seconds, 200 seconds, 300 seconds, etc.), with switching from application A to application B counting as one switch and switching from application B to application A also counting as one switch), then frequent switching between application A and application B can be considered. Here, X and Y are configurable system service parameters, for example, X = 300, Y = 4.

[0080] 304. The business logic processing module determines whether two frequently switched applications can be displayed in split screen.

[0081] The business logic processing module can make the following two judgments:

[0082] (1) Determine whether the current screen supports split screen.

[0083] The business logic processing module can call the multi-window management module to determine whether the current screen supports split-screen mode. Simultaneously, the business logic processing module can register a callback with the multi-window management module. The purpose of registering this callback is to return the result of whether the current screen supports split-screen mode to the business logic processing module after the multi-window management module determines this.

[0084] like Figure 4B As shown, the multi-window management module can obtain the height and width grid numbers of the electronic device's screen. When both the height and width grid numbers are 8, the electronic device can be identified as a foldable screen device (foldable phone). The screen size of a foldable phone can be 7-8 inches. When the height and width grid numbers are 8 and 12 respectively, the electronic device can be identified as a tablet computer, whose screen size can be 8-11 inches. If the electronic device is a foldable screen device or a tablet computer, it is determined that the screen of the electronic device supports split-screen mode.

[0085] Of course, other types of devices can also support split-screen, such as candybar phones.

[0086] (2) Determine whether two frequently switched applications (e.g., application A and application B) support split-screen (transfer package name).

[0087] The business logic processing module can call the multi-window management module to determine whether an application (e.g., application A and application B) supports split-screen. Simultaneously, the business logic processing module can register a callback with the multi-window management module. The purpose of this callback is to return the result of whether the application supports split-screen to the business logic processing module after the multi-window management module determines this.

[0088] The multi-window management module can maintain an application whitelist, which can include identifiers of applications that support split-screen (e.g., the application's package name). For example, a whitelist of applications supporting split-screen can be shown in Table 2.

[0089] Table 2

[0090] Application identifier (package name) Does it support split-screen? The package name of application A (e.g., com.android.mms). yes The package name of application B (e.g., com.android.memo). yes Application C package name yes Application D's package name yes Package name of application E yes

[0091] The multi-window management module can query the application list whitelist to see if it includes two frequently switched applications (e.g., application A and application B). If it does, it determines that the two frequently switched applications support split-screen.

[0092] If the current screen supports split-screen, and both of the frequently switched applications support split-screen, you can proceed to step 305.

[0093] If the current screen does not support split-screen, and / or if either of the two frequently switched applications does not support split-screen, step 305 is not executed, and the process is stopped.

[0094] 305. The business logic processing module sends a split-screen instruction to the business presentation module.

[0095] The split-screen command can include application information for the two frequently switched applications, as well as the display position information (split-screen display position information) for each of the two frequently switched applications when displayed in split-screen mode.

[0096] The business logic processing module determines the split-screen display type based on the current screen's capabilities. Split-screen display types can include left-right split-screen and top-bottom split-screen. After determining the type, it can determine the position information (split-screen display position information) of the two frequently switched applications during split-screen display. When the split-screen display type is left-right, the business logic processing module can default to displaying the current application (e.g., application A) on the left and the other application (e.g., application B) on the right. This directs the user's attention to the left side, satisfying visual consistency. When the split-screen display type is top-bottom, the business logic processing module can default to displaying the current application (e.g., application A) at the top and the other application (e.g., application B) at the bottom. This directs the user's attention to the top area, satisfying visual consistency.

[0097] In one possible design, the business logic processing module can adjust the application's display position in split-screen mode based on user habits. For example, if it detects that the user habitually places application B on the left or top of the split screen, application B can be displayed on the left or top of the split screen, while the current application (e.g., application A) is displayed on the right or top. Alternatively, if it detects that the user habitually places application A on the right (or is right-handed when operating application A) or at the bottom of the split screen, application B (e.g., application A) can be displayed on the right or top, while application B is displayed on the left or top of the split screen.

[0098] 306. A floating capsule pops up in the business presentation module.

[0099] After receiving a split-screen instruction from the business logic processing module, the business presentation module can pop up a floating capsule. The floating capsule is used to prompt the user to display in split-screen mode. The floating capsule (split-screen floating capsule) can also be called a floating icon (split-screen floating icon), a floating window (split-screen floating window), a floating ball (split-screen floating ball), or a floating notification (split-screen floating notification), etc., and this application does not limit the terminology.

[0100] The content displayed in the floating capsule can be determined based on the information carried in the split-screen instruction. In some embodiments, if the split-screen display position information carried in the split-screen instruction indicates that the current application (e.g., application A) is displayed on the left and another application (e.g., application B) is displayed on the right, then the content displayed in the floating capsule may include the application icons of application A and application B, with application A's application icon on the left and application B's application icon on the right, separated by a vertical line or the words "Enter Split Screen".

[0101] like Figure 5 As shown in (a), if the current application is the SMS application, the phone can display a floating capsule 403 on the SMS application interface 402. The floating capsule 403 includes the SMS application icon 403a and the Memo application icon 403b (the application frequently switched from the SMS application), separated by a vertical line 403c. The floating capsule 403 is used to prompt the user to display the SMS application and the Memo application in a split-screen mode. Specifically, the SMS application (current application) icon 403a is displayed on the left side of the floating capsule 403, and the Memo application icon 403b (the application frequently switched from the current application) is displayed on the right side of the floating capsule 403.

[0102] Or, such as Figure 5 As shown in (b), if the current application is the SMS application, the phone can display a floating capsule 404 on the SMS application interface 402. The floating capsule 404 includes the SMS application icon 404a and the Memo application icon 404b (the application frequently switched from the SMS application). The SMS application icon 404a and the Memo application icon 404b are separated by the words "Enter Split Screen" 404c to more intuitively prompt the user to enable the split screen function. Among them, the SMS application (current application) application icon 404a is displayed on the left side of the floating capsule 404, and the Memo application (the application frequently switched from the current application) application icon 404b is displayed on the right side of the floating capsule 404.

[0103] The content displayed in the levitating capsule can also take other forms. For example, such as... Figure 6As shown in (a), a circular bubble 602 can be displayed on the left side of the floating capsule 601. The circular bubble 602 can display the application icon 603 for Messages (the current application) and the application icon 604 for Memos (an application frequently switched from the current application) in a staggered manner. The application icon 603 for Messages can be displayed to the upper left of the application icon 604 referenced by Memos (the application icon 604 for Memos can be displayed to the lower right of the application icon 603 for Messages). The right side of the floating capsule 601 can display the prompt text "Enter Split Screen" 605.

[0104] For example, such as Figure 6 As shown in (b), the left side of the floating capsule 610 can display only the application icon 611 of the memo (an application that is frequently switched with the current application), and the right side of the floating capsule 610 can display the prompt text "Enter split screen" 612 to prompt the user to split the SMS (current application) and the memo (an application that is frequently switched with the current application) into a split screen.

[0105] It should be noted that the floating capsule can be displayed on the side (top, bottom, left, or right) of the current application's full-screen window, or displayed in the side dock, or above the floating ball, or placed below banner notifications, notification cards, notification centers, floating navigation buttons, etc. This application does not limit the display position.

[0106] For example, such as Figure 7A As shown in (a), the phone can display a floating capsule 403 above the current application's interface 402. The content displayed in the floating capsule can be found in [reference]. Figure 5 The relevant explanations for (a) in the text will not be repeated here. For example, as... Figure 7A As shown in (b), the phone can display a floating capsule 404 above the current application's interface 402. The content displayed in the floating capsule can be found in [reference]. Figure 5 The relevant explanations for (b) in the text will not be repeated here.

[0107] In one possible design, the floating capsule is triggered only after the user enters the current application and remains there for a preset duration (e.g., 3 seconds). For example, as... Figure 5 As shown in (a), the floating capsule 403 will only pop up when the user opens the SMS application and stays there for more than 3 seconds.

[0108] In one possible design, if a first number of consecutive applications include a second and a third application, the number of times the first application appears and the number of times the second application appears are both greater than or equal to the first number, and the number of switches between the second and first applications is greater than or equal to the second number, then a split-screen prompt message is overlaid on the first interface of the currently displayed first application. Here, the first number of consecutive applications refers to a first number of consecutive applications displayed in full screen within a first time period before the first moment, and these applications include the first application. For example, the first time period can be 5 minutes, the first number can be 2 times, the second number can be 2 times, and the first number can be 5.

[0109] For example, suppose the switching order of the 5 most recently used applications is: Application A (first application) -> Application B (second application) -> Application C (third application) -> Application A -> Application B; or the switching order is: Application A -> Application C -> Application B -> Application A -> Application B; if it is assumed that there is frequent switching between the first application (Application A) and the second application (Application B), a split-screen prompt message can be overlaid on the first screen of the currently displayed first application.

[0110] In another possible design, at the first moment, the electronic device displays the first interface of the first application in full screen; at the second moment after the first moment, in response to switching from the first application to the second application, the second application interface is displayed in full screen; at the third moment after the second moment, in response to switching from the second application to the third application, the third application interface is displayed in full screen; at the fourth moment after the third moment, in response to switching from the third application to the second application, the second application interface is displayed in full screen; at the fifth moment after the fourth moment, in response to switching from the second application to the first application, the first application interface is displayed in full screen; if the difference between the fifth moment and the first moment is less than or equal to the first moment, and the first application, the second application, and the current screen all support split-screen, a split-screen prompt message is overlaid on the first application interface displayed at the fifth moment.

[0111] For example, such as Figure 7B As shown in Figure (a), assume that at time t1, the phone displays the Notes app interface 401 in full screen. Then, at time t2, after the Notes app interface has been displayed, as... Figure 7B As shown in Figure (b), the user switches from the Notes app to the Messages app, and the phone screen displays the Messages app interface 402 in full screen. Then, at time t3, after the Messages app interface 402 is displayed in full screen, the user switches from the Messages app to the Camera app, and the electronic device screen displays the Camera app interface 403 in full screen, as shown... Figure 7BAs shown in Figure (c). Next, at time t4 after the camera app interface is displayed in full screen, the user switches from the camera app to the notes app, and the electronic device screen displays the notes app interface in full screen 404, as shown. Figure 7B As shown in Figure (d). Then, at time t5, after time t4, the user switches from the Messenger app to the Messages app, and the electronic device screen displays the Messages app interface 405 in full screen, as shown. Figure 7B As shown in Figure (e). Furthermore, at time t5, if the electronic device determines that the difference between time t5 and time t1 is less than or equal to the first time, and the Messages app, Memo app, and Camera app are not on the preset blacklist, and the Messages app and Memo app both support split-screen, and the electronic device also supports split-screen, then the electronic device determines that the Messages app and Memo app are frequently switched apps. Therefore, the electronic device overlays a floating capsule on the Messages app interface displayed at time t5.

[0112] In this embodiment, the electronic device immediately predicts split-screen mode at time t5, and if split-screen mode is predicted, a floating capsule immediately pops up on the full-screen interface of the memo application at time t5. This allows the user to quickly enter split-screen mode by interacting with the floating capsule.

[0113] In this embodiment, the user does not need to consider whether to split the screen in advance, nor does the user need to set the split screen status in advance. This not only saves the user effort and time, but also reduces the user's operation steps, making it easy and convenient for the user to use the split screen function of the electronic device.

[0114] In one example, the initial time interval can be 5 minutes. Of course, this application embodiment does not limit the specific value of the initial time interval, and the specific value of the initial time interval can be adjusted according to usage requirements.

[0115] In another possible design, at a first moment, the electronic device displays the first interface of the first application in full screen; at a second moment after the first moment, in response to switching from the first application to the second application, the second application interface is displayed in full screen; at a third moment after the second moment, in response to switching from the second application to the third application, the third application interface is displayed in full screen; at a fourth moment after the third moment, in response to switching from the third application to the second application, the second application interface is displayed in full screen; at a fifth moment after the fourth moment, in response to switching from the second application to the first application, the first application interface is displayed in full screen; at a sixth moment after the fifth moment, it is detected that the first application interface remains in full-screen display; if the difference between the sixth moment and the first moment is less than or equal to the first moment, and the first application, the second application, and the current screen all support split-screen, a split-screen prompt message is overlaid on the first application interface displayed at the sixth moment.

[0116] Please see Figure 7B In step (e), after the information application interface 405 is displayed, wait for the target time, for example, the target time can be 3 seconds, until time t6 after time t5 (the interval between time t5 and time t6 is 3 seconds). If at this time... Figure 7B As shown in Figure (e), the Messages app interface remains in full-screen mode, and the electronic device initiates split-screen prediction. That is, at time t6, if the electronic device determines that the difference between time t6 and time t1 is less than or equal to the first time, and the Messages app, Notes app, and Camera app are not on the preset blacklist, and both the Messages app and Notes app support split-screen, and the electronic device also supports split-screen, then the electronic device determines that the Messages app and Notes app are frequently switched apps. Therefore, the electronic device overlays a floating capsule on the Notes app interface displayed at time t6.

[0117] The blacklist can include applications that users use infrequently, such as settings apps, as well as applications that users must navigate through when switching between apps, such as desktop applications. The applications in the blacklist can be pre-defined. These blacklisted applications are determined to be unnecessary for split-screen based on user habits or intended use. Removing these applications from the blacklist allows electronic devices to more accurately determine when to split-screen, enabling them to recommend split-screen functionality when the user actually wants it, thus improving the user experience. Among these, t1... <t2<t3<t4<t5<t6。

[0118] In this embodiment, the electronic device does not immediately predict split-screen at time t5. Instead, it waits for a period of time (the target time) and only predicts split-screen after detecting that the memo application is still in full-screen mode. This ensures that the operation of switching to the current application (the memo application in this example) is the user's true intention, not a mistake, thus enabling accurate split-screen prediction. If split-screen is predicted, this embodiment displays a floating capsule on the full-screen information application interface at time t6. This allows the user to quickly enter split-screen mode by interacting with the floating capsule.

[0119] In some cases, due to accidental touches or other reasons, users may mistakenly switch to an application interface and then quickly exit it. This switching does not reflect the user's true intention. Triggering split-screen recommendations in such situations would result in inappropriate timing and a poor user experience. In this embodiment, by waiting for a target time before predicting split-screen activity, the user's intention to switch applications can be accurately predicted, avoiding misunderstandings.

[0120] 307. The business presentation module listens for click events.

[0121] After the business presentation module pops up the floating capsule, it can listen for click events. If a click event occurs within the preset time (e.g., 5 seconds) of the floating capsule popping up, a split screen is triggered, i.e., steps 308 and 309 are executed.

[0122] If the system detects that the user has not clicked the floating capsule within a preset time period, the floating capsule can be automatically closed (the floating capsule disappears automatically) to avoid affecting the user's application experience. Of course, users can also manually close the floating capsule using preset gestures (such as drag gestures, swipe gestures, etc.).

[0123] In addition, the floating capsule can also disappear automatically when the user exits the current page, or disappear naturally when the user clicks the floating capsule to enter split-screen mode.

[0124] 308. In response to the detection that a user clicks on the floating capsule, the business presentation module notifies the multi-window management module to perform split-screen display.

[0125] The business presentation module can invoke the system's split-screen capability, that is, send a split-screen notification message to the multi-window management module. The split-screen notification message is used to instruct the multi-window management module to split the screen for two frequently switched applications (e.g., application A and application B). The split-screen notification message can carry the package name or task ID of the two frequently switched applications (e.g., application A and application B).

[0126] 309. The multi-window management module displays two applications that are frequently switched in a split-screen manner.

[0127] After receiving the split-screen notification message, the multi-window management module can simultaneously open the Activity corresponding to the user's most recently viewed interface in application A (the first interface) and the Activity corresponding to the user's most recently viewed interface in application B (the second interface) (launching application A and application B). This allows the display interfaces of application A and application B to be displayed simultaneously, thus achieving one-click split-screen.

[0128] like Figure 8 As shown in (a), in response to the user's action of clicking the floating capsule 403 on the SMS application interface 402, as Figure 8As shown in (b), the phone can display the Messages app (the current app) and the Notes app (the app frequently switched between) in a split-screen mode. The left side of the phone screen displays the Messages app interface 420 (the current app), and the right side displays the Notes app interface 421 (the app frequently switched between). The Messages app interface 420 and the Notes app interface 421 are separated by a divider 422. The display positions of the Messages app interface 420 and the Notes app interface 421 on the phone screen correspond to the positions of the Messages app icon and the Notes app icon in the floating capsule, respectively. That is, if the Messages app icon is on the left side of the floating capsule, the Messages app interface will be displayed on the left side of the phone screen during split-screen display. If the Notes app icon is on the right side of the floating capsule, the Notes app interface will be displayed on the right side of the phone screen during split-screen display.

[0129] The above explanation uses foldable phones as an example. When a user uses a candybar phone (or a foldable phone that folds vertically), the user experience is poor if the screen is split horizontally due to the short bezels. Therefore, for candybar phones, a vertical split-screen design is preferable. For example, ... Figure 9 As shown in (a) and (b), frequent switching between the Notes app interface 901 and the Messages app interface 902 was detected, such as... Figure 9 As shown in (c), when the phone displays the SMS application interface 902, a floating capsule 904 can pop up. In the floating capsule 904, the application icon of the SMS application (the current application) is at the top, and the application icon of the Messaging application (the application frequently switched with the current application) is at the bottom, separated by a horizontal line (or by the words "Enter Split Screen"). In response to the user clicking the floating capsule 904, as follows... Figure 9 As shown in (d), the phone can display the Messages app (the current app) and the Notes app (the app frequently switched between) in a split-screen mode. The Messages app (the current app) interface 904 is displayed at the top of the phone screen, and the Notes app interface 905 is displayed at the bottom of the phone screen. The Messages app interface 904 and the Notes app interface 905 are separated by a split bar 906. The display positions of the Messages app interface 904 and the Notes app interface 905 on the phone screen correspond to the positions of the Messages app icon and the Notes app icon in the floating capsule, respectively. That is, if the Messages app icon is at the top in the floating capsule, the Messages app interface will be displayed at the top of the phone screen during split-screen display. If the Notes app icon is at the bottom in the floating capsule, the Notes app interface will be displayed at the bottom of the phone screen during split-screen display.

[0130] This application also provides a chip system, such as... Figure 10 As shown, the chip system includes at least one processor 1001 and at least one interface circuit 1002. The processor 1001 and the interface circuit 1002 are interconnected via lines. For example, the interface circuit 1002 can be used to receive signals from other devices (e.g., the memory of an electronic device). As another example, the interface circuit 1002 can be used to send signals to other devices (e.g., the processor 1001).

[0131] For example, interface circuit 1002 can read instructions stored in the memory of an electronic device and send those instructions to processor 1001. When the instructions are executed by processor 1001, they can cause the electronic device (such as...) to... Figure 1 The mobile phone 100 shown executes the steps in the above embodiments.

[0132] Of course, the chip system may also include other discrete components, and this application embodiment does not specifically limit this.

[0133] This application also provides a computer-readable storage medium, which includes computer instructions that, when the computer instructions are used in an electronic device (such as...), Figure 1 When running on the mobile phone 100 shown, the mobile phone 100 performs the various functions or steps performed by the electronic device in the above method embodiment.

[0134] This application also provides a computer program product that, when run on a computer, causes the computer to perform various functions or steps performed by the electronic device in the above method embodiments.

[0135] This application also provides a split-screen display device, which can be divided into different logical units or modules according to function, and each unit or module performs different functions, so that the device performs the various functions or steps performed by the electronic device in the above method embodiment.

[0136] Through the above description of the embodiments, those skilled in the art can clearly understand that 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.

[0137] 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.

[0138] 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.

[0139] 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.

[0140] 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, essentially or in other words, 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. This software product is stored in a 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, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

[0141] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations 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 split-screen display method, characterized in that, include: After the first application is opened in full-screen mode, during the operation of the first application, the electronic device adds the first application information of the first application to the preset application list. After the second application is opened in full-screen mode, during the operation of the second application, the electronic device adds the second application information of the second application to the application list, based on the first application information; wherein, before the second application is opened in full-screen mode, when the second application is opened in floating window mode, the second application information is not added to the application list; After the electronic device adds the second application information of the second application to the application list that includes the first application information, it further includes: After the first application is opened again in full-screen mode, the electronic device adds the information of the first application to the application list again while the first application is running. After the second application is opened again in full-screen mode, the electronic device adds the information of the second application to the application list again while the second application is running. When the number of application information in the application list reaches a first threshold, the electronic device displays a split-screen floating window. The split-screen floating window includes the icon of the first application and the icon of the second application. The first application and the second application are frequently switched applications determined by the electronic device based on the application information in the application list. In response to the user's operation on the split-screen floating window, the electronic device displays a fourth interface and a fifth interface in split-screen mode. The fourth interface corresponds to the first application information, and the fifth interface corresponds to the second application information.

2. The method according to claim 1, characterized in that, The first application information includes a first package name corresponding to the first application and a first task identifier, wherein the first task identifier is used to indicate the interface displayed when the first application is run; and / or, The second application information includes a second package name corresponding to the second application and a second task identifier, the second task identifier being used to indicate the interface displayed when the second application is run.

3. The method according to claim 1, characterized in that, The application information in the application list is arranged in chronological order.

4. The method according to claim 1, characterized in that, When the second application is opened as a floating window, the method further includes: When the interface in the floating window is switched to another interface, the application list will not include the second application information.

5. The method according to claim 1, characterized in that, The method further includes: When the electronic device displays the desktop application interface in full screen, the application list does not include the application information of the desktop application.

6. The method according to claim 1, characterized in that, When the number of application information in the application list reaches a first threshold, before the electronic device displays the split-screen floating window, the method further includes: If the number of times the first application information appears in the application list is equal to the second threshold, and the number of times the second application information appears in the application list is equal to the second threshold, the electronic device determines that the first application and the second application are frequently switched applications, and the second threshold is less than the first threshold.

7. The method according to claim 1, characterized in that, When the number of application information in the application list reaches a first threshold, before the electronic device displays the split-screen floating window, the method further includes: If the number of times the first application information and the second application information are switched back and forth in the application list reaches a third threshold, the electronic device determines that the first application and the second application are frequently switched applications, and the third threshold is less than the first threshold.

8. The method according to claim 1, characterized in that After the electronic device adds the first application information to the application list again, the application list includes two instances of the first application information and one instance of the second application information; After the electronic device adds the second application information to the application list again, the application list includes two instances of the first application information and two instances of the second application information.

9. The method according to claim 1, characterized in that, The first application is opened in full-screen mode at the first moment, and the second application is opened in full-screen mode at the second moment; Wherein, the electronic device, based on the first application information included in the application list, adds second application information of the second application, including: If the difference between the second time and the first time is less than or equal to the first time, the electronic device adds the second application information of the second application to the application list, based on the first application information already included.

10. The method according to claim 1, characterized in that The first application is opened in full-screen mode at a first moment, and the second application is opened in full-screen mode at a second moment; the method further includes: If the difference between the second time point and the first time point is greater than the first time point, the application information added before the first time point in the application list is deleted.

11. The method according to claim 1, characterized in that, The split-screen floating window also includes prompt text, which instructs the user to enable split-screen mode.

12. The method according to claim 1, characterized in that, The split-screen floating window floats on one side of the interface.

13. The method according to claim 1, characterized in that, When the icon of the first application is located on the left side of the split-screen floating window and the icon of the second application is located on the right side of the split-screen floating window, the fourth interface is located on the left side of the electronic device screen and the fifth interface is located on the right side of the electronic device screen; or, When the icon of the first application is located on the right side of the split-screen floating window and the icon of the second application is located on the left side of the split-screen floating window, the fourth interface is located on the right side of the electronic device screen and the fifth interface is located on the left side of the electronic device screen.

14. The method according to claim 1, characterized in that, After the electronic device displays the split-screen floating window, it also includes: If it is detected that the user has not clicked the split-screen floating window within a preset time period, the split-screen floating window will be automatically closed.

15. An electronic device, characterized in that, The device includes a processor coupled to a memory storing program instructions, which, when executed by the processor, cause the electronic device to perform the method of any one of claims 1-14.

16. The electronic device according to claim 15, characterized in that, The electronic device is a foldable screen phone.

17. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when run on an electronic device, causes the electronic device to perform the method as described in any one of claims 1 to 14.

18. A computer program product, characterized in that, When the computer program product is run on a computer, it causes the computer to perform the method as described in any one of claims 1 to 14.

Citation Information

Patent Citations

  • Split-screen display method and device, storage medium and electronic equipment

    CN108614655A

  • Application icon display method and device, electronic equipment and storage medium

    CN111381739A